/* Layout concept: engineering-report language — navy plates, FIG. captions in mono, flow lines as the one motif.
   Single light theme by choice (brand site); every color is set explicitly. */
:root {
  --navy: #0A2540;
  --navy-2: #0F3157;
  --navy-3: #071B30;
  --ink: #15253A;
  --muted: #56677B;
  --blue: #0A76BF;
  --brand: #10A1F0;
  --sky: #A9D9F7;
  --orange: #E8572A;
  --paper: #F4F7FA;
  --white: #FFFFFF;
  --line: #D7E0E8;
  --line-dark: rgba(255, 255, 255, 0.16);
  --tint: #E4F1FB;

  --f-display: "Archivo", "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --hdr: 72px;
  --radius: 4px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.on-dark .eyebrow, .eyebrow.light { color: var(--sky); }
.eyebrow.signal { color: var(--orange); }
.h-display {
  font-family: var(--f-display);
  font-stretch: 82%;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.on-dark .h2 { color: var(--white); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 62ch; }
.on-dark .lead { color: #C9D9E8; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; }
.on-dark { background: var(--navy); color: var(--white); }
.bg-white { background: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); font-size: 15px; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--sky); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  font-family: var(--f-body);
}
.btn-signal { background: var(--orange); color: var(--white); }
.btn-signal:hover { background: #CF4519; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #075F9A; }
.btn-white { background: var(--white); color: var(--blue); }

.ico { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.hdr { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); gap: 24px; }
.logo img { height: 36px; width: auto; }
.gnb > ul { display: flex; gap: 4px; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a {
  display: flex; align-items: center; height: var(--hdr); padding: 0 18px;
  font-family: var(--f-display); font-stretch: 90%; font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  color: var(--navy);
}
.gnb > ul > li > a[aria-current="page"], .gnb > ul > li:hover > a { color: var(--blue); }
.gnb > ul > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand); }
.gnb .sub {
  position: absolute; top: var(--hdr); left: 50%; transform: translateX(-50%);
  min-width: 210px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  padding: 10px 0; box-shadow: 0 16px 32px rgba(10, 37, 64, 0.12);
  opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s;
}
.gnb li:hover > .sub, .gnb li:focus-within > .sub { opacity: 1; visibility: visible; }
.gnb .sub a { display: block; padding: 8px 20px; font-size: 14.5px; color: var(--ink); }
.gnb .sub a:hover { background: var(--paper); color: var(--blue); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); cursor: pointer; color: var(--navy); align-items: center; justify-content: center; }

@media (max-width: 960px) {
  :root { --hdr: 64px; }
  .logo img { height: 30px; }
  .menu-btn { display: inline-flex; }
  .gnb {
    position: fixed; inset: calc(var(--hdr) + env(safe-area-inset-top, 0px)) 0 0 0;
    background: var(--white); overflow-y: auto; padding: 8px 0 calc(32px + env(safe-area-inset-bottom, 0px));
    display: none; border-top: 1px solid var(--line);
  }
  .site-header.open .gnb { display: block; }
  .gnb > ul { flex-direction: column; gap: 0; }
  .gnb > ul > li { border-bottom: 1px solid var(--line); padding-inline: clamp(16px, 4vw, 40px); }
  .gnb > ul > li > a { height: auto; padding: 18px 0 8px; font-size: 18px; box-shadow: none !important; }
  .gnb .sub { position: static; transform: none; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 14px; min-width: 0; }
  .gnb .sub a { padding: 7px 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); margin-top: 18px; }
.hero h1 .accent { color: var(--brand); }
.hero .sub-copy { margin-top: 24px; font-size: clamp(16px, 1.5vw, 19px); color: #D3E2EF; max-width: 34em; line-height: 1.75; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.fig { margin: 0; background: var(--navy-3); border: 1px solid var(--line-dark); }
.fig-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--white); }
.fig-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.fig-stage img.on { opacity: 1; }
.fig figcaption { display: grid; gap: 4px; padding: 14px 18px 16px; border-top: 1px solid var(--line-dark); min-height: 92px; }
.fig .fig-no { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--sky); }
.fig .fig-title { font-weight: 600; font-size: 15.5px; }
.fig .fig-spec { font-family: var(--f-mono); font-size: 12.5px; color: #A9BCCD; }
.fig-ctrl { display: flex; align-items: center; gap: 10px; padding: 0 18px 16px; }
.fig-ctrl button { width: 34px; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, 0.25); cursor: pointer; }
.fig-ctrl button[aria-current="true"] { background: var(--brand); }

