/* ==========================================================================
   CRENGINE — Corporate site design system
   ========================================================================== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --bg: #04070d;
  --bg-2: #080f1b;
  --bg-3: #0c1626;
  --panel: rgba(13, 23, 40, .62);
  --panel-solid: #0d1727;
  --line: rgba(140, 195, 255, .14);
  --line-strong: rgba(140, 195, 255, .28);
  --text: #eaf1fb;
  --text-2: #b4c3d8;
  --mute: #7f93ae;
  --cyan: #3be3ff;
  --blue: #3b82ff;
  --violet: #8b7bff;
  --lime: #b6f26b;
  --amber: #ffb547;
  --red: #ff5d73;
  --grad: linear-gradient(115deg, #3be3ff 0%, #3b82ff 55%, #8b7bff 100%);
  --grad-soft: linear-gradient(115deg, rgba(59,227,255,.16), rgba(59,130,255,.12) 55%, rgba(139,123,255,.16));
  --glow: 0 0 0 1px var(--line), 0 24px 60px -24px rgba(59,130,255,.35);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 76px;
  --container: 1280px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -.012em;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(59, 227, 255, .3); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.h-display { font-size: clamp(44px, 7.2vw, 104px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; }
.h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.1; font-weight: 800; letter-spacing: -.04em; }
.h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.16; font-weight: 750; letter-spacing: -.035em; }
.h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); line-height: 1.7; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mute { color: var(--mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 650; font-size: 16px; letter-spacing: -.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .35s, color .35s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #03101c; box-shadow: 0 10px 36px -10px rgba(59,160,255,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(59,200,255,.85); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(59,227,255,.08); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--cyan); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(4, 7, 13, .72); backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .18em; font-size: 19px; }
.logo svg { width: 34px; height: 34px; }
.logo-img { height: 54px; width: auto; display: block; }
.site-footer .logo-img { height: 54px; }
.lang-sw { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 650; color: var(--text-2); transition: .3s; }
.lang-sw svg { width: 16px; height: 16px; }
.lang-sw:hover { color: #fff; border-color: var(--cyan); }
.logo small { display: block; font-size: 10.5px; letter-spacing: .28em; color: var(--mute); font-weight: 500; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav > li > a {
  padding: 0 16px; height: 44px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15.5px; color: var(--text-2); border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav > li > a:hover, .nav > li:hover > a, .nav > li > a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav .chev { width: 10px; height: 10px; opacity: .6; transition: transform .3s; }
.nav > li:hover .chev { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.mega {
  position: absolute; top: calc(100% - 6px); left: 50%; transform: translate(-50%, 10px);
  width: 640px; padding: 14px; border-radius: 24px;
  background: rgba(8, 15, 27, .94); backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 60px -20px rgba(59,130,255,.4);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: all .35s var(--ease);
}
.mega.sm { width: 280px; grid-template-columns: 1fr; }
.nav > li:hover .mega, .nav > li:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 14px; padding: 14px; border-radius: 14px; transition: background .25s; }
.mega a:hover { background: rgba(59,130,255,.12); }
.mega .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan); }
.mega .ico svg { width: 20px; height: 20px; }
.mega b { display: block; font-size: 15px; font-weight: 650; }
.mega span { display: block; font-size: 13px; color: var(--mute); line-height: 1.45; margin-top: 2px; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); align-items: center; justify-content: center; }
.menu-btn i { display: block; width: 18px; height: 2px; background: #fff; position: relative; transition: .3s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: #fff; transition: .3s; }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn i::after { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 20px) 24px 40px;
  background: rgba(4,7,13,.97); backdrop-filter: blur(24px); overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.menu-open .drawer { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer > a { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; font-size: 22px; font-weight: 700; list-style: none; cursor: pointer; }
.drawer > a { border-bottom: 1px solid var(--line); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details a { display: block; padding: 12px 4px 12px 14px; color: var(--text-2); font-size: 17px; }
.drawer details[open] { padding-bottom: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding-top: var(--header-h); }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  position: absolute; right: -17%; top: 50%; width: min(104%, 2100px); max-width: none; height: auto;
  transform: translateY(-50%) scale(1.04); animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform; filter: saturate(1.12) contrast(1.05);
}
@keyframes kenburns { from { transform: translateY(-50%) scale(1.04) translateX(0); } to { transform: translateY(-50%) scale(1.14) translateX(-1.5%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(4,7,13,.92) 26%, rgba(4,7,13,.55) 48%, rgba(4,7,13,0) 72%),
    linear-gradient(0deg, var(--bg) 0%, rgba(4,7,13,0) 30%),
    linear-gradient(180deg, rgba(4,7,13,.7) 0%, rgba(4,7,13,0) 22%);
}
.hero::after { /* scanlines + grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
}
#fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { padding-block: 60px 150px; max-width: 760px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(8,15,27,.55); backdrop-filter: blur(12px);
  font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 28px;
}
.sc-panel:not(.is-active) { display: none; }
.pulse { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(182,242,107,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(182,242,107,0); } 100% { box-shadow: 0 0 0 0 rgba(182,242,107,0); } }
.hero h1 { margin-bottom: 28px; text-shadow: 0 6px 50px rgba(0,0,0,.6); }
.hero .lead { max-width: 560px; margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-hud {
  position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line);
  background: linear-gradient(0deg, rgba(4,7,13,.92), rgba(4,7,13,.5)); backdrop-filter: blur(14px);
}
.hud-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hud-item { padding: 26px 28px; border-left: 1px solid var(--line); }
.hud-item:first-child { border-left: 0; padding-left: 0; }
.hud-item b { display: block; font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.hud-item b em { font-style: normal; font-size: .5em; margin-left: 4px; color: var(--cyan); font-weight: 700; }
.hud-item span { font-size: 13.5px; color: var(--mute); }
.scroll-cue { position: absolute; right: 24px; bottom: 140px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; color: var(--mute); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--cyan), transparent); animation: cue 2.2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.sec-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .h2 { margin: 16px 0 20px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-split { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-split .sec-head { margin: 0; }
.bg-2 { background: var(--bg-2); }
.bg-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}
.glow-blob { position: absolute; width: 900px; height: 900px; border-radius: 50%; pointer-events: none; }
.glow-blob.b1 { background: radial-gradient(closest-side, rgba(59,130,255,.22), transparent); top: -300px; left: -300px; }
.glow-blob.b2 { background: radial-gradient(closest-side, rgba(139,123,255,.2), transparent); bottom: -360px; right: -300px; }

/* Light section */
.light { background: #f3f6fb; color: #0b1424; --text: #0b1424; --text-2: #3a4a63; --mute: #6b7c96; --line: rgba(11,20,36,.1); --line-strong: rgba(11,20,36,.2); --panel: #fff; --cyan: #0a8fb0; }
.light .eyebrow { color: #0a74d9; }
.light .btn-ghost { border-color: rgba(11,20,36,.2); background: transparent; }
.light .btn-ghost:hover { background: rgba(10,116,217,.07); border-color: #0a74d9; }

/* ---------- Pillars (business areas) ---------- */
.pillars { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }
.pillar-list { display: flex; flex-direction: column; gap: 10px; }
.pillar-tab {
  text-align: left; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: transparent; transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.pillar-tab .num { font-size: 12.5px; letter-spacing: .2em; color: var(--mute); font-weight: 600; }
.pillar-tab h3 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin: 6px 0 0; transition: color .3s; color: var(--text-2); }
.pillar-tab p { max-height: 0; opacity: 0; overflow: hidden; color: var(--text-2); font-size: 15.5px; transition: all .5s var(--ease); }
.pillar-tab.is-active { background: var(--panel); border-color: var(--line-strong); box-shadow: var(--glow); }
.pillar-tab.is-active h3 { color: #fff; }
.pillar-tab.is-active p { max-height: 120px; opacity: 1; margin-top: 12px; }
.pillar-tab .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); transform: scaleY(0); transition: transform .5s var(--ease); }
.pillar-tab.is-active .bar { transform: scaleY(1); }
.pillar-stage { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); min-height: 520px; background: var(--bg-3); }
.pillar-stage .slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.pillar-stage .slide.is-active { opacity: 1; transform: none; }
.pillar-stage img { width: 100%; height: 100%; object-fit: cover; }
.pillar-stage .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,7,13,.92) 0%, rgba(4,7,13,.1) 55%); }
.pillar-stage .cap { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.pillar-stage .cap b { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.pillar-stage .cap span { display: block; font-size: 14px; color: var(--text-2); }

/* ---------- Platform showcase ---------- */
.showcase { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.sc-list { display: flex; flex-direction: column; gap: 4px; max-height: 640px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.sc-tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; transition: all .3s var(--ease); color: var(--text-2); }
.sc-tab .n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.05); color: var(--mute); transition: .3s; }
.sc-tab b { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.sc-tab:hover { background: rgba(255,255,255,.04); color: #fff; }
.sc-tab.is-active { background: var(--panel); border-color: var(--line-strong); color: #fff; }
.sc-tab.is-active .n { background: var(--grad); color: #03101c; }
.sc-view { border-radius: 24px; border: 1px solid var(--line-strong); background: var(--panel-solid); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(59,130,255,.45); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.browser-bar span { margin-left: 14px; font-size: 12.5px; color: var(--mute); padding: 4px 14px; border-radius: 999px; background: rgba(255,255,255,.04); flex: 1; max-width: 420px; text-align: center; }
.browser-bar .live { margin-left: auto; flex: none; max-width: none; display: inline-flex; gap: 8px; align-items: center; color: var(--lime); background: rgba(182,242,107,.08); }
.sc-shot { position: relative; background: #060c16; overflow: hidden; }
.sc-shot img { display: none; width: 100%; height: auto; }
.sc-shot img.is-active { display: block; animation: shot .6s var(--ease); }
@keyframes shot { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.sc-info { padding: 28px 32px 32px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.sc-info h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 8px; }
.sc-info p { color: var(--text-2); font-size: 15.5px; }
.sc-info ul { display: grid; gap: 10px; }
.sc-info li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.sc-info li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--cyan); }
.sc-metrics { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.chip { display: inline-flex; flex-direction: column; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.chip b { font-size: 20px; font-weight: 750; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip span { font-size: 12px; color: var(--mute); }

/* ---------- Digital twin ---------- */
.twin { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.twin-stage { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.twin-stage .ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); }
.twin-stage .r1 { inset: 4%; border-style: dashed; animation: spin 60s linear infinite; }
.twin-stage .r2 { inset: 14%; border-color: rgba(59,227,255,.35); animation: spin 40s linear infinite reverse; }
.twin-stage .r3 { inset: 24%; background: radial-gradient(circle, rgba(59,130,255,.25), transparent 65%); border-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.twin-stage img { position: relative; width: 82%; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.tag { position: absolute; padding: 8px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 600; background: rgba(8,15,27,.85); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); white-space: nowrap; }
.tag::before { content: ""; position: absolute; width: 36px; height: 1px; background: var(--cyan); top: 50%; }
.tag.t1 { top: 12%; right: -2%; } .tag.t1::before { right: 100%; }
.tag.t2 { top: 56%; left: -4%; } .tag.t2::before { left: 100%; }
.tag.t3 { bottom: 10%; right: 4%; } .tag.t3::before { right: 100%; }
.rel { display: grid; gap: 12px; margin: 28px 0 32px; }
.rel div { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.rel i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.rel b { font-weight: 650; min-width: 76px; }
.rel span { color: var(--mute); font-size: 14.5px; margin-left: auto; font-variant-numeric: tabular-nums; }

/* ---------- Numbers / market ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 40px 32px; background: var(--bg-2); }
.stat b { display: block; font-size: clamp(36px, 4.4vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.stat b em { font-style: normal; font-size: .42em; margin-left: 4px; color: var(--cyan); font-weight: 700; letter-spacing: 0; }
.stat p { margin-top: 12px; color: var(--text-2); font-size: 15px; }
.stat small { display: block; margin-top: 6px; color: var(--mute); font-size: 12.5px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); padding: 32px;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease), background .35s; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--glow); }
.card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan); margin-bottom: 22px; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15.5px; }
.card .kpi { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute); }
.card .kpi b { color: var(--cyan); font-weight: 700; font-size: 16px; margin-right: 6px; }
.card.has-img { padding: 0; }
.card.has-img .im { aspect-ratio: 16 / 9; overflow: hidden; }
.card.has-img .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card.has-img:hover .im img { transform: scale(1.06); }
.card.has-img .bd { padding: 26px 28px 30px; }
.light .card { box-shadow: 0 1px 0 rgba(11,20,36,.04), 0 20px 40px -30px rgba(11,20,36,.25); }
.light .card:hover { box-shadow: 0 30px 60px -30px rgba(10,100,217,.35); border-color: rgba(10,116,217,.35); }

/* ---------- Tech / patents ---------- */
.tech-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-tags span { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); font-weight: 600; font-size: 15px; transition: .3s; }
.tech-tags span:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.patent-list { border-top: 1px solid var(--line); }
.patent { display: grid; grid-template-columns: 120px 1fr 190px 120px; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .3s; }
.patent:hover { background: rgba(59,130,255,.06); }
.patent .no { font-variant-numeric: tabular-nums; color: var(--mute); font-size: 14px; }
.patent b { font-weight: 600; font-size: 16.5px; }
.patent .num { font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 14.5px; }
.status { justify-self: end; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.status.reg { background: rgba(182,242,107,.12); color: var(--lime); border: 1px solid rgba(182,242,107,.3); }
.status.app { background: rgba(255,181,71,.1); color: var(--amber); border: 1px solid rgba(255,181,71,.3); }
.light .status.reg { color: #3c7d0e; background: rgba(120,200,40,.14); }
.light .status.app { color: #b26a00; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 150px 28px 1fr; gap: 24px; padding: 18px 0; align-items: start; }
.tl-item .y { font-weight: 750; font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text-2); text-align: right; padding-top: 2px; }
.tl-item .dot { position: relative; height: 100%; }
.tl-item .dot::before { content: ""; position: absolute; left: 50%; top: 9px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); z-index: 1; }
.tl-item .dot::after { content: ""; position: absolute; left: 50%; top: 20px; bottom: -18px; width: 1px; background: var(--line-strong); }
.tl-item:last-child .dot::after { display: none; }
.tl-item.key .dot::before { background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.tl-item p { color: var(--text-2); }
.tl-item p small { display: block; color: var(--mute); font-size: 13.5px; }
.tl-item.key p { color: #fff; font-weight: 600; }

/* ---------- News ---------- */
.news-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: .45s var(--ease); }
.news-feature:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(10,100,217,.4); }
.news-feature .im { position: relative; min-height: 420px; overflow: hidden; background: #060c16; }
.news-feature .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-feature:hover .im img { transform: scale(1.05); }
.news-feature .bd { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.news-feature h3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -.035em; font-weight: 750; }
.news-feature p { color: var(--text-2); }
.meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--mute); flex-wrap: wrap; }
.cat { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(10,116,217,.1); color: #0a74d9; }
.cat.press { background: rgba(139,123,255,.14); color: #6a56f0; }
.cat.notice { background: rgba(255,181,71,.18); color: #a96200; }
.cat.deal { background: rgba(60,180,100,.14); color: #1d8a4a; }
.dark-sec .cat, .bg-2 .cat { background: rgba(59,227,255,.1); color: var(--cyan); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: .45s var(--ease); }
.news-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(10,100,217,.4); }
.news-card .im { aspect-ratio: 16 / 10; overflow: hidden; background: #060c16; }
.news-card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-card:hover .im img { transform: scale(1.07); }
.news-card .bd { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-card h3 { font-size: 19.5px; line-height: 1.4; letter-spacing: -.03em; font-weight: 700; }
.news-card p { color: var(--text-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .src { margin-top: auto; font-size: 13px; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 15px; transition: .3s; color: var(--text-2); }
.filter:hover { border-color: #0a74d9; color: #0a74d9; }
.filter.is-active { background: #0b1424; color: #fff; border-color: #0b1424; }
.news-card[hidden] { display: none; }

/* Article */
.article { max-width: 780px; margin-inline: auto; }
.article h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.22; letter-spacing: -.04em; font-weight: 800; margin: 18px 0 22px; }
.article .lede { font-size: 20px; color: var(--text-2); padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.article .body p { font-size: 17.5px; line-height: 1.9; color: var(--text-2); margin-bottom: 22px; }
.article .body h2 { font-size: 26px; letter-spacing: -.03em; margin: 44px 0 16px; }
.article .body ul { margin: 0 0 24px 4px; display: grid; gap: 10px; }
.article .body li { position: relative; padding-left: 20px; font-size: 17px; color: var(--text-2); }
.article .body li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.article figure { margin: 36px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article figcaption { padding: 12px 18px; font-size: 13.5px; color: var(--mute); background: var(--panel); }
.callout { padding: 22px 26px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--grad-soft); margin: 30px 0; }
.callout b { display: block; margin-bottom: 6px; }
.article .origin { margin-top: 48px; padding: 18px 22px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px dashed var(--line-strong); font-size: 14px; color: var(--mute); }
.light .article .origin { background: #fff; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-nav a { max-width: 46%; font-weight: 600; }
.article-nav small { display: block; color: var(--mute); font-weight: 500; margin-bottom: 4px; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 90px; overflow: hidden; isolation: isolate; }
.page-hero .bgimg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: saturate(1.2); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 8%, rgba(4,7,13,.7) 55%, rgba(4,7,13,.35)), linear-gradient(0deg, var(--bg), transparent 45%); }
.crumb { display: flex; gap: 10px; font-size: 13.5px; color: var(--mute); margin-bottom: 22px; }
.crumb a:hover { color: var(--cyan); }
.page-hero .lead { max-width: 640px; margin-top: 22px; }
.page-hero .h1 { margin-top: 6px; }

/* ---------- Feature rows ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.row.rev > :first-child { order: 2; }
.row .media { border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(59,130,255,.4); background: var(--panel-solid); }
.row .media img { width: 100%; }
.row .media.pad { padding: 14px; }
.row .media.pad img { border-radius: 12px; }
.checks { display: grid; gap: 14px; margin-top: 24px; }
.checks li { display: flex; gap: 14px; color: var(--text-2); font-size: 16.5px; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--grad-soft) ; border: 1px solid var(--cyan); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233be3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { counter-increment: s; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); position: relative; }
.step::before { content: "0" counter(s); display: block; font-size: 44px; font-weight: 800; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.step small { color: var(--cyan); font-weight: 700; letter-spacing: .1em; font-size: 12.5px; }
.step h3 { font-size: 22px; margin: 6px 0 14px; letter-spacing: -.03em; }
.step li { color: var(--text-2); font-size: 15px; padding-left: 16px; position: relative; margin-bottom: 6px; }
.step li::before { content: "–"; position: absolute; left: 0; color: var(--mute); }
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { padding: 20px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 16px; }
.kv th { width: 180px; color: var(--mute); font-weight: 600; }
.kv tr:first-child th, .kv tr:first-child td { border-top: 1px solid var(--line); }
.kv td li { margin-bottom: 4px; }

/* IR */
.ir-nav { display: flex; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-strong); width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 40px; background: var(--panel); }
.ir-nav a { padding: 10px 22px; border-radius: 999px; font-weight: 650; font-size: 15px; color: var(--text-2); white-space: nowrap; }
.ir-nav a[aria-current="page"], .ir-nav a:hover { background: #0b1424; color: #fff; }
.dark .ir-nav a[aria-current="page"] { background: var(--grad); color: #03101c; }
.note { font-size: 13px; color: var(--mute); margin-top: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); }
.info-list { display: grid; gap: 26px; margin-top: 36px; }
.info-list div { display: flex; gap: 18px; }
.info-list .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan); }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list small { display: block; color: var(--mute); font-size: 13px; }
.info-list b { font-weight: 650; font-size: 17px; }
.form { padding: clamp(24px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line-strong); background: var(--panel); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); color: var(--text); font: inherit; transition: .25s;
}
.field select option { color: #000; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(59,227,255,.06); box-shadow: 0 0 0 4px rgba(59,227,255,.12); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mute); }
.agree input { margin-top: 4px; accent-color: var(--cyan); }
.agree a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 18px; border-radius: 12px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: rgba(182,242,107,.1); border: 1px solid rgba(182,242,107,.35); color: var(--lime); }
.form-msg.err { display: block; background: rgba(255,93,115,.1); border: 1px solid rgba(255,93,115,.35); color: var(--red); }
.map-link { display: inline-flex; margin-top: 8px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -.03em; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; margin-bottom: 10px; }
.prose ul { padding-left: 20px; list-style: disc; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(48px, 7vw, 96px); border: 1px solid var(--line-strong); text-align: center; isolation: isolate; background: var(--bg-3); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(59,130,255,.45), transparent 60%), radial-gradient(ellipse at 100% 100%, rgba(139,123,255,.35), transparent 55%); }
.cta .h2 { margin-bottom: 18px; }
.cta .lead { max-width: 600px; margin: 0 auto 36px; }
.cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 64px; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--mute); white-space: nowrap; display: inline-flex; align-items: center; gap: 64px; }
.marquee span::after { content: "◆"; font-size: 10px; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #03060b; padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; }
.foot-grid h4 { font-size: 14px; letter-spacing: .1em; color: var(--mute); margin-bottom: 18px; font-weight: 600; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid li a { color: var(--text-2); font-size: 15px; transition: color .25s; }
.foot-grid li a:hover { color: var(--cyan); }
.foot-brand p { color: var(--mute); font-size: 14.5px; margin-top: 18px; max-width: 360px; line-height: 1.8; }
.foot-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--mute); font-size: 13.5px; }
.foot-bottom a:hover { color: var(--cyan); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.js-off .rv { opacity: 1; transform: none; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(8,15,27,.8); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-cta .btn { display: none; }
  .logo-img { height: 42px; }
  .menu-btn { display: inline-flex; }
  .pillars, .showcase, .twin, .row, .contact-grid, .news-feature { grid-template-columns: 1fr; }
  .row.rev > :first-child { order: 0; }
  .sc-list { flex-direction: row; overflow-x: auto; max-height: none; padding: 0 0 10px; }
  .sc-tab { flex: none; }
  .sc-tab b { white-space: nowrap; }
  .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .twin-stage { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .container { width: calc(100% - 40px); }
  .hero-bg img { width: auto; height: 68vh; max-width: none; right: -48%; top: 0; transform: none; animation: none; opacity: .85; }
  .hero .badge { font-size: 11.5px; letter-spacing: 0; padding: 7px 14px 7px 10px; }
  .hero::before { background: linear-gradient(180deg, rgba(4,7,13,.55) 0%, rgba(4,7,13,.4) 30%, rgba(4,7,13,.92) 62%, var(--bg) 100%); }
  .hero { align-items: flex-start; }
  .hero-inner { padding-block: 25vh 190px; }
  .hud-grid { grid-template-columns: repeat(2, 1fr); }
  .hud-item { padding: 16px 14px; border-top: 1px solid var(--line); }
  .hud-item:nth-child(-n+2) { border-top: 0; }
  .hud-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .scroll-cue { display: none; }
  .g2, .g3, .g4, .news-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 20px; }
  .sc-info { grid-template-columns: 1fr; padding: 22px; }
  .patent { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .patent .no { grid-column: 1 / -1; }
  .patent .num { grid-column: 1; }
  .tl-item { grid-template-columns: 64px 20px 1fr; gap: 12px; }
  .tl-item .y { font-size: 15px; }
  .two { grid-template-columns: 1fr; }
  .tag { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillar-stage { min-height: 320px; order: -1; }
  .kv th { width: 110px; }
  .article-nav a { max-width: 100%; }
  .cta { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}


/* ==========================================================================
   v2 additions — hero slider, projects, gallery, Meta Edu, collab, tables
   ========================================================================== */
/* ---------- Hero slider ---------- */
.hero { display: block; height: max(100svh, 860px); min-height: 0; padding-top: 0; background: radial-gradient(ellipse at 78% 40%, #0b1c36 0%, #050a14 55%, #03060b 100%); }
.hero::before { display: none; }
.hslides, .hslide { position: absolute; inset: 0; }
.hslide { display: flex; align-items: center; padding-top: var(--header-h); opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; z-index: 1; }
.hslide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hslide .container { position: relative; z-index: 3; }
.hslide .hero-inner { padding-block: 40px 230px; max-width: 700px; }
.hslide .h-display { font-size: clamp(38px, 5.2vw, 78px); margin-bottom: 24px; }
.hslide .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hslide .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(4,7,13,.9) 26%, rgba(4,7,13,.5) 48%, rgba(4,7,13,0) 72%), linear-gradient(0deg, var(--bg) 0%, rgba(4,7,13,0) 30%), linear-gradient(180deg, rgba(4,7,13,.7), rgba(4,7,13,0) 22%); }
.hslide .hero-hud { z-index: 3; }
.hs-in { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hslide.is-active .hs-in { opacity: 1; transform: none; }
.hslide.is-active .hs-in:nth-child(1) { transition-delay: .15s; } .hslide.is-active .hs-in:nth-child(2) { transition-delay: .25s; }
.hslide.is-active .hs-in:nth-child(3) { transition-delay: .35s; } .hslide.is-active .hs-in:nth-child(4) { transition-delay: .45s; } .hslide.is-active .hs-in:nth-child(5) { transition-delay: .55s; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 32px; }
.hs-chips span { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(8,15,27,.55); color: var(--text-2); backdrop-filter: blur(8px); }
.hslide .hero-cta { margin-top: 0; }
.mosaic { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1280px) / 2 - 20px)); top: 50%; width: min(47vw, 700px); transform: translateY(-48%); display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(84px, 9.2vw, 138px); gap: 12px; }
.mosaic figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -24px rgba(0,0,0,.8); background: #060c16; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hslide.is-active .mosaic figure { opacity: 1; transform: none; }
.hslide.is-active .mosaic figure img { transform: scale(1); }
.mosaic figure:nth-child(1) { transition-delay: .2s; } .mosaic figure:nth-child(2) { transition-delay: .35s; } .mosaic figure:nth-child(3) { transition-delay: .5s; } .mosaic figure:nth-child(4) { transition-delay: .65s; } .mosaic figure:nth-child(5) { transition-delay: .8s; } .mosaic figure:nth-child(6) { transition-delay: .95s; }
.mosaic figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 11.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: rgba(4,7,13,.72); backdrop-filter: blur(6px); color: #fff; border: 1px solid var(--line); }
.m-a { grid-column: 1 / span 4; grid-row: 1 / span 2; } .m-b { grid-column: 5 / span 2; } .m-c { grid-column: 5 / span 2; } .m-d { grid-column: 1 / span 2; } .m-e { grid-column: 3 / span 2; } .m-f { grid-column: 5 / span 2; }
.hero-nav { position: absolute; z-index: 6; left: max(24px, calc((100vw - 1280px) / 2)); bottom: 146px; display: flex; align-items: center; gap: 14px; }
.hero-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(8,15,27,.6); backdrop-filter: blur(8px); font-size: 22px; line-height: 1; display: grid; place-items: center; transition: .3s; }
.hero-nav button:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-nav .hn-pause { font-size: 11px; letter-spacing: -2px; }
.hn-dots { display: flex; gap: 8px; }
.hero-nav .hn-dot { width: 46px; height: 28px; border: 0; border-radius: 0; background: none; backdrop-filter: none; position: relative; }
.hn-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); }
.hn-dot i { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.hn-dot.is-active i { transform: scaleX(var(--p, 0)); }
.hn-count { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; } .hn-count b { color: #fff; }

/* ---------- Meta Edu highlight (home) ---------- */
.mek-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.mek-list { display: grid; gap: 14px; margin-top: 26px; }
.mek-f { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: .35s var(--ease); }
.mek-f:hover { border-color: var(--line-strong); transform: translateX(6px); }
.mek-f .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan); }
.mek-f .ico svg { width: 22px; height: 22px; } .mek-f h3 { font-size: 17px; margin-bottom: 4px; } .mek-f p { font-size: 14.5px; color: var(--text-2); }
.mek-collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 118px; gap: 12px; }
.mek-collage figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.mek-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); } .mek-collage figure:hover img { transform: scale(1.07); }
.mek-collage figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 650; padding: 4px 12px; border-radius: 999px; background: rgba(4,7,13,.72); backdrop-filter: blur(6px); }
.mek-collage .c1 { grid-column: span 4; grid-row: span 2; } .mek-collage .c2 { grid-column: span 2; } .mek-collage .c3 { grid-column: span 2; } .mek-collage .c4 { grid-column: span 3; grid-row: span 2; } .mek-collage .c5 { grid-column: span 3; } .mek-collage .c6 { grid-column: span 3; }

/* ---------- Projects ---------- */
.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pj-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: .45s var(--ease); }
.pj-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(10,100,217,.45); }
.pj-card .im { aspect-ratio: 16 / 10; overflow: hidden; background: #060c16; } .pj-card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); } .pj-card:hover .im img { transform: scale(1.07); }
.pj-card .bd { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; } .pj-card h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.03em; font-weight: 700; }
.pj-card p { font-size: 14.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pj-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14px; color: var(--cyan); } .pj-card .more svg { width: 15px; height: 15px; transition: transform .3s; } .pj-card:hover .more svg { transform: translateX(4px); }
.pj-card[hidden] { display: none; }
.cat.c-culture { background: rgba(139,123,255,.15); color: #6a56f0; } .cat.c-edu { background: rgba(10,116,217,.12); color: #0a74d9; } .cat.c-industry { background: rgba(255,181,71,.2); color: #a96200; }
.cat.c-history { background: rgba(160,110,60,.16); color: #8a5a22; } .cat.c-medical { background: rgba(60,180,100,.16); color: #1d8a4a; } .cat.c-defense { background: rgba(255,93,115,.14); color: #d03a52; }
.filter em { font-style: normal; font-size: 12px; opacity: .6; margin-left: 4px; }
.proj-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 80px; overflow: hidden; isolation: isolate; }
.proj-hero .bgimg { position: absolute; inset: 0; z-index: -2; } .proj-hero .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: blur(2px) saturate(1.15); transform: scale(1.04); }
.proj-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 10%, rgba(4,7,13,.75) 60%, rgba(4,7,13,.4)), linear-gradient(0deg, var(--bg), transparent 55%); }
.proj-hero .h1 { font-size: clamp(30px, 4.2vw, 58px); max-width: 980px; } .proj-hero .lead { max-width: 760px; margin-top: 18px; }
.proj-hero .cat { background: rgba(59,227,255,.12); color: var(--cyan); } .proj-hero time { color: var(--text-2); }
.pm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.pm { padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); } .pm.wide { grid-column: 1 / -1; background: var(--grad-soft); }
.pm small { display: block; font-size: 12px; color: var(--mute); letter-spacing: .04em; margin-bottom: 4px; } .pm b { font-weight: 600; font-size: 15px; line-height: 1.5; }
.prose-lg p { font-size: 17px; line-height: 1.95; color: var(--text-2); margin-bottom: 20px; }
.feat-panel { padding: 30px; border-radius: 24px; border: 1px solid var(--line-strong); background: var(--panel); } .feat-panel h3 { font-size: 20px; margin-bottom: 8px; }

/* ---------- Gallery / lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; grid-auto-flow: dense; }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); } .gallery.g4 { grid-template-columns: repeat(4, 1fr); }
.g-item { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #060c16; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); } .g-item:hover img { transform: scale(1.06); }
.gallery.g3 .g-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.g-item span { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 650; padding: 4px 12px; border-radius: 999px; background: rgba(4,7,13,.75); backdrop-filter: blur(6px); color: #fff; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(2,4,8,.94); display: flex; align-items: center; justify-content: center; padding: 40px 72px; }
.lightbox[hidden] { display: none; } .lightbox figure { margin: 0; max-width: 100%; text-align: center; } .lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.7); margin-inline: auto; } .lightbox figcaption { margin-top: 14px; color: var(--text-2); font-size: 15px; min-height: 22px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.06); font-size: 30px; line-height: 1; color: #fff; display: grid; place-items: center; }
.lightbox button:hover { border-color: var(--cyan); color: var(--cyan); } .lb-close { top: 20px; right: 24px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

/* ---------- Experience zones ---------- */
.z-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.z-tab { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 650; font-size: 15px; color: var(--text-2); transition: .3s; } .z-tab:hover { border-color: var(--cyan); color: #fff; }
.z-tab.is-active { background: var(--grad); color: #03101c; border-color: transparent; }
.z-panel { display: none; grid-template-columns: 5fr 7fr; gap: 36px; align-items: start; } .z-panel.is-active { display: grid; animation: shot .6s var(--ease); }
.z-info h3 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 12px; } .z-info p { color: var(--text-2); margin-bottom: 4px; }
.z-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .z-grid .g-item:first-child { grid-column: span 2; grid-row: span 2; }

/* ---------- Courses / loop / ranks ---------- */
.courses { display: grid; gap: 16px; }
.course { border: 1px solid var(--line); border-radius: 22px; padding: 26px 30px; background: var(--panel); transition: .35s var(--ease); } .course:hover { border-color: var(--line-strong); box-shadow: var(--glow); }
.c-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; } .c-head h3 { font-size: 24px; } .c-head small { color: var(--mute); font-size: 13.5px; }
.c-no { font-size: 42px; font-weight: 800; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.c-mek { margin-left: auto; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line); font-size: 12px; color: var(--mute); } .c-mek b { font-size: 20px; color: var(--cyan); margin-right: 4px; }
.c-role { margin-bottom: 12px; } .c-role em { font-style: normal; font-size: 12.5px; color: var(--cyan); font-weight: 700; margin-right: 10px; letter-spacing: .05em; }
.course dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 18px; font-size: 15px; } .course dt { color: var(--mute); font-weight: 600; } .course dd { color: var(--text-2); }
.loop { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.loop-i { position: relative; padding: 20px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); } .loop-i span { font-size: 12px; font-weight: 800; color: var(--cyan); letter-spacing: .1em; } .loop-i b { display: block; font-size: 18px; margin: 6px 0 8px; } .loop-i p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.loop-i:not(:last-child)::after { content: "›"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--cyan); z-index: 2; }
.ranks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; } .rank { text-align: center; padding: 18px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.rank b { display: block; font-size: 17px; margin-bottom: 4px; } .rank span { font-size: 12px; color: var(--mute); } .rank:nth-child(n+5) b { color: var(--cyan); } .rank:last-child { background: var(--grad); } .rank:last-child b, .rank:last-child span { color: #03101c; }
.score-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .score-grid div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); } .score-grid span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.35; } .score-grid b { font-size: 18px; color: var(--cyan); }

