/* =====================================================================
   W.C.J — Witcharajak Engineering · site.css
   "Industrial Light" identity from Company Profile 2026.
   Mobile-first. No inline styles anywhere (CSP).
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-deep: #0D1A3A;
  --navy: #24336F;
  --navy-2: #1B2858;
  --azure: #2A86D6;
  --azure-ink: #1D6AB3;      /* AA on white for small text */
  --azure-light: #EAF3FC;
  --sky-on-dark: #9FD0FF;    /* azure for text on navy */
  --amber: #F2A516;
  --amber-dark: #D98E00;
  --amber-soft: #FFF6E0;
  --ink: #151A23;
  --sub: #5A6372;
  --line: #DCE1E8;
  --line-2: #E8ECF1;
  --paper: #F3F5F8;
  --white: #FFFFFF;
  --grid: rgba(36, 51, 111, .055);
  --grid-major: rgba(36, 51, 111, .08);
  --grid-dark: rgba(159, 208, 255, .07);

  --f-body: "Anuphan", "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  --f-display: "Barlow Condensed", "Anuphan", "Arial Narrow", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-sm: .9375rem;
  --fs-xs: .875rem;
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-display: clamp(2.6rem, 1.7rem + 4vw, 4.75rem);

  --r-sm: 6px;
  --r: 8px;
  --r-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 26, 58, .06), 0 2px 8px rgba(13, 26, 58, .05);
  --shadow: 0 2px 4px rgba(13, 26, 58, .05), 0 12px 32px rgba(13, 26, 58, .09);
  --shadow-lg: 0 24px 60px rgba(13, 26, 58, .18);

  --gutter: 16px;
  --container: 1200px;
  --header-h: 64px;
  --bar-h: 64px;
  --section-y: clamp(56px, 3.5rem + 3vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1080px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.7;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
/* hide alt text of a broken/missing image inside media frames */
[class*="__media"] img, .member__photo img, .gallery__link img, .client__logo { color: transparent; }
/* Thai text inside mono / letter-spaced labels */
.th { font-family: var(--f-body); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: .875rem; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--navy); text-wrap: pretty; }
/* |thai_keep wraps space-separated Thai chunks so a word never splits mid-way */
.kw { display: inline-block; max-width: 100%; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: var(--azure-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
::selection { background: var(--amber); color: var(--navy-deep); }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.break { overflow-wrap: anywhere; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200; padding: 10px 16px;
  background: var(--amber); color: var(--navy-deep); font-weight: 700; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: calc(46rem + var(--gutter) * 2); }
.container--wide { max-width: calc(64rem + var(--gutter) * 2); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; }

/* ---------- 3. Blueprint backgrounds & motifs ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 2.5rem + 2vw, 72px); }
.section--paper { background: var(--paper); }
.section--grid, .section--paper {
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
  background-position: -1px -1px;
}
.section--grid { background-color: var(--white); }
.section--paper { background-color: var(--paper); }

.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 9px, var(--navy-deep) 9px 18px);
}
.hazard--panel { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; }

/* eyebrow: mono, letter-spaced, amber square */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--azure-ink); margin-bottom: 14px;
}
.eyebrow--light { color: var(--sky-on-dark); }
.eyebrow__sq { width: 8px; height: 8px; background: var(--amber); flex: none; }

