/* Self-hosted by getfonts.py. Noto Sans Thai and Barlow: SIL Open Font License 1.1. */
@font-face {
  font-family: 'Zdc Thai';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/noto-sans-thai-400-800-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Zdc Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Zdc Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Zdc Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Zdc Cond';
  font-style: normal;
  font-weight: 500;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/barlow-condensed-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Zdc Cond';
  font-style: normal;
  font-weight: 600;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/barlow-condensed-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Zdc Cond';
  font-style: normal;
  font-weight: 700;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/barlow-condensed-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Zodiac S.K. Engineering demo. Art direction: "the panel, labelled".
   The page is built like one of their control panels: RAL 7035 panel grey, navy steel from their logo, a DIN rail under
   every page head, wire-marker sleeves for every label, black engraved name plates for the sites wall, pilot lamps for
   status. Gold from the logo's Z is the action colour (with dark text). Light only, flat, 3px radii, hairlines, no shadows. */

:root {
  color-scheme: light only;
  --paper: #edefeb;
  --paper-2: #e2e5df;
  --card: #fff;
  --line: #cdd1ca;
  --line-2: #b4b9b1;
  --ink: #111a2e;
  --ink-2: #2c3446;
  --muted: #4b5365;
  --navy: #111934;
  --navy-2: #1a2652;
  --navy-3: #2a3a74;
  --on-dark: #eef1f8;
  --on-dark-2: #b3bdd3;
  --gold: #f5b301;
  --gold-2: #ffc833;
  --gold-ink: #111a2e;
  --lamp-g: #1fbf63;
  --lamp-r: #e5392f;
  --lamp-b: #3d7cf0;
  --lamp-a: #f5b301;
  --line-green: #06c755;
  --rail: #c3c7c0;
  --head: "Zdc Cond", "Zdc Thai", "Arial Narrow", sans-serif;
  --text: "Zdc Sans", "Zdc Thai", system-ui, sans-serif;
  --r: 3px;
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 40px);
  --sec: clamp(56px, 3.2vw + 40px, 104px);
  --gap: clamp(16px, 2vw, 28px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--text); font-stretch: 100%;
  font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang="th"] body { line-height: 1.72; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; font-stretch: 75%; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* Language: both are in the markup; only one shows. */
html[data-lang="th"] [lang="en"]:not(.keep):not([data-set-lang]),
html[data-lang="en"] [lang="th"]:not(.keep):not([data-set-lang]) { display: none !important; }
.ph { display: inline; }
html[lang="th"] :is(h1, h2, h3, .btn, .sleeve, .tag) .ph { display: inline-block; }
.nw { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--head); font-stretch: 75%; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type scale ---------- */
.display { font-size: clamp(2.35rem, 1.55rem + 3.4vw, 4.4rem); line-height: 1.04; }
html[lang="th"] .display { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); line-height: 1.22; }
.h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 3rem); line-height: 1.08; }
html[lang="th"] .h2 { line-height: 1.28; }
.h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); line-height: 1.2; }
html[lang="th"] .h3 { line-height: 1.38; }
.h4 { font-size: 1.15rem; line-height: 1.3; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 44em; }
html[lang="th"] .lead { line-height: 1.75; }
.sec-lead { color: var(--ink-2); max-width: 40em; font-size: 1.06rem; }
.fine { font-size: .92rem; color: var(--muted); margin-top: 18px; max-width: 60em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: var(--r); font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.08rem;
  line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; text-align: center; }
