/* Vietnam Oriental Barcode — site styles
   Layout concept: paper-white working surfaces alternating with deep "VO navy" bands;
   barcode bars, dot-matrix date codes and a cyan scan line carry the coding-industry identity. */
:root {
  --vo: #2e3093;          /* logo blue, sampled from the logo file */
  --vo-600: #24267a;
  --navy: #0b0e30;        /* dark bands */
  --navy-2: #13174a;
  --ink: #14173a;         /* body text on light */
  --muted: #5a5f80;
  --paper: #f3f4f9;
  --white: #ffffff;
  --line: #dde0ee;
  --scan: #2fd8e8;        /* scan-line accent */
  --kraft: #c9a878;
  --on-dark: #e9ebf8;
  --on-dark-muted: #a0a6cf;
  --line-dark: rgba(160, 166, 207, 0.22);

  --f-latin: "Be Vietnam Pro", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-zh: "Noto Sans SC", "Be Vietnam Pro", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-sans: var(--f-latin);
  --f-dot: "DotGothic16", "IBM Plex Mono", ui-monospace, monospace;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html[data-lang="zh"] { --f-sans: var(--f-zh); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.18; text-wrap: balance; font-weight: 800; letter-spacing: -0.015em; }
html[data-lang="zh"] h1, html[data-lang="zh"] h2, html[data-lang="zh"] h3 { letter-spacing: 0.01em; font-weight: 900; }
html[data-lang="zh"] h3 { font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--scan); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site { overflow-x: clip; }
.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- dot-matrix eyebrow ---------- */
.code-eyebrow { font-family: var(--f-dot); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--vo); display: inline-flex; align-items: center; gap: .6em; }
.code-eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; box-shadow: 12px 0 0 currentColor; margin-right: 12px; }
.on-dark .code-eyebrow, .hero .code-eyebrow, .page-hero .code-eyebrow { color: var(--scan); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20, 23, 58, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.site-header.is-scrolled .header-inner { min-height: 64px; }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav > a { position: relative; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); padding: 10px 12px; white-space: nowrap; transition: color .2s; }
.main-nav > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--vo); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > a:hover { color: var(--vo); }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav > a[aria-current="page"] { color: var(--vo); }
.lang { display: inline-flex; margin-left: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--white); }
.lang button { appearance: none; border: 0; background: transparent; font: 600 .78rem/1 var(--f-latin); color: var(--muted); padding: 8px 11px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.lang button[data-lang="zh"] { font-family: var(--f-zh); }
.lang button[aria-pressed="true"] { background: var(--vo); color: var(--white); }
.lang button:hover:not([aria-pressed="true"]) { color: var(--vo); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); cursor: pointer; position: relative; }
.menu-btn span.bar { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span.bar:nth-child(1) { top: 16px; }
.menu-btn span.bar:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span.bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span.bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20, 23, 58, .12); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s var(--ease), visibility 0s .4s; }
  .main-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s var(--ease); }
  .main-nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .main-nav > a::after { left: 4px; right: auto; width: 28px; bottom: 10px; }
  .lang { margin: 18px 0 0; align-self: flex-start; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand img, .site-header.is-scrolled .brand img { height: 34px; }
}

/* ---------- buttons ---------- */
.btn { appearance: none; background: transparent; font-family: inherit; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 2px; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); transition: left .6s var(--ease); }
.btn:hover::after { left: 130%; }
.btn-scan { background: var(--scan); color: var(--navy); }
.btn-ghost { border-color: rgba(233, 235, 248, .35); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-blue { background: var(--vo); color: var(--white); }
.btn-blue:hover { background: var(--vo-600); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--vo); color: var(--vo); }
.btn:active { transform: translateY(1px); }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row .section-head { margin-bottom: 0; }