/* section heads — Barlow display English + Thai title, amber rule */
.sec-head { margin-bottom: clamp(28px, 1.5rem + 1.5vw, 48px); }
.sec-head__idx {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .2em; color: var(--sub);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.sec-head__idx::before { content: ""; width: 8px; height: 8px; background: var(--amber); }
.sec-head__idx span { color: var(--azure-ink); }
.sec-head__title { display: flex; flex-direction: column; gap: 0; }
.sec-head__en {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--fs-display); line-height: .95; letter-spacing: .01em; color: var(--navy);
}
.sec-head__en::after {
  content: ""; display: block; width: 72px; height: 6px; background: var(--amber); margin: 14px 0 12px;
}
.sec-head__th { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); font-weight: 600; color: var(--sub); line-height: 1.5; }
.sec-head--light .sec-head__en { color: var(--white); }
.sec-head--light .sec-head__th { color: #C9D3E6; }
.sec-head--light .sec-head__idx { color: #AEB9CF; }
.sec-head--light .sec-head__idx span { color: var(--sky-on-dark); }
section > .container > .sec-head__title, .sec-row > .sec-head__title { margin-bottom: 28px; }
.sec-row > .sec-head__title .sec-head__en, section > .container > .sec-head__title .sec-head__en { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }

.sec-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.sec-row .sec-head { margin-bottom: clamp(28px, 1.5rem + 1.5vw, 48px); }
.sec-row__link { margin-bottom: clamp(28px, 1.5rem + 1.5vw, 48px); }

.tag {
  display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; padding: 4px 8px; border-radius: 3px; background: var(--azure-light); color: var(--azure-ink);
}
.tag--solid { background: var(--azure); color: var(--white); }

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: var(--r-sm); border: 2px solid transparent;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--lg { min-height: 54px; padding-inline: 26px; font-size: 1.0625rem; }
.btn--amber { background: var(--amber); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(242, 165, 22, .28); }
.btn--amber:hover { background: #FFB728; color: var(--navy-deep); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; min-height: 0;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--azure-ink); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--back:hover .icon { transform: translateX(-4px); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- 5. Topbar + header ---------- */
.topbar { display: none; background: var(--navy-deep); color: #C9D3E6; font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.topbar__tag { font-family: var(--f-mono); letter-spacing: .2em; font-size: .6875rem; color: #AEB9CF; }
.topbar__tag::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--amber); margin-right: 10px; vertical-align: 1px; }
.topbar__info { display: flex; gap: 24px; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; color: #C9D3E6; text-decoration: none; }
.topbar__info a:hover { color: var(--white); }
.topbar .icon { width: 15px; height: 15px; color: var(--amber); }
@media (min-width: 1080px) { .topbar { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 60; background: var(--white);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header::after { /* thin amber rule like the Profile */
  content: ""; position: absolute; left: 0; bottom: -1px; width: 96px; height: 3px; background: var(--amber);
}
.js .site-header::after { display: none; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; display: none; }
.js .scroll-progress { display: block; }
.scroll-progress__bar { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 26, 58, .08); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); transition: min-height .25s var(--ease); }
@media (min-width: 1080px) { .site-header.is-scrolled .site-header__inner { min-height: 62px; } }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; margin-right: auto; }
.brand__mark { width: 40px; height: 34px; color: var(--navy); transition: width .25s, height .25s; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__en { font-family: var(--f-display); font-weight: 800; letter-spacing: .06em; font-size: 1.25rem; color: var(--navy); line-height: 1.05; }
.brand__full { display: none; }
.brand__th { font-size: .78rem; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand:hover .brand__en, .brand:hover .brand__th { color: var(--azure-ink); }
@media (min-width: 480px) { .brand__th { font-size: .8125rem; } }
@media (min-width: 1080px) {
  .brand__mark { width: 46px; height: 39px; }
  .is-scrolled .brand__mark { width: 40px; height: 34px; }
  .brand__short { display: none; }
  .brand__full { display: inline; font-size: 1.05rem; letter-spacing: .05em; }
  .brand__th { font-size: .875rem; }
}
.brand__full--always { display: inline; }

/* desktop nav */
.site-nav__list { display: flex; }
.site-nav__link {
  position: relative; display: flex; align-items: center; min-height: 44px; padding: 8px 10px;
  color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.site-nav__idx { display: none; }
.site-nav__link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 3px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__link:hover { color: var(--navy); }
.site-nav__link:hover::after, .site-nav__link.is-active::after, .site-nav__link[aria-current]::after { transform: scaleX(1); }
.site-nav__link.is-active, .site-nav__link[aria-current] { color: var(--navy); }
.site-nav__contact { display: none; }

.header-cta { min-height: 44px; padding: 8px 16px; font-size: .95rem; box-shadow: none; }
.header-cta__num { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -6px;
  border: 0; background: transparent; color: var(--navy); border-radius: var(--r-sm);
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* < 1080: mobile navigation */
@media (max-width: 1079.98px) {
  .header-cta { display: none; }
  .site-header__inner { flex-wrap: wrap; }
  /* no-JS fallback: horizontal scroll strip */
  .site-nav { order: 3; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); overflow-x: auto; border-top: 1px solid var(--line); }
  .site-nav__list { padding-inline: calc(var(--gutter) - 10px); }
  .nav-toggle { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-header__inner { flex-wrap: nowrap; }
  .js .site-nav {
    position: fixed; z-index: 55; left: 0; right: 0; top: var(--header-h); bottom: 0; width: auto; margin: 0;
    border: 0; overflow-y: auto; overscroll-behavior: contain;
    background-color: var(--navy-deep);
    background-image: linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
    background-size: 32px 32px;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
  .js .site-nav__list { display: block; padding: 0; }
  .js .site-nav__list li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .js .site-nav__link { color: var(--white); font-size: 1.25rem; min-height: 60px; padding: 10px 0; gap: 14px; }
  .js .site-nav__link::after { left: 0; right: auto; width: 40px; bottom: 8px; }
  .js .site-nav__link.is-active, .js .site-nav__link[aria-current] { color: var(--amber); }
  .js .site-nav__idx { display: inline; font-family: var(--f-mono); font-size: .75rem; color: var(--sky-on-dark); letter-spacing: .1em; }
  .js .site-nav__contact { display: block; margin-top: 28px; }
  .site-nav__label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .2em; color: #AEB9CF; margin-bottom: 12px; }
}
html.menu-open { overflow: hidden; }
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { margin-left: auto; }
  .header-cta { margin-left: 12px; }
}
@media (min-width: 1240px) {
  .site-nav__link { padding-inline: 13px; }
  .site-nav__link::after { left: 13px; right: 13px; }
  .header-cta__num { display: inline; font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .04em; font-weight: 700; }
  .header-cta span:not(.header-cta__num) { display: none; }
}

/* ---------- 6. Hero carousel ---------- */
.hero { position: relative; background: var(--navy-deep); color: var(--white); isolation: isolate; overflow-x: clip; }
.hero__track {
  position: relative; display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  min-height: clamp(560px, 86svh, 780px); display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--navy); }
.hero__media img, .hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 26, 58, .5) 0%, rgba(13, 26, 58, .2) 28%, rgba(13, 26, 58, .7) 58%, rgba(13, 26, 58, .97) 100%),
    linear-gradient(90deg, rgba(13, 26, 58, .82) 0%, rgba(13, 26, 58, .45) 45%, rgba(13, 26, 58, 0) 80%);
}
.hero__shade::after { /* blueprint lines over photo */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero__content { padding-top: 72px; padding-bottom: 120px; }
.hero:has(+ .stats) .hero__content { padding-bottom: 160px; }
.hero:has(+ .stats) .hero__controls { padding-bottom: 60px; }
.hero--single .hero__content { padding-bottom: 72px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .2em; color: #E3EAF5; margin-bottom: 18px; text-transform: uppercase;
  background: rgba(13, 26, 58, .62); padding: 6px 12px 6px 10px; border-radius: 3px;
}
.hero__sq { width: 8px; height: 8px; background: var(--amber); flex: none; }
@media (max-width: 479.98px) { .hero__since { display: none; } }
.hero__title {
  font-size: clamp(2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.22; font-weight: 700; color: var(--white);
  max-width: 22ch; text-shadow: 0 2px 24px rgba(13, 26, 58, .45);
}
.hero__title::after { content: ""; display: block; width: 88px; height: 6px; background: var(--amber); margin-top: 20px; }
.hero__title--en { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .98; max-width: 14ch; font-size: clamp(2.6rem, 1.6rem + 5vw, 5.5rem); }
.hero__sub { margin-top: 18px; max-width: 40rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: #E3EAF5; line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__slide--plain {
  min-height: clamp(520px, 80svh, 720px);
  background-color: var(--navy-deep);
  background-image: linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 40px 40px;
}
@media (max-width: 479.98px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; z-index: 3;
  display: none; align-items: center; gap: 16px; padding-bottom: 28px;
}
.js .hero__controls { display: flex; }
.hero__count { font-family: var(--f-mono); font-size: .8125rem; color: #C9D3E6; display: flex; align-items: center; gap: 10px; letter-spacing: .1em; }
.hero__count [data-carousel-current] { color: var(--white); font-size: 1rem; }
.hero__count-sep { width: 28px; height: 2px; background: var(--amber); }
.hero__dots { display: flex; gap: 2px; margin-right: auto; }
.hero__dot { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; position: relative; }
.hero__dot::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255, 255, 255, .4); transition: background .2s; }
.hero__dot[aria-current="true"]::before { background: var(--amber); }
.hero__dot:hover::before { background: var(--white); }
.hero__arrows { display: flex; gap: 8px; }
.hero__btn {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--r-sm); background: rgba(13, 26, 58, .35); color: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.hero__btn:hover { background: var(--amber); color: var(--navy-deep); border-color: var(--amber); }
.hero__btn .icon { width: 22px; height: 22px; }
.hero__btn .i-play { display: none; }
.hero.is-paused-user .hero__btn .i-play { display: block; }
.hero.is-paused-user .hero__btn .i-pause { display: none; }
.hero.no-autoplay [data-carousel-toggle] { display: none; }
@media (max-width: 639.98px) {
  .hero__count { display: none; }
  .hero__btn { width: 44px; height: 44px; }
  .hero__content { padding-bottom: 104px; }
}

/* ---------- 7. Stats ---------- */
.stats { position: relative; z-index: 4; padding-block: 32px 0; }
.hero + .stats { margin-top: -40px; padding-top: 0; }
.stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat {
  position: relative; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--amber);
  border-radius: var(--r-sm); padding: 18px 18px 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px;
}
.stat::after { content: ""; position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; border-top: 2px solid var(--line); border-right: 2px solid var(--line); }
.stat__value { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 1.9rem + 2.2vw, 3.5rem); line-height: 1; color: var(--navy); letter-spacing: .01em; }
.stat__label { font-size: var(--fs-sm); color: var(--sub); font-weight: 500; line-height: 1.45; }
@media (min-width: 900px) {
  .stats__list { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 16px; }
  .stat { padding: 24px 24px 20px; }
}

/* ---------- 8. Services ---------- */
.service-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r-sm);
  padding: 22px 22px 18px; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-top-color: var(--amber); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.more__summary { font-size: var(--fs-sm); line-height: 1.7; margin-bottom: 8px; }
@media (min-width: 600px) { .more__summary { display: none; } .more--m { display: none; } }
@media (max-width: 599.98px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card { padding: 14px 12px 4px; border-top-width: 3px; }
  .service-card:has(.more[open]) { grid-column: 1 / -1; }
  .service-card__top { margin-bottom: 10px; }
  .service-card__top .tag { display: none; }
  .badge-icon { width: 42px; height: 42px; }
  .badge-icon .icon { width: 22px; height: 22px; }
  .service-card__en { font-size: 1.15rem; }
  .service-card__th { font-size: .9375rem; line-height: 1.45; }
  .service-card__summary { display: none; }
  .more { padding-top: 6px; }
  .more summary { font-size: .875rem; padding-top: 6px; }
  .more__opt { display: none; }
}
.badge-icon {
  width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white);
}
.badge-icon .icon { width: 26px; height: 26px; }
.service-card:hover .badge-icon { background: var(--amber); color: var(--navy-deep); }
.service-card__title { display: flex; flex-direction: column; }
.service-card__en { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; letter-spacing: .02em; color: var(--navy); }
.service-card__th { font-size: 1.0625rem; font-weight: 600; color: var(--sub); margin-top: 4px; }
.service-card__summary { margin-top: 12px; color: var(--ink); font-size: var(--fs-sm); line-height: 1.75; }
.more { margin-top: auto; padding-top: 14px; }
.more summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px;
  border-top: 1px dashed var(--line); padding-top: 10px; font-weight: 700; color: var(--azure-ink); cursor: pointer; font-size: var(--fs-sm);
}
.more summary::-webkit-details-marker { display: none; }
.more summary .icon { transition: transform .25s var(--ease); }
.more[open] summary .icon { transform: rotate(180deg); }
.more summary:hover { color: var(--navy); }
.more .prose { padding-top: 6px; }

