
/* ============================================================
   VAI Lab Professional Preview
   Static, GitHub Pages-ready HTML/CSS/JS package
   ============================================================ */
:root {
  --ink: #071421;
  --ink-2: #0d1f34;
  --navy: #102a43;
  --blue: #2f80ed;
  --aqua: #4de5d4;
  --gold: #d9b96e;
  --gold-2: #f4db9c;
  --paper: #ffffff;
  --surface: #f5f7fb;
  --surface-2: #eef3f8;
  --text: #18283a;
  --muted: #66768a;
  --soft: #8da1b6;
  --line: #dfe7ef;
  --line-dark: rgba(255,255,255,.14);
  --shadow-sm: 0 10px 28px rgba(6, 20, 34, .08);
  --shadow-md: 0 24px 70px rgba(6, 20, 34, .14);
  --shadow-dark: 0 32px 100px rgba(0,0,0,.28);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max: 1180px;
  --nav-h: 76px;
  --font-sans: Inter, "Noto Sans KR", "Apple SD Gothic Neo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Times New Roman", Georgia, serif;
  /* 확대 팝업 배율: 3을 4로 바꾸면 클릭 확대 이미지가 4배 기준으로 커집니다. */
  --image-popup-scale: 3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--surface);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img, svg { max-width: 100%; display: block; }
p { margin: 0; }
strong { color: var(--ink); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 9999;
  background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 999px; font-weight: 800;
}
.skip-link:focus { top: 16px; }
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--nav-h);
  background: rgba(7, 20, 33, .94);
  border-bottom: 1px solid rgba(217,185,110,.22);
  backdrop-filter: saturate(1.4) blur(18px);
}
.nav-shell {
  width: min(100% - 48px, 1280px); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 280px; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; filter: drop-shadow(0 12px 22px rgba(0,0,0,.24)); }
