/* =========================================================
   SENSE Lab — 연구실형(공학·자율주행) 전용 스타일 (랜딩 키트 style.css 위에 더한다)
   기준: dicolab-design references/lab-site.md · benchmark-univ.md(둥근 판 히어로·바로가기 카드·두 톤 영문 제목·사람 카드)
   콘셉트: 위에서 내려다본 라이다 장면 — 연구 = 인지(청록)·예측(보라)·계획(주황) 세 층
   색: 선명하고 명확하게(lab-vivid-colors) — 흰 바탕 + 밤하늘 남흑 + 층 색 셋. 안전 주황(--c-signal)은 주 버튼 면(글자는 남흑)
   ========================================================= */
:root {
  --c-ink: #0A0F1C;
  --c-text: #1F2433;
  --c-muted: #586075;
  --c-line: #DFE4EE;
  --c-line-strong: #8A93A8;
  --c-bg: #fff;
  --c-surface: #F2F5FA;
  --c-gray: #ECF0F6;
  --c-primary: #6420D8;      /* 글자 보라 — 흰 바탕 4.5:1 이상 */
  --c-primary-deep: #0A0F1C;
  --c-primary-soft: #EFE6FF;
  --c-signal: #FF5F00;       /* 안전 주황 — 버튼 면 */
  --c-p: #00B4D8; --c-f: #7B2FF7; --c-c: #FF5F00;
  --c-night: #070B16;
  --c-notice-bg: #FFF1E8; --c-notice: #C2410C;
  --font-display: "Pretendard Variable", Pretendard, var(--font-body);
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius-xl: 22px; --radius: 14px; --radius-sm: 8px;
  --shadow-card: 0 12px 30px rgba(10, 15, 28, .12);
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
[hidden] { display: none !important; }
.sec-title, .page-head__title, .sub-visual__group, .statement__lead, .intro__lead { letter-spacing: -0.035em; }
.sec-title b, .statement__lead b, .intro__lead b { color: var(--c-primary); }
.sec-title--duo { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }

/* 머리글 */
.gnb__link, .util-btn { white-space: nowrap; }
.logo__ko { font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.02em; }
.logo__en { letter-spacing: .02em; font-size: .6875rem; }
body[data-group="research"] .gnb__item[data-group="research"] > .gnb__link,
body[data-group="people"] .gnb__item[data-group="people"] > .gnb__link,
body[data-group="pubs"] .gnb__item[data-group="pubs"] > .gnb__link { color: var(--c-primary); }

/* 버튼 */
.btn--signal { background: var(--c-signal); color: var(--c-ink); }
.btn--signal:hover { background: #FF7F33; color: var(--c-ink); }
.btn--outline { border: 1.5px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--c-ink); }
.linklike { padding: 4px 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--c-primary); text-decoration: underline; text-underline-offset: .2em; }
.fine { margin-top: 18px; font-size: .875rem; line-height: 1.6; color: var(--c-muted); }
.page-head__updated { font-size: .8125rem; color: var(--c-muted); }