/* ---------- 9. Prose ---------- */
.prose { color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose ul li::marker { color: var(--amber-dark); }
.prose blockquote { border-left: 4px solid var(--amber); padding: 6px 0 6px 18px; color: var(--navy); font-weight: 500; }
.prose img { border-radius: var(--r-sm); }
.prose a { color: var(--azure-ink); font-weight: 600; }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose code { font-family: var(--f-mono); font-size: .9em; background: var(--paper); padding: 1px 5px; border-radius: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose--sm { font-size: var(--fs-sm); line-height: 1.75; }
.prose--sm ul { padding-left: 1.1em; }

/* ---------- 10. Chips / filters ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 calc(var(--gutter) * -1) 20px; padding-inline: var(--gutter); scrollbar-width: thin; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.chips--js { display: none; }
.js .chips--js { display: flex; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy);
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.chip .icon { width: 18px; height: 18px; color: var(--azure-ink); }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"], .chip[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip[aria-pressed="true"] .icon, .chip[aria-current] .icon { color: var(--amber); }
.chip--sm { min-height: 40px; padding: 6px 12px; font-size: var(--fs-xs); }
.filter-empty { padding: 32px 0; text-align: center; color: var(--sub); }

/* ---------- 11. Project cards ---------- */
.project-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1080px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.project-card { min-width: 0; }
/* home: swipeable row on phones */
@media (max-width: 899.98px) {
  .project-grid.project-grid--rail, .post-grid.post-grid--rail {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 340px); gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .project-grid--rail::-webkit-scrollbar, .post-grid--rail::-webkit-scrollbar { display: none; }
  .project-grid--rail > *, .post-grid--rail > * { scroll-snap-align: start; }
  .project-grid--rail .project-card__media { aspect-ratio: 16 / 11; }
}
.rail-hint { display: none; align-items: center; gap: 8px; margin-top: 6px; font-size: var(--fs-xs); color: var(--sub); }
@media (max-width: 899.98px) { .rail-hint { display: flex; } }
.rail-hint .icon { width: 16px; height: 16px; color: var(--amber-dark); }
.project-card.is-hidden { display: none; }
.project-card__link {
  display: flex; flex-direction: column; height: 100%; background: var(--white); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.project-card__link:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #C8D0DC; color: inherit; }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.project-card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--amber); transform: scaleX(.18); transform-origin: left; transition: transform .35s var(--ease); }
.project-card__link:hover .project-card__media::after { transform: scaleX(1); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card__link:hover .project-card__media img { transform: scale(1.04); }
.project-card__media .status { position: absolute; top: 12px; left: 12px; }
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.project-card__num { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .2em; color: var(--azure-ink); margin-bottom: 6px; }
.project-card__num span { color: var(--sub); }
.project-card__title { font-size: 1.125rem; line-height: 1.45; color: var(--navy); font-weight: 700; }
.project-card__en { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sub); font-size: .95rem; line-height: 1.25; margin-top: 4px; }
@media (max-width: 599.98px) { .project-card__en { display: none; } }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; font-size: var(--fs-xs); color: var(--sub); }
.cat-pill, .project-card__years { display: inline-flex; align-items: center; gap: 6px; }
.cat-pill { color: var(--navy); font-weight: 600; }
.cat-pill .icon, .project-card__years .icon { width: 16px; height: 16px; color: var(--azure-ink); }
.project-card__more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--azure-ink); }
.project-card__more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.project-card__link:hover .project-card__more .icon { transform: translateX(4px); }

.status {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 9px; border-radius: 999px;
  font-size: .875rem; font-weight: 700; line-height: 1.35; box-shadow: 0 2px 8px rgba(13, 26, 58, .18);
}
.status--current { background: var(--amber); color: var(--navy-deep); }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-deep); }
@media (prefers-reduced-motion: no-preference) { .status__dot { animation: pulse 1.8s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .25; } }
.status--done { background: var(--white); color: var(--navy); }
.status--done .icon { width: 14px; height: 14px; color: #1E8A4C; stroke-width: 2.5; }

/* ---------- 12. About ---------- */
.about__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .about__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.about__side { display: grid; gap: 16px; }
.about__photo { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; background: var(--paper); box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 5px; background: var(--amber); }
.about__photo-tag { position: absolute; left: 12px; top: 12px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; color: var(--navy-deep); background: var(--amber); padding: 4px 8px; border-radius: 3px; }
.about__photo--m { margin-bottom: 20px; }
@media (min-width: 960px) { .about__photo--m { display: none; } }
@media (max-width: 959.98px) { .about__photo--d { display: none; } }
.readmore { position: relative; }
.readmore__btn { display: none; }
@media (max-width: 699.98px) {
  .readmore__body { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .readmore__toggle:checked ~ .readmore__body { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .readmore__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-weight: 700; color: var(--azure-ink); cursor: pointer; }
  .readmore__btn .icon { transition: transform .2s; }
  .readmore__less, .readmore__toggle:checked ~ .readmore__btn .readmore__more { display: none; }
  .readmore__toggle:checked ~ .readmore__btn .readmore__less { display: inline; }
  .readmore__toggle:checked ~ .readmore__btn .icon { transform: rotate(180deg); }
  .readmore__toggle:focus-visible ~ .readmore__btn { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
}
.about__text { font-size: clamp(1rem, .97rem + .2vw, 1.125rem); }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.value {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-family: var(--f-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; color: var(--navy);
}
.value__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.value__icon .icon { width: 19px; height: 19px; }
.about__panel {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 28px 24px 40px; color: var(--white);
  background-color: var(--navy);
  background-image: radial-gradient(circle at 85% 10%, rgba(42, 134, 214, .45), transparent 55%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .about__panel { padding: 36px 36px 48px; } }
.about__est-label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .2em; color: var(--sky-on-dark); }
.about__est {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 3.5rem + 7vw, 8.5rem); line-height: .9; margin: 6px 0 18px;
  color: transparent; -webkit-text-stroke: 2px var(--white); letter-spacing: .02em;
}
@supports not (-webkit-text-stroke: 2px #fff) { .about__est { color: var(--white); } }
.about__name { font-weight: 700; font-size: 1.125rem; line-height: 1.5; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.about__name span { display: block; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: #C9D3E6; }
.disciplines { display: grid; gap: 4px; margin-top: 14px; }
.disciplines li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.16); }
.disciplines .icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--amber); }
.disciplines span { display: flex; flex-direction: column; font-size: var(--fs-sm); color: #DDE5F2; line-height: 1.4; }
.disciplines b { font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; font-size: 1.15rem; color: var(--white); }
.about__addr { display: flex; gap: 10px; margin-top: 18px; font-size: var(--fs-sm); color: #DDE5F2; line-height: 1.6; }
.about__addr .icon { color: var(--amber); margin-top: 3px; }

/* ---------- 13. Clients ---------- */
.clients__grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .clients__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; } }
.client-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 599.98px) {
  .client-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .client__inner { min-height: 84px; padding: 10px 8px; border-top-width: 3px; }
  .client__name { display: none; }
  .client__logo { height: 52px; }
  .client:last-child:nth-child(3n+1) { grid-column: 2; }
  .trusted { padding: 22px 20px 36px; gap: 10px; }
  .trusted__title { font-size: 2rem; }
}
@media (min-width: 600px) and (max-width: 799.98px) { .client-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 800px) { .client-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.client__inner {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  height: 100%; min-height: 128px; padding: 18px 14px 12px; background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--amber); border-radius: var(--r-sm); text-decoration: none; transition: box-shadow .25s, transform .25s var(--ease);
}
a.client__inner:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.client__logo {
  width: auto; max-width: 100%; height: 64px; object-fit: contain;
  filter: grayscale(.3); transition: filter .3s;
}
.client__inner:hover .client__logo, .client__inner:focus-visible .client__logo { filter: none; }
@media (hover: none) { .client__logo { filter: none; } }
.client__name { font-size: .875rem; color: var(--sub); text-align: center; line-height: 1.35; }
.trusted {
  position: relative; overflow: hidden; border-radius: var(--r-sm); padding: 28px 24px 44px; color: var(--white);
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px; display: flex; flex-direction: column; gap: 14px;
}
.trusted__badge { width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.trusted__badge .icon { width: 28px; height: 28px; }
.trusted__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem); line-height: .95; letter-spacing: .02em; }
.trusted__title::after { content: ""; display: block; width: 56px; height: 5px; background: var(--amber); margin-top: 14px; }
.trusted__text { color: #DDE5F2; font-size: var(--fs-sm); }
.trusted__count { margin-top: auto; font-size: var(--fs-sm); color: #C9D3E6; }
.trusted__count span { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; color: var(--amber); margin-right: 6px; vertical-align: -4px; }

/* ---------- 14. Team ---------- */
.team-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.member {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r-sm);
  padding: 20px; box-shadow: var(--shadow-sm);
}
@media (min-width: 1000px) { .member { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 24px; } }
.member__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--paper); }
.member__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44%; height: 5px; background: var(--amber); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__role { font-size: var(--fs-xs); font-weight: 700; color: var(--azure-ink); display: inline-flex; align-items: center; gap: 8px; }
.member__role::before { content: ""; width: 8px; height: 8px; background: var(--amber); }
.member__ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background-color: var(--navy); color: var(--white); text-align: center; padding: 8px;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 16px 16px;
}
.member__ph-nick { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.1; }
.member__ph-en { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .14em; color: var(--sky-on-dark); line-height: 1.4; }
@media (max-width: 999.98px) { .member__ph-en { display: none; } }
.member__call {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 14px; min-height: 48px; padding: 8px 16px 8px 12px;
  border-radius: var(--r-sm); background: var(--amber); color: var(--navy-deep); text-decoration: none; font-weight: 700; font-size: var(--fs-sm);
}
.member__call:hover { background: #FFB728; color: var(--navy-deep); }
.member__call strong { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .03em; }
.member__call .icon { width: 20px; height: 20px; }
.member__name { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin-top: 4px; }
.member__nick { font-weight: 500; color: var(--sub); }
.member__en { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sub); font-size: 1rem; }
.member__quote { position: relative; margin-top: 14px; padding: 14px 16px 14px 18px; background: var(--azure-light); border-left: 4px solid var(--amber); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--navy); font-weight: 500; line-height: 1.7; }
.member__qicon { width: 26px; height: 26px; color: var(--azure); margin-bottom: 4px; }
.member__bio { margin-top: 12px; color: var(--sub); }
@media (max-width: 999.98px) {
  .member { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-content: start; }
  .member__photo { grid-row: 1 / span 3; align-self: start; }
  .member__body { display: contents; }
  .member__role, .member__name, .member__en { grid-column: 2; }
  .member__quote, .member__bio, .member__call { grid-column: 1 / -1; }
  .member__call { justify-self: start; }
  .member__quote { margin-top: 16px; }
}

