body { --gutter: max(24px, calc((100vw - var(--max)) / 2)); }
:root {
  --ink: #1D1D1F;
  --ink-2: #424245;
  --grey: #6E6E73;
  --mist: #F5F5F7;
  --hair: #D2D2D7;
  --red: #EA2619;
  --red-d: #C81E12;
  --orange: #FC7101;
  --max: 1080px;
  --wide: 1280px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 19px;
  line-height: 1.58;
  letter-spacing: -.012em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; }
p { margin: 0; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), 100% - 32px); margin-inline: auto; }

.display { font-size: clamp(48px, 8.4vw, 104px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.headline { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
.title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.sub { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.42; color: var(--grey); letter-spacing: -.02em; }
.small { font-size: 15px; color: var(--grey); line-height: 1.5; }
.more { font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.more svg { width: 9px; height: 9px; stroke: currentColor; stroke-width: 2.4; fill: none; transition: transform .25s var(--ease); }
.more:hover { text-decoration: none; }
.more:hover svg { transform: translateX(3px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  background: var(--red); color: #fff; border: 1.5px solid var(--red);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--red-d); border-color: var(--red-d); text-decoration: none; color: #fff; }
.btn.line { background: transparent; color: var(--red); }
.btn.line:hover { background: var(--red); color: #fff; }
.btn.dark { background: #fff; color: var(--ink); border-color: #fff; }
.btn.dark:hover { background: transparent; color: #fff; }
.btn.sm { height: 34px; padding: 0 16px; font-size: 14px; }

/* nav */
.gnav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.gnav .wrap-wide { height: 64px; display: flex; align-items: center; gap: 28px; }
.gnav .logo img { height: 38px; width: auto; }
.gnav nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.gnav nav a, .gnav .dd > button { font-size: 14px; color: var(--ink-2); font-weight: 500; background: none; border: 0; padding: 6px 0; cursor: pointer; font-family: inherit; letter-spacing: -.01em; }
.gnav nav a:hover, .gnav .dd > button:hover { color: var(--ink); text-decoration: none; }
.gnav nav a[aria-current="page"], .gnav .dd.on > button { color: var(--ink); font-weight: 700; }
.gnav nav a.cta-nav { color: #fff; background: var(--red); height: 32px; padding: 0 16px; font-weight: 600; display: inline-flex; align-items: center; border-radius: 999px; }
.gnav nav a.cta-nav:hover { background: var(--red-d); color: #fff; }
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 210px; padding: 10px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(20px); border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .2s var(--ease); }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel a { display: block; padding: 9px 10px; border-radius: 8px; }
.dd-panel a:hover { background: var(--mist); }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.6px; background: var(--ink); transition: .3s var(--ease); }
.burger i:first-child { top: 15px; }
.burger i:last-child { top: 23px; }
.menu-open .burger i:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 19px; transform: rotate(-45deg); }

/* hero */
.hero { padding: 72px 0 104px; overflow: hidden; }
.hero .brand { height: clamp(64px, 9vw, 104px); width: auto; margin-bottom: 44px; }
.hero .display { max-width: 11ch; }
.hero .sub { max-width: 34ch; margin-top: 26px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.gait { margin-top: 64px; position: relative; }
.gait svg { width: 100%; height: auto; display: block; }
.gait .ground { stroke: var(--hair); stroke-width: 1.5; }
.gait figure { margin: 0; }
.gait-caption { display: flex; justify-content: space-between; font-size: 13px; color: var(--grey); padding: 14px 0 0; border-top: 1px solid transparent; }
.fig { opacity: 0; transform: translateY(6px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.drawn .fig { opacity: var(--o, 1); transform: none; }

/* statement */
.statement { background: var(--mist); padding: 120px 0; margin-top: 72px; }
.statement p { font-size: clamp(28px, 3.8vw, 48px); line-height: 1.18; letter-spacing: -.035em; font-weight: 700; max-width: 22ch; }
.statement p span { color: var(--grey); }
.statement .ko { margin-top: 28px; font-size: 19px; font-weight: 400; color: var(--grey); max-width: 46ch; letter-spacing: -.01em; line-height: 1.6; }

/* tiles */
.tiles-sec { padding: 12px 0 120px; background: var(--mist); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; border-radius: 28px; overflow: hidden; background: #fff; min-height: 560px; padding: 52px 48px; display: flex; flex-direction: column; color: var(--ink); }
.tile.wide { grid-column: span 2; min-height: 520px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.tile.ink { background: #000; color: #F5F5F7; }
.tile.ink .title, .tile.ink h3 { color: #F5F5F7; }
.tile.ink .small { color: #A1A1A6; }
.tile .title { max-width: 14ch; }
.tile p.desc { margin-top: 16px; font-size: 19px; color: var(--grey); max-width: 36ch; }
.tile.ink p.desc { color: #A1A1A6; }
.tile .more { margin-top: 22px; }
.tile.ink .more { color: #FF6A3D; }
.tile .art { margin-top: auto; padding-top: 32px; display: flex; justify-content: center; }
.tile.wide .art { margin: 0; padding: 0; }
.tile .art svg { width: 100%; max-width: 420px; height: auto; }
.art .s { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art .a { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art .af { fill: var(--red); }
.art .of { fill: var(--orange); }
.art .faint { opacity: .28; }

/* numbers */
.numbers { padding: 104px 0; }
.numbers .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.numbers b { display: block; font-size: clamp(44px, 5.6vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.numbers span { display: block; margin-top: 12px; font-size: 15px; color: var(--grey); }

/* spotlight */
.spot { background: #000; color: #F5F5F7; padding: 120px 0; }
.spot .journal { font-size: 17px; color: #A1A1A6; font-weight: 600; }
.spot .headline { color: #F5F5F7; margin-top: 14px; max-width: 24ch; }
.spot p.sum { margin-top: 24px; color: #A1A1A6; max-width: 52ch; }
.spot .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.spot .bar { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid #333336; padding-top: 28px; font-size: 15px; color: #A1A1A6; }
.spot .bar b { display: block; color: #F5F5F7; font-size: 19px; margin-bottom: 4px; }

/* publication rows */
.sec { padding: 112px 0; }
.sec.mist { background: var(--mist); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.row-pub { display: grid; grid-template-columns: 72px 1fr 260px; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.row-pub .y { font-size: 15px; color: var(--grey); font-variant-numeric: tabular-nums; }
.row-pub a { color: var(--ink); font-weight: 600; font-size: 17px; line-height: 1.45; letter-spacing: -.015em; }
.row-pub a:hover { color: var(--red); text-decoration: none; }
.row-pub .j { font-size: 14px; color: var(--grey); text-align: right; }

/* news scroller */
.scroller-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.scroller-ctrl { display: flex; gap: 10px; }
.scroller-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #E8E8ED; cursor: pointer; display: grid; place-items: center; }
.scroller-ctrl button:hover { background: #DCDCE1; }
.scroller-ctrl svg { width: 12px; height: 12px; stroke: var(--ink); stroke-width: 2.2; fill: none; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.news { scroll-snap-align: start; background: #fff; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; min-height: 360px; }
.news .d { font-size: 14px; color: var(--grey); }
.news h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; margin-top: 10px; }
.news p { margin-top: 12px; color: var(--grey); font-size: 16px; }
.news .more { margin-top: auto; padding-top: 24px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-grid .news { min-height: 320px; }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }

/* join */
.join { padding: 140px 0; text-align: center; }
.join .headline { max-width: 18ch; margin: 0 auto; }
.join .sub { max-width: 40ch; margin: 22px auto 0; }
.join .actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* page head */
.phead { padding: 96px 0 72px; }
.phead .headline { max-width: 16ch; }
.phead .sub { margin-top: 20px; max-width: 40ch; }
.crumb { font-size: 14px; color: var(--grey); margin-bottom: 18px; }
.crumb a { color: var(--grey); }

/* research page */
.area { padding: 96px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.area .art { color: var(--ink); display: flex; justify-content: center; background: var(--mist); border-radius: 28px; padding: 48px; aspect-ratio: 1 / .85; align-items: center; }
.area .art svg { width: 100%; max-width: 380px; height: auto; }
.area .art.photo { padding: 0; background-size: cover; background-position: center; }
.area:nth-of-type(even) .art { order: 2; }
.area p.desc { margin-top: 18px; color: var(--grey); }
.area h3 { font-size: 15px; color: var(--grey); font-weight: 600; margin: 36px 0 6px; }
.studies { list-style: none; margin: 0; padding: 0; }
.studies li { padding: 14px 0; border-top: 1px solid var(--hair); }
.studies a { color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.45; }
.studies a:hover { color: var(--red); text-decoration: none; }
.studies span { display: block; font-size: 14px; color: var(--grey); margin-top: 2px; }

/* PI */
.pi { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; padding: 96px 0 104px; }
.portrait { aspect-ratio: 4 / 5; border-radius: 28px; background: var(--mist); background-size: cover; background-position: center; display: grid; place-items: center; overflow: hidden; }
.portrait img.mark { width: 46%; opacity: .9; }
.pi .meta { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 16px; }
.pi .meta dt { color: var(--grey); }
.pi .meta dd { margin: 0; }
.pi .meta a { color: var(--ink); }
.pi .meta a:hover { color: var(--red); }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cv ol { list-style: none; margin: 24px 0 0; padding: 0; }
.cv li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); font-size: 17px; }
.cv li b { font-weight: 600; color: var(--grey); font-size: 15px; font-variant-numeric: tabular-nums; }

/* members */
.group { padding: 72px 0 0; }
.group h2 { font-size: 28px; letter-spacing: -.03em; padding-bottom: 20px; border-bottom: 1px solid var(--hair); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; margin-top: 36px; }
.person .ph { aspect-ratio: 4 / 5; border-radius: 22px; background: var(--mist); background-size: cover; background-position: center 20%; display: grid; place-items: center; font-size: 34px; font-weight: 700; color: #B9B9BE; letter-spacing: -.02em; }
.person h3 { font-size: 19px; margin-top: 18px; letter-spacing: -.02em; }
.person .role { font-size: 15px; color: var(--red); font-weight: 600; margin-top: 2px; }
.person .info { font-size: 15px; color: var(--grey); margin-top: 10px; line-height: 1.5; }
.person .info a { color: var(--grey); word-break: break-all; }
.person .info a:hover { color: var(--red); }

/* publications page */
.ptools { position: sticky; top: 64px; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); padding: 16px 0; border-bottom: 1px solid var(--hair); }
.ptools .wrap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.search { flex: 1 1 260px; position: relative; }
.search input { width: 100%; height: 44px; border-radius: 12px; border: 0; background: var(--mist); padding: 0 16px 0 42px; font: inherit; font-size: 16px; color: var(--ink); }
.search svg { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; stroke: var(--grey); stroke-width: 2; fill: none; }
.seg { display: flex; gap: 4px; background: var(--mist); padding: 4px; border-radius: 12px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); height: 36px; padding: 0 12px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.ycount { font-size: 15px; color: var(--grey); margin: 32px 0 0; }
.ygroup h2 { font-size: 40px; letter-spacing: -.04em; margin: 64px 0 18px; display: flex; align-items: baseline; gap: 14px; }
.ygroup h2 small { font-size: 15px; color: var(--grey); font-weight: 500; letter-spacing: 0; }
.empty { padding: 72px 0; color: var(--grey); text-align: center; }

/* about */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.principle { background: #fff; border-radius: 24px; padding: 40px 32px; }
.principle h3 { font-size: 24px; letter-spacing: -.025em; }
.principle p { margin-top: 12px; color: var(--grey); font-size: 17px; }
.greet { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.greet p + p { margin-top: 18px; }
.greet .sign { margin-top: 32px; font-size: 16px; color: var(--grey); }
.greet .sign b { display: block; color: var(--ink); font-size: 19px; }
.history { list-style: none; padding: 0; margin: 40px 0 0; }
.history li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--hair); font-size: 19px; }
.history li b { font-size: 28px; letter-spacing: -.03em; line-height: 1.1; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact dl { display: grid; grid-template-columns: 90px 1fr; gap: 14px 20px; margin: 36px 0 0; font-size: 17px; }
.contact dt { color: var(--grey); }
.contact dd { margin: 0; }
.map { width: 100%; aspect-ratio: 1; border: 0; border-radius: 28px; background: var(--mist); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.gallery figcaption { font-size: 14px; color: var(--grey); margin-top: 8px; }

/* footer */
.gfoot { background: var(--mist); color: var(--grey); font-size: 12.5px; line-height: 1.6; padding: 40px 0 24px; }
.gfoot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--hair); }
.gfoot h4 { margin: 0 0 8px; font-size: 12.5px; color: var(--ink); font-weight: 600; }
.gfoot ul { list-style: none; margin: 0; padding: 0; }
.gfoot li { margin-bottom: 6px; }
.gfoot a { color: var(--grey); }
.gfoot a:hover { color: var(--ink); }
.gfoot .mark { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.gfoot .mark img { width: 32px; height: 32px; }
.gfoot .legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; }

@media (max-width: 1000px) {
  .people { grid-template-columns: repeat(3, 1fr); }
  .row-pub { grid-template-columns: 60px 1fr; }
  .row-pub .j { grid-column: 2; text-align: left; margin-top: -14px; }
  .gfoot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .gnav nav { pointer-events: none; position: fixed; inset: 64px 0 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 32px; margin: 0; overflow: auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); }
  .menu-open .gnav nav { opacity: 1; visibility: visible; pointer-events: auto; }
  .gnav nav a, .gnav .dd > button { font-size: 28px; font-weight: 700; color: var(--ink); padding: 10px 0; letter-spacing: -.03em; }
  .dd-panel { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; background: none; padding: 0 0 6px 2px; min-width: 0; }
  .dd-panel a { font-size: 19px !important; font-weight: 500 !important; color: var(--ink-2) !important; padding: 6px 0 !important; }
  .gnav nav a.cta-nav { margin-top: 18px; height: 50px; padding: 0 28px; font-size: 19px; color: #fff; }
  .burger { display: block; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile.wide { grid-column: auto; display: flex; flex-direction: column; min-height: 0; padding: 40px 28px; }
  .tile.wide .art { margin-top: 32px; }
  .numbers .row { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .spot .bar { grid-template-columns: 1fr; gap: 18px; }
  .area, .pi, .cv, .mission, .greet, .contact { grid-template-columns: 1fr; gap: 40px; }
  .area:nth-of-type(even) .art { order: 0; }
  .pi .portrait, .greet .portrait { max-width: 300px; }
  .principles { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .statement, .spot, .sec, .join { padding: 88px 0; }
  .tiles-sec { padding-bottom: 88px; }
  .cv li, .history li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 40px); }
  .gnav .logo img { height: 32px; }
  .hero { padding-top: 48px; }
  .hero .brand { margin-bottom: 32px; }
  .hero .actions .btn, .join .actions .btn { flex: 1 1 100%; }
  .gait { margin-top: 48px; }
  .gait-caption span:last-child { display: none; }
  .row-pub { grid-template-columns: 1fr; gap: 4px; }
  .row-pub .j { grid-column: 1; margin-top: 0; }
  .gfoot .cols { grid-template-columns: 1fr; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fig { opacity: var(--o, 1); transform: none; transition: none; }
}

/* gait lab */
.lab { background: #000; color: #F5F5F7; padding: 112px 0 0; overflow: hidden; }
.lab .headline { color: #F5F5F7; max-width: 18ch; }
.lab .sub { color: #A1A1A6; max-width: 46ch; margin-top: 20px; }
.stage { position: relative; height: clamp(440px, 52vw, 640px); margin-top: 24px; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2)); top: 40px; width: 280px; padding: 22px 24px; border-radius: 20px; background: rgba(28, 28, 30, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: #A1A1A6; }
.hud .cap { color: #F5F5F7; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.hud dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; margin: 0; }
.hud dd { margin: 0; color: #F5F5F7; font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; min-width: 3.2ch; }
.hud dt { align-self: center; }
.phase { margin-top: 18px; }
.phase .track { position: relative; height: 6px; border-radius: 3px; background: #3A3A3C; margin: 10px 0 8px; }
.phase .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 60%; border-radius: 3px; background: linear-gradient(90deg, #FC7101, #EA2619); }
.phase-dot { position: absolute; top: -5px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.phase .lbl { display: flex; justify-content: space-between; font-size: 12px; }
.phase .now { display: flex; justify-content: space-between; color: #F5F5F7; font-weight: 600; }
.lab .note { font-size: 12.5px; color: #6E6E73; padding: 18px 0 36px; }

/* photo-ready, no illustration */
.tile { min-height: 420px; justify-content: flex-start; }
.tile.wide { display: flex; min-height: 380px; }
.tile .tile-txt { position: relative; z-index: 1; }
.tile.has-photo { background: var(--img) center / cover no-repeat; color: #fff; min-height: 560px; justify-content: flex-end; }
.tile.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .72)); }
.tile.has-photo .title { color: #fff; }
.tile.has-photo p.desc { color: rgba(255, 255, 255, .85); }
.tile.has-photo .more { color: #fff; }
.area.noimg { grid-template-columns: 1fr; }
.area.noimg .art { display: none; }
.area.noimg > div { max-width: 760px; }
.area .art { background-color: var(--mist); }
.area .art:empty:not([style]) { display: none; }
.pi.nophoto, .greet.nophoto { grid-template-columns: 1fr; }
.person.nophoto { border-top: 2px solid var(--red); padding-top: 18px; }
.person.nophoto h3 { margin-top: 0; }
@media (max-width: 860px) {
  .hud { position: relative; right: auto; top: auto; width: auto; margin: 0 20px 24px; }
  .stage { height: 420px; }
  .tile, .tile.wide { min-height: 0; }
}

.tile, .tile.wide { align-items: stretch; min-height: 0; }
.tile.wide { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.tile-studies { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.tile.wide .tile-studies { margin: 0; }
.tile.ink .tile-studies { border-color: rgba(255, 255, 255, .16); }
.tile-studies li { border-bottom: 1px solid rgba(0, 0, 0, .1); padding: 16px 0; }
.tile.ink .tile-studies li { border-color: rgba(255, 255, 255, .16); }
.tile-studies a { padding: 0; color: inherit; font-size: 15px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-studies a:hover { text-decoration: none; color: var(--red); }
.tile.ink .tile-studies a:hover { color: #FF6A3D; }
.tile-studies span { display: block; font-size: 13px; font-weight: 500; color: var(--grey); margin-bottom: 2px; }
.tile.ink .tile-studies span { color: #A1A1A6; }
.tile:not(.wide) .tile-studies { margin-top: auto; padding-top: 0; }
.tile:not(.wide) .tile-txt { margin-bottom: 40px; }
.tile.has-photo .tile-studies { display: none; }
@media (max-width: 860px) {
  .tile.wide { display: flex; flex-direction: column; gap: 0; }
  .tile.wide .tile-studies { margin-top: 32px; }
  .stage { height: auto; }
  .stage canvas { position: relative; display: block; height: 440px; }
  .hud { margin: 8px 20px 0; }
}
.stage::after { content: "3D 모델을 불러오는 중입니다"; position: absolute; left: 50%; top: 45%; transform: translateX(-50%); color: #6E6E73; font-size: 14px; transition: opacity .4s; }
#gaitlab.ready .stage::after { opacity: 0; }
#gaitlab.no-webgl .stage::after { content: "이 브라우저에서는 3D 보행 장면을 표시할 수 없습니다."; }

.wide-img { margin: 0; }
.wide-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 28px; }
.pi .portrait { background-position: center 15%; }

/* research projects */
.projects { background: var(--mist); padding: 120px 0 128px; margin-top: 24px; }
.projects > .wrap > .sub { margin-top: 20px; max-width: 40ch; }
.p-label { font-size: 28px; letter-spacing: -.03em; margin: 72px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--hair); }
.grant { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 48px 0 56px; border-bottom: 1px solid var(--hair); }
.g-period { font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: baseline; }
.g-period span { color: var(--grey); font-weight: 500; }
.grant h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.18; letter-spacing: -.03em; margin-top: 14px; }
.g-ko { margin-top: 12px; font-size: 17px; color: var(--grey); }
.g-meta, .s-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 28px 0 0; font-size: 15px; }
.g-meta dt, .s-meta dt { color: var(--grey); }
.g-meta dd, .s-meta dd { margin: 0; }
.g-total b { display: block; font-size: clamp(48px, 5.4vw, 68px); line-height: 1; letter-spacing: -.045em; font-weight: 800; font-variant-numeric: tabular-nums; }
.g-total span { display: block; margin-top: 10px; font-size: 14px; color: var(--grey); }
.g-bar { display: flex; gap: 3px; height: 10px; margin-top: 28px; border-radius: 999px; overflow: hidden; }
.g-bar i, .g-years li > i { background: var(--red); opacity: var(--o); }
.g-years { list-style: none; margin: 18px 0 0; padding: 0; }
.g-years li { display: grid; grid-template-columns: 10px 48px 130px 1fr; gap: 0 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 15px; font-variant-numeric: tabular-nums; }
.g-years li > i { width: 10px; height: 10px; border-radius: 3px; align-self: center; }
.g-years .amt { color: var(--ink); }
.g-years .o { color: var(--grey); }
.g-years .no { grid-column: 3 / -1; font-size: 13px; color: #A1A1A6; }
.g-out { display: flex; gap: 36px; margin-top: 28px; }
.g-out b { display: block; font-size: 36px; line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.g-out span { display: block; margin-top: 6px; font-size: 14px; color: var(--grey); }
.service { margin-top: 40px; background: #000; color: #F5F5F7; border-radius: 28px; padding: 64px 56px; }
.s-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: #A1A1A6; font-weight: 600; }
.s-when { display: flex; gap: 14px; align-items: center; font-variant-numeric: tabular-nums; }
.s-when span { display: inline-flex; gap: 8px; align-items: center; color: #F5F5F7; }
.s-when span i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(252, 113, 1, .22); }
.service h3 { color: #F5F5F7; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.035em; margin-top: 22px; max-width: 24ch; }
.s-ko { margin-top: 14px; color: #A1A1A6; font-size: 17px; }
.s-meta dt { color: #86868B; }
.s-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 56px; }
.s-cols h4 { margin: 0; font-size: 17px; font-weight: 700; color: #F5F5F7; padding-bottom: 14px; border-bottom: 1px solid #333336; }
.s-cols ul { list-style: none; margin: 0; padding: 0; }
.s-cols li { padding: 14px 0; border-bottom: 1px solid #333336; font-size: 16px; line-height: 1.5; color: #D2D2D7; }
@media (max-width: 860px) {
  .projects { padding: 88px 0; }
  .p-label { margin-top: 56px; }
  .grant { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 44px; }
  .g-years li { grid-template-columns: 10px 44px 1fr; }
  .g-years .o { grid-column: 3; }
  .g-years .no { grid-column: 3; }
  .service { padding: 44px 24px; border-radius: 24px; }
  .s-cols { grid-template-columns: 1fr; gap: 40px; }
}
.g-collab { font-size: 15px; font-weight: 600; color: var(--red); margin-bottom: 8px; }
.g-period em { font-style: normal; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 600; margin-left: 4px; }
.g-period em i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(252, 113, 1, .2); }

/* member update form */
.upd { max-width: 720px; margin-left: max(24px, calc((100% - var(--max)) / 2)); padding-bottom: 120px; }
.upd fieldset { border: 0; margin: 0 0 48px; padding: 0; }
.upd legend { font-size: 24px; font-weight: 700; letter-spacing: -.025em; padding: 0 0 16px; width: 100%; border-bottom: 1px solid var(--hair); margin-bottom: 24px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.f { display: block; margin-bottom: 20px; }
.f > span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.f input, .f select, .f textarea { width: 100%; min-height: 50px; border: 1.5px solid transparent; border-radius: 12px; background: var(--mist); padding: 12px 16px; font: inherit; font-size: 17px; color: var(--ink); transition: border-color .2s, background .2s; }
.f textarea { resize: vertical; }
.f select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' fill='none' stroke='%236E6E73' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.f input[type=file] { padding: 12px; font-size: 15px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.f small { display: block; margin-top: 8px; font-size: 14px; color: var(--grey); line-height: 1.5; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 8px 0 28px; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.f-err { color: var(--red); font-size: 15px; margin-bottom: 16px; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.upd-done { padding-bottom: 140px; }
.upd-done .sub { margin-top: 16px; max-width: 40ch; }
.upd-done .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .upd { margin-inline: auto; padding-bottom: 88px; }
  .f-row { grid-template-columns: 1fr; }
}

/* research 3D scenes */
.area .art.r3 { position: relative; padding: 0; background: #000; overflow: hidden; display: block; }
.area .art.r3 canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.area .art.r3.ready canvas { opacity: 1; }
.r3-hud { position: absolute; left: 20px; bottom: 18px; right: 20px; color: #F5F5F7; font-size: 13px; line-height: 1.45; pointer-events: none; max-width: 240px; padding: 14px 16px; border-radius: 14px; background: rgba(20, 20, 22, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .08); }
.r3-hud .cap { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.r3-hud dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 0; }
.r3-hud dt { color: #A1A1A6; }
.r3-hud dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.r3-hud .leg { margin: 0 0 8px; color: #A1A1A6; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.r3-hud .leg + dl { margin-top: 2px; }
.r3-hud dl + .leg { margin: 8px 0 0; }
.r3-hud .leg span { display: inline-flex; gap: 6px; align-items: center; }
.r3-hud .leg i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.r3-hud .leg i.or { background: var(--orange); }
.r3-hud .leg i.rd { background: var(--red); }
.r3-hud .leg i.wh { background: #E8E8ED; }
.r3-note { margin-top: 8px; font-size: 13px; color: var(--grey); }
@media (max-width: 860px) {
  .area .art.r3 { aspect-ratio: 4 / 5; border-radius: 24px; }
  .r3-hud { left: 12px; bottom: 12px; right: 12px; max-width: none; font-size: 12px; padding: 12px 14px; }
}

/* language switch */
.gnav .lang { display: flex; gap: 2px; margin-left: 4px; padding: 3px; border-radius: 999px; background: var(--mist); flex: none; }
.gnav .lang button { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--grey); background: none; border: 0; padding: 4px 9px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.gnav .lang button:hover { color: var(--ink); }
.gnav .lang button[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
html[lang="en"] .not-en { display: none; }
html[lang="ja"] body { font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; }
@media (max-width: 860px) {
  .gnav .lang { margin-left: auto; }
  .gnav .lang + .burger { margin-left: 6px; }
}
html[lang="ja"] body, html[lang="ja"] body * { word-break: normal; line-break: strict; overflow-wrap: break-word; }
@media (max-width: 860px) {
  /* the blurred header becomes the containing block for its fixed menu, so size the menu explicitly */
  .gnav nav { inset: auto; top: 64px; left: 0; right: 0; width: 100vw; height: calc(100vh - 64px); height: calc(100dvh - 64px); z-index: 99; box-shadow: 0 1px 0 rgba(0, 0, 0, .08) inset; }
}
.menu-open .gnav { background: #fff; }
.person .orcid { display: inline-flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.person .orcid i { font-style: normal; font-size: 9px; font-weight: 700; color: #fff; background: #A6CE39; border-radius: 50%; width: 15px; height: 15px; display: inline-grid; place-items: center; letter-spacing: -.02em; }

.collab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collab { background: #fff; border-radius: 22px; padding: 28px 24px 24px; text-align: center; }
.collab .logo { height: 130px; display: grid; place-items: center; padding: 0 12px; }
.collab .logo img { max-width: 100%; max-height: 110px; object-fit: contain; }
.collab .logo span { font-size: 15px; font-weight: 700; color: #B9B9BE; letter-spacing: -.01em; }
.collab h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.02em; margin-top: 16px; padding-top: 16px; border-top: 1px solid #EDEDF0; }
@media (max-width: 960px) { .collab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .collab-grid { gap: 12px; } .collab { padding: 20px 14px 18px; } .collab .logo { height: 80px; padding: 0 4px; } .collab .logo img { max-height: 68px; } .collab h3 { font-size: 15px; } }
a.collab { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.collab:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
a.collab:hover h3 { color: var(--red); }
.collab .ext { font-size: .8em; color: var(--red); }
.person h3 { line-height: 1.3; }
.person .role { margin-top: 2px; line-height: 1.35; }
.person .info { margin-top: 6px; line-height: 1.45; }

/* =====================================================================
   NMS Lab dark theme. Everything above is the shared layout system;
   this block re-tones it for a black, instrument-panel look.
   ===================================================================== */
:root {
  --ink: #F5F5F7;
  --ink-2: #D2D2D7;
  --grey: #8E8E93;
  --mist: #0E0E10;
  --card: #161618;
  --card-2: #1C1C1F;
  --hair: rgba(255, 255, 255, .11);
  --red: #FF7A18;          /* HbO2 orange, the lab accent */
  --red-d: #FF9447;
  --orange: #FF7A18;
  --hbr: #5B8FC7;
  --maroon: #A3202B;
}
html { background: #000; color-scheme: dark; }
body { background: #000; color: var(--ink); }
::selection { background: rgba(255, 122, 24, .35); color: #fff; }

.btn { color: #0A0A0B; }
.btn:hover { color: #0A0A0B; }
.btn.line { color: var(--ink); border-color: rgba(255, 255, 255, .28); background: transparent; }
.btn.line:hover { background: #fff; border-color: #fff; color: #0A0A0B; }
.btn.dark { background: #fff; color: #0A0A0B; border-color: #fff; }

.gnav { background: rgba(0, 0, 0, .62); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.gnav .logo img { height: 38px; }
.gnav nav a, .gnav .dd > button { color: #A1A1A6; }
.gnav nav a:hover, .gnav .dd > button:hover, .gnav nav a[aria-current="page"], .gnav .dd.on > button { color: #F5F5F7; }
.gnav nav a.cta-nav { color: #0A0A0B; }
.gnav nav a.cta-nav:hover { color: #0A0A0B; }
.dd-panel { background: rgba(28, 28, 30, .96); box-shadow: 0 16px 48px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .08); }
.dd-panel a { color: #D2D2D7; }
.dd-panel a:hover { background: rgba(255, 255, 255, .07); text-decoration: none; }
.gnav .lang { background: rgba(255, 255, 255, .08); }
.gnav .lang button[aria-current="true"] { background: #F5F5F7; color: #0A0A0B; box-shadow: none; }
.menu-open .gnav { background: #000; }
@media (max-width: 860px) { .gnav nav { background: #000; } }

a { color: var(--red); }

/* hero */
.hero { position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; align-items: center; padding: 120px 0 120px; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; top: 0; right: 0; height: 100%; width: 64%; object-fit: cover; object-position: 50% 14%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.94) 34%, rgba(0,0,0,.35) 58%, rgba(0,0,0,0) 76%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 26%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 18%); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--red); }
.hero .display { max-width: 13ch; margin-top: 22px; }
.hero .display em { font-style: normal; background: linear-gradient(92deg, #FFB067, #FF7A18 55%, #E8452C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { max-width: 36ch; margin-top: 28px; color: #A1A1A6; }
.hero .actions { margin-top: 40px; }
@media (max-width: 900px) {
  .hero { align-items: flex-end; min-height: 0; padding: 72px 0 72px; }
  .hero-img { width: 100%; height: 62%; top: 0; object-position: 50% 10%; opacity: .7; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.75) 42%, #000 62%); }
  .hero .wrap { padding-top: 46vh; }
}

/* statement */
.statement { background: #000; padding: 140px 0 120px; margin-top: 0; border-top: 1px solid rgba(255,255,255,.06); }
.statement p span { color: #6E6E73; }

/* tiles */
.tiles-sec { background: #000; }
.tile { background: var(--card); color: var(--ink); border: 1px solid rgba(255, 255, 255, .06); }
.tile.ink { background: radial-gradient(120% 140% at 0% 0%, rgba(255,122,24,.20), rgba(255,122,24,0) 46%), #0C0C0E; }
.tile.wide:not(.ink) { background: radial-gradient(120% 140% at 100% 100%, rgba(91,143,199,.20), rgba(91,143,199,0) 50%), var(--card); }
.tile .tag { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--red); margin-bottom: 14px; }
.tile:nth-child(4) .tag { color: #8DB4E2; }
.tile p.desc, .tile.ink p.desc { color: #A1A1A6; }
.tile-studies, .tile-studies li { border-color: rgba(255, 255, 255, .1) !important; }
.tile-studies span { color: #8E8E93; }
.tile-studies a:hover { color: var(--red); }

/* numbers */
.numbers { background: #000; padding: 120px 0; border-top: 1px solid rgba(255,255,255,.06); }
.numbers .row b { background: linear-gradient(180deg, #fff, #9A9AA0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers .row div:first-child b { background: linear-gradient(92deg, #FFB067, #FF7A18); -webkit-background-clip: text; background-clip: text; }
.numbers .note { margin-top: 36px; font-size: 13px; color: #6E6E73; }

/* flagship spotlight */
.spot { background: radial-gradient(80% 120% at 85% 0%, rgba(255,122,24,.16), rgba(255,122,24,0) 55%), radial-gradient(70% 100% at 0% 100%, rgba(91,143,199,.14), rgba(91,143,199,0) 55%), #08080A; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.spot .journal { color: var(--red); font-size: 14px; letter-spacing: .02em; }
.spot .headline { max-width: 18ch; }
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; padding: 32px 28px; }
.step b { display: block; font-size: 13px; color: var(--red); letter-spacing: .04em; }
.step h3 { color: #F5F5F7; font-size: 26px; letter-spacing: -.025em; margin-top: 10px; }
.step p { color: #A1A1A6; font-size: 16px; margin-top: 10px; }
.spot .fund { margin-top: 40px; font-size: 13px; color: #6E6E73; max-width: 70ch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* sections */
.sec.mist { background: var(--mist); }
.rows { border-top-color: var(--hair); }
.row-pub { border-bottom-color: var(--hair); }
.row-pub a { color: #F5F5F7; }
.scroller-ctrl button { background: rgba(255, 255, 255, .1); }
.scroller-ctrl button:hover { background: rgba(255, 255, 255, .18); }
.scroller-ctrl svg { stroke: #F5F5F7; }
.news { background: var(--card); border: 1px solid rgba(255, 255, 255, .06); }
.news h3 { color: #F5F5F7; }
.news p { color: #A1A1A6; }
.join { background: radial-gradient(60% 90% at 50% 100%, rgba(255,122,24,.14), rgba(255,122,24,0) 60%), #000; border-top: 1px solid rgba(255,255,255,.06); }

/* page heads */
.phead { padding: 120px 0 72px; }
.crumb, .crumb a { color: #6E6E73; }

/* about */
.principle { background: var(--card); border: 1px solid rgba(255, 255, 255, .06); }
.principle p { color: #A1A1A6; }
.wide-img img { aspect-ratio: 16 / 7; object-position: 50% 20%; }
.infra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.infra div { background: var(--card); border: 1px solid rgba(255, 255, 255, .06); border-radius: 24px; padding: 36px 30px; }
.infra b { display: block; font-size: 13px; color: var(--red); letter-spacing: .04em; }
.infra h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 10px; }
.infra p { color: #A1A1A6; font-size: 16px; margin-top: 10px; }
@media (max-width: 860px) { .infra { grid-template-columns: 1fr; } }

/* research */
.area { align-items: start; border-top-color: var(--hair); }
@media (min-width: 861px) { .area { grid-template-columns: 280px 1fr; } .pi { grid-template-columns: 360px 1fr; } }
@media (max-width: 860px) { .area, .pi { grid-template-columns: 1fr; } .area-num b { font-size: 56px; } }
.area-num b { display: block; font-size: clamp(64px, 8vw, 104px); line-height: .9; font-weight: 800; letter-spacing: -.05em; background: linear-gradient(180deg, #FF9447, rgba(255,122,24,.15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.area-num span { display: block; margin-top: 16px; font-size: 14px; color: #8E8E93; font-weight: 600; }
.studies li { border-top-color: var(--hair); }
.studies a { color: #F5F5F7; }

/* PI */
.portrait { background-color: var(--card); background-size: cover; background-position: center 18%; }
.pi .roles { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pi .roles li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,122,24,.12); color: #FFB067; border: 1px solid rgba(255,122,24,.25); }
.pi .meta dt { color: #8E8E93; }
.pi .meta a { color: #F5F5F7; }
.cv li { border-top-color: var(--hair); }

/* members */
.group h2 { border-bottom-color: var(--hair); }
.person .ph { background-color: var(--card); color: #48484A; }
.person h3 small { font-size: 15px; color: #8E8E93; font-weight: 500; margin-left: 6px; }

/* publications */
.ptools { background: rgba(0, 0, 0, .78); border-bottom-color: rgba(255, 255, 255, .08); }
.search input { background: var(--card); color: #F5F5F7; }
.seg { background: var(--card); }
.seg button { color: #A1A1A6; }
.seg button[aria-pressed="true"] { background: #F5F5F7; color: #0A0A0B; box-shadow: none; }

/* contact */
.map { background: var(--card); filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.9); }

/* footer */
.gfoot { background: #000; border-top: 1px solid rgba(255, 255, 255, .08); color: #6E6E73; }
.gfoot .cols { border-bottom-color: rgba(255, 255, 255, .08); }
.gfoot h4 { color: #D2D2D7; }
.gfoot a { color: #8E8E93; }
.gfoot a:hover { color: #F5F5F7; }
.gfoot .mark img { width: auto; height: 34px; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
@media (min-width: 901px) {
  .hero-img { width: 54%; object-position: 50% 14%; }
  .hero .display { font-size: clamp(48px, 5.4vw, 80px); max-width: 11ch; }
  .hero::after { background:
    linear-gradient(90deg, #000 0%, #000 44%, rgba(0,0,0,.55) 56%, rgba(0,0,0,0) 72%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 26%); }
}

/* funded projects */
.projects { background: #000; border-top: 1px solid rgba(255,255,255,.06); margin-top: 0; }
.projects .sub { color: #A1A1A6; }
.pj-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pj-tag { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--red); }
.role { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #D2D2D7; white-space: nowrap; }
.role.r-pi, .role.r-lead { background: rgba(255,122,24,.14); border-color: rgba(255,122,24,.35); color: #FFB067; }
.live { display: inline-flex; gap: 7px; align-items: center; font-style: normal; font-size: 12px; font-weight: 600; color: #F5F5F7; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 4px rgba(52,199,89,.2); }
.pj-flag { margin-top: 56px; border-radius: 28px; padding: 56px 52px; border: 1px solid rgba(255,122,24,.25);
  background: radial-gradient(90% 140% at 100% 0%, rgba(255,122,24,.22), rgba(255,122,24,0) 55%), radial-gradient(70% 120% at 0% 100%, rgba(91,143,199,.16), rgba(91,143,199,0) 55%), #0C0C0E; }
.pj-flag h3 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.03em; margin-top: 20px; max-width: 34ch; color: #F5F5F7; }
.pj-flag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.pj-flag-row b { display: block; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; color: #F5F5F7; font-variant-numeric: tabular-nums; }
.pj-flag-row div:first-child b { background: linear-gradient(92deg, #FFB067, #FF7A18); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pj-flag-row span { display: block; margin-top: 10px; font-size: 14px; color: #8E8E93; }
.pj-list { list-style: none; margin: 0; padding: 0; }
.pj-row { display: grid; grid-template-columns: 190px 1fr 210px; gap: 28px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--hair); }
.pj-when { font-size: 15px; font-weight: 600; color: #D2D2D7; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pj-main h4 { margin: 0; font-size: 19px; line-height: 1.4; letter-spacing: -.015em; font-weight: 700; color: #F5F5F7; }
.pj-main p { margin: 8px 0 0; font-size: 15px; color: #8E8E93; }
.pj-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pj-side b { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #F5F5F7; }
.pj-svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.pj-svc { background: var(--card); border: 1px solid rgba(255,255,255,.07); border-radius: 28px; padding: 44px 40px; }
.pj-svc h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.22; letter-spacing: -.03em; margin-top: 18px; color: #F5F5F7; }
.pj-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 24px 0 0; font-size: 15px; }
.pj-meta dt { color: #8E8E93; }
.pj-meta dd { margin: 0; color: #D2D2D7; }
.pj-scope { list-style: none; margin: 28px 0 0; padding: 0; }
.pj-scope li { padding: 12px 0 12px 22px; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.5; color: #A1A1A6; position: relative; }
.pj-scope li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 2px; background: var(--red); }
@media (max-width: 860px) {
  .pj-flag { padding: 36px 24px; border-radius: 24px; }
  .pj-flag-row { grid-template-columns: 1fr; gap: 20px; }
  .pj-row { grid-template-columns: 1fr; gap: 12px; }
  .pj-when { flex-direction: row; align-items: center; }
  .pj-side { flex-direction: row; align-items: center; justify-content: space-between; }
  .pj-svcs { grid-template-columns: 1fr; }
  .pj-svc { padding: 32px 24px; border-radius: 24px; }
}

/* =====================================================================
   NMS identity layer: instrument-panel look, distinct from the shared
   layout (grotesk display face, mono labels, sharp corners, grid field).
   ===================================================================== */
:root { --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; --disp: "Space Grotesk", "Pretendard Variable", "Pretendard", sans-serif; --r: 6px; }
body { background-color: #000; }
body::before { content: ""; position: fixed; inset: 0; z-index: -10; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%); }
.display, .headline, .title, .tile h3, .step h3, .infra h3, .principle h3, .pj-flag h3, .pj-svc h3, .numbers .row b, .pj-flag-row b, .area-num b, .person h3 { font-family: var(--disp); }
.display { letter-spacing: -.035em; font-weight: 700; }
.headline { letter-spacing: -.03em; }

/* mono labels */
.eyebrow, .tile .tag, .journal, .step b, .infra b, .crumb, .pj-tag, .role, .live, .numbers .row span, .row-pub .y, .row-pub .j, .g-period, .p-label, .area-num span, .pj-when, .n-when, .gfoot h4, .legal, .seg button, .ycount, .person .role, .pi .meta dt, .cv li b, .studies span, .tile-studies span, .scroller-ctrl, .numbers .note, .fund {
  font-family: var(--mono); letter-spacing: .02em; }
.eyebrow, .tile .tag, .journal, .step b, .infra b, .pj-tag, .gfoot h4, .p-label { text-transform: uppercase; font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.p-label { font-size: 13px; color: #8E8E93; }

/* section index: "/ 01" over each section headline */
main { counter-reset: sec; }

.join .headline::before { text-align: center; }

/* nav */
.gnav { background: rgba(0,0,0,.72); }
.gnav nav a, .gnav .dd > button { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.gnav nav a.cta-nav { border-radius: var(--r); height: 30px; }
.gnav .lang, .gnav .lang button { border-radius: var(--r); font-family: var(--mono); }
.dd-panel, .dd-panel a { border-radius: var(--r); }

/* buttons */
.btn { border-radius: var(--r); font-family: var(--mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; height: 48px; }
.btn.sm { height: 32px; font-size: 12px; }
.more { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

/* hero HUD */
.fig-hud { position: absolute; top: 0; right: 0; width: 54%; height: 100%; z-index: 0; pointer-events: none; }
.fig-hud::before { content: ""; position: absolute; inset: 96px 40px 64px 18%; border: 1px solid rgba(255,255,255,.08);
  -webkit-mask: linear-gradient(#000 0 0) top left / 28px 28px no-repeat, linear-gradient(#000 0 0) top right / 28px 28px no-repeat, linear-gradient(#000 0 0) bottom left / 28px 28px no-repeat, linear-gradient(#000 0 0) bottom right / 28px 28px no-repeat;
          mask: linear-gradient(#000 0 0) top left / 28px 28px no-repeat, linear-gradient(#000 0 0) top right / 28px 28px no-repeat, linear-gradient(#000 0 0) bottom left / 28px 28px no-repeat, linear-gradient(#000 0 0) bottom right / 28px 28px no-repeat;
  border-color: rgba(255,122,24,.55); }
.fig-hud span { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.55); }
.hud-tl { top: 72px; left: 18%; }
.hud-br { bottom: 40px; right: 40px; }
@media (max-width: 900px) { .fig-hud { display: none; } }

/* statement: left rule instead of plain block */
.statement .wrap { border-left: 1px solid rgba(255,122,24,.5); padding-left: 32px; }
@media (max-width: 860px) { .statement .wrap { padding-left: 20px; margin-left: 16px; } }

/* research tiles: equal 2x2 instrument panels */
.tiles-sec { padding: 0 0 120px; }
.tiles { grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; }
.tile, .tile.wide, .tile.ink, .tile.wide:not(.ink) { grid-column: auto; display: flex; flex-direction: column; min-height: 0; border-radius: 0; border: 0; padding: 44px 40px; background: #050506; gap: 0; }
.tile:hover { background: #0B0B0D; }
.tile .title { max-width: 18ch; font-size: clamp(26px, 2.6vw, 34px); }
.tile p.desc { font-size: 16px; line-height: 1.6; }
.tile-studies { margin-top: 32px !important; }

.tiles { counter-reset: tile; } .tile { counter-increment: tile; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile, .tile.wide { padding: 32px 24px; } }

/* flagship */
.spot { background: #050506; }
.step, .infra div, .principle, .pj-svc, .pj-flag, .news, .search input, .seg { border-radius: var(--r); }
.step { background: transparent; border: 1px solid rgba(255,255,255,.1); border-top: 2px solid var(--red); }

/* numbers: readout grid */
.numbers .row { gap: 0; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; }
.numbers .row > div { padding: 36px 32px; border-right: 1px solid rgba(255,255,255,.1); }
.numbers .row > div:last-child { border-right: 0; }
.numbers .row span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 860px) { .numbers .row { grid-template-columns: 1fr 1fr; } .numbers .row > div:nth-child(2) { border-right: 0; } .numbers .row > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); } }

/* publications rows */
.row-pub .y { color: var(--red); }

/* news timeline */
.news-sec { background: #000; }
.nlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.nrow { display: grid; grid-template-columns: 180px 1fr 170px; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.n-when { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.n-when .d { font-size: 14px; color: #F5F5F7; font-variant-numeric: tabular-nums; }
.n-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--red); border: 1px solid rgba(255,122,24,.4); padding: 3px 8px; border-radius: 4px; }
.n-body h3 { margin: 0; font-family: var(--disp); font-size: 22px; line-height: 1.3; letter-spacing: -.02em; color: #F5F5F7; }
.n-body p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: #A1A1A6; max-width: 70ch; }
.n-go { text-align: right; padding-top: 4px; }
.nlist .empty { padding: 32px 0; color: #8E8E93; }
@media (max-width: 860px) { .nrow { grid-template-columns: 1fr; gap: 12px; } .n-when { flex-direction: row; align-items: center; } .n-go { text-align: left; } }

/* research areas, PI, members */
.area-num b { font-weight: 700; }
.portrait, .person .ph { border-radius: var(--r); }
.portrait { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 12px 12px 0 -1px rgba(255,122,24,.35); }
.pi .roles li { border-radius: 4px; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.wide-img img { border-radius: var(--r); }

/* projects */
.pj-flag { border-radius: var(--r); background: #08080A; border-left: 3px solid var(--red); }
.role { border-radius: 4px; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }

/* join + footer */
.join { background: #000; }
.gfoot .legal { font-size: 12px; }

.gnav .dd { display: flex; align-items: center; }
.gnav .dd > button { line-height: 1.2; }

/* research areas with instrument visualizations */
.area { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 88px 0; }
.area.flip .area-txt { order: 2; }
.area-tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin: 0 0 14px; }
.area .title { max-width: 16ch; }
.viz { margin: 0; }
.viz canvas { display: block; width: 100%; aspect-ratio: 5 / 4; background: #050506; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); }
.viz figcaption { margin-top: 12px; font-size: 14px; line-height: 1.55; color: #8E8E93; }
.viz-note { font-family: var(--mono); font-size: 12px; color: #6E6E73; margin: 8px 0 0; padding-bottom: 40px; }
@media (max-width: 860px) {
  .area { grid-template-columns: 1fr; gap: 28px; padding: 64px 0; }
  .area.flip .area-txt { order: 0; }
  .viz canvas { aspect-ratio: 4 / 5; }
}

/* 3D research scenes */
.v3-stage { position: relative; aspect-ratio: 5 / 4; background: #050506; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; }
.v3-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; aspect-ratio: auto; }
.v3-hud { position: absolute; top: 16px; left: 18px; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.6); pointer-events: none; }
.v3-hud b { font-weight: 500; color: rgba(255,255,255,.9); }
.v3-hud .on { color: var(--red); }
.v3-c { position: absolute; width: 18px; height: 18px; border-color: rgba(255,122,24,.6); border-style: solid; border-width: 0; pointer-events: none; }
.v3-c.tl { top: 8px; left: 8px; border-top-width: 1px; border-left-width: 1px; }
.v3-c.tr { top: 8px; right: 8px; border-top-width: 1px; border-right-width: 1px; }
.v3-c.bl { bottom: 8px; left: 8px; border-bottom-width: 1px; border-left-width: 1px; }
.v3-c.br { bottom: 8px; right: 8px; border-bottom-width: 1px; border-right-width: 1px; }
@media (max-width: 860px) { .v3-stage { aspect-ratio: 4 / 5; } }

/* PI: developed tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; }
.tool { background: #050506; padding: 32px 28px 30px; display: flex; flex-direction: column; min-height: 240px; }
.tool:hover { background: #0B0B0D; }
.tool-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tool-kind { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8E8E93; }
.tool-st { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2); color: #D2D2D7; white-space: nowrap; }
.st-live { color: #34C759; border-color: rgba(52,199,89,.45); }
.st-validated { color: #FFB067; border-color: rgba(255,122,24,.5); }
.st-dev { color: #8DB4E2; border-color: rgba(111,160,216,.45); }
.tool h3 { margin: 22px 0 0; font-family: var(--disp); font-size: 22px; letter-spacing: -.02em; color: #F5F5F7; }
.tool p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: #A1A1A6; }
.tool .more { margin-top: auto; padding-top: 18px; }
@media (max-width: 1000px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tools { grid-template-columns: 1fr; } }
.tool:last-child:nth-child(3n+2) { grid-column: span 2; }
@media (max-width: 640px) { .tool:last-child:nth-child(3n+2) { grid-column: auto; } }

/* hero: smaller, contained brain image that fades into the page */
@media (min-width: 901px) {
  .hero-img { top: 50%; right: max(-2vw, calc((100vw - 1640px) / 2)); bottom: auto; width: min(62vw, 1000px); height: auto; aspect-ratio: 3 / 2; transform: translateY(-47%); object-fit: contain; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 96%); mask-image: linear-gradient(180deg, #000 58%, transparent 96%); }
  .hero::before { content: ""; position: absolute; z-index: -3; pointer-events: none; top: 50%; right: max(-2vw, calc((100vw - 1640px) / 2)); width: min(62vw, 1000px); aspect-ratio: 3 / 2; transform: translateY(-56%);
    background: radial-gradient(38% 42% at 50% 38%, rgba(255,122,24,.16), rgba(255,122,24,0) 70%); }
  .hero::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 18%); }
}