/* ---------- home hero ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, #1b2070 0%, var(--navy) 55%); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-canvas, .bars-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(72px, 10vw, 136px); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.06; color: var(--white); }
html[data-lang="vi"] .hero h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.12; }
.hero-company { font-weight: 600; color: var(--scan); font-size: 1.05rem; }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--on-dark-muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.load-in > * { animation: loadUp .9s var(--ease) both; }
.load-in > *:nth-child(2) { animation-delay: .08s; }
.load-in > *:nth-child(3) { animation-delay: .16s; }
.load-in > *:nth-child(4) { animation-delay: .24s; }
.load-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes loadUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* coder demo panel */
.coder { min-width: 0; display: grid; gap: 14px; animation: loadUp 1s .3s var(--ease) both; }
.coder-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--f-dot); font-size: .78rem; letter-spacing: .14em; color: var(--on-dark-muted); text-transform: uppercase; }
.coder-label .live { display: inline-flex; align-items: center; gap: 8px; color: var(--scan); }
.coder-label .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--scan); box-shadow: 0 0 0 0 rgba(47, 216, 232, .7); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 10px rgba(47, 216, 232, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 216, 232, 0); } }
.carton { position: relative; border-radius: 3px; padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px) clamp(26px, 3vw, 38px); color: #1a1712;
  background:
    repeating-linear-gradient(90deg, rgba(90, 60, 20, .05) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, #d6b98b, var(--kraft) 55%, #b8935f);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: perspective(1200px) rotateY(-7deg) rotateX(2deg); }
.carton::before { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 10px; background: linear-gradient(rgba(0, 0, 0, .08), transparent); }
.carton-stamp { display: flex; justify-content: space-between; align-items: center; font: 600 .7rem/1 var(--f-mono); letter-spacing: .12em; color: rgba(40, 28, 10, .55); margin-bottom: 18px; text-transform: uppercase; }
.carton-stamp .arrows { display: inline-flex; gap: 3px; }
.carton-stamp .arrows i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid rgba(40, 28, 10, .5); }
.print-area { position: relative; display: grid; gap: 4px; }
.print-line { font-family: var(--f-dot); font-size: clamp(1.15rem, 2.1vw, 1.7rem); line-height: 1.35; letter-spacing: .08em; color: rgba(16, 14, 10, .9); white-space: nowrap; text-shadow: 0 0 .5px rgba(0, 0, 0, .4); }
.nozzle { position: absolute; left: 0; top: 0; width: 22px; height: 40px; border-radius: 3px 3px 2px 2px; background: linear-gradient(90deg, #2a2d3a, #55596a 45%, #2a2d3a); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); pointer-events: none; opacity: 0; transition: opacity .3s; }
.nozzle::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--scan); box-shadow: 0 0 10px 3px rgba(47, 216, 232, .8); }
.nozzle.is-on { opacity: 1; }
.carton-bars { margin-top: 18px; height: 44px; display: block; width: 100%; }
.carton-bars rect { fill: rgba(16, 14, 10, .85); }