/* ---------- 15. Posts ---------- */
.post-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.post-card__link {
  display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .25s, transform .25s var(--ease);
}
.post-card__link:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.post-card__date { font-size: var(--fs-xs); font-weight: 600; color: var(--azure-ink); margin-bottom: 6px; }
.post-card__title { font-size: 1.125rem; line-height: 1.5; }
.post-card__excerpt { margin-top: 8px; color: var(--sub); font-size: var(--fs-sm); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-xs); color: var(--azure-ink); }
.post-card__more .icon { width: 16px; height: 16px; }

/* ---------- 16. Contact ---------- */
.contact {
  background-color: var(--navy-deep); color: var(--white);
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(42, 134, 214, .35), transparent 50%),
    linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.contact__grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; } }
.contact__lead { color: #DDE5F2; font-size: clamp(1rem, .97rem + .25vw, 1.15rem); max-width: 34rem; }
.contact__facts { display: grid; gap: 14px; margin: 26px 0 26px; }
.contact__fact { position: relative; min-height: 48px; padding-left: 58px; }
.contact__fact .icon { position: absolute; left: 0; top: 0; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--amber); }
.contact__fact dt { font-size: var(--fs-xs); font-weight: 600; color: var(--sky-on-dark); }
.contact__fact dd { color: var(--white); font-weight: 500; line-height: 1.6; }
.contact .btn--ghost .icon:last-child { width: 1em; height: 1em; }

.call-buttons { display: grid; gap: 12px; }
.call-btn {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: var(--r);
  background: var(--white); color: var(--navy); text-decoration: none; border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.call-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy); }