/* ---------- Tables / platform rows / charts ---------- */
.tbl-wrap { overflow-x: auto; border-radius: 14px; } .kv.zebra { min-width: 640px; }
.kv thead th { width: auto; color: var(--text); background: rgba(255,255,255,.05); font-size: 14px; border-top: 1px solid var(--line); }
.light .kv thead th { background: rgba(11,20,36,.05); }
.kv.zebra tbody tr:nth-child(even) { background: rgba(255,255,255,.025); } .kv tr.total td { border-top: 2px solid var(--line-strong); color: var(--cyan); }
.kv th, .kv td { padding: 16px 12px; }
.plat-row { margin-bottom: clamp(56px, 7vw, 100px); } .plat-row:last-child { margin-bottom: 0; }
.bars { display: flex; align-items: flex-end; gap: clamp(12px, 3vw, 40px); height: 260px; padding: 20px 10px 0; margin-bottom: 64px; border-bottom: 1px solid var(--line-strong); }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; } .bar b { font-size: 14px; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.bar i { width: min(80px, 70%); border-radius: 10px 10px 0 0; background: var(--grad); min-height: 6px; display: block; } .bar span { position: absolute; bottom: -30px; font-size: 12.5px; color: var(--mute); white-space: nowrap; }

/* ---------- 15-person collaboration ---------- */
.collab { position: relative; overflow: hidden; } .collab::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(59,130,255,.22), transparent 60%); pointer-events: none; }
.c15 { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; padding: 30px; border: 1px solid var(--line-strong); border-radius: 28px; background: var(--panel); }
.c15-dots { display: grid; grid-template-columns: repeat(5, 28px); gap: 12px; } .c15-dots i { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-soft); border: 2px solid var(--cyan); box-shadow: 0 0 16px rgba(59,227,255,.35); animation: pulseDot 2.4s ease-in-out infinite; } .c15-dots i:nth-child(odd) { animation-delay: .6s; } .c15-dots i.ins { background: var(--grad); border-color: #fff; }
@keyframes pulseDot { 50% { transform: scale(1.12); box-shadow: 0 0 26px rgba(59,227,255,.6); } }
.c15-txt b { display: block; font-size: clamp(54px, 7vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; } .c15-txt span { color: var(--text-2); font-size: 17px; max-width: 360px; display: block; margin-top: 8px; }

/* ---------- Tech map ---------- */
.t14 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; } .t14-i { padding: 16px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-align: center; } .t14-i em { font-style: normal; display: block; font-size: 12px; color: var(--mute); letter-spacing: .1em; margin-bottom: 6px; } .t14-i span { font-weight: 650; font-size: 14px; line-height: 1.35; display: block; } .t14-i.core { border-color: rgba(59,227,255,.4); background: var(--grad-soft); } .t14-i.core em { color: var(--cyan); }

@media (max-width: 1100px) {
  .mek-wrap, .z-panel { grid-template-columns: 1fr; }
  .pj-grid { grid-template-columns: repeat(2, 1fr); } .gallery.g4 { grid-template-columns: repeat(2, 1fr); }
  .loop { grid-template-columns: repeat(2, 1fr); } .loop-i::after { display: none; } .ranks { grid-template-columns: repeat(4, 1fr); } .t14 { grid-template-columns: repeat(4, 1fr); }
  .mosaic { right: 0; left: 0; width: auto; top: calc(var(--header-h) + 16px); transform: none; opacity: .32; padding: 0 20px; grid-auto-rows: 84px; } .hslide .hero-inner { max-width: 100%; }
}
@media (max-width: 760px) {
  .hero { height: max(100svh, 900px); } .hslide .hero-inner { padding-block: 96px 250px; } .hslide .h-display { font-size: clamp(34px, 10vw, 48px); }
  .hero-nav { left: 20px; bottom: 196px; gap: 8px; } .hn-count { display: none; } .hero-nav .hn-dot { width: 30px; }
  .hslide .hero-bg img { width: auto; height: 72vh; max-width: none; right: -50%; top: 0; transform: none; animation: none; opacity: .8; }
  .pj-grid { grid-template-columns: 1fr; } .gallery, .gallery.g2, .gallery.g3 { grid-template-columns: repeat(2, 1fr); } .gallery.g3 .g-item:nth-child(7n+1) { grid-column: span 2; grid-row: auto; } .z-grid { grid-template-columns: repeat(2, 1fr); }
  .loop { grid-template-columns: 1fr 1fr; } .ranks { grid-template-columns: repeat(2, 1fr); } .t14 { grid-template-columns: repeat(2, 1fr); } .course dl { grid-template-columns: 1fr; } .c-head { flex-wrap: wrap; } .c-mek { margin-left: 0; }
  .mek-collage { grid-auto-rows: 90px; } .lightbox { padding: 60px 12px 20px; } .lb-prev { left: 6px; } .lb-next { right: 6px; } .bars { height: 200px; }
}

/* grid children must be allowed to shrink (tables, long rows) */
.row > *, .mek-wrap > *, .z-panel > *, .contact-grid > *, .twin > *, .pillars > *, .showcase > * { min-width: 0; }
@media (max-width: 1100px) { .row, .contact-grid, .twin, .pillars, .showcase, .mek-wrap, .z-panel, .news-feature { grid-template-columns: minmax(0, 1fr); } }
.tbl-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; }