/* ---------- approach ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.approach .lead { margin-top: 18px; }
.chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); }
.chain > div { padding: 22px 20px 24px; border-right: 1px solid var(--line); position: relative; min-width: 0; }
.chain > div:last-child { border-right: 0; background: var(--navy); color: var(--white); }
.chain h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.chain > div:last-child h3 { color: var(--white); }
.chain li { font-size: 14.5px; padding: 5px 0; border-top: 1px dashed var(--line); }
.chain > div:last-child li { border-top-color: rgba(255, 255, 255, 0.18); }
.chain .step { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.1em; display: block; margin-bottom: 6px; }
.chain > div:last-child .step { color: var(--sky); }
.chain > div:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 26px; width: 16px; height: 16px; background: var(--white);
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); z-index: 1;
}

/* ---------- metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics > div { padding: 28px 24px; border-right: 1px solid var(--line); min-width: 0; }
.metrics > div:last-child { border-right: 0; }
.metrics .num { font-family: var(--f-display); font-stretch: 82%; font-weight: 700; font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.metrics .num small { font-size: 0.45em; color: var(--brand); margin-left: 2px; }
.metrics .lbl { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.metrics .lbl b { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); font-weight: 500; }

/* ---------- solution cards ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sol-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .2s; min-width: 0; }
.sol-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.sol-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.sol-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sol-card:hover .thumb img { transform: scale(1.04); }
.sol-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sol-card .no { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--orange); }
.sol-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.sol-card .en { font-family: var(--f-display); font-stretch: 90%; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.sol-card p { font-size: 14.5px; color: var(--muted); }
.sol-card .link-arrow { margin-top: auto; padding-top: 10px; font-size: 14px; }

/* ---------- capability ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-dark); }
.cap-grid > div { padding: 28px 26px 30px; border-right: 1px solid var(--line-dark); min-width: 0; }
.cap-grid > div:last-child { border-right: 0; }
.cap-grid .ico { width: 32px; height: 32px; color: var(--brand); }
.cap-grid h3 { font-size: 19px; margin: 18px 0 10px; }
.cap-grid p { font-size: 15px; color: #C9D9E8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--f-mono); font-size: 12.5px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--white); }
.on-dark .chip { border-color: var(--line-dark); color: #D3E2EF; background: transparent; }
.cap-grid .chips { margin-top: 18px; }

/* ---------- project + insight cards ---------- */
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pj-card { background: var(--white); border: 1px solid var(--line); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pj-card .yr { font-family: var(--f-mono); font-size: 13px; color: var(--blue); }
.pj-card h3 { font-size: 18px; color: var(--navy); }
.pj-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 6px 0 0; font-size: 14px; }
.pj-card dt { color: var(--muted); }
.pj-card dd { margin: 0; }