.call-btn__icon { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.call-btn__icon .icon { width: 24px; height: 24px; }
.call-btn__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.call-btn__txt small { font-size: var(--fs-xs); color: var(--sub); font-weight: 500; }
.call-btn__txt strong { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: .03em; color: var(--navy); white-space: nowrap; }
.call-btn__email { font-family: var(--f-body) !important; font-size: 1rem !important; letter-spacing: 0 !important; white-space: normal !important; overflow-wrap: anywhere; }
.call-btn--line .call-btn__icon { background: #06C755; color: var(--white); }
.call-btn--mail .call-btn__icon { background: var(--azure-light); color: var(--azure-ink); }
.call-buttons--big .call-btn { min-height: 76px; padding: 14px 20px; }
.call-buttons--big .call-btn__icon { width: 54px; height: 54px; }
.call-buttons--big .call-btn__txt strong { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); }
.call-buttons--big .call-btn::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: rotate(45deg); flex: none; }
.call-buttons--big .call-btn:hover::after { border-color: var(--amber-dark); }
.call-buttons--menu .call-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--white); }
.call-buttons--menu .call-btn__txt strong { color: var(--white); }
.call-buttons--menu .call-btn__txt small { color: #C9D3E6; }
.call-buttons--menu .call-btn--mail .call-btn__icon { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative; color: var(--white); background-color: var(--navy);
  background-image: radial-gradient(ellipse at 0% 100%, rgba(42,134,214,.5), transparent 55%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.cta-band__inner { display: grid; gap: 28px; padding-block: clamp(48px, 3rem + 2vw, 80px); }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; } }
.cta-band__title { color: var(--white); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.35; }
.cta-band__title::after { content: ""; display: block; width: 72px; height: 6px; background: var(--amber); margin-top: 16px; }
.cta-band__lead { margin-top: 14px; color: #DDE5F2; }
@media (min-width: 640px) { .call-buttons--cta { grid-template-columns: repeat(2, minmax(0, 1fr)); } .call-buttons--cta .call-btn:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--navy-deep); color: #C9D3E6; font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: 1.4fr 1.3fr .8fr 1fr; gap: 40px; } }
.brand--light, .brand--light .brand__en, .brand--light .brand__th, .brand--light .brand__mark { color: var(--white); }
.brand--light .brand__en { font-size: 1.05rem; }
.brand--light:hover .brand__en, .brand--light:hover .brand__th { color: var(--amber); }
.site-footer__about { margin-top: 16px; color: #C9D3E6; max-width: 26rem; line-height: 1.7; }
.site-footer__values { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.site-footer__values li { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__values li::before { content: ""; width: 7px; height: 7px; background: var(--amber); }
.site-footer__h { font-size: 1rem; color: var(--white); margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.site-footer__h span { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .18em; color: var(--sky-on-dark); font-weight: 500; }
.site-footer__list li + li { margin-top: 4px; }
.site-footer__list a, .site-footer__row { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 0; color: #DDE5F2; text-decoration: none; line-height: 1.55; }
.site-footer__list a:hover { color: var(--white); }
.site-footer__list .icon { width: 18px; height: 18px; color: var(--amber); margin-top: 3px; }
.site-footer__list small { color: #AEB9CF; font-size: .875rem; }
.site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
@media (min-width: 1080px) { .site-footer__links { grid-template-columns: 1fr; } }
.site-footer__links a { display: flex; align-items: center; min-height: 44px; color: #DDE5F2; text-decoration: none; }
.site-footer__links a:hover { color: var(--amber); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 768px) {
  .site-footer__col--contact, .site-footer__col--systems { display: none; }
  .site-footer__grid { gap: 24px; padding-block: 40px 24px; }
}
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-block: 18px; font-size: var(--fs-xs); color: #AEB9CF; }
.site-footer__tag { font-family: var(--f-mono); letter-spacing: .14em; font-size: .6875rem; }

/* ---------- 19. Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 768px) {
  .site-footer__bottom { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(13, 26, 58, .1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--bar-h);
    color: var(--navy); text-decoration: none; font-size: .875rem; font-weight: 700; line-height: 1.2;
  }
  .action-bar__item + .action-bar__item { border-left: 1px solid var(--line-2); }
  .action-bar__item .icon { width: 26px; height: 26px; }
  .action-bar__item--call { background: var(--amber); color: var(--navy-deep); border-left: 0; }
  .action-bar__item--line .icon { color: #06A84A; }
  .action-bar__item:active { background: var(--azure-light); }
  .action-bar__item--call:active { background: #FFB728; }
  html.menu-open .action-bar { display: none; }
}

/* ---------- 20. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white); background-color: var(--navy-deep);
  background-image: radial-gradient(ellipse at 100% 0%, rgba(42,134,214,.45), transparent 55%),
    linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--amber) 0 9px, var(--navy-deep) 9px 18px); }
.page-hero__inner { position: relative; z-index: 1; padding-block: 36px 56px; }
@media (min-width: 900px) { .page-hero__inner { padding-block: 48px 80px; } }
.page-hero__title { color: var(--white); font-size: var(--fs-h1); line-height: 1.25; }
.page-hero__title::after { content: ""; display: block; width: 80px; height: 6px; background: var(--amber); margin-top: 18px; }
.page-hero__lead { margin-top: 16px; color: #DDE5F2; max-width: 40rem; }
.page-hero__mark { position: absolute; right: -60px; bottom: -40px; width: 340px; height: 290px; color: rgba(255,255,255,.05); pointer-events: none; }
.page-hero__mark .icon { width: 100%; height: 100%; }
@media (min-width: 900px) { .page-hero__mark { right: 4%; bottom: -60px; width: 460px; height: 390px; } }

.crumbs { margin-bottom: 22px; font-size: var(--fs-xs); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; color: #AEB9CF; min-width: 0; }
.crumbs li + li::before { content: "/"; color: var(--amber); }
.crumbs a { color: #DDE5F2; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: #AEB9CF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.article__head .crumbs li, .article__head .crumbs [aria-current] { color: var(--sub); }
.article__head .crumbs a { color: var(--azure-ink); }

/* ---------- 21. Project detail — Site Story ---------- */
.story-hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-deep); min-height: clamp(440px, 64svh, 620px); display: flex; align-items: flex-end; }
.story-hero__media { position: absolute; inset: 0; z-index: -2; }
.story-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.story-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,26,58,.62) 0%, rgba(13,26,58,.45) 30%, rgba(13,26,58,.78) 60%, rgba(13,26,58,.97) 100%), linear-gradient(90deg, rgba(13,26,58,.85) 0%, rgba(13,26,58,.5) 50%, rgba(13,26,58,.1) 85%); }
.story-hero .crumbs, .story-hero .eyebrow, .story-hero__en, .story-hero__years { text-shadow: 0 1px 3px rgba(8, 15, 34, .85), 0 0 14px rgba(8, 15, 34, .6); }
.story-hero--plain { min-height: 360px; background-image: linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px); background-size: 40px 40px; }
.story-hero__inner { padding-block: 32px 44px; }
@media (min-width: 900px) { .story-hero__inner { padding-block: 48px 64px; } }
.story-hero__title { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.25; max-width: 900px; text-shadow: 0 2px 20px rgba(13,26,58,.4); }
.story-hero__en { margin-top: 10px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.05rem, .95rem + .6vw, 1.45rem); color: #D6E4F7; }
.story-hero__en::before { content: ""; display: inline-block; width: 36px; height: 4px; background: var(--amber); vertical-align: middle; margin-right: 12px; }
.story-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; }
.story-hero__years { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #E3EAF5; }
.story-hero__years .icon { color: var(--amber); }

.story__body { padding-top: clamp(32px, 2rem + 2vw, 64px); }
.story__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .story__grid { grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; } .story__facts { position: sticky; top: calc(var(--header-h) + 20px); } }
.facts-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.facts-card__head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--navy); }
.facts-card__head span { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; background: var(--navy); color: var(--white); padding: 4px 8px; border-radius: 3px; font-weight: 500; }
.facts { padding: 4px 20px; }
.fact { position: relative; min-height: 68px; padding: 14px 0 14px 54px; border-bottom: 1px dashed var(--line); }
.fact:last-child { border-bottom: 0; }
.fact__icon { position: absolute; left: 0; top: 14px; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--azure-light); color: var(--azure-ink); display: inline-flex; align-items: center; justify-content: center; }
.fact__icon .icon { width: 21px; height: 21px; }
.fact dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.3; }
.fact__en { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; color: var(--azure-ink); }
.fact__th { font-size: .875rem; color: var(--sub); }
.fact dd { font-weight: 700; color: var(--navy); line-height: 1.5; overflow-wrap: anywhere; }
.facts-card__cats { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.facts-card__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; color: var(--sub); margin-bottom: 10px; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-svc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 24px; }
.cat-svc__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; color: var(--sub); margin-right: 4px; }
.svc-area { display: flex; gap: 10px; align-items: flex-start; max-width: 70ch; margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--amber); background: #fff; color: var(--ink); font-size: var(--fs-sm); line-height: 1.6; }
.svc-area .icon { flex: 0 0 auto; margin-top: 3px; color: var(--navy); }

.story__lead { font-size: clamp(1.125rem, 1.05rem + .45vw, 1.35rem); line-height: 1.7; color: var(--navy); font-weight: 500; padding-left: 18px; border-left: 4px solid var(--amber); margin-bottom: 24px; }
.story__main .prose { max-width: 68ch; }
.scope { margin-top: 40px; }
.story__main > .scope:first-child { margin-top: 0; }
.scope__head { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 16px; }
.contract {
  position: relative; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--amber);
  border-radius: var(--r-sm); padding: 18px 18px 18px 20px; box-shadow: var(--shadow-sm);
}
.contract + .contract { margin-top: 16px; }
.contract__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.contract__name { font-size: 1.15rem; }
.contract__no { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; color: var(--azure-ink); }
.contract__rows { display: grid; gap: 2px; }
.contract__row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; align-items: start; padding: 6px 0; font-size: var(--fs-sm); }
.contract__row .icon { width: 20px; height: 20px; color: var(--azure-ink); flex: none; }
.contract__row dt { color: var(--sub); display: flex; align-items: center; gap: 10px; }
.contract__row dd { color: var(--ink); font-weight: 600; }
@media (max-width: 479.98px) { .contract__row { grid-template-columns: minmax(0, 1fr); gap: 0; } .contract__row dd { padding-left: 30px; } }
.stat-chips { display: grid; gap: 10px; margin-top: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .stat-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-chip {
  position: relative; display: flex; flex-direction: column; padding: 12px 14px 12px; border: 1px solid var(--line);
  border-top: 3px solid var(--amber); border-radius: var(--r-sm); background: var(--paper);
}
.stat-chip .icon { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; color: var(--azure-ink); }
.stat-chip__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; color: var(--azure-ink); }
.stat-chip__th { font-size: .875rem; color: var(--sub); }
.stat-chip strong { margin-top: 6px; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--navy); letter-spacing: .01em; padding-right: 4px; }
.stat-chip strong:lang(th), .stat-chip strong { font-family: var(--f-display), var(--f-body); }