html[lang="th"] .btn { font-size: 1.02rem; line-height: 1.3; font-weight: 600; }
.btn .i { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 54px; padding: 12px 24px; font-size: 1.15rem; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(238, 241, 248, .55); color: var(--on-dark); }
.btn-ghost-light:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .06); }
.btn-line { background: var(--line-green); color: #06200f; }
.btn-line:hover { background: #22d36b; }
.btn-text { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.05rem; text-decoration: none; border-bottom: 2px solid var(--ink); padding-top: 6px; }
.more .i { width: 18px; height: 18px; }

/* ---------- The device: wire-marker sleeves, pilot lamps, DIN rail, name plates ---------- */
.sleeve { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 9px 1px; border-radius: 4px;
  background: linear-gradient(#fff 0 55%, #f1f2ef 100%); border: 1px solid #c9cdc5; color: var(--ink);
  font: 600 .98rem/1.2 var(--head); font-stretch: 75%; letter-spacing: .02em; white-space: nowrap; }
html[lang="th"] .sleeve { line-height: 1.35; padding-top: 1px; }
.sleeve.sm { min-height: 22px; font-size: .86rem; padding: 1px 7px 0; }
.lamp { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #8a9180; border: 2px solid rgba(17, 26, 46, .18); vertical-align: -1px; }
.lamp.on { background: var(--lamp-g); border-color: rgba(31, 191, 99, .35); }
.rail { height: 18px; background:
  repeating-linear-gradient(90deg, transparent 0 22px, rgba(17, 26, 46, .22) 22px 34px, transparent 34px 46px) 0 6px / 100% 6px no-repeat,
  linear-gradient(#d9dcd5, #c1c5bd 45%, #aeb3aa 100%); border-top: 1px solid #8f948b; border-bottom: 1px solid #8f948b; }
.plate { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; background: #17191d; color: #f4f5f2; border-radius: var(--r);
  font: 600 1rem/1.2 var(--head); font-stretch: 75%; letter-spacing: .02em; border: 1px solid #000; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--navy); color: var(--on-dark); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav.scrolled { border-bottom-color: var(--navy-3); }
.nav-in { display: flex; align-items: center; gap: 22px; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; min-height: 44px; }
.brand-z { width: 54px; height: auto; }
.brand-t { display: flex; flex-direction: column; font-family: var(--head); font-stretch: 75%; line-height: 1.02; }
.brand-t b { font-size: 1.32rem; font-weight: 700; letter-spacing: .01em; }
.brand-t span { font-size: .98rem; font-weight: 500; color: var(--on-dark-2); letter-spacing: .02em; }
.nav-main { margin-left: auto; }
.nav-main ul { display: flex; gap: 2px; }
.nav-main a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: var(--r); text-decoration: none;
  font-family: var(--head); font-stretch: 75%; font-weight: 600; font-size: 1.08rem; color: var(--on-dark); }
.nav-main a:hover { background: rgba(255, 255, 255, .07); }
.nav-main a.on { box-shadow: inset 0 -3px 0 var(--gold); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r); overflow: hidden; }
.lang button { min-height: 44px; min-width: 44px; padding: 4px 10px; background: transparent; border: 0; color: var(--on-dark-2); cursor: pointer;
  font: 600 .95rem/1 var(--head); font-stretch: 75%; }
.lang button[aria-pressed="true"] { background: var(--on-dark); color: var(--navy); }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r); background: transparent; color: var(--on-dark); cursor: pointer; }
.burger { display: grid; gap: 5px; justify-items: center; }
.burger i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { display: none; }

@media (max-width: 1080px) {
  .nav-main { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-tools { margin-left: auto; }
  .menu { position: fixed; z-index: 39; left: 0; right: 0; top: var(--nav-h); bottom: 0; background: var(--navy); color: var(--on-dark);
    padding: 12px var(--pad) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 20px;
    visibility: hidden; opacity: 0; transition: opacity .18s, visibility 0s .18s; }
  .menu.open { visibility: visible; opacity: 1; transition: opacity .18s; }
  .menu ul { display: grid; }
  .menu li a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); text-decoration: none;
    font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.6rem; }
  .menu li a.on { color: var(--gold); }
  .menu-foot { display: grid; gap: 10px; margin-top: auto; }
  .menu-foot .btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--on-dark); }
  .lang-lg { display: grid; grid-template-columns: 1fr 1fr; }
  .lang-lg button { min-height: 48px; font-size: 1.05rem; }
}
@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .nav-cta, .nav-tools > .lang { display: none; }
  .brand-z { width: 46px; }
  .brand-t b { font-size: 1.2rem; }
  .brand-t span { font-size: .9rem; }
}
@media (min-width: 641px) and (max-width: 860px) { .nav-tools > .lang { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--on-dark); position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 100%; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 80px);
  align-items: center; padding-top: clamp(40px, 5vw, 84px); padding-bottom: clamp(44px, 5vw, 88px); }
