/* 지에스(주) — 한 페이지 구성. 1160px 컬럼, 900px 이하에서 한 줄로 쌓임 */
:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --ink: #0b1220;
  --navy: #0c1a3a;
  --muted: #5a667e;
  --line: #e1e6f0;
  --brand: #1f4fd8;
  --brand-soft: #e8eefc;
  --on-brand: #ffffff;
  --signal: #f5a400;
  --screen: #070d18;
  --screen-line: #24324a;
  --screen-ink: #c9d6ea;
  --screen-dim: #1a2639;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
  --wrap: 1160px;
  --head-h: 72px;
  --r: 14px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 8px 24px rgba(11, 18, 32, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 14px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 32px; min-height: var(--head-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo b { display: block; font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; }
.logo small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; padding-block: 8px; white-space: nowrap; color: #2a3550; }
.nav a:hover { color: var(--brand); }
.head-tel { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
.head-tel:hover { filter: brightness(1.1); }
.head-tel svg, .btn svg { width: 17px; height: 17px; flex: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

/* hero */
.hero { position: relative; color: #ffffff; background: var(--navy); isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/home/slide_1.webp") right center / cover no-repeat; transform-origin: 72% 55%; animation: drift 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.2) translate3d(-2%, 1%, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(170, 196, 255, 0.13) 50%, transparent 58%) 0 0 / 300% 100% no-repeat; animation: sweep 8s linear infinite; }
@keyframes sweep { from { background-position: 130% 0; } to { background-position: -60% 0; } }
.hero .wrap { position: relative; }
.hud { position: absolute; right: 24px; top: 28px; display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.78); font-variant-numeric: tabular-nums; }
.hud i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; animation: blink 1.6s steps(2, start) infinite; }
.hero .badge, .hero h1, .hero .lead, .hero .cta, .hero .pillars { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { animation-delay: 0.12s; }
.hero .lead { animation-delay: 0.26s; }
.hero .cta { animation-delay: 0.4s; }
.hero .pillars { animation-delay: 0.56s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.vf { --c: rgba(255, 255, 255, 0.42); position: absolute; inset: 18px; z-index: -1; pointer-events: none; animation: vf 4.5s ease-in-out infinite;
  background:
    linear-gradient(var(--c), var(--c)) left top / 28px 2px, linear-gradient(var(--c), var(--c)) left top / 2px 28px,
    linear-gradient(var(--c), var(--c)) right top / 28px 2px, linear-gradient(var(--c), var(--c)) right top / 2px 28px,
    linear-gradient(var(--c), var(--c)) left bottom / 28px 2px, linear-gradient(var(--c), var(--c)) left bottom / 2px 28px,
    linear-gradient(var(--c), var(--c)) right bottom / 28px 2px, linear-gradient(var(--c), var(--c)) right bottom / 2px 28px;
  background-repeat: no-repeat; }
@keyframes vf { 50% { inset: 26px; opacity: 0.5; } }
.hero-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: -1; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(150, 190, 255, 0.6), transparent); box-shadow: 0 0 18px 2px rgba(120, 160, 255, 0.25); animation: scan 7s linear infinite; }
@keyframes scan { 0% { top: 0; opacity: 0; } 8%, 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.pillars a b { transition: transform 0.25s; }
.pillars a:hover b { transform: translateX(4px); }

/* feed scenes: each channel runs a 10s loop */
.feed { transition: box-shadow 0.3s; }
.feed.hot { box-shadow: inset 0 0 0 2px #5fe0a6, 0 0 18px rgba(95, 224, 166, 0.35); }
.feed svg { animation: cam 18s ease-in-out infinite alternate; transform-origin: 50% 60%; }
.f2 svg { animation-duration: 22s; animation-delay: -5s; transform-origin: 30% 60%; }
.f3 svg { animation-duration: 15s; animation-delay: -9s; }
.f4 svg { animation-duration: 20s; animation-delay: -2s; transform-origin: 60% 55%; }
@keyframes cam { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.2%, 0.8%); } }
.feed::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(150, 195, 255, 0.1), transparent); animation: feed-band 4.2s linear infinite; }
.feed::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(4, 8, 16, 0.55) 100%); }
.feed span { z-index: 2; }
@keyframes feed-band { from { transform: translateY(-110%); } to { transform: translateY(320%); } }
.f2::before { animation-delay: -1.3s; } .f3::before { animation-delay: -2.4s; } .f4::before { animation-delay: -3.1s; }
.st { position: absolute; left: 6px; bottom: 6px; z-index: 2; font: 700 11px/1.5 var(--font); font-style: normal; letter-spacing: 0; padding: 1px 7px; border-radius: 3px; background: #5fe0a6; color: #06231a; opacity: 0; animation: 10s linear infinite; }
.ts { position: absolute; right: 6px; bottom: 6px; z-index: 2; font: 500 10.5px/1.5 var(--mono); font-style: normal; color: rgba(201, 214, 234, 0.85); background: rgba(7, 13, 24, 0.7); padding: 0 5px; font-variant-numeric: tabular-nums; }
.feed text { font-family: var(--font); }
.f1 svg *, .f1 .st { animation-delay: -3s; }
.f3 svg *, .f3 .st { animation-delay: -6s; }
.f4 svg *, .f4 .st { animation-delay: -1.5s; }

.a1-car { animation: a1-car 10s ease-in-out infinite; }
@keyframes a1-car { 0% { transform: translate(8px, 48px); opacity: 0; } 8% { opacity: 1; } 40%, 86% { transform: none; opacity: 1; } 94%, 100% { transform: none; opacity: 0; } }
.a1-lamp { animation: a1-lamp 10s linear infinite; }
@keyframes a1-lamp { 0%, 46% { opacity: 1; } 52%, 100% { opacity: 0; } }
.a1-brake { animation: a1-brake 10s linear infinite; }
@keyframes a1-brake { 0%, 30% { opacity: 0.25; } 34%, 48% { opacity: 1; } 54%, 100% { opacity: 0.15; } }
.a1-box { animation: a1-box 10s linear infinite; }
.a1-box rect { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes a1-box { 0%, 6% { opacity: 0; } 10%, 44% { opacity: 1; } 50%, 100% { opacity: 0; } }
.a1-man { animation: a1-man 10s linear infinite; }
@keyframes a1-man { 0%, 48% { transform: translateX(0); opacity: 0; } 52% { opacity: 1; } 92% { opacity: 1; } 96%, 100% { transform: translateX(84px); opacity: 0; } }
.f1 .st { animation-name: st-a; }
@keyframes st-a { 0%, 8% { opacity: 0; } 12%, 46% { opacity: 1; } 52%, 100% { opacity: 0; } }

.a2-car { animation: a2-car 10s cubic-bezier(0.4, 0, 0.3, 1) infinite; }
@keyframes a2-car { 0% { transform: translateX(90px); opacity: 1; } 18%, 44% { transform: none; opacity: 1; } 66% { transform: translateX(-150px); opacity: 1; } 67%, 100% { transform: translateX(-150px); opacity: 0; } }
.a2-plate { animation: a2-plate 10s linear infinite; }
@keyframes a2-plate { 0%, 19% { opacity: 0; } 21% { opacity: 1; } 24% { opacity: 0.15; } 27% { opacity: 1; } 30% { opacity: 0.15; } 33%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
.a2-tag { transform-box: fill-box; transform-origin: center bottom; animation: a2-tag 10s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; }
@keyframes a2-tag { 0%, 30% { opacity: 0; transform: translateY(4px) scale(0.8); } 34%, 46% { opacity: 1; transform: none; } 52%, 100% { opacity: 0; transform: none; } }
.a2-arm { transform-box: view-box; transform-origin: 28px 51.2px; animation: a2-arm 10s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
@keyframes a2-arm { 0%, 36% { transform: rotate(0); } 44% { transform: rotate(-72deg); } 46%, 70% { transform: rotate(-70deg); } 79% { transform: rotate(1.5deg); } 81%, 100% { transform: rotate(0); } }
.a2-tip { animation: tip 0.8s steps(2, start) infinite; }
@keyframes tip { 50% { opacity: 0.15; } }
.a2-led { animation: a2-led 10s steps(1) infinite; }
@keyframes a2-led { 0%, 35% { fill: #e5484d; } 36%, 78% { fill: #5fe0a6; } 79%, 100% { fill: #e5484d; } }
.a2-win { animation: a2-win 7s steps(1) infinite; }
@keyframes a2-win { 0%, 100% { opacity: 0.75; } 62% { opacity: 0.55; } 64% { opacity: 0.75; } }
.f2 .st { animation-name: st-b; }
@keyframes st-b { 0%, 22% { opacity: 0; } 26%, 62% { opacity: 1; } 68%, 100% { opacity: 0; } }

.a3-car { transform-box: fill-box; transform-origin: center; animation: a3-car 10s cubic-bezier(0.5, 0, 0.9, 0.6) infinite; }
@keyframes a3-car { 0% { transform: translateY(-3px) scale(0.4); opacity: 0; } 10% { opacity: 1; } 62% { transform: translateY(26px) scale(2.1); opacity: 1; } 70%, 100% { transform: translateY(32px) scale(2.3); opacity: 0; } }
.a3-lamp { animation: a3-lamp 5s steps(1) infinite; }
@keyframes a3-lamp { 0%, 100% { opacity: 1; } 46% { opacity: 0.3; } 50% { opacity: 1; } 54% { opacity: 0.45; } 58% { opacity: 1; } }
.f3 .st { animation-name: st-c; }
@keyframes st-c { 0%, 12% { opacity: 0; } 16%, 60% { opacity: 1; } 66%, 100% { opacity: 0; } }

.a4-man { transform-box: fill-box; transform-origin: center bottom; animation: a4-man 10s ease-in-out infinite; }
@keyframes a4-man { 0% { transform: translateY(26px) scale(1.3); opacity: 0; } 8% { opacity: 1; } 30%, 46% { transform: none; opacity: 1; } 60%, 100% { transform: translateY(-6px) scale(0.72); opacity: 0; } }
.a4-bob { animation: a4-bob 10s linear infinite; }
@keyframes a4-bob { 0%, 6%, 12%, 18%, 24%, 30% { transform: translateY(0); } 3%, 9%, 15%, 21%, 27% { transform: translateY(-1.4px); } 46% { transform: translateY(0); } 49%, 55% { transform: translateY(-1.2px); } 52%, 100% { transform: translateY(0); } }
.a4-door-l, .a4-door-r { transform-box: fill-box; animation: a4-door 10s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.a4-door-l { transform-origin: left center; }
.a4-door-r { transform-origin: right center; }
@keyframes a4-door { 0%, 36% { transform: scaleX(1); } 45%, 70% { transform: scaleX(0.2); } 80%, 100% { transform: scaleX(1); } }
.a4-led { animation: a4-led 10s steps(1) infinite; }
@keyframes a4-led { 0%, 31% { opacity: 0.2; } 32%, 72% { opacity: 1; } 73%, 100% { opacity: 0.2; } }
.a4-scr { animation: a4-scr 10s steps(1) infinite; }
@keyframes a4-scr { 0%, 29% { fill: #22314b; } 30%, 72% { fill: #19c37d; } 73%, 100% { fill: #22314b; } }
.f4 .st { animation-name: st-d; }
@keyframes st-d { 0%, 30% { opacity: 0; } 34%, 66% { opacity: 1; } 72%, 100% { opacity: 0; } }

.evlog { list-style: none; margin: 8px 0 0; padding: 0; font: 500 11.5px/1 var(--mono); color: var(--screen-ink); }
.evlog li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 6px; border-top: 1px solid var(--screen-line); font-family: var(--font); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evlog time { font-family: var(--mono); font-size: 11.5px; color: rgba(201, 214, 234, 0.6); font-variant-numeric: tabular-nums; }
.evlog b { font: 700 10.5px/1 var(--mono); padding: 3px 6px; border-radius: 3px; background: rgba(95, 224, 166, 0.16); color: #5fe0a6; }
.evlog li.new { animation: ev-in 0.9s ease-out; }
.evlog li:nth-child(2) { opacity: 0.7; }
.evlog li:nth-child(3) { opacity: 0.42; }
@keyframes ev-in { from { background: rgba(95, 224, 166, 0.28); transform: translateY(-6px); opacity: 0; } }
.zones li { transition: background 0.3s, color 0.3s, border-color 0.3s; }
.zones li.on { background: #5fe0a6; border-color: #5fe0a6; color: #06231a; font-weight: 700; }

/* flow steps light up in order */
.flow li span { animation: step 6s linear infinite; animation-delay: var(--o, 0s); }
.flow li:nth-child(2) span { animation-delay: calc(var(--o, 0s) + 0.7s); }
.flow li:nth-child(3) span { animation-delay: calc(var(--o, 0s) + 1.4s); }
.flow li:nth-child(4) span { animation-delay: calc(var(--o, 0s) + 2.1s); }
.flow li:last-child span { animation-name: step-end; animation-delay: calc(var(--o, 0s) + 2.8s); }
.flow:nth-child(2) { --o: 2s; }
.flow:nth-child(3) { --o: 4s; }
@keyframes step { 0%, 100% { background: rgba(255, 255, 255, 0.1); } 3%, 13% { background: rgba(110, 150, 255, 0.6); } 22% { background: rgba(255, 255, 255, 0.1); } }
@keyframes step-end { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 164, 0, 0); transform: none; } 4%, 26% { box-shadow: 0 0 0 5px rgba(245, 164, 0, 0.3); transform: scale(1.06); } 40% { box-shadow: 0 0 0 0 rgba(245, 164, 0, 0); transform: none; } }

/* scroll reveal (classes are added by script, so the page is complete without it) */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.bar i { transform-origin: bottom; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s; }
.cats i::after { transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv:not(.in) .bar i { transform: scaleY(0); }
.rv:not(.in) .cats i::after { width: 0; }
.site-head { transition: box-shadow 0.25s; }
.site-head.scrolled { box-shadow: 0 6px 24px rgba(11, 18, 32, 0.08); }

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero::after, .hud i, .vf, .hero-scan, .feed::before, .st, .feed svg, .feed svg *, .evlog li, .flow li span,
  .hero .badge, .hero h1, .hero .lead, .hero .cta, .hero .pillars { animation: none; }
  .hero-scan { display: none; }
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 15, 36, 0.95) 0%, rgba(10, 20, 52, 0.84) 42%, rgba(14, 28, 74, 0.35) 100%); }
.hero .wrap { padding-block: 104px 44px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 600; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .badge i, .rec i { animation: none; } }
.hero h1 { margin-top: 22px; font-size: clamp(38px, 6.2vw, 72px); font-weight: 800; line-height: 1.14; letter-spacing: -0.04em; }
.hero .lead { margin-top: 24px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; color: rgba(255, 255, 255, 0.84); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border-radius: 10px; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--brand); background: var(--brand); color: var(--on-brand); font-variant-numeric: tabular-nums; }
.btn:hover { filter: brightness(1.1); }
.btn.line { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.btn.line:hover { background: rgba(255, 255, 255, 0.12); filter: none; }
.pillars { list-style: none; margin: 80px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.22); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillars a { display: block; text-decoration: none; }
.pillars small { display: block; font: 500 12px var(--mono); color: #9db4ff; }
.pillars b { display: block; margin-top: 6px; font-size: 20px; font-weight: 700; }
.pillars span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.pillars a:hover b { color: #9db4ff; }

/* figures */
.figures .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 28px 0; }
.fig { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.fig b { display: block; font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fig b em { font-style: normal; font-size: 17px; font-weight: 700; margin-left: 2px; color: var(--brand); }
.fig > span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* sections */
.section .wrap { padding-block: 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--brand); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brand); }
.section h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.22; }
.section .intro { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 38em; }
.section-body { margin-top: 44px; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sub-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.about-text p + p { margin-top: 16px; }
.about-text p { color: #2a3550; }
.quote { margin-top: 28px !important; padding: 22px 24px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--r) var(--r) 0; font-size: 18px; font-weight: 700; line-height: 1.55; color: var(--navy) !important; }
.sign { margin-top: 18px !important; font-size: 14px; color: var(--muted) !important; }
.who { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.who a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.who a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.who em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--brand); }
.who em::after { content: " →"; }
.who svg { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.who b { display: block; font-size: 17px; }
.who span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.facts { margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.facts div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 15.5px; }
.clients { margin-top: 36px; }
.clients p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.service img { width: 84px; height: 84px; border-radius: 50%; background: #ffffff; border: 1px solid var(--line); }
.service h3 { margin-top: 20px; font-size: 22px; font-weight: 800; }
.service p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.service ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 15px; }
.service li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.service li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); transform: translateY(-2px); justify-self: center; }

.detail { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.panel { background: var(--navy); color: #ffffff; border-radius: var(--r); padding: 28px; }
.panel h3 { font-size: 20px; font-weight: 800; }
.panel > p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.72); }
.monitor { margin-top: 20px; background: var(--screen); border: 1px solid var(--screen-line); border-radius: 10px; padding: 10px; color: var(--screen-ink); }
.monitor-bar { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--mono); padding: 4px 4px 10px; }
.rec { display: inline-flex; align-items: center; gap: 6px; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: blink 1.6s steps(2, start) infinite; }
.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.feed { position: relative; background: var(--screen-dim); border: 1px solid var(--screen-line); aspect-ratio: 16 / 10; overflow: hidden; }
.feed svg { display: block; width: 100%; height: 100%; }
.feed span { position: absolute; left: 6px; top: 6px; font: 500 11px/1.4 var(--mono); color: var(--screen-ink); background: var(--screen); padding: 1px 6px; }
.zones { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.zones li { padding: 4px 11px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; color: rgba(255, 255, 255, 0.86); }
.flows { margin-top: 20px; display: grid; gap: 12px; }
.flow { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; padding: 16px 18px; }
.flow h4 { font-size: 15.5px; font-weight: 700; }
.flow h4 small { font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-left: 6px; }
.flow ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; font-size: 13.5px; }
.flow li { display: inline-flex; align-items: center; gap: 4px; }
.flow li span { padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.flow li:last-child span { background: var(--signal); color: #1a1300; font-weight: 700; }
.flow li + li::before { content: "→"; color: rgba(255, 255, 255, 0.45); }

/* record */
.picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.picks li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.picks .meta { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.picks b { display: block; margin-top: 14px; font-size: 18px; font-weight: 800; line-height: 1.35; }
.picks span.work { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 700; white-space: nowrap; }

.record { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 190px; border-bottom: 1.5px solid var(--ink); }
.bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.bar b { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.bar i { display: block; width: 100%; background: var(--brand); opacity: 0.28; border-radius: 4px 4px 0 0; }
.bar:hover i, .bar[aria-pressed="true"] i { opacity: 1; }
.years { display: flex; gap: 6px; margin-top: 6px; }
.years span { flex: 1; min-width: 0; text-align: center; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.cats { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cats li { display: grid; grid-template-columns: 7em minmax(0, 1fr) 3.2em; gap: 10px; align-items: center; font-size: 14px; }
.cats i { display: block; height: 8px; border-radius: 999px; background: var(--brand-soft); overflow: hidden; }
.cats i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--brand); border-radius: 999px; }
.cats em { font-style: normal; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.record-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.record-tools select, .record-tools input { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.record-tools input { flex: 1; min-width: 150px; }
.record-count { margin-top: 14px; font-size: 13px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 4px; }
th, td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; color: var(--muted); font-weight: 600; border-bottom: 1.5px solid var(--ink); }
th:first-child, td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); width: 6.6em; }
td:nth-child(2) { font-weight: 600; }
th:last-child, td:last-child { text-align: right; padding-right: 0; width: 7.5em; }
.more { margin-top: 16px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; font-weight: 600; }
.more:hover { border-color: var(--brand); color: var(--brand); }
.empty { padding: 28px 0 !important; color: var(--muted); text-align: center !important; }

/* certs */
.patents { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.patents li { padding: 24px; background: var(--navy); color: #ffffff; border-radius: var(--r); }
.patents .tag { background: rgba(255, 255, 255, 0.14); color: #ffffff; }
.patents b { display: block; margin-top: 12px; font-size: 20px; font-weight: 800; line-height: 1.35; }
.patents small { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 700px) { .patents { grid-template-columns: minmax(0, 1fr); } }
.cert-group + .cert-group { margin-top: 44px; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px 16px; }
.cert { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.cert img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); transition: transform 0.15s; }
.cert:hover img { transform: translateY(-3px); border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .cert img { transition: none; } .cert:hover img { transform: none; } }
.cert span { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.cert small { display: block; font-size: 12.5px; color: var(--muted); }

/* partners */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.partners a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 128px; padding: 14px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.partners a:hover { border-color: var(--brand); color: var(--brand); }
.partners img { max-height: 44px; width: auto; max-width: 150px; object-fit: contain; }

/* contact */
.contact { background: var(--navy); color: #ffffff; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-block: 88px; align-items: start; }
.contact .eyebrow { color: #9db4ff; }
.contact .eyebrow::before { background: #9db4ff; }
.contact h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.22; }
.contact .lead { margin-top: 16px; color: rgba(255, 255, 255, 0.76); }
.contact .tel { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font-size: clamp(34px, 5.4vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #ffffff; text-decoration: none; }
.contact .tel svg { width: 0.9em; height: 0.9em; padding: 0.2em; border-radius: 12px; background: var(--brand); box-sizing: content-box; }
.contact dl { margin: 32px 0 0; display: grid; grid-template-columns: 5.5em minmax(0, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 15.5px; }
.contact dt, .contact dd { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.contact dt { color: rgba(255, 255, 255, 0.6); }
.contact dd { margin: 0; }
.map { background: #ffffff; color: #101c30; min-height: 340px; border-radius: var(--r); overflow: hidden; }
.map-links { display: flex; gap: 10px; margin-top: 14px; }
.map-links a { padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 10px; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.map-links a:hover { background: rgba(255, 255, 255, 0.12); }

.foot { background: #070d1c; color: rgba(255, 255, 255, 0.62); font-size: 13.5px; }
.foot .wrap { padding-block: 32px; display: grid; gap: 8px; }
.foot b { color: #ffffff; font-size: 16px; }
.foot p { display: flex; flex-wrap: wrap; gap: 2px 18px; }

/* mobile call bar */
.callbar { display: none; }

/* lightbox */
.viewer { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.viewer::backdrop { background: rgba(7, 13, 28, 0.9); }
.viewer-inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; padding: 14px; gap: 10px; color: #f2f4f8; }
.viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.viewer-stage { display: flex; align-items: center; justify-content: center; min-height: 0; overflow: auto; }
.viewer-stage img { max-height: 100%; max-width: 100%; background: #ffffff; border-radius: 6px; }
.viewer-nav { display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 14px; font-variant-numeric: tabular-nums; }
.viewer button { background: transparent; border: 1.5px solid #f2f4f8; color: #f2f4f8; border-radius: 10px; padding: 8px 18px; cursor: pointer; font-weight: 600; }
.viewer button:hover:not(:disabled) { background: #f2f4f8; color: #101c30; }
.viewer button:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 1000px) {
  .nav { gap: 18px; font-size: 14.5px; }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .about, .record, .detail, .contact .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact .wrap { padding-block: 60px; gap: 40px; }
  .figures .wrap, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .section .wrap { padding-block: 64px; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap { padding-block: 64px 32px; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 15, 36, 0.93), rgba(10, 20, 52, 0.84)); }
  .hud { display: none; }
  .vf { inset: 10px; }
  .hero-bg { background-position: 78% center; }
  .pillars { margin-top: 52px; }
  .site-head .wrap { gap: 10px; }
  .menu-btn { display: block; }
  .head-tel { margin-left: auto; padding: 10px 14px; font-size: 15px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 4px 24px 12px; }
  .nav.open { display: flex; }
  .nav a { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 16px calc(15px + env(safe-area-inset-bottom, 0px)); background: var(--brand); color: #ffffff; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; box-shadow: 0 -4px 16px rgba(11, 18, 32, 0.18); }
  .callbar svg { width: 18px; height: 18px; }
  .callbar.hide { display: none; }
  .foot { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .head-tel { display: none; }
  .menu-btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .logo small { display: none; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .picks { grid-template-columns: minmax(0, 1fr); }
  .card, .panel, .service { padding: 20px; }
  .fig { padding: 18px; }
  .fig b { font-size: 30px; }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  th:last-child, td:last-child { display: none; }
  th:first-child, td:first-child { width: 5.8em; font-size: 13px; }
  .cta .btn { flex: 1 1 100%; }
}
