/* ===== BEE Lab styles (extracted from index.html) ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FFFFFF;
  --text: #000000;
  --text-mid: #333333;
  --text-muted: #999999;
  --accent: #000000;
  --border: #E0E0E0;
  --bg-hover: #F7F7F7;
  --font: 'DM Sans', 'Noto Sans KR', sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* NAV */
.top-bar {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.lab-logo {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
}
.nav-right { display: flex; gap: 32px; }
.nav-right a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-right a:hover { color: var(--text); }

/* PAGE VIEW */
.page-view { display: none; }
.page-view.active { display: block; }

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 48px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { transition: color 0.15s; }
.breadcrumb a:hover { color: var(--text); }
.hero h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero .subtitle {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* PILL TABS */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.pill {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.pill:hover { border-color: var(--text); color: var(--text); }
.pill.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* SECTION */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  padding-top: 64px;
}
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 64px 0 0;
}

/* OVERVIEW */
.overview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px 0;
}
.overview h2 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.overview p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.9;
  word-break: keep-all;
}

/* MEMBERS GRID */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.member-card {
  text-align: center;
  padding: 32px 16px 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.25s;
  cursor: pointer;
}
.member-card:hover {
  border-color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.member-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  background: #E0E0E0;
}
.member-card .name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.member-card .role {
  font-size: 13px;
  color: var(--text-muted);
}
.member-card .arrow-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s;
}
.member-card:hover .arrow-hint { opacity: 1; }