/* ---------- industries ---------- */
.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.industry { flex: 1 1 150px; max-width: 100%; background: var(--white); display: grid; justify-items: center; gap: 14px; padding: 30px 14px 26px; text-align: center; font-weight: 600; font-size: .95rem; transition: background .3s, color .3s; position: relative; overflow: hidden; }
.industry svg { width: 34px; height: 34px; stroke: var(--vo); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease), stroke .3s; }
.industry::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--scan); box-shadow: 0 0 12px 2px rgba(47, 216, 232, .6); opacity: 0; }
.industry:hover { background: var(--navy); color: var(--on-dark); }
.industry:hover svg { stroke: var(--scan); transform: translateY(-3px); }
.industry:hover::after { opacity: 1; animation: scanDown 1.1s var(--ease) forwards; }
@keyframes scanDown { from { top: -2px; } to { top: 100%; } }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; cursor: pointer; text-align: left; font: inherit; padding: 0; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease); }
.p-card:hover { transform: translateY(-4px); border-color: var(--vo); box-shadow: 0 22px 44px rgba(20, 23, 58, .12); }
.p-media { position: relative; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; background: var(--white); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-media::after { content: ""; position: absolute; left: -10%; right: -10%; top: -4px; height: 3px; background: var(--scan); box-shadow: 0 0 16px 4px rgba(47, 216, 232, .55); opacity: 0; }
.p-card:hover .p-media::after { opacity: 1; animation: scanDown 1.2s var(--ease) forwards; }
.p-count { position: absolute; right: 10px; top: 10px; font: 500 .7rem/1 var(--f-mono); background: rgba(11, 14, 48, .82); color: var(--on-dark); padding: 6px 8px; border-radius: 2px; letter-spacing: .06em; }
.p-body { display: grid; align-content: start; gap: 6px; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.p-lot { font-family: var(--f-dot); font-size: .72rem; letter-spacing: .14em; color: var(--vo); }
.p-name { font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.p-more { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); margin-top: 4px; transition: color .2s, gap .25s var(--ease); }
.p-more svg { width: 15px; height: 15px; }
.p-card:hover .p-more { color: var(--vo); gap: 10px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { appearance: none; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 600 .9rem/1 var(--f-sans); padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--vo); color: var(--vo); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter .n { font-family: var(--f-mono); font-size: .75rem; opacity: .6; margin-left: 6px; }
.p-card.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* product dialog */
.p-dialog { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 6px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, .4); overflow: auto; }
.p-dialog::backdrop { background: rgba(8, 10, 34, .72); backdrop-filter: blur(4px); }
.p-dialog[open] { animation: dlgIn .4s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.dlg-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.dlg-gallery { background: var(--white); border-right: 1px solid var(--line); padding: 20px; display: grid; gap: 12px; align-content: start; }
.dlg-main { aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; border-radius: 3px; }
.dlg-main img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.dlg-thumbs { display: flex; gap: 10px; }
.dlg-thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--white); cursor: pointer; }
.dlg-thumbs button[aria-pressed="true"] { border-color: var(--vo); }
.dlg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dlg-info { padding: clamp(24px, 4vw, 44px); display: grid; align-content: start; gap: 16px; min-width: 0; }
.dlg-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.dlg-info .desc { color: #3b4062; line-height: 1.85; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.dlg-close { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.dlg-close svg { width: 18px; height: 18px; stroke: var(--ink); }

/* ---------- why / stats ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 40px; }
.stat { background: var(--navy); padding: 22px 18px; display: grid; gap: 4px; }
.stat b { font: 500 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f-dot); color: var(--white); font-variant-numeric: tabular-nums; }
.stat span { color: var(--on-dark-muted); font-size: .9rem; }
.why-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.why-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.why-item svg { width: 40px; height: 40px; stroke: var(--scan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.why-item p { color: var(--on-dark-muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--vo); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.cta-band .bars-canvas { opacity: .6; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 84px); }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-inner p { color: rgba(255, 255, 255, .78); margin-top: 12px; max-width: 40em; }
.cta-actions { display: grid; gap: 12px; justify-items: end; }
.cta-phone { font: 500 1.35rem/1 var(--f-dot); letter-spacing: .06em; color: var(--white); text-decoration: none; }
.cta-band .btn-scan { background: var(--white); color: var(--vo); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; background: radial-gradient(110% 120% at 90% 0%, #1b2070 0%, var(--navy) 60%); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); color: var(--white); margin-top: 16px; }
.page-hero .lead { color: var(--on-dark-muted); font-size: 1.08rem; margin-top: 14px; max-width: 36em; }
.page-hero .tag { font-family: var(--f-dot); color: var(--on-dark-muted); font-size: .8rem; letter-spacing: .14em; text-align: right; display: grid; gap: 8px; justify-items: end; }
.tag-bars { width: 200px; height: 54px; }
.tag-bars rect { fill: var(--on-dark); }

/* ---------- about ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); }
.intro-statement { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; line-height: 1.3; color: var(--ink); }
html[data-lang="zh"] .intro-statement { font-weight: 900; }
.intro-statement em { font-style: normal; color: var(--vo); background: linear-gradient(transparent 62%, rgba(47, 216, 232, .35) 62%); }
.intro-text { display: grid; gap: 20px; font-size: 1.06rem; color: #3b4062; max-width: 40em; }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.scope-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; align-content: start; }
.scope-col h3 { font-size: 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scope-col h3 small { font: 500 .75rem/1 var(--f-mono); color: var(--muted); letter-spacing: .08em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 2px; padding: 9px 14px; font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--vo); color: var(--vo); background: var(--white); }
.footprint { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; }
.fp-card { background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; min-width: 0; }
.fp-card .role { font-family: var(--f-dot); font-size: .78rem; letter-spacing: .14em; color: var(--scan); text-transform: uppercase; }
.fp-card h3 { font-size: 1.5rem; color: var(--white); }
.fp-card p { color: var(--on-dark-muted); }
.fp-link { height: 2px; background: repeating-linear-gradient(90deg, var(--scan) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: dash 1s linear infinite; position: relative; }
.fp-link::before, .fp-link::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--scan); }
.fp-link::before { left: -5px; } .fp-link::after { right: -5px; }
@keyframes dash { to { background-position: 24px 0; } }

/* ---------- network ---------- */
.net-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.map-panel { position: relative; background: var(--navy); border-radius: 6px; padding: 22px; min-height: 560px; display: grid; grid-template-rows: auto 1fr auto; color: var(--on-dark); overflow: hidden; }
.map-panel header { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-dot); font-size: .78rem; letter-spacing: .14em; color: var(--on-dark-muted); text-transform: uppercase; }
.map-canvas { width: 100%; height: 100%; min-height: 480px; display: block; }
.map-panel footer { font: 500 .72rem/1.4 var(--f-mono); color: var(--on-dark-muted); letter-spacing: .06em; }
.loc-list { display: grid; gap: 16px; align-content: start; }
.loc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: grid; gap: 12px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); cursor: default; }
.loc-card:hover, .loc-card.is-active { border-color: var(--vo); box-shadow: 0 18px 40px rgba(20, 23, 58, .1); transform: translateX(4px); }
.loc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.loc-head h3 { font-size: 1.35rem; }
.loc-role { font-family: var(--f-dot); font-size: .74rem; letter-spacing: .12em; color: var(--vo); text-transform: uppercase; }
.loc-rows { display: grid; gap: 8px; font-size: .95rem; }
.loc-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.loc-row dt { color: var(--muted); font-size: .85rem; }
.loc-row dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.loc-row dd.num { font-family: var(--f-mono); font-weight: 500; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 2px; padding: 8px 12px; font: 600 .82rem/1 var(--f-sans); text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.mini-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini-btn:hover { border-color: var(--vo); color: var(--vo); }
.mini-btn.primary { background: var(--vo); border-color: var(--vo); color: var(--white); }
.mini-btn.primary:hover { background: var(--vo-600); color: var(--white); }
.mini-btn.is-done { border-color: var(--scan); color: var(--navy); background: rgba(47, 216, 232, .18); }

/* ---------- service ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc-card { border: 1px dashed #b9bdd6; border-radius: var(--radius); padding: 28px 24px; display: grid; gap: 14px; background: var(--white); min-height: 230px; align-content: start; position: relative; overflow: hidden; }
.svc-card .num { font: 500 2.4rem/1 var(--f-dot); color: var(--line); }
.svc-card h3 { font-size: 1.15rem; color: var(--muted); }
.svc-card p { color: var(--muted); font-size: .92rem; }
.svc-card .skeleton { display: grid; gap: 8px; margin-top: 6px; }
.svc-card .skeleton i { display: block; height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--paper) 0%, #e6e8f3 50%, var(--paper) 100%); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.svc-card .skeleton i:nth-child(2) { width: 82%; } .svc-card .skeleton i:nth-child(3) { width: 64%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.svc-note { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--vo); border-radius: var(--radius); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-grid .loc-card:hover { transform: translateY(-4px); }
.mail-band { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--navy); color: var(--on-dark); border-radius: 6px; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; isolation: isolate; }
.mail-band .bars-canvas { opacity: .7; }
.mail-band .label { font-family: var(--f-dot); color: var(--scan); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.mail-band .addr { font: 500 clamp(1.3rem, 3vw, 2.1rem)/1.2 var(--f-mono); color: var(--white); margin-top: 10px; overflow-wrap: anywhere; user-select: all; }
.mail-band .acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.site-footer { background: #070921; color: var(--on-dark-muted); font-size: .92rem; }
.footer-bars { height: 6px; background: repeating-linear-gradient(90deg, var(--vo) 0 3px, transparent 3px 5px, var(--vo) 5px 6px, transparent 6px 10px, var(--vo) 10px 14px, transparent 14px 16px); opacity: .9; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding-block: 56px 40px; }
.footer-grid h3 { font: 500 .78rem/1 var(--f-dot); letter-spacing: .16em; color: var(--on-dark); text-transform: uppercase; margin-bottom: 18px; }
.footer-brand .name { color: var(--white); font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.footer-brand .en { font-family: var(--f-dot); font-size: .78rem; letter-spacing: .12em; color: var(--scan); margin-top: 10px; }
.footer-brand p:last-child { margin-top: 14px; max-width: 30em; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; transition: color .2s; width: fit-content; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 10px; }
.footer-contact div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
.footer-contact b { font-weight: 500; color: var(--on-dark); }
.footer-contact span.num { font-family: var(--f-mono); color: var(--on-dark); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 20px; margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
.footer-bottom .mono { font-family: var(--f-mono); }

/* ---------- reveal on scroll ---------- */
.is-pending { opacity: 0; transform: translateY(26px); }
.reveal-in { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal-stagger] > .is-pending { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .why-grid, .intro-grid, .net-grid { grid-template-columns: minmax(0, 1fr); }
  .coder { max-width: 520px; }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-actions { justify-items: start; }
  .dlg-grid { grid-template-columns: minmax(0, 1fr); }
  .dlg-gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .map-panel { min-height: 0; }
  .map-canvas { min-height: 520px; }
}
@media (max-width: 720px) {
  .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .page-hero .tag { justify-items: start; text-align: left; }
  .scope { grid-template-columns: minmax(0, 1fr); }
  .footprint { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fp-link { width: 2px; height: 56px; margin-inline: auto; background: repeating-linear-gradient(180deg, var(--scan) 0 6px, transparent 6px 12px); background-size: 2px 24px; animation-name: dashV; }
  .fp-link::before { left: -4px; top: -5px; } .fp-link::after { left: -4px; right: auto; top: auto; bottom: -5px; }
  .mail-band { grid-template-columns: minmax(0, 1fr); }
}
@keyframes dashV { to { background-position: 0 24px; } }
@media (max-width: 560px) {
  .product-grid, .product-grid.cols-4 { gap: 12px; }
  .p-body { padding: 12px 12px 14px; }
  .p-name { font-size: .95rem; }
  .p-more { display: none; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-card { min-height: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 14px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .carton { transform: none; }
  .industry { flex-basis: 130px; padding: 22px 10px; font-size: .88rem; }
  .map-canvas { min-height: 460px; }
  .loc-row { grid-template-columns: 64px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .is-pending { opacity: 1; transform: none; }
}
[hidden] { display: none !important; }