/* gallery */
.gallery__count { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; color: var(--sub); margin-bottom: 28px; }
.gallery__count .icon { color: var(--azure-ink); }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1080px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gallery--feature .gallery__item:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery figure { height: 100%; display: flex; flex-direction: column; }
.gallery__link { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); background: var(--line); flex: 1 1 auto; }
.gallery--feature .gallery__item:first-child .gallery__link { aspect-ratio: auto; min-height: 240px; }
@media (max-width: 1079.98px) { .gallery--feature .gallery__item:first-child { grid-column: 1 / -1; } .gallery--feature .gallery__item:first-child .gallery__link { aspect-ratio: 16 / 10; } }
@media (max-width: 639.98px) {
  .gallery:not(.gallery--feature) .gallery__item:last-child:nth-child(odd),
  .gallery--feature .gallery__item:last-child:nth-child(even) { grid-column: 1 / -1; }
  .gallery:not(.gallery--feature) .gallery__item:last-child:nth-child(odd) .gallery__link,
  .gallery--feature .gallery__item:last-child:nth-child(even) .gallery__link { aspect-ratio: 16 / 10; }
}
.gallery__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__link:hover img { transform: scale(1.05); }
.gallery__zoom { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(13,26,58,.7); color: var(--white); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.gallery__zoom .icon { width: 18px; height: 18px; }
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { opacity: 1; }
@media (hover: none) { .gallery__zoom { opacity: .9; } }
.gallery__cap { font-size: var(--fs-xs); color: var(--sub); padding: 6px 2px 2px; line-height: 1.5; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(13, 26, 58, .96); display: flex; align-items: center; justify-content: center; padding: 64px 12px 72px; }
.lightbox__fig { max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: var(--shadow-lg); }
.lightbox__cap { color: #DDE5F2; text-align: center; font-size: var(--fs-sm); max-width: 60rem; }
.lightbox__count { position: absolute; top: 20px; left: 20px; font-family: var(--f-mono); color: #AEB9CF; letter-spacing: .14em; font-size: .8125rem; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.lightbox__btn:hover { background: var(--amber); color: var(--navy-deep); border-color: var(--amber); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 12px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 12px; top: 50%; margin-top: -26px; }
@media (max-width: 639.98px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; margin-top: 0; } .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); } }
html.lb-open { overflow: hidden; }

/* prev / next */
.pn { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.pn__inner { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .pn__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pn__link { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; color: var(--navy); text-decoration: none; min-width: 0; }
.pn__link + .pn__link, .pn__inner > span + .pn__link { border-top: 1px solid var(--line); }
@media (min-width: 700px) {
  .pn__link + .pn__link, .pn__inner > span + .pn__link { border-top: 0; border-left: 1px solid var(--line); }
  .pn__link--next { text-align: right; align-items: flex-end; padding-left: 24px; }
  .pn__link--prev { padding-right: 24px; }
}
.pn__dir { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--sub); }
.pn__dir span { font-family: var(--f-mono); letter-spacing: .16em; color: var(--azure-ink); }
.pn__dir .icon { width: 18px; height: 18px; color: var(--amber-dark); transition: transform .2s var(--ease); }
.pn__title { font-weight: 700; font-size: 1.0625rem; line-height: 1.5; }
.pn__link:hover .pn__title { color: var(--azure-ink); }
.pn__link--prev:hover .icon { transform: translateX(-4px); }
.pn__link--next:hover .icon { transform: translateX(4px); }

/* ---------- 22. Article ---------- */
.article__head { padding-block: 36px 28px; background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .article__head { padding-block: 56px 44px; } }
.article__title { font-size: clamp(1.75rem, 1.35rem + 2vw, 2.75rem); line-height: 1.35; }
.article__title::after { content: ""; display: block; width: 72px; height: 6px; background: var(--amber); margin-top: 18px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; font-size: var(--fs-sm); color: var(--sub); }
.article__date { display: inline-flex; align-items: center; gap: 8px; }
.article__date .icon { color: var(--azure-ink); width: 18px; height: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--navy); font-weight: 600; }
.tag-pill .icon { width: 14px; height: 14px; color: var(--amber-dark); }
.article__lead { margin-top: 18px; font-size: 1.15rem; color: var(--navy); line-height: 1.7; }
.article__cover { margin-top: 32px; }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.prose--article { padding-block: 36px 24px; max-width: 68ch; margin-inline: auto; font-size: 1.0625rem; line-height: 1.85; }
@media (min-width: 900px) { .prose--article { font-size: 1.125rem; } }
.article__back { max-width: 68ch; margin: 0 auto; padding: 8px 0 56px; }

/* ---------- 23. Empty / 404 ---------- */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 48px 16px; color: var(--sub); }
.empty-state > .icon { width: 48px; height: 48px; color: var(--azure); }
.notfound { padding-block: clamp(56px, 6rem + 4vw, 140px); min-height: 60svh; background-color: var(--paper); }
.notfound__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.notfound__code { font-family: var(--f-display); font-weight: 800; font-size: clamp(7rem, 5rem + 12vw, 13rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--navy); letter-spacing: .02em; margin-bottom: 18px; }
@supports not (-webkit-text-stroke: 2px #000) { .notfound__code { color: var(--navy); } }
.notfound__title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
.notfound__text { margin-top: 14px; color: var(--sub); max-width: 34rem; }
.notfound__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 24px; }
.notfound__links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }

/* ---------- 24. Images placeholder (from img() when src missing) ---------- */
.img-placeholder, img[src=""] { background: var(--line); }

/* ---------- 25. Motion hooks (GSAP lives in motion.js) ----------
   head.js adds html.js-motion before first paint; motion.js animates these in.
   Failsafe: head.js removes .js-motion after 2.5s if motion.js never initialised.
   SEO/LCP: <main> itself is never hidden — images, layout and body text paint immediately;
   only the small intro elements below are held for their entrance animation. */
.js-motion .reveal, .js-motion [data-anim],
.js-motion .hero__content > *, .js-motion .page-hero__inner > *, .js-motion .story-hero__inner > *,
.js-motion .article__head .container > * { opacity: 0; }
.sec-head__en::after, .hero__title::after, .page-hero__title::after, .contact-band__title::after, .cta-band__title::after {
  transform-origin: left; transform: scaleX(var(--rule, 1));
}
/* elements GSAP transforms must not carry CSS transform transitions */
.js-motion .svc-tile, .js-motion .call-btn, .js-motion .project-card__media img, .js-motion .about-teaser__photo img {
  transition-property: box-shadow, border-color, background-color, color;
}
.js-motion .svc-tile:hover, .js-motion .call-btn:hover { transform: none; }
/* GSAP owns transforms on these: CSS transform transitions would make it read stale values */
.js-motion .btn { transition-property: background-color, color, border-color, box-shadow; }
.js-motion .btn:hover { transform: none; }
.js-motion .svc-tile__icon .icon, .js-motion .badge-icon .icon { transition: none; }
.js-motion .svc-tile:hover .svc-tile__icon .icon { transform: none; }
.js-motion .svc-card__link { transition-property: box-shadow, border-color; }
.js-motion .svc-card__link:hover { transform: none; }
.js-motion .project-card__link:hover .project-card__media img, .js-motion .about-teaser__media:hover .about-teaser__photo img { transform: none; }
.stagger > :nth-child(2) { --i: 1; } .stagger > :nth-child(3) { --i: 2; } .stagger > :nth-child(4) { --i: 3; }
.stagger > :nth-child(5) { --i: 4; } .stagger > :nth-child(6) { --i: 5; } .stagger > :nth-child(7) { --i: 6; }
.stagger > :nth-child(n+8) { --i: 7; }
/* reduced motion: CSS transitions become instant (GSAP handles its own reduced branch);
   ?motion=full on localhost (html.motion-full) opts out for demos */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-full) *, html:not(.motion-full) *::before, html:not(.motion-full) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* SplitText helpers: masks clip, lines keep Thai words intact */
