/* SMR Networks AI Lab — global styles
   색상·간격은 :root 변수만 바꾸면 전체에 반영됩니다. */
@import url("../fonts/pretendard/pretendard.css");

:root {
  --bg: #050a14;
  --bg-2: #08111f;
  --surface: #0e1a2d;
  --surface-2: #13233b;
  --line: #1d2d47;
  --text: #e9f0fa;
  --muted: #9fb0c8;
  --dim: #6f819c;
  --accent: #4d94ff;      /* 강조 글자 */
  --accent-btn: #1f6feb;  /* 버튼 배경 (흰 글자 대비 4.5:1 이상) */
  --cyan: #4fd1ff;
  --radius: 20px;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #8dbbff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(5, 10, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand svg { flex: 0 0 auto; }
.brand b { display: block; font-size: 17px; letter-spacing: .02em; line-height: 1.1; }
.brand small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.gnb { display: flex; align-items: center; gap: 30px; }
.gnb a { color: #c9d6ea; font-size: 15px; font-weight: 500; letter-spacing: .02em; padding: 10px 0; position: relative; }
.gnb a:hover, .gnb a[aria-current="page"] { color: #fff; }
.gnb a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { white-space: nowrap; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 12px 8px; }
.lang b { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; border-radius: 10px; cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-btn); color: #fff; }
.btn-primary:hover { background: #2b7cf5; color: #fff; }
.btn-light { background: #fff; color: #06101f; }
.btn-light:hover { color: #06101f; }
.btn-line { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(5, 10, 20, .2); }
.btn-line:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .3s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--bg-2);
  border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .35s var(--ease);
  padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open::before { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel .close { align-self: flex-end; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.drawer-panel nav a { display: block; padding: 14px 4px; font-size: 22px; font-weight: 700; color: #fff; border-bottom: 1px solid var(--line); }
.drawer-panel nav a span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.drawer-panel .btn { margin-top: 18px; }

/* ---------- common sections ---------- */
section { position: relative; }
.sec { padding: clamp(88px, 12vw, 150px) 0; }
.sec-tight { padding: clamp(64px, 8vw, 100px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 54px); margin-top: 14px; }
.sec-head p { color: var(--muted); max-width: 460px; }
.center { text-align: center; }
.center .sec-head { justify-content: center; text-align: center; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: #c9d6ea; line-height: 1.7; }
.muted { color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: rgba(5, 10, 20, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.tag-concept::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffb547; }
.chip { display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: #d5e0f0; font-size: 14px; background: var(--surface); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- hero (full-bleed video) ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .scene-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img, .scene-media video, .scene-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 20, .82) 0%, rgba(5, 10, 20, .45) 45%, rgba(5, 10, 20, 0) 75%), linear-gradient(180deg, rgba(5, 10, 20, .55) 0%, rgba(5, 10, 20, .1) 38%, rgba(5, 10, 20, .94) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(72px, 10vh, 120px); padding-top: 140px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.12; letter-spacing: -0.035em; margin: 22px 0 24px; max-width: 980px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.scroll-cue { position: absolute; left: 50%; bottom: 0; z-index: 3; width: 1px; height: 64px; background: linear-gradient(transparent, rgba(255, 255, 255, .7)); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
.vid-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(5, 10, 20, .5); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

.sub-hero { min-height: 72svh; display: flex; align-items: flex-end; overflow: hidden; }
.sub-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 20, .7) 0%, rgba(5, 10, 20, 0) 65%), linear-gradient(180deg, rgba(5, 10, 20, .6) 0%, rgba(5, 10, 20, .25) 40%, rgba(5, 10, 20, .96) 100%); }
.sub-hero .wrap { position: relative; z-index: 2; width: 100%; padding: 150px var(--gutter) 72px; }
.sub-hero h1 { font-size: clamp(38px, 6vw, 78px); margin: 18px 0 18px; max-width: 900px; }
.sub-hero.plain { min-height: 0; background: radial-gradient(1200px 500px at 70% 0%, #0f2a52 0%, transparent 60%), var(--bg); }
.sub-hero.plain::after { display: none; }

/* ---------- manifesto (scroll fill text) ---------- */
.manifesto { padding: clamp(110px, 16vw, 200px) 0; }
.manifesto p { font-size: clamp(28px, 4.6vw, 60px); font-weight: 700; line-height: 1.32; letter-spacing: -0.03em; }
.manifesto p + p { margin-top: .3em; }
.manifesto .r { text-align: right; }
.fill { background: linear-gradient(90deg, #fff 0%, #fff var(--p, 0%), #2a3a55 var(--p, 0%), #2a3a55 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fill b { color: inherit; }
.manifesto .hl { background: linear-gradient(90deg, var(--cyan) 0%, var(--accent) var(--p, 0%), #213350 var(--p, 0%), #213350 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px) 24px; text-align: center; }
.stat.is-accent { background: linear-gradient(160deg, #1f6feb, #1747a6); border-color: #3b82f6; }
.stat .num { font-size: clamp(38px, 4.6vw, 62px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat .num small { font-size: .42em; font-weight: 700; margin-left: 4px; color: #c9d6ea; }
.stat .lbl { margin-top: 10px; color: var(--muted); font-size: 15px; }
.stat.is-accent .lbl, .stat.is-accent .num small { color: #dbe8ff; }

/* ---------- full-screen content scenes ---------- */
.scene { min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 20, .7) 0%, rgba(5, 10, 20, .35) 45%, rgba(5, 10, 20, .85) 100%); }
.scene .wrap { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 120px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.scene .en { font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .3em; color: #c7dcff; font-weight: 600; }
.scene h2 { font-size: clamp(36px, 5.6vw, 72px); margin: 16px 0 18px; color: #fff; }
.scene h2 span { color: var(--cyan); }
.scene p { max-width: 640px; color: #dce6f5; font-size: clamp(16px, 1.4vw, 19px); }
.scene .btn { margin-top: 32px; }
.scene .tag { position: absolute; top: 96px; right: var(--gutter); z-index: 3; }
.scene.align-left .wrap { text-align: left; align-items: flex-start; }
.timer { width: min(520px, 80%); margin-top: 36px; display: flex; align-items: center; gap: 14px; font-size: 13px; color: #c7dcff; font-variant-numeric: tabular-nums; }
.timer .bar { flex: 1; height: 3px; background: rgba(255, 255, 255, .22); border-radius: 3px; overflow: hidden; }
.timer .bar i { display: block; height: 100%; width: 0; background: var(--cyan); }
.phone-float { position: absolute; z-index: 2; right: clamp(16px, 8vw, 140px); bottom: 12vh; width: clamp(130px, 16vw, 230px); aspect-ratio: 9 / 18.5; border-radius: 28px; border: 6px solid #0b1424; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.phone-float img, .phone-float video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee + .marquee { margin-top: 18px; }
@keyframes slide { to { transform: translateX(-50%); } }
.m-card { position: relative; width: clamp(240px, 24vw, 340px); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--surface); flex: 0 0 auto; }
.m-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.m-card:hover img { transform: scale(1.06); }
.m-card span { position: absolute; left: 12px; bottom: 10px; font-size: 13px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.logos .marquee-track { gap: 64px; animation-duration: 40s; }
.logo-word { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: .04em; color: #7e90ab; white-space: nowrap; }

/* ---------- sticky pipeline ---------- */
.pipeline { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pipe-media { position: sticky; top: 110px; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.pipe-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.pipe-media img.is-on { opacity: 1; }
.pipe-media .tag { position: absolute; left: 16px; top: 16px; z-index: 2; }
.pipe-progress { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }
.pipe-progress .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.pipe-progress .bar i { display: block; height: 100%; width: 0; background: var(--cyan); transition: width .6s var(--ease); }
.steps { display: flex; flex-direction: column; }
.step { min-height: 48vh; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .5s; }
.step.is-on { opacity: 1; }
.step .no { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: clamp(26px, 2.8vw, 38px); }
.step p { color: var(--muted); max-width: 440px; }

/* ---------- split (text ↔ media) ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 140px); }
.split.rev .split-media { order: 2; }
.split-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--surface); }
.split-media.tall { aspect-ratio: 4 / 5; }
.split-media img, .split-media video { width: 100%; height: 100%; object-fit: cover; }
.split-media .tag { position: absolute; left: 16px; top: 16px; }
.split-text h3 { font-size: clamp(28px, 3.2vw, 44px); margin: 14px 0 18px; }
.split-text p { color: var(--muted); }
.split-text ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.split-text li { position: relative; padding-left: 20px; color: #c9d6ea; }
.split-text li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--cyan); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 21px; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(77, 148, 255, .12); color: var(--cyan); display: flex; align-items: center; justify-content: center; }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: 24px; background: var(--surface); color: #fff; display: block; }
.tile:hover { color: #fff; }
.tile.w2 { grid-column: span 2; } .tile.h2 { grid-row: span 2; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 20, 0) 40%, rgba(5, 10, 20, .92) 100%); }
.tile-body { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.tile-body .en { font-size: 12px; letter-spacing: .24em; color: #b9d3ff; font-weight: 700; }
.tile-body b { font-size: clamp(22px, 2.2vw, 32px); }
.tile-body span { font-size: 15px; color: #d5e0f0; }
.tile .tag { position: absolute; top: 18px; left: 18px; z-index: 2; }

.media-card { display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.media-card:hover { color: var(--text); }
.media-card .thumb { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media-card:hover .thumb img { transform: scale(1.05); }
.media-card .play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #06101f; display: flex; align-items: center; justify-content: center; }
.media-card .meta { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .04em; }
.media-card b { font-size: 19px; line-height: 1.4; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.gallery button.w2 { grid-column: span 2; } .gallery button.h2 { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }

/* horizontal flow steps */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.flow-card { scroll-snap-align: start; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); }
.flow-card img { width: 100%; height: 100%; object-fit: cover; }
.flow-card div { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(180deg, transparent, rgba(5, 10, 20, .95)); }
.flow-card small { font-size: 12px; letter-spacing: .2em; font-weight: 700; color: var(--cyan); }
.flow-card b { display: block; font-size: 22px; margin: 4px 0; }
.flow-card p { font-size: 14px; color: #c9d6ea; }

/* key figures in detail page */
.figures { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 80px); margin-top: 40px; }
.figures div b { display: block; font-size: clamp(44px, 5vw, 68px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.figures div b small { font-size: .4em; margin-left: 4px; }
.figures div > span { color: var(--muted); font-size: 15px; }

/* before/after */
.ba { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x, 50%)); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 4; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; z-index: 3; pointer-events: none; }
.ba .handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: #06101f; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ba .lbl { position: absolute; bottom: 16px; z-index: 2; }
.ba .lbl.l { left: 16px; } .ba .lbl.r { right: 16px; }

/* lists / tables */
.ip-summary { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.ip-summary div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 26px; }
.ip-summary b { font-size: 34px; font-weight: 800; margin-right: 6px; }
.ip-summary span { color: var(--muted); }
.ip-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ip-list li { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.ip-list .k { font-size: 13px; font-weight: 700; color: var(--cyan); }
.ip-list .k.p { color: #a9c6ff; }
.ip-list .n { font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cert-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.cert-card button { padding: 0; border: 0; background: #e9eef6; cursor: zoom-in; aspect-ratio: 720 / 915; overflow: hidden; }
.cert-card button img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.cert-card button:hover img { transform: scale(1.04); }
.cert-card div { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.cert-card small { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.cert-card b { font-size: 17px; line-height: 1.4; }
.cert-card span { font-size: 13px; color: var(--dim); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 88px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 32px; padding: 18px 0; }
.timeline .y { font-size: 26px; font-weight: 800; color: var(--accent); position: relative; }
.timeline .y::after { content: ""; position: absolute; right: -37px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(79, 209, 255, .15); }
.timeline ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.timeline ul li { display: block; padding: 0; color: #c9d6ea; }

.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li a { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 6px; border-bottom: 1px solid var(--line); color: var(--text); }
.news-list li a:hover { background: var(--surface); color: #fff; }
.news-list .src { font-size: 14px; color: var(--accent); font-weight: 700; }
.news-list b { font-size: 18px; font-weight: 600; }
.news-list time { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.case { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.case-visual { position: relative; min-height: 420px; background: radial-gradient(600px 400px at 30% 30%, #1d4ed8 0%, transparent 60%), radial-gradient(500px 400px at 80% 80%, #0891b2 0%, transparent 60%), #071226; display: flex; align-items: center; justify-content: center; }
.case-visual svg { width: 46%; max-width: 260px; opacity: .9; }
.case-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; }
.case-body h3 { font-size: clamp(26px, 2.8vw, 38px); }
.case dl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 16px; margin: 10px 0 0; font-size: 15px; }
.case dt { color: var(--dim); }
.case dd { margin: 0; color: #d5e0f0; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #7ee0ff; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7ee0ff; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* CTA band */
.cta { border-radius: 32px; padding: clamp(40px, 6vw, 80px); background: radial-gradient(800px 400px at 85% 0%, #1d4ed8 0%, transparent 60%), var(--surface); border: 1px solid #23406b; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta h2 { font-size: clamp(30px, 4vw, 52px); }
.cta p { color: #c9d6ea; margin-top: 12px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* next content */
.next { position: relative; display: block; overflow: hidden; border-radius: 28px; min-height: 300px; color: #fff; }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.next:hover img { transform: scale(1.04); }
.next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 20, .92) 0%, rgba(5, 10, 20, .4) 100%); }
.next div { position: relative; z-index: 2; padding: clamp(32px, 5vw, 64px); }
.next small { color: var(--muted); letter-spacing: .2em; font-weight: 700; font-size: 13px; }
.next b { display: block; font-size: clamp(30px, 4vw, 52px); margin-top: 10px; }
.next:hover { color: #fff; }

/* contact */
.contact-hero { padding: 180px 0 100px; text-align: center; background: radial-gradient(900px 500px at 50% 0%, #10336a 0%, transparent 65%), var(--bg); }
.contact-hero h1 { font-size: clamp(36px, 5.6vw, 72px); margin: 18px 0 20px; }
.mail-big { display: inline-block; margin-top: 30px; font-size: clamp(22px, 3vw, 38px); font-weight: 700; color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) invert(.9) hue-rotate(180deg); }

/* modal / lightbox */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(2, 5, 12, .92); display: none; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.modal.is-open { display: flex; }
.modal .close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }
.modal video, .modal img { max-width: min(1200px, 100%); max-height: calc(100vh - 110px); border-radius: 14px; background: #000; }
.modal .caption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: var(--muted); font-size: 13px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 72px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.site-footer .logo-chip { display: inline-flex; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; }
.site-footer .logo-chip img { height: 34px; width: auto; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer .links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer .links a { color: #d5e0f0; font-weight: 600; }
.copy { margin-top: 18px; color: var(--dim); font-size: 13px; }

.float-cta { position: fixed; right: 22px; bottom: 22px; z-index: 40; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); transition: opacity .3s, transform .3s; }
.js .float-cta:not(.is-shown) { opacity: 0; pointer-events: none; transform: translateY(14px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .gnb { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .header-tools .btn { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 64px; }
  .brand small { display: none; }
  .brand b { font-size: 15px; white-space: nowrap; }
  .hero::after { background: linear-gradient(180deg, rgba(5, 10, 20, .55) 0%, rgba(5, 10, 20, .3) 28%, rgba(5, 10, 20, .96) 68%); }
  .bento { grid-template-columns: repeat(1, minmax(0, 1fr)); grid-auto-rows: 320px; }
  .tile.w2, .tile.h2 { grid-column: auto; grid-row: auto; }
  .g2, .g3, .g4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .split { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .split.rev .split-media { order: 0; }
  .pipeline { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .pipe-media { top: 76px; aspect-ratio: 16 / 10; z-index: 2; }
  .step { min-height: 56vh; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .case { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .case-visual { min-height: 240px; }
  .ip-list li { grid-template-columns: 64px minmax(0, 1fr); }
  .ip-list .n { grid-column: 2; }
  .news-list li a { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .timeline::before { left: 64px; }
  .timeline li { grid-template-columns: 64px minmax(0, 1fr); gap: 24px; }
  .timeline .y { font-size: 20px; }
  .timeline .y::after { right: -29px; top: 10px; }
  .phone-float { display: none; }
  .scene .tag, .hero-meta .tag { display: none; }
  .float-cta { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* desktop-only / mobile-only media */
.m-only { display: none !important; }
@media (max-width: 760px) {
  .m-only { display: block !important; }
  .d-only { display: none !important; }
}
.hero .eyebrow, .sub-hero .eyebrow { color: #a9cbff; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