/* PROJECT CARDS */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
}
.project-card:hover {
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.project-card.completed {
  background: #f0f0f0;
  border-color: #e0e0e0;
}
.project-card.completed:hover {
  background: #e8e8e8;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.badge.individual { background: #F0F0F0; color: #333; }
.badge.group { background: #E8F5E9; color: #2E7D32; }
.badge.govt { background: #000; color: #fff; }
.badge.sub { background: #E5E5E5; color: #333; }
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  display: inline-block;
}
.status-text { font-size: 12px; color: var(--text-muted); }
.project-card h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 10px;
}
.project-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
  word-break: keep-all;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: #F5F5F5;
  color: var(--text-mid);
}
.people-row {
  display: flex;
  align-items: center;
}
.people-row img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: -6px;
  border: 2px solid var(--bg);
}
.people-row .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 14px;
}
.card-arrow {
  position: absolute;
  top: 32px; right: 32px;
  font-size: 18px;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.project-card:hover .card-arrow { opacity: 1; transform: translateX(4px); }

/* FEATURED */
.project-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
  background: #000;
  border-color: transparent;
  color: #fff;
}
.project-card.featured h4 { color: #fff; }
.project-card.featured p { color: rgba(255,255,255,0.55); }
.project-card.featured .tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.project-card.featured .badge { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }
.project-card.featured .status-text { color: rgba(255,255,255,0.4); }
.project-card.featured .label { color: rgba(255,255,255,0.4); }
.project-card.featured .people-row img { border-color: #000; }
.project-card.featured:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.25); }
.featured-vis {
  border-radius: 10px;
  background: #1a1a1a center/cover no-repeat;
  overflow: hidden;
  position: relative;
}
@keyframes ring {
  0%,100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* PUBS */
.pub-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}
.pub-row:hover { background: var(--bg-hover); margin: 0 -12px; padding: 18px 12px; border-radius: 4px; }
.pub-year { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.pub-title { font-size: 15px; font-weight: 500; line-height: 1.45; }
.pub-title a.pub-doi-link { color: inherit; text-decoration: none; }
.pub-title a.pub-doi-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.pub-journal { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.pub-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}
.pub-badge.sci { background: #000; color: #fff; }
.pub-badge.conf { background: #E5E5E5; color: #333; }

/* RP PANELS */
.rp-panel { display: none; }
.rp-panel.active { display: block; }

/* DETAIL PAGE */
.detail-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 40px;
  cursor: pointer;
  transition: color 0.15s;
}
.back-link:hover { color: var(--text); }
.detail-grid {
  display: grid;
  grid-template-columns: 2.6fr 1fr;
  gap: 64px;
}
.detail-grid h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.detail-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.detail-content { font-size: 16px; color: var(--text-mid); line-height: 1.9; word-break: keep-all; }
.detail-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 14px;
  letter-spacing: -0.02em;
}
.detail-content h3:first-child { margin-top: 0; }
.research-fig { width: 100%; border-radius: 12px; border: 1px solid var(--border); margin: 4px 0 24px; display: block; }
.sidebar-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sidebar-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
}
.sidebar-person:hover { text-decoration: underline; }
.sidebar-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sidebar-person .name { font-weight: 600; font-size: 14px; }
.sidebar-person .role { font-size: 12px; color: var(--text-muted); }
.sidebar-block { margin-bottom: 32px; }
.detail-grid > div:last-child { padding-left: 48px; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-tag { font-size: 13px; color: var(--text-muted); }
.sidebar-tag::before { content: '#'; }

/* PROJECT DETAIL - MIT Media Lab Inspired */
.project-hero {
  width: 100%;
  padding: 100px 40px 60px;
  background: #fff !important;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.project-hero::before { content: none; }
.project-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.project-hero .back-link {
  color: var(--text-muted);
  margin-bottom: 32px;
}
.project-hero .back-link:hover { color: var(--text); }
.project-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  background: #f0f0f0;
  color: var(--text-mid);
  border: 1px solid var(--border);
}
.project-hero-badge .status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.project-hero h1 {
  font-size: 44px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
}
.project-hero-desc {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 28px;
  word-break: keep-all;
}
.project-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-hero-tags span {
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  background: #f5f5f5;
  color: var(--text-mid);
  border: 1px solid var(--border);
}
.project-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}
.project-body-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 72px;
}
.project-body-grid h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 40px 0 14px;
  letter-spacing: -0.02em;
}
.project-body-grid h3:first-child { margin-top: 0; }
.project-body-grid p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.9;
  word-break: keep-all;
}
.project-team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.project-team-card:hover { background: var(--bg-subtle); }
.project-team-card img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.project-team-card .name { font-weight: 600; font-size: 15px; }
.project-team-card .role { font-size: 13px; color: var(--text-muted); }
@media (max-width: 768px) {
  .project-hero { padding: 80px 20px 40px; }
  .project-hero h1 { font-size: 28px; }
  .project-body { padding: 40px 20px 60px; }
  .project-body-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* MEMBER PROFILE */
.profile-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}
.profile-top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 56px;
}
.profile-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-info h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.profile-info .role-line { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; }
.profile-info .bio { font-size: 15px; color: var(--text-mid); line-height: 1.8; max-width: 560px; word-break: keep-all; }
.profile-research-list h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.profile-research-item {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.profile-research-item:hover { border-color: var(--text); background: var(--bg-hover); }
.profile-research-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.profile-research-item p { font-size: 13px; color: var(--text-muted); }

/* TOPIC CARDS */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.topic-card {
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.topic-card:hover { transform: translateY(-4px); }
.topic-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.topic-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.topic-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.topic-card .topic-list {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .topic-grid { grid-template-columns: 1fr; }
}
/* RESEARCH TOPICS PAGE */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
}
.topic-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  cursor: pointer;
}
.topic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.topic-card:hover img { transform: scale(1.05); }
.topic-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.topic-card .overlay h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.topic-card .overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* PUB DETAIL */
.pub-detail-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}
.pub-detail-page h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.pub-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}
.pub-detail-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
}
.pub-detail-body .abstract {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.9;
}
.pub-detail-body .abstract h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .topics-grid { grid-template-columns: 1fr; }
  .topic-card { height: 280px; }
  .pub-detail-body { grid-template-columns: 1fr; }
}