.split-line { display: block; }
.split-mask, [class*="-mask"] { padding-bottom: .06em; margin-bottom: -.06em; }

/* blueprint dimension line under section titles */
.dim { display: flex; align-items: center; gap: 12px; margin-top: 18px; max-width: 520px; color: var(--sub); }
.dim__line { position: relative; flex: 1; height: 1px; background: currentColor; opacity: .55; transform-origin: left; }
.dim__line::before, .dim__line::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: currentColor; }
.dim__line::before { left: 0; } .dim__line::after { right: 0; }
.dim__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; white-space: nowrap; }
.sec-head--light .dim { color: #AEB9CF; }
@media (max-width: 599.98px) { .dim { margin-top: 12px; } .dim__label { font-size: .625rem; } }

/* stat progress line */
.stat__bar { display: block; height: 3px; background: var(--line-2); border-radius: 2px; overflow: hidden; margin: 6px 0 2px; max-width: 140px; }
.stat__bar > span { display: block; height: 100%; background: var(--amber); transform-origin: left; }
@media (max-width: 599.98px) { .stat__bar { display: none; } }

/* hero: drafting-sweep wipe between slides */
.hero__sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; z-index: 3; background: var(--amber); box-shadow: 0 0 24px rgba(242,165,22,.6); opacity: 0; pointer-events: none; }
.hero__under { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* header hide-on-scroll (transform only; never while the menu is open) */
.site-header { transition: box-shadow .25s, transform .45s cubic-bezier(.2,.7,.2,1); }
.site-header.is-hidden { transform: translate3d(0, -101%, 0); }
html.menu-open .site-header.is-hidden { transform: none; }
.scroll-progress__bar { transform: scaleX(0); }

/* home projects: pinned horizontal showcase (desktop, full motion — set by motion.js) */
.project-cta-card {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 28px 26px;
  border-radius: var(--r); text-decoration: none; color: var(--white); background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px; min-height: 100%;
}
.project-cta-card:hover { color: var(--white); }
.project-cta-card__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .2em; color: var(--sky-on-dark); }
.project-cta-card__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 3rem + 4vw, 6.5rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--white); }
.project-cta-card__txt { font-weight: 600; color: #DDE5F2; margin-bottom: 8px; }
@media (min-width: 900px) { .project-grid > .project-cta-card { display: none; } .is-hscroll .project-grid > .project-cta-card { display: flex; } }
.hs-progress { display: none; }
.is-hscroll .hs-progress { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.hs-progress__track { position: relative; flex: 1; max-width: 420px; height: 2px; background: var(--line); }
.hs-progress__bar { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.hs-progress__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .2em; color: var(--sub); }
.section.is-hscroll { padding-block: 36px 28px; }
.is-hscroll .sec-head__en { font-size: clamp(2.6rem, 1.6rem + 3vw, 3.8rem); }
.is-hscroll .sec-row .sec-head, .is-hscroll .sec-row__link { margin-bottom: 22px; }
.is-hscroll .dim { margin-top: 10px; }
.is-hscroll .center-cta, .is-hscroll .rail-hint { display: none; }
.is-hscroll .hs { overflow: visible; }
.is-hscroll .project-grid { display: flex; flex-wrap: nowrap; gap: 24px; width: max-content; grid-template-columns: none; }
.is-hscroll .project-grid > * { flex: none; width: clamp(320px, 29vw, 400px); }
.is-hscroll .project-card__media { aspect-ratio: 16 / 10; }
.is-hscroll .project-card__media img { transform-origin: center; }

/* ---------- 26. Print ---------- */
@media print {
  .topbar, .site-header, .action-bar, .hero__controls, .cta-band, .site-footer .hazard, .lightbox { display: none !important; }
  body { padding: 0; }
  .hero__slide:not(:first-child) { display: none; }
}


/* =====================================================================
   Update 2 — light teaser home, new pages, motion system
   ===================================================================== */

/* ---------- U2.1 Blueprint-grid parallax (transform only) ---------- */
@supports (overflow: clip) {
  .section--grid, .section--paper { background-image: none; overflow: clip; isolation: isolate; }
  .section--grid::before, .section--paper::before {
    content: ""; position: absolute; left: 0; right: 0; top: -200px; bottom: -200px; z-index: -1; pointer-events: none;
    background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
    transform: translate3d(0, var(--grid-shift, 0px), 0);
  }
}

/* ---------- U2.2 Spacing: airy teasers ---------- */
.section--airy { padding-block: clamp(56px, 3rem + 4.5vw, 128px); }
.sec-row__note { margin-bottom: clamp(28px, 1.5rem + 1.5vw, 48px); color: var(--sub); font-size: var(--fs-sm); max-width: 28rem; }
.sec-row__note strong { font-family: var(--f-display); font-size: 1.5rem; color: var(--navy); vertical-align: -2px; }
@media (max-width: 599.98px) {
  .sec-head__en { font-size: clamp(2.2rem, 1.6rem + 3vw, 2.8rem); }
  .sec-row { align-items: flex-start; }
  .sec-row .sec-head, .sec-row__link, .sec-row__note { margin-bottom: 20px; }
  .sec-row__link { margin-top: -6px; }
  .center-cta { margin-top: 24px; }
}

/* ---------- U2.3 Hero motion: GSAP (motion.js) ---------- */

/* ---------- U2.4 Buttons: arrow nudge + press ---------- */
.icon--nudge { transition: transform .25s var(--ease); }
.btn:hover .icon--nudge, a:hover > .icon--nudge, .svc-card__link:hover .icon--nudge { transform: translateX(5px); }
.btn:active { transform: translateY(1px) scale(.98); }

/* ---------- U2.5 Service tiles (home / about / other services) ---------- */
.tile-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.tile-grid > li { min-width: 0; }
.svc-tile {
  position: relative; display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-tile::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C8D0DC; color: inherit; }
.svc-tile:hover::before, .svc-tile:focus-visible::before { transform: scaleX(1); }
.svc-tile__icon { width: 48px; height: 48px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--white); transition: background .3s, color .3s, transform .4s var(--ease); }
.svc-tile__icon .icon { width: 24px; height: 24px; transition: transform .5s var(--ease); }
.svc-tile:hover .svc-tile__icon { background: var(--amber); color: var(--navy-deep); }
.svc-tile:hover .svc-tile__icon .icon { transform: rotate(-12deg) scale(1.12); }
.svc-tile__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.svc-tile__title { font-weight: 700; font-size: 1.0625rem; color: var(--navy); line-height: 1.45; }
.svc-tile__en { display: none; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; color: var(--sub); line-height: 1.2; }
.svc-tile__line { font-size: .9375rem; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.6; }
.svc-tile__go { flex: none; color: var(--azure-ink); }
.svc-tile__go .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.svc-tile:hover .svc-tile__go .icon { transform: translateX(4px); }
@media (min-width: 1000px) {
  .svc-tile { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 24px 22px; }
  .svc-tile__icon { width: 56px; height: 56px; }
  .svc-tile__icon .icon { width: 28px; height: 28px; }
  .svc-tile__en { display: block; margin-top: 2px; }
  .svc-tile__line { margin-top: 8px; }
  .svc-tile__go { position: absolute; right: 22px; top: 30px; }
}

/* ---------- U2.6 Project card: zoom + overlay ---------- */
.project-card__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 16px;
  background: linear-gradient(180deg, rgba(13,26,58,0) 40%, rgba(13,26,58,.78)); opacity: 0; transition: opacity .35s var(--ease);
}
.project-card__overlay > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--amber); color: var(--navy-deep); font-weight: 700; font-size: .9375rem; transform: translateY(10px); transition: transform .35s var(--ease); }
.project-card__overlay .icon { width: 18px; height: 18px; }
.project-card__link:hover .project-card__overlay, .project-card__link:focus-visible .project-card__overlay { opacity: 1; }
.project-card__link:hover .project-card__overlay > span { transform: none; }
@media (hover: none) { .project-card__overlay { display: none; } }
.project-card__link:hover .project-card__media img { transform: scale(1.07); }