.brand-copy { display: grid; line-height: 1.16; }
.brand-copy strong { color: #fff; font-size: 16px; letter-spacing: -.01em; }
.brand-copy small { color: rgba(255,255,255,.52); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; margin-top: 3px; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav > ul > li > a {
  display: flex; align-items: center; min-height: 42px; padding: 0 14px;
  color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
  border-radius: 999px; transition: background .16s ease, color .16s ease;
}
.primary-nav > ul > li > a.active,
.primary-nav > ul > li > a:hover { color: #fff; background: rgba(255,255,255,.08); }
.primary-nav > ul > li > a.active { box-shadow: inset 0 0 0 1px rgba(217,185,110,.28); color: var(--gold-2); }
.has-menu > a::after { content: ""; width: 6px; height: 6px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg); margin-left: 8px; margin-top: -3px; opacity: .72; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 0; width: 218px; list-style: none; padding: 10px; margin: 0;
  background: rgba(255,255,255,.98); border: 1px solid rgba(221,230,239,.95); border-radius: 16px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; backdrop-filter: blur(18px);
}
.dropdown-menu.wide { width: 246px; }
.dropdown-menu::before { content: ""; position: absolute; left: 24px; top: -7px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.has-menu:hover .dropdown-menu,
.has-menu:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 13px; font-weight: 650; }
.dropdown-menu a:hover { background: var(--surface-2); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); border-radius: 14px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 5px auto; border-radius: 99px; }
.hero-stage {
  position: relative; overflow: hidden; min-height: calc(100vh - var(--nav-h));
  background:
    radial-gradient(circle at 16% 20%, rgba(77,229,212,.18), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(217,185,110,.18), transparent 32%),
    linear-gradient(135deg, #071421 0%, #0a2036 48%, #123d54 100%);
  color: #fff;
}
.hero-stage::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.048) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), transparent 92%);
}
.hero-stage::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(to bottom, transparent, var(--surface));
}
.hero-inner { position: relative; z-index: 1; width: min(100% - 48px, 1280px); margin-inline: auto; padding: 86px 0 114px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr); gap: 62px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-2); font-size: 11px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .9; }
.hero-title { margin: 18px 0 22px; font-size: clamp(46px, 6vw, 84px); line-height: .96; letter-spacing: -.06em; color: #fff; }
.hero-title span { display: block; color: transparent; background: linear-gradient(90deg, #fff, var(--aqua) 42%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 680px; color: rgba(255,255,255,.78); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.78; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 850; font-size: 13.5px; border: 1px solid transparent; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), #f3d88c); color: var(--ink); box-shadow: 0 14px 30px rgba(217,185,110,.22); }
.btn-primary:hover { color: var(--ink); box-shadow: 0 18px 44px rgba(217,185,110,.32); }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; }
.hero-metrics { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; max-width: 760px; }
.metric-card { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); border-radius: 20px; padding: 16px 15px; backdrop-filter: blur(14px); }
.metric-card strong { display: block; color: #fff; font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.metric-card span { display: block; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.hero-visual { position: relative; min-height: 560px; }
.visual-frame { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 36px; background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: var(--shadow-dark); backdrop-filter: blur(18px); overflow: hidden; }
.visual-frame::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.10); border-radius: 26px; pointer-events: none; }
.hero-graphic { position: absolute; inset: 38px 28px 116px; width: calc(100% - 56px); height: auto; }
.float-card { position: absolute; min-width: 180px; border-radius: 18px; border: 1px solid rgba(255,255,255,.16); background: rgba(6,20,34,.66); box-shadow: 0 18px 50px rgba(0,0,0,.22); padding: 14px 16px; backdrop-filter: blur(16px); }
.float-card strong { color: #fff; display: block; font-size: 13px; }
.float-card span { color: rgba(255,255,255,.56); font-size: 11.5px; }
.float-card.one { right: -22px; top: 86px; }
.float-card.two { left: -28px; bottom: 138px; }
.float-card.three { right: 42px; bottom: 52px; }
.section { padding: 92px 0; position: relative; }
.section.white { background: var(--paper); }
.section.soft { background: var(--surface); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-kicker { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.section h2, .section-title { margin: 0; color: var(--ink); font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -.055em; }
.dark .section-title, .dark .section h2 { color: #fff; }
.section-desc { color: var(--muted); max-width: 760px; font-size: 15.5px; line-height: 1.78; margin-top: 12px; }
.dark .section-desc { color: rgba(255,255,255,.64); }
.rule { width: 48px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--aqua)); margin-top: 18px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 850; font-size: 13px; }
.link-more:hover { color: var(--blue); }
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.research-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.research-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(47,128,237,.28); }
.research-card-visual { height: 190px; background: linear-gradient(135deg, #eef5fb, #e9f8f6); border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 18px; }
.research-card-visual img { width: 100%; height: 100%; object-fit: contain; }
.research-card-body { padding: 24px; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.research-card h3 { margin: 14px 0 10px; color: var(--ink); font-size: 20px; line-height: 1.22; letter-spacing: -.03em; }
.research-card p { color: var(--muted); font-size: 14px; }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.12); box-shadow: var(--shadow-dark); }
.pipeline-step { padding: 28px; min-height: 210px; background: rgba(255,255,255,.06); }
.pipeline-step span { color: var(--gold-2); font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.pipeline-step h3 { margin: 18px 0 10px; color: #fff; font-size: 20px; line-height: 1.2; letter-spacing: -.03em; }
.pipeline-step p { color: rgba(255,255,255,.62); font-size: 13.5px; }
.publication-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pub-row { display: grid; grid-template-columns: 126px 1fr; gap: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.64); transition: background .12s ease; }
.pub-row:hover { background: #fff; }
.pub-date { padding: 22px 20px 22px 0; border-right: 1px solid var(--line); }
.pub-date strong { display: block; color: var(--ink); font-size: 28px; line-height: 1; letter-spacing: -.05em; }
.pub-date span { display: block; color: var(--muted); margin-top: 8px; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pub-content { padding: 22px 0 22px 26px; }
.pub-kicker { color: var(--blue); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 5px; }
.pub-content h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.pub-content p { color: var(--muted); font-size: 13.8px; margin-top: 4px; }
.pub-content .authors { color: var(--text); }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 112px 1fr; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.72); }
.tl-meta { padding: 22px 20px 22px 0; border-right: 1px solid var(--line); }
.tl-meta strong { display: block; color: var(--ink); font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.tl-meta span { display: block; color: var(--muted); margin-top: 6px; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.tl-body { padding: 22px 0 22px 26px; }
.badge { display: inline-flex; margin-bottom: 9px; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.badge.paper { color: #0d4b88; background: #dbeafe; }
.badge.award { color: #76520a; background: #f7e7bd; }
.badge.lab { color: #066056; background: #c9f7ef; }
.tl-body h3, .tl-body h4 { margin: 0 0 6px; color: var(--ink); font-size: 17px; line-height: 1.35; letter-spacing: -.02em; }
.tl-body p { color: var(--muted); font-size: 13.8px; }
.recruit-band { border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); padding: 34px; box-shadow: var(--shadow-dark); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.recruit-band h2 { color: #fff; margin: 0 0 10px; font-size: clamp(28px,3vw,44px); letter-spacing: -.05em; line-height: 1.05; }
.recruit-band p { color: rgba(255,255,255,.66); max-width: 820px; }
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero.compact { min-height: 270px; display: flex; align-items: end; padding: 0 0 44px; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 82% 10%, rgba(77,229,212,.16), transparent 34%), radial-gradient(circle at 14% 20%, rgba(217,185,110,.16), transparent 30%), linear-gradient(135deg, #071421, #0a2139 60%, #12384d); }
.page-hero-bg::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, rgba(0,0,0,.9), transparent 84%); }
.page-hero-inner { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 64px); }
.page-hero h1 { margin: 12px 0 0; color: #fff; font-size: clamp(38px,5vw,64px); line-height: .98; letter-spacing: -.06em; }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.68); font-size: 15.5px; margin-top: 16px; }
.page-tabs { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--nav-h); z-index: 100; box-shadow: 0 12px 30px rgba(6,20,34,.04); }
.page-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; }
.page-tabs a { display: flex; align-items: center; min-height: 54px; padding: 0 16px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 13px; font-weight: 850; white-space: nowrap; }
.page-tabs a:hover { color: var(--ink); }
.page-tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }
.content { padding: 74px 0 96px; }
.lead-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 32px; box-shadow: var(--shadow-sm); }
.lead-card h2 { margin: 0 0 10px; color: var(--ink); font-size: 30px; line-height: 1.15; letter-spacing: -.04em; }
.lead-card p { color: var(--muted); }
.profile-layout { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 54px; align-items: start; }
.profile-card { position: sticky; top: calc(var(--nav-h) + 88px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.profile-photo { aspect-ratio: 4/5; background: linear-gradient(135deg,#eaf1f8,#f9f7ef); display: grid; place-items: center; padding: 28px; }
.profile-photo img { width: 100%; height: 100%; object-fit: contain; }
.profile-info { padding: 22px; }
.info-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.info-line:last-child { border-bottom: 0; }
.info-line span:first-child { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.info-line span:last-child { color: var(--text); }
.profile-main h2.name { margin: 0; color: var(--ink); font-size: clamp(36px,4vw,56px); line-height: 1; letter-spacing: -.06em; }
.korean-name { color: var(--muted); font-size: 20px; margin-top: 8px; }
.position { color: var(--muted); margin-top: 10px; font-size: 15px; }
.cv-section { margin-top: 34px; }
.cv-section h3 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.cv-list { list-style: none; margin: 0; padding: 0; }
.cv-list li { position: relative; padding: 8px 0 8px 20px; color: var(--text); font-size: 14px; border-bottom: 1px solid rgba(223,231,239,.56); }
.cv-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg,var(--blue),var(--aqua)); }
.member-group { margin-top: 42px; }
.member-group:first-child { margin-top: 0; }
.group-title { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: var(--ink); font-size: 22px; letter-spacing: -.03em; }
.group-title::after { content:""; flex: 1; height: 1px; background: var(--line); }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(176px,1fr)); gap: 18px; }
.member-card { border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); padding: 20px; text-align: center; transition: transform .16s ease, box-shadow .16s ease; }
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.avatar { width: 108px; height: 108px; margin: 0 auto 16px; border-radius: 32px; overflow: hidden; background: linear-gradient(135deg,#edf4fa,#fff7e3); border: 1px solid var(--line); display: grid; place-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-card h3 { margin: 0; color: var(--ink); font-size: 17px; }
.member-card p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.edit-note { margin-top: 24px; border: 1px dashed rgba(47,128,237,.38); background: #f3f8ff; color: #315c86; border-radius: 18px; padding: 16px 18px; font-size: 13.5px; }
.category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin-bottom: 42px; }
.category-card { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 20px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.category-card span { color: var(--blue); font-size: 11px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.category-card h3 { margin: 8px 0 8px; color: var(--ink); font-size: 18px; line-height: 1.2; }
.category-card p { color: var(--muted); font-size: 13px; }
.area-section { margin-top: 64px; }
.area-section:first-child { margin-top: 0; }
.area-top { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; margin-bottom: 24px; }
.area-visual { border: 1px solid var(--line); border-radius: 28px; background: #fff; padding: 20px; box-shadow: var(--shadow-sm); }
.area-copy h2 { margin: 0; color: var(--ink); font-size: clamp(28px,3.2vw,44px); line-height: 1.05; letter-spacing: -.055em; }
.area-copy p { color: var(--muted); margin-top: 10px; }
.topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.topic-card { border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 22px; box-shadow: 0 8px 24px rgba(6,20,34,.05); }
.topic-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; line-height: 1.25; }
.topic-card p { color: var(--muted); font-size: 13.8px; }
.kw-list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.kw { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: #54677c; font-size: 11px; font-weight: 800; }
.patent-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.patent-item { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 16px; }
.patent-item strong { display: inline-flex; min-width: 36px; color: var(--blue); font-size: 12px; letter-spacing: .08em; }
.patent-item h3 { margin: 6px 0; color: var(--ink); font-size: 14.5px; line-height: 1.35; }
.patent-item p { color: var(--muted); font-size: 12.5px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.gallery-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; min-height: 250px; background: #fff; box-shadow: var(--shadow-sm); }
.gallery-card .art { height: 178px; background: linear-gradient(135deg,#edf5fb,#faf4df); display: grid; place-items: center; }
.gallery-card .art img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card div.caption { padding: 18px; }
.gallery-card h3 { margin: 0 0 5px; color: var(--ink); font-size: 17px; }
.gallery-card p { color: var(--muted); font-size: 13px; }
.notice-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.notice-table th { background: #f7f9fc; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.notice-table td { padding: 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.notice-table tr:last-child td { border-bottom: 0; }
.notice-table td:first-child { color: var(--muted); width: 140px; white-space: nowrap; font-weight: 700; }
.notice-table td.title { color: var(--ink); font-weight: 750; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 28px; align-items: start; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); padding: 30px; }
.contact-card h2 { margin: 0 0 18px; color: var(--ink); font-size: 30px; letter-spacing: -.04em; }
.contact-list { display: grid; gap: 0; }
.contact-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item span:first-child { color: var(--blue); font-size: 11px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.contact-item span:last-child { color: var(--text); }
.map-card { min-height: 390px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg,#edf4fb,#f9f3df); box-shadow: var(--shadow-sm); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.map-card::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(7,20,33,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(7,20,33,.055) 1px, transparent 1px); background-size: 34px 34px; }
.map-card > * { position: relative; z-index: 1; }
.map-pin { width: 74px; height: 74px; border-radius: 24px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-size: 32px; box-shadow: var(--shadow-md); }
.map-card h3 { margin: 0; color: var(--ink); font-size: 28px; letter-spacing: -.05em; line-height: 1.1; }
.lecture-list { display: grid; gap: 12px; }
.lecture-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.lecture-item strong { display: inline-flex; margin-right: 10px; color: var(--blue); }
.lecture-timeline { display: grid; gap: 20px; }
.lecture-semester { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 18px; align-items: start; }
.semester-label {
  position: sticky; top: calc(var(--nav-h) + 24px);
  border: 1px solid rgba(217,185,110,.42);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ink), var(--navy));
  color: var(--gold-2);
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: var(--shadow-sm);
}
.semester-courses { display: grid; gap: 12px; }
.lecture-course {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.lecture-course h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -.035em;
}
.lecture-course span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--surface-2);
  color: #52667c;
  font-size: 12px;
  font-weight: 850;
}
@media (max-width: 760px) {
  .lecture-semester { grid-template-columns: 1fr; }
  .semester-label { position: static; }
  .lecture-course { align-items: flex-start; flex-direction: column; }
}
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); border-top: 1px solid rgba(217,185,110,.22); }
.footer-shell { width: min(100% - 48px, 1280px); margin-inline: auto; padding: 34px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand strong { color: #fff; display: block; }
.footer-brand span { display: block; color: rgba(255,255,255,.52); font-size: 12px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 12px; text-align: right; }
@media (max-width: 1080px) {
  .brand { min-width: 230px; }
  .primary-nav > ul > li > a { padding-inline: 10px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; max-width: 640px; margin-inline: auto; width: 100%; }
  .card-grid.cols-4, .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pipeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .area-top { grid-template-columns: 180px 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  .nav-shell { width: min(100% - 32px, 1280px); }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 16px; right: 16px; top: calc(var(--nav-h) + 10px); background: rgba(7,20,33,.98); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; box-shadow: var(--shadow-dark); padding: 10px; }
  body.nav-open .primary-nav { display: block; }
  .primary-nav > ul { display: grid; align-items: stretch; }
  .primary-nav > ul > li > a { justify-content: space-between; border-radius: 12px; padding: 0 14px; }
  .dropdown-menu { position: static; display: block; width: auto !important; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,.06); box-shadow: none; border: 0; border-radius: 14px; padding: 6px; margin: 0 0 6px 14px; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { color: rgba(255,255,255,.74); }
  .dropdown-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .hero-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-grid.cols-3, .card-grid.cols-2, .gallery-grid, .topic-grid, .patent-grid, .contact-layout, .profile-layout { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .area-top { grid-template-columns: 1fr; }
  .area-visual { max-width: 280px; }
  .footer-shell { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .container, .hero-inner, .nav-shell, .footer-shell { width: min(100% - 28px, var(--max)); }
  .hero-inner { padding: 58px 0 88px; }
  .hero-title { font-size: clamp(42px, 13vw, 58px); }
  .hero-visual { min-height: 420px; }
  .hero-graphic { inset: 38px 18px 126px; width: calc(100% - 36px); }
  .float-card.one { right: 10px; top: 72px; }
  .float-card.two { left: 10px; bottom: 132px; }
  .float-card.three { right: 18px; bottom: 48px; }
  .hero-metrics, .card-grid.cols-4, .category-grid, .pipeline { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .section-head, .recruit-band { grid-template-columns: 1fr; display: grid; }
  .pub-row, .tl-item { grid-template-columns: 1fr; }
  .pub-date, .tl-meta { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .pub-content, .tl-body { padding: 18px; }
  .notice-table { display: block; overflow-x: auto; }
  .brand-copy small { display: none; }
  .brand { min-width: auto; }
}


/* 2026-06 update: simplified hero and publication meta styling */
.hero-minimal {
  min-height: calc(100vh - var(--nav-h));
  background:
    radial-gradient(circle at 14% 20%, rgba(77,229,212,.14), transparent 34%),
    linear-gradient(135deg, #0f3b42 0%, #071421 62%, #08233a 100%);
}
.hero-minimal::after {
  height: 110px;
  background: linear-gradient(to bottom, transparent, rgba(245,247,251,.92));
}
.hero-inner-single {
  grid-template-columns: 1fr;
  min-height: calc(100vh - var(--nav-h));
  align-items: center;
  padding-top: 70px;
  padding-bottom: 96px;
}
.hero-copy-wide { max-width: 980px; }
.hero-title-minimal {
  margin: 0 0 24px;
  font-size: clamp(52px, 6.7vw, 92px);
  line-height: 1.08;
  letter-spacing: -.06em;
  overflow: visible;
  padding-bottom: .08em;
}
.hero-title-minimal .title-white {
  display: block;
  font-size: 1em;
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.hero-title-minimal .title-gradient {
  display: block;
  font-size: .7em;
  margin-top: .16em;
  padding-bottom: .16em;
  line-height: 1.14;
  background: linear-gradient(90deg, #dcfff9 0%, #4de5d4 48%, #e4eaa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-minimal .hero-lead {
  max-width: 780px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.72;
}
.hero-minimal .hero-actions { margin-top: 34px; }
.pub-line {
  color: var(--muted);
  font-size: 13.8px;
  margin-top: 6px;
  line-height: 1.62;
}
.pub-line .authors { color: var(--text); }
.pub-line strong { color: var(--ink); font-weight: 950; }
.pub-sep { color: #9aa8b7; padding: 0 2px; }
.venue { color: var(--muted); }
.tl-body strong { font-weight: 900; }
@media (max-width: 900px) {
  .hero-title-minimal { font-size: clamp(34px, 5.6vw, 48px); }
  .hero-inner-single { padding-top: 52px; padding-bottom: 84px; }
}
@media (max-width: 640px) {
  .hero-title-minimal { font-size: clamp(28px, 7.5vw, 38px); }
  .hero-minimal .hero-lead { font-size: 16px; }
}


/* 2026-06-28 revision: keep the descenders in the large hero title visible. */
.hero-title-minimal span { overflow: visible; }


/* 2026-06-28 update: compact two-line hero title without internal line breaks. */
.hero-title-minimal .title-white,
.hero-title-minimal .title-gradient {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero-title-minimal .title-white,
  .hero-title-minimal .title-gradient {
    white-space: normal;
  }
}
.news-category + .news-category { margin-top: 64px; }
.news-category-head { margin-bottom: 18px; }
.news-category-head h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -.045em; }
.news-category-head p { margin-top: 8px; color: var(--muted); max-width: 780px; }


/* 2026-07 update: editable placeholders for news highlights and research representative figures. */
.news-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.news-visual-stack {
  display: grid;
  gap: 14px;
  position: sticky;
  top: calc(var(--nav-h) + 76px);
}
.editable-image-placeholder {
  margin: 0;
  min-height: 210px;
  border: 1.5px dashed rgba(47,128,237,.34);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(47,128,237,.08), rgba(77,229,212,.06)),
    repeating-linear-gradient(135deg, rgba(7,20,33,.035) 0 10px, transparent 10px 20px),
    #fff;
  box-shadow: 0 10px 28px rgba(6,20,34,.06);
  color: var(--muted);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  overflow: hidden;
}
.editable-image-placeholder .placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(7,20,33,.92);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
}
.editable-image-placeholder figcaption {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.editable-image-placeholder small {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.editable-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.research-main-figure {
  width: min(calc(50% - 7px), 560px);
  margin: -2px 0 20px;
}
.research-main-figure .editable-image-placeholder {
  min-height: 218px;
}
@media (max-width: 900px) {
  .news-feature-layout { grid-template-columns: 1fr; }
  .news-visual-stack { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .research-main-figure { width: 100%; }
}
@media (max-width: 640px) {
  .news-visual-stack { grid-template-columns: 1fr; }
}

/* 2026-07 revision: attach editable figures to each Award/Paper timeline row and enable image pop-up. */
.news-with-figures { display: block; }
.tl-item.with-figures {
  grid-template-columns: 112px minmax(0, 1fr) minmax(276px, 304px);
  align-items: stretch;
}
.tl-item.with-figures .tl-body { padding-right: 18px; }
.tl-figures {
  padding: 20px 20px 20px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.tl-figure-button,
.research-figure-button {
  appearance: none;
  border: 2px solid rgba(7, 20, 33, .82);
  background: #4778c8;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(7, 20, 33, .09);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tl-figure-button {
  flex: 0 0 auto;
  width: clamp(112px, 9.4vw, 140px);
  height: clamp(136px, 11.2vw, 174px);
  border-radius: 0;
}
.tl-figure-button img,
.research-figure-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tl-figure-button:hover,
.research-figure-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(7, 20, 33, .16);
  border-color: rgba(47, 128, 237, .95);
}
.tl-figure-button:focus-visible,
.research-figure-button:focus-visible {
  outline: 3px solid rgba(47, 128, 237, .36);
  outline-offset: 3px;
}
.research-figure-slot {
  width: min(calc(50% - 7px), 560px);
  margin: -2px 0 20px;
}
.research-figure-button {
  width: 100%;
  height: 224px;
  border-radius: 22px;
}
.research-figure-slot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(5, 12, 22, .72);
  backdrop-filter: blur(8px);
}
.image-lightbox.is-open { display: grid; }
body.lightbox-open { overflow: hidden; }
.image-lightbox-panel {
  position: relative;
  width: min(92vw, 500px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
  padding: 18px;
}
.image-lightbox-panel img {
  display: block;
  width: min(86vw, 420px);
  height: min(78vh, 522px);
  margin: 0 auto;
  border-radius: 14px;
  object-fit: contain;
  background: #f4f7fb;
}
.image-lightbox-caption {
  margin: 12px 42px 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 20, 33, .92);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.image-lightbox-close:hover { background: #000; }
@media (max-width: 1100px) {
  .tl-item.with-figures { grid-template-columns: 112px minmax(0,1fr); }
  .tl-figures {
    grid-column: 2;
    justify-content: flex-start;
    padding-top: 0;
  }
  .research-figure-slot { width: 100%; }
}
@media (max-width: 640px) {
  .tl-item.with-figures { grid-template-columns: 1fr; }
  .tl-figures {
    grid-column: auto;
    padding: 0 20px 20px;
  }
  .tl-figure-button {
    width: calc(50% - 5px);
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .research-figure-button { height: 190px; }
  .image-lightbox-panel { width: min(94vw, 460px); padding: 14px; }
  .image-lightbox-panel img { width: min(86vw, 390px); height: min(72vh, 486px); }
}


/* 2026-07 revision 5: compact Award/Paper figures, anchored popup, grouped gallery. */
.news-without-figures { display: block; }

/* Award/Paper rows: figures are placed in Awards and Publication pages, not on News pages. */
.tl-item.with-figures {
  grid-template-columns: 112px minmax(0, 1fr) minmax(132px, 150px);
  align-items: stretch;
}
.pub-row.with-figures {
  grid-template-columns: 126px minmax(0, 1fr) minmax(132px, 150px);
  align-items: stretch;
}
.tl-item.with-figures .tl-body,
.pub-row.with-figures .pub-content { padding-right: 16px; }
.tl-figures,
.pub-figures {
  padding: 18px 18px 18px 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.tl-figure-button,
.pub-figure-button {
  appearance: none;
  flex: 0 0 auto;
  width: clamp(56px, 4.7vw, 70px);
  height: clamp(68px, 5.6vw, 87px);
  border: 2px solid rgba(7, 20, 33, .82);
  border-radius: 0;
  background: #4778c8;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(7, 20, 33, .08);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.pub-figure-button img,
.tl-figure-button img,
.gallery-photo img,
.research-figure-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pub-figure-button:hover,
.tl-figure-button:hover,
.gallery-photo:hover,
.research-figure-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(7, 20, 33, .15);
  border-color: rgba(47, 128, 237, .95);
}
.pub-figure-button:focus-visible,
.tl-figure-button:focus-visible,
.gallery-photo:focus-visible,
.research-figure-button:focus-visible {
  outline: 3px solid rgba(47, 128, 237, .36);
  outline-offset: 3px;
}

/* Anchored pop-up: it opens near the clicked image. Size is controlled by --image-popup-scale above. */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(5, 12, 22, .28);
  backdrop-filter: blur(3px);
}
.image-lightbox.is-open { display: block; }
body.lightbox-open { overflow: hidden; }
.image-lightbox-panel {
  position: fixed;
  width: auto;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 76px rgba(0, 0, 0, .34);
  padding: 12px;
  transform-origin: center center;
}
.image-lightbox-panel img {
  display: block;
  width: var(--popup-width, 300px);
  height: var(--popup-height, 300px);
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 92px);
  margin: 0 auto;
  border-radius: 10px;
  object-fit: contain;
  background: #f4f7fb;
}
.image-lightbox-caption {
  margin: 8px 42px 0 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.image-lightbox-close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 20, 33, .92);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.image-lightbox-close:hover { background: #000; }

/* Gallery: one title group with 2–3 photos. */
.gallery-intro {
  max-width: 760px;
  margin-bottom: 28px;
}
.gallery-intro h2 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.05em;
}
.gallery-intro p { color: var(--muted); }
.gallery-groups { display: grid; gap: 24px; }
.gallery-group {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.gallery-group-head { margin-bottom: 16px; }
.gallery-group-head h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.gallery-group-head p { color: var(--muted); font-size: 13.8px; }
.gallery-photo-row {
  display: grid;
  gap: 14px;
}
.gallery-photo-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-photo-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-photo {
  appearance: none;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg,#edf5fb,#faf4df);
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(7, 20, 33, .06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

@media (max-width: 1100px) {
  .tl-item.with-figures { grid-template-columns: 112px minmax(0, 1fr); }
  .pub-row.with-figures { grid-template-columns: 126px minmax(0, 1fr); }
  .tl-figures { grid-column: 2; justify-content: flex-start; padding-top: 0; }
  .pub-figures { grid-column: 2; justify-content: flex-start; padding-top: 0; padding-left: 26px; }
}
@media (max-width: 740px) {
  .gallery-photo-row.three,
  .gallery-photo-row.two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tl-item.with-figures,
  .pub-row.with-figures { grid-template-columns: 1fr; }
  .tl-figures,
  .pub-figures { grid-column: auto; padding: 0 20px 20px; justify-content: flex-start; }
  .pub-figures { padding-left: 20px; }
  .tl-figure-button,
  .pub-figure-button {
    width: 56px;
    height: 70px;
  }
  .image-lightbox-panel { padding: 10px; }
}

/* Integrated research infographic on the main page */
.pipeline-infographic {
  margin: 8px 0 30px;
}
.pipeline-infographic img {
  display: block;
  width: 100%;
  max-width: 1120px;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  background: #071426;
}
.pipeline-infographic figcaption {
  max-width: 1120px;
  margin-top: 12px;
  color: rgba(226, 238, 250, .74);
  font-size: 14px;
  line-height: 1.5;
}


/* 2026-07 revision 9: Daily Life gallery layout */
.gallery-daily-main {
  background: #ffffff;
}
.daily-life-section {
  background: #ffffff;
  padding: 18px 0 84px;
}
.daily-life-container {
  width: min(100% - 56px, 1188px);
  margin-inline: auto;
}
.daily-life-title {
  margin: 0 0 42px;
  color: #000;
  text-align: center;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.02em;
}
.daily-life-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 44px;
}
.daily-life-card {
  margin: 0;
  text-align: center;
}
.daily-life-photo {
   appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: none;
}
.daily-life-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff
}
.daily-life-photo:hover {
  transform: none;
  box-shadow: none;
}
.daily-life-photo:focus-visible {
  outline: 3px solid rgba(47, 128, 237, .34);
  outline-offset: 4px;
}
.daily-life-card figcaption {
  margin-top: 10px;
  color: #000;
  line-height: 1.45;
}
.daily-life-date {
  display: block;
  color: #000;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}
.daily-life-caption {
  display: block;
  margin-top: 3px;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  word-break: keep-all;
}
.daily-life-edit-note {
  margin: 54px auto 0;
  max-width: 880px;
  padding: 16px 18px;
  border: 1px solid #e5eaf0;
  border-radius: 16px;
  background: #f8fafc;
  color: #66768a;
  font-size: 13px;
  line-height: 1.7;
}
.daily-life-edit-note strong { color: #071421; }
.daily-life-edit-note code {
  padding: 2px 5px;
  border-radius: 6px;
  background: #eef3f8;
  color: #102a43;
  font-size: .92em;
}
@media (max-width: 940px) {
  .daily-life-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 38px;
  }
}
@media (max-width: 640px) {
  .daily-life-section { padding: 18px 0 64px; }
  .daily-life-container { width: min(100% - 32px, 1188px); }
  .daily-life-title { margin-bottom: 30px; }
  .daily-life-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .daily-life-caption { font-size: 15px; }
}


/* 2026-07 revision 11: Projects page, Project badge, and Contact notice */
.badge.project { color: #5b2a86; background: #eadcff; }
.contact-notice-card { grid-column: 1 / -1; }
.contact-notice-card h2 { margin-bottom: 14px; }
.contact-notice-table { margin-top: 14px; }
.project-feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 56%, #f2fffd 100%);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.project-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(47,128,237,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(47,128,237,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  mask-image: linear-gradient(to right, rgba(0,0,0,.55), transparent 78%);
}
.project-feature-main { position: relative; z-index: 1; }
.project-feature-main h2 { margin: 12px 0 16px; color: var(--ink); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.055em; }
.project-lead { max-width: 860px; color: var(--text); font-size: 16px; line-height: 1.72; }
.project-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.project-meta-grid div { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.78); padding: 16px 18px; }
.project-meta-grid span { display: block; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.project-meta-grid strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.project-visual-panel { position: relative; z-index: 1; min-height: 320px; border-radius: 30px; border: 1px solid rgba(47,128,237,.24); background: radial-gradient(circle at 50% 50%, rgba(77,229,212,.16), transparent 42%), linear-gradient(135deg, #071421, #12384d); box-shadow: var(--shadow-dark); overflow: hidden; }
.project-visual-panel::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 34px 34px; opacity:.45; }
.project-node { position: absolute; display: grid; place-items: center; border-radius: 999px; color: #fff; font-weight: 950; letter-spacing: -.02em; border: 1px solid rgba(255,255,255,.24); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.node-puf { width: 110px; height: 110px; left: 34px; top: 42px; background: linear-gradient(135deg, #2f80ed, #4de5d4); }
.node-chain { width: 132px; height: 132px; right: 34px; top: 74px; background: linear-gradient(135deg, #725cff, #2f80ed); }
.node-shield { width: 104px; height: 104px; left: 50%; bottom: 42px; transform: translateX(-50%); background: linear-gradient(135deg, #d9b96e, #ff8a3d); }
.project-link { position:absolute; height: 2px; background: linear-gradient(90deg, rgba(77,229,212,.05), rgba(77,229,212,.92), rgba(217,185,110,.88)); transform-origin: left center; }
.link-1 { width: 146px; left: 130px; top: 116px; transform: rotate(7deg); }
.link-2 { width: 118px; right: 116px; bottom: 126px; transform: rotate(-34deg); }
.link-3 { width: 104px; left: 104px; bottom: 112px; transform: rotate(34deg); }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.project-card { border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); padding: 24px; }
.project-card h3 { margin: 14px 0 10px; color: var(--ink); font-size: 20px; line-height: 1.2; letter-spacing: -.035em; }
.project-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-edit-note { margin-top: 22px; }
@media (max-width: 1080px) {
  .project-feature-card { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .project-meta-grid, .project-grid { grid-template-columns: 1fr; }
  .project-visual-panel { min-height: 260px; }
}
