/* U03 Vision AI Lab — 원형 E(미니멀 타이포형): 흰 헤더(얇은 선) + 큰 한글 제목 + 넓은 여백 + 풀폭 연구 사진 1장
   타이포: Pretendard + Inter Tight(영문 라벨·숫자·연도만) / 컬러: 잉크 #141414 + 벽돌색 포인트 #8e3b2c 1개 */
:root {
  --ailo-accent: #8e3b2c;
  --ailo-accent-ink: #fff;
  --ailo-fg: #141414;
  --ailo-muted: #555;
  --ailo-line: #e4e2dd;
  --ailo-bg: #fff;
  --ailo-header-h: 84px;
  --u03-tint: #f6f5f2;
  --u03-en: "Inter Tight", var(--ailo-font);
}
main img { height: auto; }
body { font-size: 17px; color: var(--ailo-fg); }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--ailo-gutter); }
.meta { font-family: var(--u03-en); font-size: 14px; font-weight: 500; color: var(--ailo-muted); letter-spacing: .01em; }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 100; height: var(--ailo-header-h); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ailo-line); }
.hd.is-scrolled { box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .12); }
.hd__in { height: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--ailo-gutter); display: flex; align-items: center; gap: 28px; }
.hd__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.hd__eye { position: relative; width: 30px; height: 30px; border: 1px solid var(--ailo-fg); border-radius: 50%; }
.hd__eye::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--ailo-accent); }
.hd__name { display: grid; line-height: 1.2; }
.hd__name b { font-family: var(--u03-en); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.hd__name small { font-size: 14px; color: var(--ailo-muted); }
.hd__nav { display: flex; gap: 4px; }
.hd__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 17px; font-weight: 600; position: relative; }
.hd__nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ailo-ease); }
.hd__nav a:hover::after { transform: scaleX(1); }
.hd__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ailo-fg); color: #fff; font-size: 15px; font-weight: 700; }
.hd__cta:hover { background: var(--ailo-accent); color: #fff; }

.mnav { background: #fff; padding: calc(var(--ailo-header-h) + 16px) var(--ailo-gutter) 40px; }
.mnav__in { display: grid; }
.mnav__in a { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--ailo-line); font-size: 22px; font-weight: 700; }
.mnav__in a span { font-family: var(--u03-en); font-size: 14px; color: var(--ailo-accent); }
.mnav__foot { margin-top: 24px; font-size: 15px; color: var(--ailo-muted); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(72px, 9vw, 140px); }
.hero__en { font-family: var(--u03-en); font-size: 17px; font-weight: 600; color: var(--ailo-accent); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero__en span { color: var(--ailo-muted); font-weight: 500; font-size: 15px; }
.hero__title { margin-top: 28px; font-size: clamp(40px, 5.4vw + 8px, 96px); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.hero__title em { font-style: normal; color: var(--ailo-accent); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin: clamp(32px, 4vw, 56px) 0 clamp(48px, 5vw, 80px); padding-top: 28px; border-top: 1px solid var(--ailo-line); }
.hero__ko { max-width: 34em; font-size: clamp(17px, .4vw + 15px, 20px); line-height: 1.75; color: #333; }
.hero__link { display: inline-flex; gap: 8px; min-height: 44px; align-items: center; font-weight: 700; border-bottom: 1px solid currentColor; }
.hero__link:hover { color: var(--ailo-accent); }
.hero__fig { position: relative; margin: 0; }
.hero__fig img { width: 100%; height: clamp(320px, 42vw, 640px); object-fit: cover; filter: grayscale(1) contrast(1.05); background: #2a2a2a; }
.hero__fig figcaption { padding-top: 14px; font-family: var(--u03-en); font-size: 14px; color: var(--ailo-muted); }
.box { position: absolute; border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(142, 59, 44, .9); }
.box i { position: absolute; left: -1px; bottom: 100%; background: var(--ailo-accent); color: #fff; font-style: normal; font-family: var(--u03-en); font-size: 13px; font-weight: 600; padding: 2px 8px; white-space: nowrap; }
.box--1 { left: 16%; top: 22%; width: 14%; height: 58%; }
.box--2 { left: 42%; top: 48%; width: 22%; height: 34%; }
.box--3 { left: 76%; top: 16%; width: 10%; height: 20%; }

/* ---------- 바로가기 ---------- */
.quick { border-bottom: 1px solid var(--ailo-line); margin-top: clamp(40px, 4vw, 64px); }
.quick__in { display: grid; grid-template-columns: repeat(5, 1fr); }
.quick a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 76px; padding: 0 20px; border-left: 1px solid var(--ailo-line); font-size: 17px; font-weight: 700; transition: background-color .2s, color .2s; }
.quick a:first-child { border-left: 0; padding-left: 0; }
.quick a i { color: var(--ailo-accent); }
.quick a:hover { color: var(--ailo-accent); }

/* ---------- 섹션 공통 ---------- */
.sec { padding: clamp(80px, 8vw, 136px) 0; }
.sec--tint { background: var(--u03-tint); }
.sec__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.sec__label { display: grid; gap: 4px; align-content: start; font-family: var(--u03-en); padding-top: 12px; border-top: 1px solid var(--ailo-fg); }
.sec__label span:first-child { font-size: 15px; font-weight: 700; color: var(--ailo-accent); }
.sec__label span:last-child { font-size: 15px; font-weight: 600; }
.sec__title { font-size: clamp(30px, 2vw + 18px, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; margin-bottom: clamp(28px, 3vw, 48px); }
.sec__title em { font-style: normal; color: var(--ailo-accent); }
.sec__title--sm { font-size: 26px; margin-bottom: 20px; }

/* About */
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.about__cols p { font-size: 17px; line-height: 1.8; color: #333; }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 4vw, 64px) 0 0; border-top: 1px solid var(--ailo-line); }
.figs div { padding: 24px 20px 0 0; }
.figs dt { font-size: 15px; font-weight: 600; color: var(--ailo-muted); }
.figs dd { margin: 6px 0 0; font-family: var(--u03-en); font-size: clamp(40px, 3vw + 12px, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }

/* Research */
.themes { border-top: 1px solid var(--ailo-fg); }
.themes li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 220px; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--ailo-line); }
.themes__n { font-family: var(--u03-en); font-size: 28px; font-weight: 600; color: var(--ailo-accent); }
.themes h3 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.themes p { font-size: 17px; line-height: 1.7; color: #444; }
.themes__k { text-align: right; }

/* Projects */
.proj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj__img { overflow: hidden; margin-bottom: 18px; }
.proj__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); transition: filter .4s, transform .6s var(--ailo-ease); }
.proj__item:hover .proj__img img { filter: none; transform: scale(1.04); }
.proj__item h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 8px; }
.proj__item > p:last-child { font-size: 16px; line-height: 1.7; color: #444; }

/* Publications */
.pub__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pub__head .sec__title { margin-bottom: 20px; }
.pub__filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.pub__filter button { min-height: 40px; padding: 0 18px; border: 1px solid var(--ailo-line); border-radius: 999px; background: #fff; font-family: var(--u03-en); font-size: 15px; font-weight: 600; }
.pub__filter button.is-on { background: var(--ailo-fg); color: #fff; border-color: var(--ailo-fg); }
.pubs { border-top: 1px solid var(--ailo-fg); }
.pub { display: grid; grid-template-columns: 72px minmax(0, 1fr) 200px; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--ailo-line); }
.pub[hidden] { display: none; }
.pub__yr { font-family: var(--u03-en); font-size: 17px; font-weight: 700; color: var(--ailo-accent); }
.pub.is-cont .pub__yr { visibility: hidden; }
.pub__t { font-size: 18px; font-weight: 700; line-height: 1.45; }
.pub__a { margin-top: 6px; font-family: var(--u03-en); font-size: 15px; color: #444; }
.pub__a u { text-underline-offset: 3px; }
.pub__ko { margin-top: 6px; font-size: 15px; color: var(--ailo-muted); }
.pub__side { display: grid; gap: 10px; justify-items: end; align-content: start; }
.venue { font-family: var(--u03-en); font-size: 14px; font-weight: 700; padding: 3px 10px; border: 1px solid var(--ailo-line); border-radius: 3px; text-align: right; }
.venue--top { border-color: var(--ailo-accent); color: var(--ailo-accent); }
.pub__links { display: flex; gap: 12px; font-family: var(--u03-en); font-size: 14px; font-weight: 600; }
.pub__links a, .pub__links button { border: 0; padding: 0; background: none; border-bottom: 1px solid currentColor; }
.pub__links a:hover, .pub__links button:hover { color: var(--ailo-accent); }
.pub__note { margin-top: 18px; }
.bib-pre { text-align: left; font-size: 13px; background: #f4f4f4; padding: 14px; white-space: pre-wrap; }

/* Members */
.pi { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--ailo-line); }
.pi__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); background: #ddd; }
.pi h3 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 14px; }
.pi h3 span { font-family: var(--u03-en); font-size: 18px; font-weight: 500; color: var(--ailo-muted); margin-left: 8px; }
.pi__txt > p:not(.meta) { font-size: 17px; line-height: 1.8; color: #333; max-width: 40em; }
.pi__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; }
.mgroup { padding-top: 40px; }
.mgroup__t { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.mgroup__t .meta { margin-left: 8px; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.people--sm { grid-template-columns: repeat(5, 1fr); }
.people li { display: grid; justify-items: start; gap: 4px; }
.people img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; filter: grayscale(1); margin-bottom: 10px; background: #ddd; }
.people b { font-size: 18px; }
.people span { font-size: 15px; color: var(--ailo-muted); }
.alumni { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--ailo-line); }
.alumni li { display: grid; grid-template-columns: 5em 7em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ailo-line); font-size: 16px; align-items: baseline; }

/* News */
.news__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 4vw, 64px); }
.log { border-top: 1px solid var(--ailo-fg); }
.log li { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ailo-line); font-size: 17px; }
.log time { font-family: var(--u03-en); font-size: 15px; font-weight: 600; color: var(--ailo-accent); padding-top: 2px; }
.log b { font-weight: 700; }
.sched { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ailo-fg); }
.sched th, .sched td { padding: 16px 0; border-bottom: 1px solid var(--ailo-line); text-align: left; font-size: 16px; vertical-align: top; }
.sched th { width: 7.5em; font-family: var(--u03-en); font-weight: 600; font-size: 15px; }
.sched .is-due th, .sched .is-due td { color: var(--ailo-accent); font-weight: 700; }

/* Fund */
.fund { border-top: 1px solid var(--ailo-line); border-bottom: 1px solid var(--ailo-line); }
.fund__in { display: flex; align-items: center; gap: 32px; min-height: 96px; flex-wrap: wrap; padding-block: 20px; }
.fund ul { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.fund li { font-size: 18px; font-weight: 800; color: #8a8a8a; letter-spacing: -.02em; }

/* Join */
.join { background: #151515; color: #fff; }
.join .sec__label { border-color: #fff; }
.join .sec__label span:first-child { color: #d9a597; }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.join__title { font-size: clamp(34px, 2.6vw + 16px, 60px); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; }
.join__title em { font-style: normal; color: #d9a597; }
.join__lead { margin-top: 24px; font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.join__req { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.join__req li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 16px; }
.join__req li::before { content: "—"; margin-right: 12px; color: #d9a597; }
.jform { display: grid; gap: 16px; align-content: start; }
.jform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jform__f { display: grid; gap: 6px; }
.jform__f span { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.jform input, .jform select, .jform textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; }
.jform select option { color: #111; }
.jform input:focus, .jform select:focus, .jform textarea:focus { outline: none; border-color: #fff; }
.jform__agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, .72); }
.jform__agree input { width: auto; margin-top: 4px; }
.jform__btn { min-height: 54px; border: 0; border-radius: 999px; background: #fff; color: #111; font-size: 16px; font-weight: 700; }
.jform__btn:hover { background: #d9a597; }
.join :focus-visible { outline-color: #fff; }

/* Footer */
.ft { background: #0e0e0e; color: #a9a9a9; padding: 40px 0; font-size: 14px; border-top: 1px solid #262626; }
.ft__in { display: grid; gap: 8px; }
.ft__in b { color: #fff; }
.ft__links { display: flex; gap: 20px; margin-top: 8px; }
.ft__links a:hover, .ft__links strong { color: #fff; }
.ft__copy { margin-top: 8px; font-size: 13px; color: #7d7d7d; }

/* ---------- 반응형 ---------- */
@media (max-width: 1199.98px) {
  .sec__grid { grid-template-columns: 1fr; }
  .sec__label { grid-auto-flow: column; justify-content: start; gap: 12px; border-top: 0; padding-top: 0; }
  .pub { grid-template-columns: 60px minmax(0, 1fr) 170px; }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 68px; }
  .hd__nav, .hd__cta, .hd .ailo-sitemap-btn { display: none; }
  .quick__in { grid-template-columns: repeat(3, 1fr); }
  .quick a:nth-child(4) { border-left: 0; padding-left: 0; }
  .quick a:nth-child(n+4) { border-top: 1px solid var(--ailo-line); }
  .themes li { grid-template-columns: 48px minmax(0, 1fr); }
  .themes__k { grid-column: 2; text-align: left; }
  .proj { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: repeat(4, 1fr); }
  .people--sm { grid-template-columns: repeat(3, 1fr); }
  .news__grid, .join__grid { grid-template-columns: 1fr; }
  .pub { grid-template-columns: 52px minmax(0, 1fr); }
  .pub__side { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 16px; }
  .alumni { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .sec { padding: 68px 0; }
  .hd__name small { display: none; }
  .hero__fig img { height: 300px; }
  .box--3 { display: none; }
  .quick__in { grid-template-columns: 1fr 1fr; }
  .quick a, .quick a:nth-child(4) { border-left: 0; padding-left: 0; min-height: 60px; font-size: 16px; }
  .quick a:nth-child(even) { border-left: 1px solid var(--ailo-line); padding-left: 16px; }
  .quick a:nth-child(n+3) { border-top: 1px solid var(--ailo-line); }
  .about__cols, .proj { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr 1fr; }
  .pi { grid-template-columns: 1fr; }
  .pi__img img { max-width: 220px; }
  .people, .people--sm { grid-template-columns: 1fr 1fr; }
  .pub { grid-template-columns: 1fr; gap: 8px; }
  .pub__side { grid-column: auto; }
  .pub.is-cont .pub__yr { display: none; }
  .alumni li { grid-template-columns: 4.5em 1fr; }
  .alumni li span:last-child { grid-column: 2; }
  .log li { grid-template-columns: 1fr; gap: 4px; }
  .jform__row { grid-template-columns: 1fr; }
}