.hero h1 { color: #fff; max-width: 15em; font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.4rem); }
html[lang="th"] .hero h1 { max-width: none; font-size: clamp(2.1rem, 1.45rem + 1.9vw, 2.95rem); }
.hero .lead { color: var(--on-dark-2); margin-top: 22px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-fig { margin: 0; position: relative; }
.hero-photo { position: relative; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .14); background: #0b1126; padding: 10px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
@media (min-width: 1000px) { .hero-in { padding-top: 36px; padding-bottom: 36px; } .hero-photo img { aspect-ratio: 5 / 6; max-height: calc(100vh - var(--nav-h) - 110px); min-height: 460px; } }
.hero-fig figcaption { margin-top: 12px; font-size: .9rem; color: var(--on-dark-2); }
.markers { position: absolute; inset: 10px; pointer-events: none; }
.mk { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.mk-dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; }
.mk-wire { position: absolute; top: -1px; height: 2px; width: 44px; background: #fff; }
.mk-r .mk-wire { left: 6px; } .mk-l .mk-wire { right: 6px; }
.mk .sleeve { position: absolute; top: -14px; font-size: .95rem; }
.mk-r .sleeve { left: 50px; } .mk-l .sleeve { right: 50px; }
.js:not(.rm) .mk { animation: mk-in .5s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.5s + var(--i) * .16s); }
.js:not(.rm) .mk .sleeve { animation: sleeve-in .55s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.62s + var(--i) * .16s); }
@keyframes mk-in { from { opacity: 0; } }
@keyframes sleeve-in { from { opacity: 0; translate: var(--from, 0) 0; } }
.mk-r .sleeve { --from: -26px; } .mk-l .sleeve { --from: 26px; }
.hero + .rail, .page-head .rail { position: relative; }

@media (max-width: 999px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-fig { max-width: 520px; }
}
@media (max-width: 640px) {
  .hero-in { padding-top: 26px; gap: 28px; }
  .hero .lead { margin-top: 14px; font-size: 1.04rem; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-photo img { aspect-ratio: 4 / 5; }
  .mk .sleeve { font-size: .84rem; }
  .mk-wire { width: 30px; } .mk-r .sleeve { left: 36px; } .mk-l .sleeve { right: 36px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust-in { display: flex; align-items: center; gap: 14px 28px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.trust-h { font-size: 1.02rem; font-weight: 600; color: var(--muted); font-family: var(--text); font-stretch: 100%; }
.trust-list { display: flex; flex-wrap: wrap; gap: 6px 0; }
.trust-list li { display: inline-flex; align-items: center; font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.trust-list li { padding: 0 16px; border-left: 1px solid var(--line-2); }
.trust-list li:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 1080px) { .trust-list { gap: 6px 22px; } .trust-list li { padding: 0; border-left: 0; } }

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; }
.sec-tight { padding-top: calc(var(--sec) * .7); }
.sec-head { margin-bottom: clamp(26px, 3vw, 44px); display: grid; gap: 14px; }
.sec-more { margin-top: 32px; }

/* What we do: two big, three small (two different rhythms, never a row of identical cards) */
.svc-bigs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.svc-big { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; }
.svc-ph { display: block; background: var(--paper-2); }
.svc-ph img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.svc-body { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.svc-body h3 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); line-height: 1.12; }
html[lang="th"] .svc-body h3 { line-height: 1.32; }
.svc-body h3 a, .svc-small h3 a, .proj h3 a { text-decoration: none; }
.svc-body h3 a, .svc-small h3 a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.svc-body p { color: var(--ink-2); }
.svc-body .more { margin-top: auto; align-self: flex-start; }
.ticks { display: grid; gap: 6px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { width: 18px; height: 18px; color: var(--ink); flex: none; margin-top: 5px; }
.svc-smalls { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.svc-small { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.svc-small img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r); background: var(--card); }
.svc-small h3 { font-size: 1.3rem; line-height: 1.15; margin-bottom: 6px; }
html[lang="th"] .svc-small h3 { line-height: 1.35; }
.svc-small p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 1080px) { .svc-big { grid-template-columns: 1fr; } .svc-ph img { aspect-ratio: 16 / 10; } }
@media (max-width: 860px) { .svc-bigs, .svc-smalls { grid-template-columns: 1fr; } }

/* Signature: the wire run through six terminals */
.sec-steps { background: var(--navy); color: var(--on-dark); position: relative; overflow: clip; }
.sec-steps .h2 { color: #fff; }
.sec-steps .sec-lead { color: var(--on-dark-2); }
.steps-wrap { position: relative; }
.wire { position: absolute; left: 0; right: 0; top: 21px; width: 100%; height: 10px; overflow: visible; }
.wire path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; }
.wire-base { stroke: #3a4a82; }
.wire-live { stroke: var(--gold); stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.js:not(.rm) [data-steps]:not(.live) .wire-live { stroke-dashoffset: 100; }
.js:not(.rm) [data-steps].live .wire-live { transition: stroke-dashoffset 2.4s cubic-bezier(.45, 0, .2, 1); }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { display: grid; gap: 10px; align-content: start; }
.term { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; width: max-content; min-width: 104px;
  background: #fff; color: var(--ink); border-radius: 4px; border: 1px solid #c9cdc5; }
.term b { font-size: 1.05rem; }
.step .lamp { width: 16px; height: 16px; background: var(--lamp-g); border-color: rgba(31, 191, 99, .35); }
.js:not(.rm) [data-steps]:not(.live) .step .lamp { background: #6f766b; border-color: rgba(17, 26, 46, .2); }
.js:not(.rm) [data-steps].live .step .lamp { transition: background-color .25s calc(var(--i) * .36s + .1s), border-color .25s calc(var(--i) * .36s + .1s); }
.step h3 { color: #fff; font-size: 1.35rem; line-height: 1.15; margin-top: 6px; }
html[lang="th"] .step h3 { line-height: 1.35; }
.step p { color: var(--on-dark-2); font-size: .98rem; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; } .wire { display: none; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .step .term { grid-row: span 2; height: 52px; min-width: 0; width: 96px; justify-content: center; }
  .step h3 { margin-top: 0; }
}

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.proj { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.proj-ph { position: relative; background: var(--paper-2); }
.proj-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tag { display: inline-flex; align-self: flex-start; align-items: center; min-height: 26px; padding: 2px 9px 1px; border-radius: 4px; background: linear-gradient(#fff 0 55%, #f1f2ef 100%); color: var(--ink); border: 1px solid #c9cdc5;
  font: 600 .9rem/1.2 var(--head); font-stretch: 75%; letter-spacing: .02em; }
.tag-bas { --c: var(--lamp-b); } .tag-security { --c: var(--lamp-r); } .tag-farm { --c: var(--lamp-g); } .tag-panels { --c: var(--gold); }
.proj-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.proj h3 { font-size: 1.28rem; line-height: 1.16; }
html[lang="th"] .proj h3 { line-height: 1.38; font-size: 1.22rem; }
.p-cust { font-weight: 600; display: grid; gap: 2px; }
.p-site { font-weight: 400; color: var(--muted); font-size: .95rem; }
.p-scope { color: var(--ink-2); font-size: .96rem; }
.p-meta { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.p-val { font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; margin-left: auto; }
@media (min-width: 1081px) { .proj-all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .proj-grid { grid-template-columns: 1fr; } .proj-ph img { aspect-ratio: 16 / 10; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r);
  cursor: pointer; font: 600 1.02rem/1.2 var(--head); font-stretch: 75%; color: var(--ink); }
.chip .cnt { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .cnt { color: #fff; }
.rows-h { margin: 44px 0 14px; }
.prows { display: grid; border-top: 2px solid var(--ink); }
.prow { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto 150px; gap: 8px 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prow .tag { justify-self: start; }
.prow h4 { font-size: 1.15rem; line-height: 1.25; }
html[lang="th"] .prow h4 { line-height: 1.45; font-weight: 600; }
.prow p { color: var(--ink-2); font-size: .96rem; }
.prow .p-val { text-align: right; }
.prow.hide { display: none; }
@media (max-width: 760px) { .prow { grid-template-columns: minmax(0, 1fr) auto; } .prow .tag { grid-column: 1 / -1; } .prow .sleeve { justify-self: start; } }
.count { margin: 16px 0 18px; color: var(--muted); font-size: .96rem; }
.proj.hide, .part.hide, .pcat.hide { display: none; }

/* Sites wall: black engraved name plates (a Zodiac product) */
.sec-sites { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sites { display: flex; flex-wrap: wrap; gap: 10px; }
.sites li { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 14px; background: #17191d; color: #f4f5f2; border-radius: var(--r);
  font: 600 1.05rem/1.2 var(--head); font-stretch: 75%; letter-spacing: .02em; border: 1px solid #000; }

/* DDC range */
.ddc-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ddc-copy { display: grid; gap: 16px; align-content: start; }
.ddc-copy p { color: var(--ink-2); }
.ddc-price { display: flex; align-items: baseline; gap: 10px; }
.ddc-price span { color: var(--muted); }
.ddc-price b { font-family: var(--head); font-stretch: 75%; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; }
.ddc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ddc-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.ddc-shots figure { margin: 0; display: grid; gap: 10px; justify-items: start; }
.ddc-shots img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.ddc-shots figure:nth-child(2) img { aspect-ratio: 3 / 4.6; }
.ddc-shots figure:nth-child(3) img { aspect-ratio: 3 / 5.2; }
@media (max-width: 860px) { .ddc-in { grid-template-columns: 1fr; } }

/* Band */
.band { background: var(--navy); color: var(--on-dark); position: relative; }
.band::before { content: ""; display: block; height: 18px; background:
  repeating-linear-gradient(90deg, transparent 0 22px, rgba(17, 26, 46, .22) 22px 34px, transparent 34px 46px) 0 6px / 100% 6px no-repeat,
  linear-gradient(#d9dcd5, #c1c5bd 45%, #aeb3aa 100%); border-bottom: 1px solid #8f948b; }
.band-in { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 48px; align-items: center; padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(44px, 5vw, 76px); }
.band .h2 { color: #fff; }
.band p { color: var(--on-dark-2); margin-top: 12px; }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .band-in { grid-template-columns: 1fr; } .band-cta .btn { flex: 1 1 auto; } }

/* ---------- Inner page heads ---------- */
.page-head { background: var(--navy); color: var(--on-dark); }
.page-head .wrap { padding-top: clamp(40px, 5vw, 76px); padding-bottom: clamp(36px, 4vw, 60px); }
.page-head h1 { color: #fff; }
.page-head .lead { color: var(--on-dark-2); margin-top: 16px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r);
  text-decoration: none; font: 600 1.02rem/1.2 var(--head); font-stretch: 75%; }
.jump a:hover { border-color: var(--gold); }
.jump .i { width: 18px; height: 18px; color: var(--on-dark-2); }

/* ---------- Services page ---------- */
.svc-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-alt .svc-media { order: 2; }
.svc-media { position: relative; padding-bottom: 40px; }
.svc-media img { border-radius: var(--r); border: 1px solid var(--line); background: var(--paper-2); }
.svc-media img.tall { width: 82%; aspect-ratio: 4 / 5; object-fit: cover; }
.svc-media img.wide { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-media img.inset { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid var(--paper); }
.svc-alt .svc-media img.inset { border-color: var(--card); }
.svc-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 0; }
.svc-media.duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.svc-media.duo img:nth-child(2) { margin-top: 48px; }
.svc-media img.cover:not(.tall):not(.wide):not(.inset) { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-text { display: grid; gap: 18px; align-content: start; padding-top: 8px; }
.spec { display: grid; }
.spec li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6px 20px; padding: 14px 0; }
.spec li + li { border-top: 1px solid var(--line); }
.spec b { font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.14rem; line-height: 1.25; }
html[lang="th"] .spec b { line-height: 1.45; font-weight: 600; }
.spec span { color: var(--ink-2); font-size: .98rem; }
.spec a { font-weight: 600; }
.uses { color: var(--ink-2); font-size: .98rem; }
.uses b { color: var(--ink); margin-right: 6px; }
.facts { display: grid; gap: 14px; }
.facts p { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.facts b { font-family: var(--head); font-stretch: 75%; font-size: 3rem; line-height: 1; }
.facts span { color: var(--ink-2); }
@media (max-width: 860px) {
  .svc-in { grid-template-columns: 1fr; }
  .svc-alt .svc-media { order: 0; }
  .spec li { grid-template-columns: 1fr; }
}

.svc-stack { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack-media { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.stack-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.stack-media img:nth-child(2) { aspect-ratio: auto; }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px var(--gap); margin-top: 32px; }
.spec-grid li { display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 2px solid var(--ink); }
.spec-grid b { font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
html[lang="th"] .spec-grid b { line-height: 1.45; font-weight: 600; }
.spec-grid span { color: var(--ink-2); font-size: .98rem; }
.svc-dark { background: var(--navy); color: var(--on-dark); }
.svc-dark .h2 { color: #fff; }
.svc-dark .sec-lead, .svc-dark .facts span { color: var(--on-dark-2); }
.svc-dark .facts p { border-top-color: rgba(255, 255, 255, .14); }
.spec-dark li + li { border-top-color: rgba(255, 255, 255, .14); }
.spec-dark b { color: #fff; }
.spec-dark span { color: var(--on-dark-2); }
.farm-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 80px); align-items: end; }
.farm-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.farm-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (max-width: 860px) {
  .stack-media { grid-template-columns: 1fr; }
  .stack-media img:nth-child(2) { aspect-ratio: 16 / 9; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .farm-top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } .farm-media { gap: 6px; } }

/* ---------- Parts page ---------- */
.ddc-table-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ddc-table-in > div:first-child { display: grid; gap: 14px; }
.table-wrap { overflow-x: auto; }
.ddc-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); }
.ddc-table th, .ddc-table td { padding: 8px 14px; text-align: left; vertical-align: middle; }
.ddc-table tbody tr { border-top: 1px solid var(--line); }
.ddc-table thead th { font-family: var(--text); font-stretch: 100%; font-size: .9rem; color: var(--muted); font-weight: 600; background: var(--paper); }
.ddc-table .num { text-align: right; font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
@media (max-width: 1180px) { .ddc-table-in { grid-template-columns: 1fr; } }
.sec-parts { background: var(--paper-2); border-top: 1px solid var(--line); }
.parts-in { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.parts-main .chips { margin-top: 20px; }
.parts { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.pcat { display: flex; align-items: center; gap: 16px; padding: 16px 18px 10px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.pcat-ph { flex: none; width: 72px; height: 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; overflow: hidden; }
.pcat-ph img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pcat:first-child { padding-top: 16px; }
.pcat h3 { font-size: 1.25rem; }
.part { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, auto) auto; gap: 8px 18px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.parts .part:last-child { border-bottom: 0; }
.pt-ph { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; place-items: center; overflow: hidden; }
.pt-ph img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pt-ph.empty { border: 0; background: none; }
.pt-body { display: grid; gap: 2px; min-width: 0; }
.pt-code { font-size: .9rem; color: var(--muted); }
.part h4 { font-family: var(--text); font-stretch: 100%; font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.pt-note { font-size: .92rem; color: var(--muted); }
.pt-price { text-align: right; white-space: nowrap; }
.pt-price b { font-family: var(--head); font-stretch: 75%; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.pt-price .pr-ask { font-size: 1.05rem; color: var(--ink-2); }
.pr-from, .pr-unit { font-size: .9rem; color: var(--muted); }
.btn-add { background: transparent; border-color: var(--ink); color: var(--ink); white-space: nowrap; }
.btn-add:hover { background: var(--gold); border-color: var(--gold); }
.btn-add.added { background: var(--ink); color: #fff; }
.btn-add .i { width: 18px; height: 18px; }
.ddc-table td.add { text-align: right; padding: 6px 10px; }
.ddc-table .size, .ddc-table th, .ddc-table .num { white-space: nowrap; }
.ddc-table .sz { display: none; }
.ddc-table td.add .btn { min-height: 44px; }
.qlist { position: sticky; top: calc(var(--nav-h) + 16px); background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; }
.qlist h2 { display: flex; align-items: center; gap: 10px; }
.qlist h2 .i { width: 22px; height: 22px; }
.ql-n { margin-left: auto; min-width: 34px; height: 30px; display: inline-grid; place-items: center; background: var(--ink); color: #fff; border-radius: var(--r); font-size: 1rem; }
.ql-empty { color: var(--muted); font-size: .96rem; }
.ql-items { display: grid; gap: 0; max-height: 46vh; overflow-y: auto; }
.ql-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ql-items .q-name { font-weight: 600; }
.ql-items .q-code { color: var(--muted); font-size: .86rem; grid-column: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); grid-row: span 2; }
.qty button { width: 40px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.qty button .i { width: 16px; height: 16px; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.ql-send { display: grid; gap: 10px; }
.field { display: grid; gap: 6px; }
.field > span, .field label { font-weight: 600; font-size: .96rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(245, 179, 1, .55); outline-offset: 0; }
.field .err { display: none; color: #b3261e; font-size: .92rem; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select { border-color: #b3261e; }
.req { color: #b3261e; }
.deliv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 24px; }
.deliv li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-top: 16px; border-top: 2px solid var(--ink); }
.deliv .i { width: 28px; height: 28px; color: var(--ink); }
.deliv h3 { font-size: 1.2rem; line-height: 1.2; margin-bottom: 4px; }
html[lang="th"] .deliv h3 { line-height: 1.4; }
.deliv p { color: var(--ink-2); font-size: .98rem; }
.brands-h { margin-top: 44px; margin-bottom: 14px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r); font: 700 1.05rem/1.2 var(--head); font-stretch: 75%; background: var(--card); }
@media (max-width: 999px) {
  .parts-in { grid-template-columns: 1fr; }
  .qlist { position: static; }
  .deliv { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .part { grid-template-columns: minmax(0, 1fr) auto; padding: 14px; gap: 6px 14px; }
  .part .pt-body { grid-column: 1 / -1; }
  .pcat-ph { width: 56px; height: 56px; }
  .pt-price { text-align: left; }
  .btn-add { justify-self: start; }
  .ddc-table thead { display: none; }
  .ddc-table tr.ddc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 48px; gap: 4px 14px; padding: 10px 12px 10px 14px; align-items: center; }
  .ddc-table tr.ddc-row > * { padding: 0; }
  .ddc-table .size { display: none; }
  .ddc-table .sz { display: block; font-size: .9rem; color: var(--muted); margin-top: 4px; }
  .ddc-table td.add .btn { width: 48px; height: 48px; padding: 0; }
  .ddc-table td.add .add-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- About ---------- */
.about-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-text { display: grid; gap: 16px; max-width: 42em; }
.about-text p { color: var(--ink-2); }
.about-fig { margin: 0; }
.about-fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.dd-office { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.dd-office img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.about-fig figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.sec-values { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
.values li { display: grid; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.values .lamp { width: 16px; height: 16px; background: var(--lamp-g); border-color: rgba(31, 191, 99, .35); }
.values li:nth-child(2) .lamp { background: var(--lamp-a); border-color: rgba(245, 179, 1, .35); }
.values li:nth-child(3) .lamp { background: var(--lamp-b); border-color: rgba(61, 124, 240, .35); }
.values h3 { font-size: 1.5rem; line-height: 1.15; }
html[lang="th"] .values h3 { line-height: 1.35; }
.values p { color: var(--ink-2); }
.facts-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); }
.dl { margin: 24px 0 0; border-top: 1px solid var(--line-2); }
.dl > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dl dt { color: var(--muted); font-size: .96rem; }
.dl dd { margin: 0; font-weight: 500; }
.vlist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--ink); }
.vlist li { font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) { .about-in, .facts-grid { grid-template-columns: 1fr; } .about-fig { max-width: 320px; } .values { grid-template-columns: 1fr; } .dl > div { grid-template-columns: 1fr; } }

/* ---------- Projects page extras ---------- */
.sec-booth { padding: calc(var(--sec) * .6) 0; }
.booth-in > div { max-width: 56em; display: grid; gap: 12px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.booth-in p { color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.quote { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote > .btn { justify-self: start; }
.sent { display: none; gap: 12px; padding: 18px; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); }
.sent.show { display: grid; }
.sent-h { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.msg { margin: 0; white-space: pre-wrap; font: 400 .95rem/1.6 var(--text); background: #fff; border: 1px dashed var(--line-2); padding: 12px; border-radius: var(--r); }
.send-row { display: flex; flex-wrap: wrap; gap: 10px; }
.reach { display: grid; gap: 16px; }
.reach-list { display: grid; border-top: 1px solid var(--line-2); }
.reach-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.reach-list .i { width: 22px; height: 22px; margin-top: 6px; color: var(--ink-2); }
.reach-list a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--head); font-stretch: 75%; font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.reach-list p { color: var(--muted); font-size: .95rem; }
.sec-map { padding-top: 0; }
.map-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.map { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map-pill { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; background: var(--navy); color: #fff; border-radius: var(--r); font: 600 .98rem/1.2 var(--head); font-stretch: 75%; }
.map-pill .i { width: 16px; height: 16px; }
.map-text { display: grid; gap: 14px; }
.addr { color: var(--ink-2); }
.addr-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.osm { font-size: .86rem; color: var(--muted); }
@media (max-width: 860px) { .contact-in, .map-in { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } .quote > .btn { justify-self: stretch; } }

/* ---------- Footer ---------- */
.foot { background: #0b1124; color: var(--on-dark-2); padding: clamp(44px, 5vw, 72px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .6fr); gap: 32px; }
.foot .brand { color: #fff; }
.foot-name { color: var(--on-dark); font-weight: 600; margin-top: 16px; }
.foot-line { margin-top: 8px; font-size: .96rem; max-width: 26em; }
.foot-h { font-family: var(--text); font-stretch: 100%; font-weight: 600; font-size: .95rem; color: var(--on-dark); margin-bottom: 12px; }
.foot-list { display: grid; gap: 2px; }
.foot-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot-list .i { width: 18px; height: 18px; flex: none; color: var(--on-dark-2); }
.foot-list a, .foot-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; }
.foot-list a:hover, .foot-nav a:hover { text-decoration: underline; }
.foot-list .muted { color: var(--on-dark-2); font-size: .92rem; }
.foot-addr { font-size: .96rem; }
.foot-reg { margin-top: 12px; font-size: .92rem; }
.foot-reg .mono { color: var(--on-dark); }
.foot-nav { display: grid; }
.foot-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
@media (max-width: 999px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Phone dock ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: grid; grid-template-columns: 52px 52px minmax(0, 1fr); gap: 8px; position: fixed; z-index: 30; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); padding: 8px; background: var(--navy); border: 1px solid var(--navy-3); border-radius: 6px;
    transition: transform .25s, opacity .25s; }
  .dock.away { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .dock-i { display: grid; place-items: center; height: 48px; border-radius: var(--r); background: var(--navy-2); color: #fff; }
  .dock-i .i { width: 22px; height: 22px; }
  .dock-line { background: var(--line-green); color: #06200f; }
  .dock-cta { min-height: 48px; padding: 6px 12px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(92vw, 520px);
  background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--r); font-size: .98rem; }
@media (min-width: 761px) { .toast { bottom: 28px; } }

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