/* ---------- U2.7 About teaser ---------- */
.about-teaser__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .about-teaser__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; } }
.about-teaser__media { position: relative; }
.about-teaser__photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.about-teaser__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-teaser__media:hover .about-teaser__photo img { transform: scale(1.04); }
.about-teaser__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36%; height: 6px; background: var(--amber); }
.about-teaser__est {
  position: absolute; right: -6px; bottom: -26px; display: flex; flex-direction: column; align-items: flex-end;
  padding: 10px 16px 8px; background: var(--white); border-radius: var(--r-sm); box-shadow: var(--shadow);
}
.about-teaser__est-label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .2em; color: var(--azure-ink); }
.about-teaser__year { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2.2rem + 3vw, 4.75rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--navy); letter-spacing: .02em; }
@supports not (-webkit-text-stroke: 2px #000) { .about-teaser__year { color: var(--navy); } }
.about-teaser__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); line-height: 1.8; color: var(--ink); }
.about-teaser__lead p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.about-teaser__lead strong { color: var(--navy); }
.about-teaser__since { margin: 16px 0 26px; color: var(--sub); font-size: var(--fs-sm); }
.about-teaser__since strong { font-family: var(--f-display); font-size: 1.2rem; color: var(--navy); }
@media (max-width: 959.98px) {
  .about-teaser__photo { aspect-ratio: 16 / 10; }
  .about-teaser__text { margin-top: 16px; }
}
@media (max-width: 599.98px) { .about-teaser__lead p { -webkit-line-clamp: 5; } .about-teaser__text .btn { width: 100%; } }

/* ---------- U2.8 Client marquee ---------- */
.clients-band { padding-bottom: clamp(48px, 3rem + 3vw, 104px); }
.marquee {
  position: relative; overflow: hidden; padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; gap: 14px; padding: 0 14px 0 0; margin: 0; list-style: none; flex: none; }
.marquee__logo {
  display: flex; align-items: center; justify-content: center; width: 176px; height: 100px; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
a.marquee__logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.marquee__img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 599.98px) { .marquee__logo { width: 132px; height: 78px; padding: 10px 12px; } .marquee__list { gap: 10px; padding-right: 10px; } }
/* default (no JS, reduced motion): static — wrapped grid on wide screens, user-scrollable strip on phones */
.marquee:not(.is-looping) { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: thin; }
.marquee:not(.is-looping) .marquee__list--copy { display: none; }
@media (min-width: 600px) {
  .marquee:not(.is-looping) .marquee__track { width: auto; justify-content: center; }
  .marquee:not(.is-looping) .marquee__list { flex-wrap: wrap; justify-content: center; flex: 1; padding: 0; }
}

/* ---------- U2.9 Compact news cards ---------- */
.post-card--compact .post-card__media { aspect-ratio: 16 / 10; }
.post-card--compact .post-card__body { padding: 14px 16px 16px; }
.post-card--compact .post-card__title { font-size: 1.0625rem; }
.post-card--compact .post-card__more { display: none; }

/* ---------- U2.10 Contact CTA band ---------- */
.contact-band {
  position: relative; color: var(--white); background-color: var(--navy-deep);
  background-image: radial-gradient(ellipse at 100% 0%, rgba(42,134,214,.38), transparent 55%),
    linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.contact-band__inner { display: grid; gap: 24px; padding-block: clamp(48px, 3rem + 3vw, 96px); }
@media (min-width: 960px) { .contact-band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; } }
.contact-band__title { color: var(--white); font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.3; }
.contact-band__title::after { content: ""; display: block; width: 72px; height: 6px; background: var(--amber); margin-top: 16px; }
.contact-band__meta { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; color: #DDE5F2; font-size: var(--fs-sm); }
.contact-band__meta span { display: flex; gap: 10px; align-items: flex-start; }
.contact-band__meta .icon { width: 18px; height: 18px; color: var(--amber); margin-top: 4px; }
.contact-band__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.contact-band__links .btn { flex: 1 1 auto; }
.contact-band__links .btn .icon:last-child:not(:first-child) { width: 1em; height: 1em; }

/* ---------- U2.11 Services pages ---------- */
.svc-cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 680px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1080px) { .svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.svc-card { height: 100%; }
.svc-card__link {
  display: flex; flex-direction: column; height: 100%; padding: 24px 22px 20px; background: var(--white); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r-sm); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--amber); color: inherit; }
.svc-card__link:hover .badge-icon { background: var(--amber); color: var(--navy-deep); }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.badge-icon { transition: background .3s, color .3s; }
.svc-card__title { display: flex; flex-direction: column; }
.svc-card__en { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.55rem; line-height: 1.05; letter-spacing: .02em; color: var(--navy); }
.svc-card__th { font-size: 1.125rem; font-weight: 600; color: var(--sub); margin-top: 6px; }
.svc-card__summary { margin-top: 12px; color: var(--ink); font-size: var(--fs-sm); line-height: 1.75; }
.svc-card__more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--azure-ink); font-size: var(--fs-sm); }
.svc-hero { display: flex; align-items: center; gap: 18px; }
.svc-hero__icon { width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; }
.svc-hero__icon .icon { width: 36px; height: 36px; }
@media (max-width: 599.98px) { .svc-hero { align-items: flex-start; } .svc-hero__icon { width: 54px; height: 54px; } .svc-hero__icon .icon { width: 28px; height: 28px; } }
.svc-hero .eyebrow { margin-bottom: 8px; }
.svc-body { display: grid; gap: 28px; }
@media (min-width: 960px) { .svc-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } .svc-body__aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.prose--left { margin-inline: 0; padding-top: 0; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--r-sm); padding: 20px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.aside-card__label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .18em; color: var(--azure-ink); }
.aside-card__title { font-weight: 700; color: var(--navy); font-size: 1.125rem; line-height: 1.5; }
.call-buttons--aside .call-btn { min-height: 60px; padding: 10px 14px; }
.call-buttons--aside .call-btn__icon { width: 42px; height: 42px; }
.call-buttons--aside .call-btn__txt strong { font-size: 1.4rem; }

/* ---------- U2.12 About page ---------- */
.stats--page { padding-block: 8px clamp(40px, 2rem + 2vw, 64px); background: var(--white); }
.empty-note { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 20px 22px; background: var(--white); border: 1px dashed #C8D0DC; border-radius: var(--r-sm); }
.empty-note > .icon { width: 32px; height: 32px; color: var(--azure); }
.empty-note p { flex: 1 1 20rem; color: var(--sub); }

/* stats: compact rows on phones (labels never squeezed) */
@media (max-width: 599.98px) {
  .stats__list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stat { flex-direction: row; align-items: center; gap: 16px; padding: 12px 16px; border-top-width: 3px; }
  .stat__value { flex: none; min-width: 3.4ch; font-size: 2.3rem; }
  .stat::after { top: 10px; }
}
.about-teaser__cta { margin-top: 24px; }