.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); min-width: 0; transition: border-color .2s; }
.post:hover { border-color: var(--brand); }
.post .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.tag { display: inline-block; justify-self: start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.tag.news { background: #FDE9E2; color: #B23E16; }
.post h3 { font-size: 17.5px; color: var(--navy); line-height: 1.45; }
.post p { font-size: 14.5px; color: var(--muted); }
.post .date { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.sample-note { font-size: 13px; color: var(--muted); margin-top: 18px; }

.cap-list { margin-top: 18px; display: grid; gap: 0; }
.cap-list li { font-size: 14.5px; color: #E2ECF5; padding: 8px 0 8px 18px; border-top: 1px solid var(--line-dark); position: relative; }
.cap-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 2px; background: var(--brand); }

/* ---------- video band (main, wide 21:9) ---------- */
.video-band { position: relative; background: #1B2233; overflow: hidden; aspect-ratio: 1920 / 820; width: 100%; }
.vb-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.vb-toggle { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(10,37,64,.55); cursor: pointer; display: grid; place-items: center; opacity: .75; transition: opacity .2s; }
.vb-toggle:hover, .vb-toggle:focus-visible { opacity: 1; }
.vb-toggle span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.vb-toggle.paused span { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.vb-toggle[hidden] { display: none; }
@media (max-width: 900px) { .video-band { aspect-ratio: 16 / 10; } }

/* ---------- cta band ---------- */
.cta-band { background: var(--blue); color: var(--white); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { color: #D6EBFA; margin-top: 6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-3); color: #A9B8C7; font-size: 14px; padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ft-top .logo img { height: 40px; }
.ft-info { margin-top: 20px; display: grid; gap: 4px; }
.ft-info .sel { user-select: all; color: #D3E2EF; }
.ft-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ft-nav h4 { font-family: var(--f-display); font-stretch: 90%; font-size: 13px; letter-spacing: 0.1em; color: var(--white); margin-bottom: 12px; }
.ft-nav a { display: block; padding: 3px 0; }
.ft-nav a:hover { color: var(--white); }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }

/* ---------- sub pages ---------- */
.page-head { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.page-head .wrap { position: relative; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); }
.crumb { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: #93AEC6; }
.crumb a:hover { color: var(--white); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); margin-top: 14px; }
.page-head p { margin-top: 14px; color: #D3E2EF; font-size: clamp(16px, 1.5vw, 19px); max-width: 40em; }
.page-head p.kr { margin-top: 10px; color: var(--white); font-weight: 700; font-size: clamp(19px, 2vw, 24px); }
.page-head p.kr + p { margin-top: 6px; }

.subnav { position: sticky; top: calc(var(--hdr) + env(safe-area-inset-top, 0px)); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 16px 16px 14px; font-size: 14.5px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--navy); }
.subnav a.on, .subnav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--brand); font-weight: 600; }
[id] { scroll-margin-top: calc(var(--hdr) + 64px); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.values > div { background: var(--white); border: 1px solid var(--line); padding: 24px; min-width: 0; }
.values .ico { color: var(--blue); width: 30px; height: 30px; }
.values h3 { margin: 14px 0 6px; font-family: var(--f-display); font-stretch: 90%; font-size: 20px; color: var(--navy); }
.values h3 span { font-family: var(--f-body); font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.values p { font-size: 14.5px; color: var(--muted); }

.ceo { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ceo .photo { background: #6A6D72; aspect-ratio: 5 / 6; overflow: hidden; max-width: 220px; }
.ceo .photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo blockquote { margin: 0 0 22px; font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; color: var(--navy); line-height: 1.45; }
.ceo .msg p + p { margin-top: 14px; }
.ceo .sign { margin-top: 24px; font-weight: 600; }
.ceo .sign span { color: var(--muted); font-weight: 400; margin-right: 8px; }

.profile { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.profile th, .profile td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.profile th { width: 30%; color: var(--muted); font-weight: 500; background: var(--paper); }

.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 16px 0 16px 28px; position: relative; }
.timeline > div::before { content: ""; position: absolute; left: -7px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); }
.timeline > div:first-child::before { background: var(--orange); border-color: var(--orange); }
.timeline .yr { font-family: var(--f-display); font-stretch: 82%; font-weight: 700; font-size: 26px; color: var(--navy); line-height: 1.2; font-variant-numeric: tabular-nums; }
.timeline li { padding: 3px 0; font-size: 15.5px; }

.org { display: grid; gap: 18px; }
.org-top { display: grid; justify-items: center; }
.org-v { display: block; width: 2px; height: 22px; background: var(--line); }
.org-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; width: 100%; }
.org-side { display: flex; align-items: center; min-width: 0; }
.org-h { display: block; width: clamp(16px, 4vw, 48px); height: 2px; background: var(--line); flex: none; }
.org-box.plan { background: #5B6D80; color: var(--white); min-width: 160px; }
.org-box { padding: 12px 22px; border-radius: var(--radius); font-weight: 700; text-align: center; }
.org-box.ceo-b { background: var(--navy); color: var(--white); min-width: 160px; }
.org-box.staff { background: var(--white); border: 1px solid var(--line); color: var(--muted); font-weight: 600; white-space: nowrap; }
.org-units { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.org-box.ceo-b, .org-box.plan { padding-inline: 18px; }
.org-unit { background: var(--white); border: 1px solid var(--line); min-width: 0; }
.org-unit > h3 { background: var(--blue); color: var(--white); font-size: 16px; padding: 12px 18px; }
.org-unit .teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.org-unit .team { padding: 16px 18px 20px; border-right: 1px solid var(--line); }
.org-unit .team:last-child { border-right: 0; }
.org-unit h4 { font-size: 15px; color: var(--blue); margin-bottom: 8px; }
.org-unit li { font-size: 14.5px; padding: 3px 0; color: var(--ink); }

.lic-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.lic { background: var(--white); border: 1px solid var(--line); padding: 22px 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.lic .ico { color: var(--blue); width: 28px; height: 28px; }
.lic h3 { font-size: 15.5px; color: var(--navy); }
.lic p { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }

.sw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sw { background: var(--white); padding: 22px 20px; min-width: 0; position: relative; }
.sw-logo { position: absolute; top: 18px; right: 18px; height: 30px; width: auto; }
.sw h3 { font-family: var(--f-display); font-stretch: 90%; font-size: 19px; color: var(--navy); }
.sw p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.sw.new h3::after { content: "NEW"; font-family: var(--f-mono); font-size: 10.5px; color: var(--white); background: var(--orange); padding: 2px 6px; margin-left: 8px; vertical-align: 3px; letter-spacing: 0.08em; }
.patents li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.patents li span { font-family: var(--f-mono); color: var(--blue); font-size: 13.5px; padding-top: 2px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery figure, .shot { margin: 0; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.gallery .img, .shot .img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); }
.gallery img, .shot img { width: 100%; height: 100%; object-fit: cover; }
.gallery .contain img, .shot.contain img { object-fit: contain; }
.gallery figcaption, .shot figcaption { padding: 12px 14px 14px; font-size: 14px; }
.gallery figcaption b, .shot figcaption b { font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; color: var(--blue); letter-spacing: 0.08em; display: block; margin-bottom: 2px; }

/* services */
.sol-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sol-wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: var(--white); border: 1px solid var(--line); min-width: 0; transition: border-color .2s; }
.sol-wide:hover { border-color: var(--brand); }
.sol-wide .thumb { overflow: hidden; background: var(--paper); min-height: 220px; }
.sol-wide .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sol-wide .body { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.sol-wide h3 { font-size: 22px; color: var(--navy); }
.sol-wide .theme { font-weight: 600; color: var(--blue); font-size: 15px; }
.sol-wide p { font-size: 14.5px; color: var(--muted); }
.sol-wide .link-arrow { margin-top: auto; padding-top: 8px; }

.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.process li { padding: 22px 20px 24px 0; border-top: 3px solid var(--brand); margin-right: 16px; min-width: 0; }
.process li::before { counter-increment: step; content: "0" counter(step); font-family: var(--f-mono); font-size: 13px; color: var(--orange); display: block; margin-bottom: 10px; }
.process h3 { font-size: 17px; color: var(--navy); }
.process p { font-size: 14px; color: var(--muted); margin-top: 6px; }

.fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.fields a { display: flex; align-items: center; gap: 12px; padding: 18px 16px; background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--navy); min-width: 0; transition: border-color .2s; }
.fields a:hover { border-color: var(--brand); color: var(--blue); }
.fields .ico { color: var(--blue); }

.svc-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.svc-hero .theme { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--navy); line-height: 1.45; margin-top: 10px; }
.svc-hero .lead { margin-top: 16px; }
.svc-hero .note { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { padding: 7px 14px; background: var(--tint); color: var(--blue); font-weight: 600; font-size: 14px; border-radius: 999px; }

.scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scope > div { background: var(--white); border: 1px solid var(--line); padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.scope .ico { color: var(--blue); width: 28px; height: 28px; }
.scope h3 { font-size: 17px; color: var(--navy); }
.scope p { font-size: 14.5px; color: var(--muted); }

.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.track { padding: 28px; border: 1px solid var(--line); background: var(--white); min-width: 0; }
.track.fire { border-top: 4px solid var(--orange); }
.track.flood { border-top: 4px solid var(--brand); }
.track h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--navy); }
.track h3 small { font-family: var(--f-display); font-stretch: 90%; font-size: 13px; color: var(--muted); letter-spacing: 0.06em; font-weight: 500; }
.track.fire .ico { color: var(--orange); }
.track.flood .ico { color: var(--brand); }
.track ul { margin-top: 16px; }
.track li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.draft-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.evidence { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 16px; }
.evidence .shot .img { aspect-ratio: auto; height: clamp(180px, 22vw, 260px); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { display: grid; gap: 4px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s; min-width: 0; }
.pager a:hover { border-color: var(--brand); }
.pager a span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.pager a b { font-size: 17px; color: var(--navy); }
.pager a.next { text-align: right; }

.vid-box { position: relative; aspect-ratio: 16 / 9; background: #000; }
.svc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.vid-tag { position: absolute; top: 10px; left: 10px; font-size: 11px; letter-spacing: 0.1em; color: var(--white); background: rgba(10, 37, 64, 0.75); padding: 3px 8px; }
.vid-box.light, .vid-box.light .svc-video { background: var(--white); }
.video-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .video-pair { grid-template-columns: minmax(0, 1fr); } }
.case-title { margin: 48px 0 18px; font-size: clamp(19px, 2vw, 23px); color: var(--navy); }
.case-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .case-pair { grid-template-columns: minmax(0, 1fr); } }

/* projects */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.filters select, .filters input { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 15px; color: var(--ink); }
.filters input { flex: 1 1 220px; min-width: 0; }
.ftabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ftabs button { font: inherit; font-size: 15px; padding: 9px 18px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; cursor: pointer; color: var(--muted); }
.ftabs button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 600; }
.ftabs button:disabled, .ftabs button.empty { color: #9AA8B6; }
.table-box { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table.pj { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
table.pj th { background: var(--navy); color: var(--white); font-weight: 600; text-align: left; padding: 13px 16px; font-size: 14px; }
table.pj td { padding: 13px 16px; border-top: 1px solid var(--line); }
table.pj td.y { font-family: var(--f-mono); color: var(--blue); width: 90px; }
table.pj tr:nth-child(even) td { background: #F9FBFC; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.badge.k2 { background: #EAF6EE; color: #227A43; }
.badge.k3 { background: #FDF0E2; color: #A15A0B; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-state b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.count { font-size: 14px; color: var(--muted); margin-left: auto; }

/* insights */
.feature-post { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); margin-bottom: 28px; }
.feature-post .thumb { min-height: 260px; overflow: hidden; background: var(--white); }
.feature-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-post .body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: center; }
.feature-post h2 { font-size: clamp(22px, 2.4vw, 28px); color: var(--navy); line-height: 1.4; }
.feature-post p { color: var(--muted); }

/* contact */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: 0; padding: 12px 14px; border-left: 3px solid #C23A10; background: #FDF0EC; color: #9A2E0C; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.pv { display: grid; gap: 0; max-width: 820px; background: var(--white); border: 1px solid var(--line); }
.pv-row { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.pv-row:last-child { border-bottom: 0; }
.pv-row h2 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.pv-row p { color: var(--muted); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field label i { color: var(--orange); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 15px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.field .err { font-size: 13px; color: #C23A10; min-height: 0; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #C23A10; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.agree input { margin-top: 4px; width: 18px; height: 18px; }
.done { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); padding: 36px; }
.done h2 { color: var(--navy); font-size: 24px; }
.done p { margin-top: 10px; color: var(--muted); }
.info-card { background: var(--navy); color: var(--white); padding: 30px 28px; display: grid; gap: 20px; }
.info-card dl { margin: 0; display: grid; gap: 16px; }
.info-card dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--sky); text-transform: uppercase; }
.info-card dd { margin: 4px 0 0; font-size: 16px; user-select: text; }
.copy-btn { margin-left: 8px; font: inherit; font-size: 12.5px; padding: 3px 10px; border: 1px solid var(--line-dark); background: transparent; color: var(--sky); border-radius: 999px; cursor: pointer; }
.map-box { margin-top: 16px; background: var(--white); border: 1px solid var(--line); padding: 22px; display: grid; gap: 10px; }
.map-box p { font-size: 14.5px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .sol-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero .wrap, .approach, .two-col, .svc-hero, .contact-grid, .feature-post, .sec-head.split { grid-template-columns: minmax(0, 1fr); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics > div:nth-child(2) { border-right: 0; }
  .metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cap-grid, .card-row, .values, .scope, .gallery { grid-template-columns: minmax(0, 1fr); }
  .cap-grid > div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .cap-grid > div:last-child { border-bottom: 0; }
  .sw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ceo { grid-template-columns: minmax(0, 1fr); }
  .ceo .photo { max-width: 180px; }
  .org-units { grid-template-columns: minmax(0, 1fr); }
  .org-box.ceo-b, .org-box.plan { min-width: 0; }
  .ft-top { grid-template-columns: minmax(0, 1fr); }
  .ft-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracks { grid-template-columns: minmax(0, 1fr); }
  .evidence { grid-template-columns: 1fr 1fr; }
  .evidence .shot.wide { grid-column: 1 / -1; }
  .sol-wide { grid-template-columns: minmax(0, 1fr); }
  .sol-wide .thumb { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 560px) {
  .chain { grid-template-columns: minmax(0, 1fr); }
  .chain > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .chain > div:not(:last-child)::after { right: auto; left: 28px; top: auto; bottom: -9px; transform: rotate(135deg); }
  .sol-grid, .lic-grid, .fields, .sw-grid, .process, .pager, .form .row, .evidence { grid-template-columns: minmax(0, 1fr); }
  .process li { margin-right: 0; }
  .timeline > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .patents li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pager a.next { text-align: left; }
  .hero .cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* SW logos & tool icons (v3) */
.chip.ic { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 5px; }
.chip.ic img { width: 20px; height: 20px; border-radius: 5px; flex: none; }
.chip.ic.tool { padding-left: 9px; }
.chip.ic .ico { width: 15px; height: 15px; color: var(--blue); stroke-width: 1.8; }
.on-dark .chip.ic .ico { color: var(--sky); }
.sw-mark { height: 76px; display: flex; align-items: center; margin-bottom: 14px; }
.sw-mark img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.sw-mark.text span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(160deg, #1C3A63, #0B1B33); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.sw-logo { display: none; }
figure figcaption img.cap-logo { display: block; height: 26px; width: auto; object-fit: contain; margin-bottom: 10px; }
.sw-mark.text span { width: auto; min-width: 64px; padding: 0 14px; white-space: nowrap; }
.sw-mark.text span small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .12em; opacity: .75; margin-top: -2px; }
.sw-mark.text.ven span { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.sw-mark.text.qra span { background: linear-gradient(160deg, #F7953A, #E2600F); }
.sw-mark.text.sun span { background: radial-gradient(circle at 30% 25%, #FFC24A 0%, #F2672A 45%, #C8231E 100%); }
.sw-mark.text.sun span { position: relative; overflow: hidden; width: 96px; height: 64px; padding: 0; display: block; }
.sw-mark.text.sun span b { position: absolute; left: 0; right: 0; top: 9px; text-align: center; font-weight: 800; font-size: 21px; z-index: 2; padding-left: 16px; text-shadow: 0 1px 3px rgba(120,20,10,.45); }
.ss3d-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ss3d-art .rays path { stroke: rgba(255,240,170,.85); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 2.5 2; fill: none; }
.ss3d-art .top { fill: #45464E; }
.ss3d-art .side { fill: #23242A; }
.ss3d-art .edge { stroke: #E4E4EA; stroke-width: 1.2; fill: none; }
.ss3d-art .hit ellipse { fill: rgba(255,236,150,.75); filter: blur(.6px); }
.ss3d-art .lane { stroke: #FFD34D; stroke-width: 1.5; stroke-linecap: round; fill: none; }
.ss3d-art .sunm circle { fill: #FFF6C8; }
.ss3d-art .sunm path { stroke: #FFF6C8; stroke-width: 1.8; stroke-linecap: round; }
.ss3d-art .sunm { filter: drop-shadow(0 0 3px rgba(255,236,150,.95)); }