.page-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 36px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.footer-logo {
  flex-shrink: 0;
}
.footer-logo img {
  height: 52px;
  opacity: 0.7;
}
.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 48px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-info .footer-label {
  font-weight: 600;
  color: var(--text-mid);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
/* 평소엔 안 보이고, 드래그(선택)하면 드러나는 숨은 크레딧 */
.made-by { color: transparent; }
.made-by::selection { color: var(--text-muted); background: rgba(0,0,0,0.06); }
.made-by::-moz-selection { color: var(--text-muted); background: rgba(0,0,0,0.06); }
@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-info { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
  .overview h2 { font-size: 32px; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-template-columns: 1fr; }
  .featured-vis { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div:last-child { padding-left: 0; }
  .profile-top { flex-direction: column; align-items: center; text-align: center; }
}

/* HEXAGONAL LANDING */
.hex-cell {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.hex-bg {
  background: linear-gradient(135deg, #c4a84e 0%, #a08530 50%, #8a7228 100%);
  opacity: 0.35;
}
.hex-link {
  background: linear-gradient(135deg, #f5e6b8 0%, #d4b96a 50%, #bfa04a 100%);
  cursor: pointer;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hex-link:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 48px rgba(196,168,78,0.4);
  background: linear-gradient(135deg, #fff8e0 0%, #e8cc7a 50%, #d4b96a 100%);
}
.hex-center {
  background: linear-gradient(135deg, #fffef5 0%, #f5e6b8 50%, #e8d48a 100%);
  cursor: pointer;
  color: #1a1a1a;
  box-shadow: 0 12px 48px rgba(196,168,78,0.5);
}
.hex-center:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 64px rgba(196,168,78,0.6);
}

.fade-in { animation: fadeIn 0.35s ease-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BLOG / NEWS DYNAMIC GRID */
.bn-featured {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.bn-featured .bn-card .bn-card-img,
.bn-featured .bn-card .bn-no-img { aspect-ratio: 4/3; }
.bn-featured .bn-card-title {
  font-size: 15px;
  -webkit-line-clamp: 2;
}
.bn-featured .bn-card-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.bn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bn-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
}
.bn-card:hover {
  border-color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.bn-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: #f0f0f0;
}
.bn-card-body {
  padding: 16px 18px;
}
.bn-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bn-card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}
.bn-no-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f8f8f8 0%, #efefef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 40px;
}
.bn-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
#bn-modal { display: none; }
@media (max-width: 900px) {
  .bn-featured { grid-template-columns: 1fr; }
  .bn-grid { grid-template-columns: 1fr; }
}

/* ===== Research group full-screen hero (.rhero) — shared by Building Systems / Data & Analysis / Building & Urban Modeling ===== */
.rhero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin-top: -60px; /* sticky nav(60px) 아래로 끌어올려 히어로가 nav 뒤를 채우도록 */
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.rhero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.58) 45%, rgba(0,0,0,0.32) 100%);
}
.rhero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.rhero-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rhero-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
.rhero-breadcrumb a:hover { color: #fff; }
.rhero-eyebrow {
  font-size: 19px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  max-width: 660px;
}
.rhero-hash {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.rhero h1 {
  font-size: clamp(36px, 6.5vw, 104px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 22px;
  white-space: nowrap;
}
.rhero-sub {
  font-size: 19px;
  font-weight: 300;
  color: rgba(255,255,255,0.74);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.rhero-overview {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
  max-width: 1040px;
  word-break: keep-all;
  text-shadow: 0 1px 16px rgba(0,0,0,0.35);
}
.rhero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: rheroFade 0.6s ease 0.95s forwards, rheroBob 2.4s ease-in-out 1.7s infinite;
}

/* 히어로 순차 등장 */
.rhero-anim { opacity: 0; animation: rheroUp 0.7s cubic-bezier(0.2,0.7,0.2,1) both; }
@keyframes rheroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rheroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rheroBob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* 히어로 아래 섹션 스크롤 페이드인 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* nav: Research 그룹 히어로 위에선 투명(흰 글씨), 히어로를 지나면 기본(흰 배경) */
.top-bar { transition: background 0.3s ease, border-color 0.3s ease; }
.top-bar.rhero-transparent {
  background: transparent;
  border-color: transparent;
}
.top-bar.rhero-transparent .nav-right a { color: rgba(255,255,255,0.82); }
.top-bar.rhero-transparent .nav-right a:hover { color: #fff; }
.top-bar.rhero-transparent img { filter: brightness(0) invert(1); }

@media (max-width: 700px) {
  .rhero h1 { white-space: normal; font-size: 40px; }
  .rhero-eyebrow { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rhero-anim, .reveal, .rhero-scroll {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .rhero-scroll { transform: translateX(-50%) !important; }
}

/* === 메인 페이지 풀스크린/풀폭 개편 === */
html { scroll-behavior: smooth; }

/* 메인 히어로 텍스트 순차 등장 */
@keyframes introUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
#page-intro .home-hero-inner > * { opacity:0; animation: introUp 0.7s cubic-bezier(0.2,0.7,0.2,1) both; }
#page-intro .home-hero-tag { animation-delay:0.2s; }
#page-intro .home-hero h1 { animation-delay:0.4s; }
#page-intro .home-hero p { animation-delay:0.62s; }
#page-intro .home-cta-row { animation-delay:0.82s; }

/* About 풀스크린 2단 (좌 텍스트 7 : 우 이미지 3) */
.about-full { width:100%; height:100vh; min-height:600px; display:grid; grid-template-columns:7fr 3fr; }
.about-left { background:#0a0a0a; color:#fff; display:flex; flex-direction:column; justify-content:center; padding:0 7vw; }
.about-eyebrow { font-size:12px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:rgba(255,255,255,0.5); margin-bottom:20px; }
.about-headline { font-size:72px; font-weight:900; letter-spacing:-0.05em; line-height:0.98; margin-bottom:36px; }
.about-body { font-size:18px; font-weight:300; line-height:1.95; color:rgba(255,255,255,0.74); word-break:keep-all; max-width:760px; margin-bottom:40px; }
.about-body strong { color:#fff; font-weight:600; }
.about-cta { align-self:flex-start; display:inline-flex; align-items:center; gap:10px; border:1.5px solid rgba(255,255,255,0.4); color:#fff; padding:14px 30px; border-radius:100px; font-size:13px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; cursor:pointer; transition:all 0.2s; }
.about-cta:hover { background:#fff; color:#000; border-color:#fff; }
.about-right { position:relative; overflow:hidden; background:#111; }
.about-slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transform:scale(1.06); transition:opacity 1.2s ease, transform 6s ease; }
.about-slide.active { opacity:1; transform:scale(1); }
.about-dots { position:absolute; top:24px; right:24px; z-index:2; display:flex; gap:7px; }
.about-dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.45); cursor:pointer; transition:all 0.25s; }
.about-dot.active { background:#fff; width:22px; border-radius:4px; }

/* 풀폭 섹션 (Research / News·Blog / Publications) */
.full-sec { width:100%; padding:120px 5vw; }
.full-sec.alt { background:#F7F6F2; }
.full-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:48px; }
.full-eyebrow { font-size:12px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-muted); margin-bottom:12px; }
.full-title { font-size:44px; font-weight:900; letter-spacing:-0.04em; line-height:1.05; }
.full-more { flex-shrink:0; display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--text-mid); border:1.5px solid var(--border); border-radius:100px; padding:11px 22px; cursor:pointer; transition:all 0.18s; white-space:nowrap; }
.full-more:hover { border-color:#000; color:#000; transform:translateX(3px); }
/* Research Topics 카드 */
.rt-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.rt-card { position:relative; height:520px; border-radius:16px; overflow:hidden; cursor:pointer; background-size:cover; background-position:center; }
.rt-card::after { content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 70%); transition:background 0.3s; }
.rt-card:hover::after { background:linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 75%); }
.rt-ov { position:absolute; inset:0; z-index:1; padding:36px; display:flex; flex-direction:column; justify-content:flex-end; color:#fff; }
.rt-num { font-size:13px; font-weight:700; color:rgba(255,255,255,0.55); margin-bottom:12px; }
.rt-ov h3 { font-size:26px; font-weight:800; letter-spacing:-0.02em; line-height:1.2; margin-bottom:14px; }
.rt-ov p { font-size:14px; color:rgba(255,255,255,0.72); line-height:1.65; }
.rt-go { margin-top:18px; font-size:13px; font-weight:600; opacity:0; transform:translateY(8px); transition:all 0.25s; }
.rt-card:hover .rt-go { opacity:1; transform:translateY(0); }
/* News & Blog */
.nb-2col { display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.nb-col { min-width:0; }
.nb-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.nb-head h3 { font-size:24px; font-weight:800; letter-spacing:-0.02em; }
.nb-link { font-size:13px; font-weight:600; color:var(--text-muted); cursor:pointer; }
.nb-link:hover { color:#000; }
.nb-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
/* Publications 풀폭 리스트 */
.pub-list { width:100%; }
@media (max-width:900px) {
  .about-full { grid-template-columns:1fr; height:auto; }
  .about-left { padding:80px 28px; }
  .about-right { min-height:340px; }
  .about-headline { font-size:48px; }
  .full-sec { padding:72px 24px; }
  .full-title { font-size:30px; }
  .rt-grid { grid-template-columns:1fr; }
  .rt-card { height:380px; }
  .nb-2col { grid-template-columns:1fr; gap:48px; }
  .nb-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #page-intro .home-hero-inner > * { animation:none !important; opacity:1 !important; transform:none !important; }
}

/* === 프로젝트 본문: 그림(좌) · 참여자/태그(우) · 설명(아래) 2단 배치 === */
.proj-grid3 { grid-template-columns:2fr 1fr; gap:48px 72px; }
.proj-grid3 .pl-img  { grid-column:1; grid-row:1; min-width:0; }
.proj-grid3 .pl-meta { grid-column:2; grid-row:1; }
.proj-grid3 .pl-desc { grid-column:1 / -1; grid-row:2; min-width:0; }
@media (max-width:768px){
  .proj-grid3 { grid-template-columns:1fr; gap:40px; }
  .proj-grid3 .pl-img, .proj-grid3 .pl-meta, .proj-grid3 .pl-desc { grid-column:1; grid-row:auto; }
}

/* === 프로젝트 이미지 캐러셀 (좌측 컬럼) === */
.proj-carousel { position:relative; width:100%; background:transparent; overflow:hidden; }
.proj-carousel.empty { display:none; }
.pc-track { display:flex; height:460px; min-height:300px; transition:transform 0.55s cubic-bezier(0.4,0,0.2,1); }
.pc-slide { flex:0 0 100%; display:flex; align-items:center; justify-content:center; cursor:zoom-in; }
.pc-slide img { max-width:100%; max-height:100%; object-fit:contain; display:block; }
.pc-arrow { position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%; border:1px solid var(--border); background:rgba(255,255,255,0.85); color:#1a1a1a; font-size:24px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.2s; z-index:2; box-shadow:0 2px 10px rgba(0,0,0,0.08); }
.pc-arrow:hover { background:#fff; }
.pc-prev { left:12px; }
.pc-next { right:12px; }
.pc-arrow.hidden { display:none; }
.pc-dots { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:2; }
.pc-dot { width:8px; height:8px; border-radius:50%; background:rgba(0,0,0,0.25); cursor:pointer; transition:all 0.25s; }
.pc-dot.active { background:#111; width:24px; border-radius:4px; }
.proj-lightbox { display:none; position:fixed; inset:0; z-index:2000; background:rgba(0,0,0,0.92); align-items:center; justify-content:center; padding:40px; cursor:zoom-out; }
.proj-lightbox.open { display:flex; }
.proj-lightbox img { max-width:92vw; max-height:90vh; border-radius:6px; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
@media (max-width:768px){ .pc-track { height:300px; min-height:0; } .pc-arrow { width:40px; height:40px; font-size:20px; } .pc-prev{ left:12px; } .pc-next{ right:12px; } }


/* ===== Home(메인) 전용 스타일 ===== */
  /* ===== Home(메인) 전용 스타일 ===== */
  .home-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    margin-top: -60px; /* sticky nav(60px) 뒤를 채워 풀스크린 (research 히어로와 동일) */
    background: #0a0a0a;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  /* 배경 슬라이드쇼 */
  .home-hero-slides { position: absolute; inset: 0; z-index: 0; }
  .home-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
  }
  .home-hero-slide.active { opacity: 1; }
  .home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.25) 100%);
  }
  /* 하단 진행 바 (건국대 에너지사업단 스타일: 남은 시간 표시) */
  .home-hero-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    display: flex;
    gap: 4px;
  }
  .home-hero-seg {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.25);
    overflow: hidden;
    cursor: pointer;
  }
  .home-hero-seg-fill {
    height: 100%;
    width: 0%;
    background: #fff;
  }
  .home-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
  }
  .home-hero-tag {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 22px;
  }
  .home-hero h1 {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 22px;
    max-width: 860px;
  }
  .home-hero p {
    font-size: 19px;
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    letter-spacing: -0.01em;
    max-width: 600px;
    margin-bottom: 36px;
  }
  .home-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .home-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid transparent;
  }
  .home-cta.primary { background: #fff; color: #000; }
  .home-cta.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,255,255,0.18); }
  .home-cta.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
  .home-cta.ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
  .home-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: homeBob 2s ease-in-out infinite;
  }
  @keyframes homeBob { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,8px);} }

  /* 섹션 헤더 (eyebrow + 제목 + more 버튼) */
  .home-sec { max-width: 1200px; margin: 0 auto; padding: 96px 40px 0; }
  .home-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
  }
  .home-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
  }
  .home-sec-head h2 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.1;
  }
  .home-more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
  }
  .home-more:hover { border-color: #000; color: #000; transform: translateX(3px); }

  /* About */
  .home-a.home-about-text { font-size: 18px; color: var(--text-mid); line-height: 1.95; word-break: keep-all; text-align: justify; max-width: 920px; }
  .home-about-text strong { color: var(--text); font-weight: 600; }

  /* Research 3-그룹 카드 */
  .home-research-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .home-rcard {
    position: relative; height: 420px; border-radius: 14px; overflow: hidden; cursor: pointer;
  }
  .home-rcard img { width:100%; height:100%; object-fit:cover; transition: transform 0.6s; }
  .home-rcard:hover img { transform: scale(1.06); }
  .home-rcard .ov {
    position:absolute; inset:0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 70%);
    padding: 32px; display:flex; flex-direction:column; justify-content:flex-end;
  }
  .home-rcard .ov .num { font-size:13px; font-weight:700; color:rgba(255,255,255,0.5); margin-bottom:10px; }
  .home-rcard .ov h3 { font-size:23px; font-weight:800; color:#fff; letter-spacing:-0.02em; line-height:1.2; margin-bottom:12px; }
  .home-rcard .ov p { font-size:13px; color:rgba(255,255,255,0.7); line-height:1.65; }
  .home-rcard .ov .go { margin-top:16px; font-size:13px; font-weight:600; color:#fff; opacity:0; transform:translateY(8px); transition:all 0.25s; }
  .home-rcard:hover .ov .go { opacity:1; transform:translateY(0); }

  /* News & Blog 2단 */
  .home-nb { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
  .home-nb-col { min-width: 0; }
  .home-nb-col h3 { font-size: 22px; font-weight: 800; letter-spacing:-0.02em; }
  .home-nb-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 22px; }
  .home-nb-link { font-size:13px; font-weight:600; color:var(--text-muted); cursor:pointer; transition:color 0.15s; }
  .home-nb-link:hover { color:#000; }
  .home-nb-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  .home-nb-grid .bn-card { min-width: 0; }

  /* Publications 미리보기 */
  .home-pub { max-width: 1200px; margin:0 auto; }
  .home-pub-row {
    display:grid; grid-template-columns:56px 1fr auto; gap:16px; align-items:center;
    padding:18px 0; border-bottom:1px solid var(--border); cursor:pointer; transition:background 0.15s;
  }
  .home-pub-row:hover { background:var(--bg-hover); margin:0 -12px; padding:18px 12px; border-radius:4px; }

  /* Contact */
  .home-contact {
    max-width:1200px; margin:96px auto 0; padding:0 40px;
  }
  .home-contact-inner {
    background:#000; color:#fff; border-radius:18px; padding:56px 48px;
    display:grid; grid-template-columns:1.3fr 1fr; gap:40px; align-items:center;
  }
  .home-contact-inner h2 { font-size:34px; font-weight:900; letter-spacing:-0.035em; margin-bottom:14px; color:#fff; }
  .home-contact-inner p { font-size:15px; color:rgba(255,255,255,0.6); line-height:1.9; }
  .home-contact-inner a { color:rgba(255,255,255,0.9); text-decoration:underline; text-underline-offset:2px; }
  .home-contact-cta {
    justify-self:end; display:inline-flex; align-items:center; gap:8px;
    background:#fff; color:#000; padding:16px 32px; border-radius:100px;
    font-size:15px; font-weight:700; cursor:pointer; transition:transform 0.2s;
  }
  .home-contact-cta:hover { transform:translateY(-2px); }

  /* 스크롤 등장 효과 */
  .home-reveal { opacity:0; transform:translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .home-reveal.in { opacity:1; transform:translateY(0); }

  @media (max-width: 900px) {
    .home-hero h1 { font-size: 38px; }
    .home-hero p { font-size: 16px; }
    .home-sec-head h2 { font-size: 28px; }
    .home-research-grid { grid-template-columns: 1fr; }
    .home-nb { grid-template-columns: 1fr; gap: 48px; }
    .home-nb-grid { grid-template-columns: 1fr; }
    .home-contact-inner { grid-template-columns: 1fr; text-align:center; }
    .home-contact-cta { justify-self:center; }
  }