/* 층 꼬리표·칩 */
.ltag { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; font-size: .8125rem; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.ltag i, .chip i, .layer-btn i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: currentColor; }
.ltag--p i, .chip--p i { background: var(--c-p); }
.ltag--f i, .chip--f i { background: var(--c-f); }
.ltag--c i, .chip--c i { background: var(--c-c); }
.ptag { display: inline-block; padding: 0 8px; border: 1px solid var(--c-line-strong); border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.7; color: var(--c-muted); }
.ptag--new { border-color: var(--c-signal); background: var(--c-signal); color: var(--c-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--c-line-strong); border-radius: 999px; background: #fff; font: inherit; font-size: .9375rem; font-weight: 700; color: var(--c-ink); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }

/* ---------- 메인: 머리가 히어로 위에 투명하게 겹친다(스크롤하면 흰 머리) ---------- */
body[data-group="home"] .site-header:not(.is-scrolled):not(.is-mega) { background: transparent; backdrop-filter: none; }
body[data-group="home"] .site-header:not(.is-scrolled):not(.is-mega) :is(.gnb__link, .logo__ko, .logo__en, .util-btn) { color: #fff; }
body[data-group="home"] .site-header:not(.is-scrolled):not(.is-mega) .menu-btn { background: rgba(255, 255, 255, .14); }
body[data-group="home"] .site-header:not(.is-scrolled):not(.is-mega) :is(.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after) { background: #fff; }

/* ---------- 메인 히어로: 화면 꽉 찬 HUD 장면 (js/sense.js) ---------- */
.xhero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; min-height: max(640px, 100svh); margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 40px) 0 72px; background: var(--c-night) url("../images/bev.svg") 50% 50% / cover no-repeat; color: #fff; }
.bev { position: absolute; inset: 0; z-index: -2; }
.bev canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.xhero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(7, 11, 22, .96) 0%, rgba(7, 11, 22, .55) 30%, rgba(7, 11, 22, 0) 56%), radial-gradient(ellipse at 50% 45%, rgba(7, 11, 22, 0) 45%, rgba(7, 11, 22, .75) 100%); }
.xhero__split { position: absolute; left: 0; right: 0; top: 44%; z-index: 0; display: flex; align-items: center; gap: 2.4vw; margin: 0; padding-inline: var(--gutter); pointer-events: none; }
.xhero__split span { font-family: var(--font-display); font-weight: 100; font-size: clamp(3rem, .5rem + 9vw, 10rem); line-height: 1; letter-spacing: .02em; color: rgba(255, 255, 255, .92); }
.xhero__split i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(0, 180, 216, .9), rgba(255, 255, 255, .7)); }
.xhero__copy { position: relative; }
.xhero__copy > * { max-width: 640px; }
.xhero__en { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-p); }
.xhero__title { margin-top: 12px; font-size: clamp(1.75rem, 1rem + 2.3vw, 3rem); font-weight: 800; line-height: 1.35; letter-spacing: -0.035em; color: #fff; }
.xhero__title span { display: inline; box-shadow: inset 0 -.2em 0 rgba(0, 180, 216, .55); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.xhero__title span + span { box-shadow: inset 0 -.2em 0 rgba(123, 47, 247, .7); }
.xhero__desc { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.7; color: rgba(255, 255, 255, .78); }
.xhero__scroll { position: absolute; left: 18px; bottom: 72px; padding-bottom: 56px; writing-mode: vertical-rl; font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.xhero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 44px; background: rgba(255, 255, 255, .5); }

/* 오른쪽 아래 계기판 — 층 켜고 끄기 */
.hud { position: absolute; right: var(--gutter); bottom: 72px; z-index: 1; width: 260px; padding: 16px; border: 1px solid rgba(0, 180, 216, .45); border-radius: 6px; background: rgba(7, 11, 22, .62); backdrop-filter: blur(6px); }
.hud::before, .hud::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--c-p); border-style: solid; }
.hud::before { left: -1px; top: -1px; border-width: 2px 0 0 2px; }
.hud::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.hud__head { display: flex; align-items: center; margin-bottom: 10px; font-size: .75rem; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.rec { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--c-c); }
.hud__list { display: grid; gap: 4px; }
.hud__btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .04); font: inherit; font-size: .875rem; font-weight: 700; text-align: left; color: rgba(255, 255, 255, .5); cursor: pointer; }
.hud__btn i { flex: none; width: 10px; height: 10px; border-radius: 2px; opacity: .35; }
.hud__btn--p i { background: var(--c-p); } .hud__btn--f i { background: var(--c-f); } .hud__btn--c i { background: var(--c-c); }
.hud__btn[aria-pressed="true"] { color: #fff; background: rgba(255, 255, 255, .09); }
.hud__btn[aria-pressed="true"] i { opacity: 1; }
.hud__sw { position: relative; flex: none; margin-left: auto; width: 30px; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .2); transition: background-color .2s; }
.hud__sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .2s; }
.hud__btn[aria-pressed="true"] .hud__sw { background: var(--c-p); }
.hud__btn[aria-pressed="true"] .hud__sw::after { transform: translateX(14px); }
.hud__stat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; font-size: .6875rem; }
.hud__stat dt { color: rgba(255, 255, 255, .55); }
.hud__stat dd { margin: 2px 0 0; font-size: .9375rem; color: var(--c-p); }
.hud .bev__pause { position: absolute; right: 10px; top: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.hud .bev__pause:hover { background: #fff; color: var(--c-ink); }
.bev__pause span { display: block; width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.bev__pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.reduce-motion .bev__pause, html:not(.js) .hud { display: none; }
@media (max-width: 1023px) {
  .xhero { min-height: 0; padding-top: calc(var(--header-h) + min(78vw, 420px)); padding-bottom: 40px; }
  .bev { bottom: auto; height: calc(var(--header-h) + min(86vw, 470px)); }
  .xhero { background-position: 50% 0; background-size: auto calc(var(--header-h) + min(86vw, 470px)); }
  .xhero::after { background: linear-gradient(0deg, rgba(7, 11, 22, 1) 0%, rgba(7, 11, 22, 1) 45%, rgba(7, 11, 22, 0) 68%); }
  .xhero__split { top: calc(var(--header-h) + min(36vw, 200px)); }
  .xhero__scroll { display: none; }
  .hud { position: static; width: auto; margin: 22px var(--gutter) 0; }
  .hud__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hud__btn { font-size: .8125rem; padding: 0 8px; }
  .hud__stat { display: none; }
}

/* 소식: 라디오 점 분류 + 그림 카드 */
.sinfo__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-title--duo .t-light { font-weight: 300; }
.rdots { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.rdot { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; font: 700 .875rem var(--font-mono); letter-spacing: .06em; color: var(--c-muted); cursor: pointer; }
.rdot::before { content: ""; box-sizing: border-box; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--c-line-strong); transition: border-width .15s, border-color .15s; }
.rdot[aria-pressed="true"] { color: var(--c-ink); }
.rdot[aria-pressed="true"]::before { border: 5px solid var(--c-primary); }
.ncards { display: grid; gap: 22px; }
@media (min-width: 768px) { .ncards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ncard a { display: grid; gap: 8px; color: var(--c-ink); }
.ncard__img { margin: 0 0 6px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ncard a:hover .ncard__img img { transform: scale(1.05); }
.ncard__cate { font-size: .75rem; letter-spacing: .1em; color: var(--c-primary); }
.ncard__title { font-size: 1.125rem; font-weight: 800; line-height: 1.45; letter-spacing: -0.03em; }
.ncard a:hover .ncard__title { text-decoration: underline; text-underline-offset: .2em; }
.ncard__date { font-size: .8125rem; color: var(--c-muted); }
.xmore { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; margin-top: 32px; padding: 0 24px; border: 1.5px solid var(--c-ink); border-radius: 999px; background: transparent; font-weight: 700; color: var(--c-ink); }
.xmore:hover { background: var(--c-ink); color: #fff; }

/* 큰 문장 + 세 칸 바로가기 */
.sintro { border-top: 1px solid var(--c-line); }
.sintro__lead { max-width: 21em; font-size: clamp(1.75rem, 1rem + 2.6vw, 3.25rem); font-weight: 300; line-height: 1.3; letter-spacing: -0.04em; color: var(--c-ink); }
.sintro__lead b { font-weight: 800; color: var(--c-primary); }
.sintro__cols { display: grid; margin-top: clamp(32px, 5vw, 64px); border-top: 2px solid var(--c-ink); }
@media (min-width: 900px) { .sintro__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sintro__cols li + li a { padding-left: 28px; border-left: 1px solid var(--c-line); } }
.sintro__cols a { position: relative; display: grid; gap: 6px; padding: 26px 56px 26px 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink); }
.sintro__cols .mono { font-size: .75rem; letter-spacing: .14em; color: var(--c-primary); }
.sintro__cols b { font-size: 1.375rem; letter-spacing: -0.03em; }
.sintro__cols span:last-of-type { font-size: .9375rem; color: var(--c-muted); }
.sintro__cols i { position: absolute; right: 18px; top: 24px; font-style: normal; font-size: 1.5rem; transition: transform .25s var(--ease); }
.sintro__cols a:hover i { transform: translate(4px, -4px); color: var(--c-signal); }

/* 연구 분야 아코디언 — 어두운 회색 면 */
.sfield { background: #171C27; color: rgba(255, 255, 255, .8); }
.sfield__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .sfield__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; } .sfield__title { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.sfield .sec-title { color: #fff; }
.sfield .t-light { color: rgba(255, 255, 255, .5); }
.sfield__title p { margin-top: 14px; }
.acc__item { border-top: 1px solid rgba(255, 255, 255, .16); }
.acc__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.acc__h { margin: 0; }
.acc__btn { display: flex; align-items: center; gap: 18px; width: 100%; padding: 22px 0; border: 0; background: none; font: inherit; text-align: left; color: #fff; cursor: pointer; }
.acc__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.acc__icon svg { width: 34px; height: 34px; }
.acc__item--p .acc__icon { color: var(--c-p); } .acc__item--f .acc__icon { color: #A57BFF; } .acc__item--c .acc__icon { color: var(--c-c); }
.acc__item.is-open .acc__icon { background: rgba(255, 255, 255, .12); }
.acc__name { display: grid; font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; }
.acc__name span { font-family: var(--font-mono); font-size: .75rem; font-weight: 400; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.acc__plus { position: relative; flex: none; margin-left: auto; width: 22px; height: 22px; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #fff; transition: transform .3s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc__item.is-open .acc__plus::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
html.js .acc__item:not(.is-open) .acc__panel { grid-template-rows: 0fr; }
.acc__body { display: grid; gap: 20px; overflow: hidden; }
html.js .acc__item:not(.is-open) .acc__body { visibility: hidden; transition: visibility 0s .45s; }
@media (min-width: 768px) { .acc__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } }
.acc__body > div { padding: 0 0 28px 82px; }
@media (max-width: 767px) { .acc__body > div { padding-left: 0; } }
.acc__projs { display: grid; gap: 6px; margin: 14px 0 18px; }
.acc__projs li { display: flex; gap: 10px; font-size: .9375rem; color: #fff; }
.acc__projs .mono { color: var(--c-p); }
.acc__img { margin: 0 0 28px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; }
.acc__img img { width: 100%; height: 100%; object-fit: cover; }
.sfield .more-link { color: #fff; }

/* 교수진 */
.sfaculty .pcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

/* 배너 두 칸 */
.sbanners { padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 120px); }
.sbanners__grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .sbanners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sbanner { position: relative; isolation: isolate; display: grid; gap: 6px; align-content: end; min-height: 250px; padding: 32px; overflow: hidden; border-radius: 4px; background: var(--c-night); color: #fff; }
.sbanner--ride { background: var(--c-signal); color: var(--c-ink); }
.sbanner .mono { font-size: .75rem; letter-spacing: .14em; opacity: .8; }
.sbanner b { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); letter-spacing: -0.04em; }
.sbanner i { position: absolute; right: 28px; top: 22px; font-style: normal; font-size: 2rem; transition: transform .25s var(--ease); }
.sbanner:hover i { transform: translate(4px, -4px); }
.sbanner--collab::after { content: ""; position: absolute; right: -50px; top: -50px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; border: 1px dashed rgba(0, 180, 216, .7); box-shadow: 0 0 0 34px rgba(0, 180, 216, .07), 0 0 0 70px rgba(0, 180, 216, .04); }
.sbanner--ride::after { content: ""; position: absolute; right: 32px; bottom: 34px; z-index: -1; width: 150px; height: 46px; background: repeating-linear-gradient(90deg, rgba(10, 15, 28, .85) 0 12px, transparent 12px 26px); }
@media (prefers-reduced-motion: reduce) { .acc__panel, .ncard__img img { transition: none; } }

/* 그림(SVG) 한 장 */
.statement__media--art, .intro__media--art { padding: 0; }
.statement__media--art .media, .intro__media--art .media, .post-body .media, .statement__media--art.reveal .media { position: static; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: none; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* 논문 — 연도별 묶음 + 유형 탭 + 연도 바로가기 (lab-site.md 논문 목록 표준) */
.pubs { border-top: 2px solid var(--c-ink); }
.pub { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.pub__no { padding-top: 3px; font-size: 1.0625rem; font-weight: 700; color: var(--c-muted); }
.pub__title a { color: var(--c-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.pub__title a:hover { color: var(--c-primary); }
.pub__meta sup { font-size: .7em; color: var(--c-primary); }
.pub__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 10px; }
.pub__foot .pub__tags { margin-top: 0; }
.pub__btns { display: flex; gap: 6px; margin-left: auto; }
.pbtn-l { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--c-line-strong); border-radius: 999px; background: #fff; font: 700 .75rem var(--font-mono); letter-spacing: .06em; color: var(--c-ink); cursor: pointer; }
.pbtn-l svg { width: 15px; height: 15px; }
.pbtn-l:hover { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }
@media (max-width: 639px) { .pub { grid-template-columns: 2.4em minmax(0, 1fr); gap: 4px 10px; } .pub__btns { margin-left: 0; } }
.pub__type { display: inline-block; padding: 1px 8px; border: 1.5px solid transparent; border-radius: 3px; font-size: .75rem; font-weight: 700; line-height: 1.4; text-align: center; }
.pub__type--ij { background: var(--c-ink); color: #fff; }
.pub__type--ic { border-color: var(--c-ink); color: var(--c-ink); }
.pub__type--dj { background: var(--c-primary-soft); color: var(--c-primary); }
.pub__type--dc { border-color: var(--c-primary); border-style: dashed; color: var(--c-primary); }
.pub__title { font-weight: 700; font-size: 1.1875rem; line-height: 1.45; letter-spacing: -0.01em; color: var(--c-ink); }
.pub__meta { margin-top: 4px; font-size: .9375rem; color: var(--c-muted); }
.pub__meta b { color: var(--c-ink); }
.pub__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.ptabs { display: flex; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 2px solid var(--c-ink); }
.ptab { position: relative; min-height: 52px; padding: 0 18px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--c-muted); cursor: pointer; }
.ptab span { margin-left: 4px; font-size: .75rem; }
.ptab:hover { color: var(--c-ink); }
.ptab[aria-pressed="true"] { color: var(--c-ink); }
.ptab[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--c-signal); }
@media (max-width: 639px) { .ptabs { flex-wrap: nowrap; overflow-x: auto; } .ptab { flex: none; padding: 0 12px; } }
.pubtools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.search input { min-height: 44px; width: min(100%, 300px); padding: 0 16px; border: 1.5px solid var(--c-line-strong); border-radius: 999px; font: inherit; }
.pubcount { margin-bottom: 10px; font-size: .9375rem; color: var(--c-muted); }
.empty { padding: 28px 0; color: var(--c-muted); }
.pubyears { display: grid; gap: 24px; }
.pubyears > *, .ptabs { min-width: 0; }
@media (min-width: 1024px) { .pubyears { grid-template-columns: 150px minmax(0, 1fr); gap: 48px; } .yidx { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; } }
.yidx__t { margin-bottom: 8px; font-size: .75rem; color: var(--c-muted); }
.yidx ol { display: flex; gap: 6px; overflow-x: auto; }
@media (min-width: 1024px) { .yidx ol { display: grid; gap: 4px; overflow: visible; } }
.yidx a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; padding: 0 12px; border-radius: 4px; background: var(--c-surface); font-weight: 700; white-space: nowrap; color: var(--c-ink); }
.yidx a span:last-child { font-size: .75rem; color: var(--c-muted); }
.yidx a:hover, .yidx a.is-current { background: var(--c-ink); color: #fff; }
.yidx a:hover span:last-child, .yidx a.is-current span:last-child { color: rgba(255, 255, 255, .7); }
.yidx li.is-empty { display: none; }
.pyear { scroll-margin-top: calc(var(--header-h) + 80px); }
.pyear + .pyear { margin-top: 40px; }
.pyear__head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 800; color: var(--c-ink); }
.pyear__n { font-size: .875rem; font-weight: 600; color: var(--c-muted); }

/* ---------- 주행 스택 페이지 ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-bottom: 28px; }
.flow li { position: relative; display: grid; gap: 2px; padding: 14px 14px 14px 18px; background: var(--c-surface); font-weight: 800; letter-spacing: -0.02em; color: var(--c-ink); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%); }
.flow li:first-child { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.flow li span { font-size: .75rem; font-weight: 400; color: var(--c-muted); }
.flow li:nth-child(2) { background: #DDF6FB; } .flow li:nth-child(3) { background: #EEE4FF; } .flow li:nth-child(4), .flow li:nth-child(5) { background: #FFE9DB; }
@media (max-width: 639px) { .flow { grid-template-columns: 1fr; } .flow li, .flow li:first-child { clip-path: none; border-radius: var(--radius-sm); padding: 10px 14px; grid-template-columns: 2.4em 1fr; } }
.stack__tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.stack__grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) { .stack__grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.stack__bands { display: grid; gap: 12px; }
.band { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); border-left: 10px solid; background: var(--c-surface); transition: opacity .3s; }
@media (min-width: 900px) { .band { grid-template-columns: 220px minmax(0, 1fr); } .band:nth-child(2) { margin-left: 28px; } .band:nth-child(3) { margin-left: 56px; } }
.band--p { border-color: var(--c-p); } .band--f { border-color: var(--c-f); } .band--c { border-color: var(--c-c); }
.band__n { font-size: .75rem; color: var(--c-muted); }
.band__head h2 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; }
.band__head h2 span { display: block; font-family: var(--font-mono); font-size: .75rem; font-weight: 400; color: var(--c-muted); }
.band__head p { margin-top: 6px; font-size: .875rem; color: var(--c-text); }
.band__list { display: grid; gap: 6px; align-content: start; }
.pbtn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 12px; border: 1.5px solid transparent; border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: .9375rem; font-weight: 600; text-align: left; color: var(--c-ink); cursor: pointer; }
.pbtn:hover { border-color: var(--c-line-strong); }
.pbtn[aria-pressed="true"] { border-color: var(--c-ink); box-shadow: 3px 3px 0 var(--c-ink); }
.pbtn__code { min-width: 2.2em; font-size: .75rem; color: var(--c-muted); }
.stack.is-filtered .band:not(.is-on) { opacity: .3; }
.stncard { display: grid; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--c-night); color: #fff; }
@media (min-width: 1024px) { .stncard { position: sticky; top: calc(var(--header-h) + 96px); } }
.stncard .ltag { color: #fff; }
.stncard__code { font-size: .8125rem; color: rgba(255, 255, 255, .65); }
.stncard__name { color: #fff; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; }
.stncard__desc { color: rgba(255, 255, 255, .85); font-size: .9375rem; }
.stncard__meta { display: grid; gap: 6px; margin: 4px 0 0; font-size: .875rem; }
.stncard__meta div { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 10px; }
.stncard__meta dt { color: rgba(255, 255, 255, .6); }
.stncard__meta dd { margin: 0; }
.stncard .more-link { color: #fff; }
.stncard__hint { font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.stnlist__st { margin-left: auto; flex: none; padding: 0 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.7; background: var(--c-gray); color: var(--c-muted); }
.st--on { background: var(--c-primary-soft); color: var(--c-primary); }
.st--plan { background: #fff; border: 1px dashed var(--c-line-strong); }

/* 표 (과제) — 휴대폰에서는 행마다 카드처럼 */
.lab-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--c-ink); font-size: .9688rem; }
.lab-table th, .lab-table td { padding: 15px 14px 15px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.lab-table thead th { font-size: .8125rem; color: var(--c-muted); }
.lab-table tbody th a:hover { color: var(--c-primary); }
@media (max-width: 767px) {
  .lab-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lab-table, .lab-table tbody, .lab-table tr, .lab-table td, .lab-table th { display: block; }
  .lab-table tr { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
  .lab-table td, .lab-table th { padding: 2px 0; border: 0; }
  .lab-table td[data-label]::before { content: attr(data-label); display: inline-block; min-width: 3.4em; margin-right: 8px; font-family: var(--font-body); font-size: .8125rem; color: var(--c-muted); }
}
.pview .post-body h2 { margin-top: .8em; font-size: 1.1875rem; }
.pview .post-head > span { display: flex; flex-wrap: wrap; }

/* 실험 차량 */
.testbed { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .testbed { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); } }
.testbed__car { position: relative; justify-self: center; width: min(100%, 420px); border-radius: var(--radius); overflow: hidden; }
.testbed__car img { display: block; width: 100%; height: auto; }
.spot { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.spot__dot { width: 24px; height: 24px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--c-ink); }
.spot--lidar .spot__dot { background: var(--c-p); } .spot--cam .spot__dot { background: var(--c-f); } .spot--radar .spot__dot { background: var(--c-c); } .spot--gnss .spot__dot { background: #14B86A; } .spot--pc .spot__dot { background: var(--c-ink); }
.spot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--c-ink); opacity: 0; }
.has-motion .spot::after { animation: ping 2.4s ease-out infinite; }
.spot[aria-pressed="true"] .spot__dot { transform: scale(1.25); box-shadow: 0 0 0 3px var(--c-ink), 0 0 0 9px rgba(255, 95, 0, .35); }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.testbed__lead { margin-bottom: 18px; font-size: var(--fs-lead); line-height: 1.7; }
.testbed__lead b { font-family: var(--font-mono); color: var(--c-primary); }
.sensors { display: grid; gap: 8px; }
.sensor { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-line); transition: border-color .2s, background-color .2s; }
.sensor__name { font-weight: 800; color: var(--c-ink); }
.sensor__spec { font-size: .8125rem; color: var(--c-primary); }
.sensor p:last-child { font-size: .9375rem; color: var(--c-text); }
.sensor.is-on { border-color: var(--c-ink); background: var(--c-surface); }

/* 일하는 방식·시험 구간 */
.ways { display: grid; gap: 14px; }
@media (min-width: 720px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ways { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ways li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--radius); background: var(--c-surface); }
.ways__n { font-size: .875rem; font-weight: 700; color: var(--c-primary); }
.ways h3 { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.03em; }
.ways p { font-size: .9375rem; color: var(--c-text); }

/* 구성원 */
.people-group + .people-group { margin-top: 44px; }
.people-group__title { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--c-ink); font-size: var(--fs-h3); font-weight: 800; }
.people-group__title span { font-size: .875rem; color: var(--c-muted); }
.pcard__back { background: var(--c-night); }
.pcard__back .ltag { color: #fff; }

/* 공개 데이터 */
.dsets { display: grid; gap: 16px; margin-bottom: 28px; }
@media (min-width: 900px) { .dsets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dset { position: relative; display: grid; gap: 8px; align-content: start; padding: 30px 24px 22px; border-radius: var(--radius); background: var(--c-surface); overflow: hidden; }
.dset__bar { position: absolute; left: 0; right: 0; top: 0; height: 8px; }
.dset__bar--p { background: var(--c-p); } .dset__bar--f { background: var(--c-f); } .dset__bar--c { background: var(--c-c); }
.dset h2 { font-size: 1.125rem; font-weight: 800; }
.dset__spec { font-size: .75rem; color: var(--c-muted); }
.dset .linklike { justify-self: start; }

/* 자주 묻는 질문 */
.qas { border-top: 2px solid var(--c-ink); }
.qa { padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.qa__q { display: flex; gap: 12px; font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.02em; }
.qa__q::before { content: "Q"; flex: none; font-family: var(--font-mono); color: var(--c-primary); }
.qa__a { margin-top: 8px; padding-left: 1.6em; color: var(--c-text); }

/* 문의 */
.contact { margin-top: clamp(40px, 6vw, 72px); scroll-margin-top: calc(var(--header-h) + 80px); }
.contact__grid { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact__item { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--radius); background: var(--c-surface); }
.contact__k { font-size: .8125rem; font-weight: 700; color: var(--c-primary); }
.contact__item a { font-weight: 700; color: var(--c-ink); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }

/* 서브 머리: 화면 폭 밤 장면 띠 + 왼쪽 정렬 얇은 대형 영문 + 국문 메뉴 이름, 위치 드롭다운 막대가 띠 아래 끝에 걸친다
   (2026-10-29 벤치마킹 — hycivil 구성원 페이지. move_lab 의 가운데 정렬 격자 판과 다르게) */
.sub-visual { padding: 0; }
.sub-visual--light .sub-visual__panel { max-width: none; min-height: clamp(260px, 26vw, 360px); align-content: end; justify-items: start; gap: 10px; padding: 56px max(var(--gutter), calc((100% - var(--container)) / 2)) 84px; border: 0; border-radius: 0; text-align: left; color: #fff; background-color: var(--c-night); background-image: radial-gradient(rgba(0, 180, 216, .4) 1.2px, transparent 1.4px), linear-gradient(90deg, var(--c-night) 30%, rgba(7, 11, 22, 0)); background-size: 22px 22px, 100% 100%; }
.sub-visual--light .sub-visual__en { font-family: var(--font-display); font-weight: 200; font-size: clamp(2.75rem, 1rem + 6vw, 6.5rem); line-height: 1; letter-spacing: -0.03em; text-transform: none; color: #fff; }
.sub-visual--light .sub-visual__group { display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 700; letter-spacing: 0; color: var(--c-p); }
.sub-visual--light .sub-visual__group::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sub-visual--light .breadcrumb, .sub-visual--light .breadcrumb a { color: rgba(255, 255, 255, .7); }
@media (min-width: 1024px) { .sub-visual--light .breadcrumb { position: absolute; top: 28px; right: max(var(--gutter), calc((100% - var(--container)) / 2)); } }
.sub-visual__line { position: absolute; left: 0; bottom: 0; width: 34%; height: 6px; z-index: 1; opacity: 1 !important; background: var(--c-p); }
.sub-visual--research .sub-visual__line { background: var(--c-f); }
.sub-visual--people .sub-visual__line, .sub-visual--pubs .sub-visual__line { background: var(--c-c); }
.lnb--path { margin-top: -30px; background: transparent; color: var(--c-ink); }   /* 키트의 sticky 는 그대로 — 스크롤하면 머리 아래에 붙는다 */
.lnb--path .lnb__inner { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; background: #fff; box-shadow: 0 12px 30px rgba(10, 15, 28, .14); }
.lnb--path .lnb__home { border-inline: 0; background: var(--c-signal); color: var(--c-ink); }
.lnb--path .lnb__home:hover { background: #FF7F33; }
.lnb--path .lnb__drop { border-right: 1px solid var(--c-line); }
.lnb--path .lnb__drop[open] > summary { background: var(--c-surface); }
.cta-strip { border-radius: var(--radius); }

/* 바닥글 층 띠 */
.site-footer__lines { display: flex; gap: 6px; }
.fl { display: block; width: 40px; height: 6px; border-radius: 3px; }
.fl--p { background: var(--c-p); } .fl--f { background: var(--c-f); } .fl--c { background: var(--c-c); }

/* 휴대폰 문의 단추 */
.fab { display: none; }
@media (max-width: 1023px) {
  .fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--c-ink); color: #fff; font-weight: 700; box-shadow: 0 10px 24px rgba(10, 15, 28, .3); }
  .fab__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-c); }
  body:has(.site-menu:not([hidden])) .fab { display: none; }
  .site-footer { padding-bottom: 96px; }
}

/* 알림 */
.sense-toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--radius-sm); background: var(--c-ink); color: #fff; font-size: .9375rem; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.sense-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1023px) { .sense-toast { bottom: 84px; } }

@media (prefers-reduced-motion: reduce) {
  .layercard:hover, .squick__item:hover { transform: none; }
  .spot::after { animation: none !important; }
  .sense-toast { transform: translate(-50%, 0); }
}
