
/* =========================================================
   전역 변수: 사이트 전체에서 공통으로 사용하는 색상, 배경, 그림자 값
   - 색상을 바꿀 때는 아래 변수만 수정하면 전체 톤을 쉽게 변경할 수 있음
========================================================= */
:root {
    --navy:#061a33;
    --blue:#1266d6;
    --sky:#56b6ff;
    --ink:#122033;
    --muted:#64748b;
    --line:#e6edf7;
    --bg:#f5f8fc;
    --card:#fff;
    --shadow:0 24px 70px rgba(9,30,66,.12)
}

/* 모든 요소의 크기 계산 기준을 border-box로 통일 */
* {
    box-sizing:border-box
}

/* 페이지 내부 앵커 이동 시 부드럽게 스크롤되도록 설정 */
html {
    scroll-behavior:smooth
}

/* 기본 페이지 스타일: 폰트, 글자색, 배경색, 가로 스크롤 방지 */
body {
    margin:0;
    font-family:"Segoe UI",Arial,sans-serif;
    color:var(--ink);
    background:var(--bg);
    overflow-x:hidden
}

body.nav-open {
    overflow: hidden;
}

/* =========================================================
   상단 네비게이션 바
   - 화면 상단에 고정
   - 스크롤 시 script.js에서 .scrolled 클래스가 추가되어 높이와 배경이 변경됨
========================================================= */
/* =========================
   상단 네비게이션 로고 이미지
========================= */
/* =========================
   로고
========================= */
.logo-img {
    width: 165px;
    height: auto;
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 110px;

    /* 좌우 여백 */
    padding: 0 4%;
    display: flex;
    align-items: center;

    /* 로고 + 메뉴를 양 끝 정렬 */
    justify-content: space-between;
    background: transparent;
    box-shadow: none;
    z-index: 50;
    transition: 0.25s;
}

/* 스크롤 시 반투명 배경 */
.navbar.scrolled {
    height: 96px;
    background: rgba(6, 26, 51, 0.72);
    backdrop-filter: blur(16px);
}

/* 좌측 연구실 로고 영역 */
.logo {
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    font-weight:900;
    font-size:21px;
    color:#0b2c55;
    letter-spacing:-.4px
}

.logo-mark {
    display:inline-flex;
    width:34px;
    height:34px;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:linear-gradient(135deg,#0b3b78,#2e9dff);
    color:white;
    box-shadow:0 8px 20px rgba(18,102,214,.28)
}

/* 우측 메뉴 링크 묶음 */
.nav-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 48px;
    margin-left: 80px;
}

.nav-links a,
.dropbtn {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: 0.2s;
}

/* hover 효과 */
.nav-links a:hover,
.dropbtn:hover {
    color: #56b6ff;
}

/* =========================================================
   Dropdown Menu
========================================================= */

.dropdown {
    position: relative;
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 42px;
    left: 0;
    transform: translateY(12px);
    min-width: 290px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 18px 55px rgba(6, 26, 51, 0.16);
    transition: 0.22s;
}

/* PC에서 마우스를 올리면 Dropdown 표시 */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 오른쪽에 가까운 메뉴(Members, Boards)는 반대 방향으로 펼쳐서 화면 밖으로 안 나가게 */
.nav-links > .dropdown:nth-last-of-type(-n+2) .dropdown-content {
    left: auto;
    right: 0;
}

/* Dropdown 안의 링크 */
.dropdown-content a {
    display: block;
    padding: 11px 13px;
    border-radius: 12px;
    white-space: nowrap;
    color: #122033;
}

/* Dropdown 링크 Hover */
.dropdown-content a:hover {
    background: #eef6ff;
    color: #1266d6;
}


/* 모바일 화면에서 표시되는 햄버거 메뉴 버튼 */
.menu-toggle {
    display:none;
    border:0;
    background:#0b2c55;
    color:white;
    width:40px;
    height:40px;
    border-radius:12px;
    font-size:20px
}

.hero,/* 서브 페이지 상단 배너 기본 배경 */
.sub-hero {
    position:relative;
    color:white;
    overflow:hidden;
    background-size:cover;
    background-position:center
}

.hero:before,.sub-hero:before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(115deg,rgba(3,16,36,.95),rgba(11,53,99,.78),rgba(18,102,214,.45));
    z-index:0
}

.hero:after,.sub-hero:after {
    content:"";
    position:absolute;
    right:-120px;
    bottom:-160px;
    width:520px;
    height:520px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(86,182,255,.32),rgba(86,182,255,0) 65%);
    z-index:0
}

/* 메인 페이지 첫 화면 전용 레이아웃 */
/* 메인 페이지 첫 화면 전용 레이아웃 */
.corporate-hero {
    min-height:100vh;
    padding:150px 7% 100px;
    display:grid;
    grid-template-columns:minmax(0,1.15fr) 420px;
    align-items:center;
    gap:50px;

    background-image:url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=85');
}

/* 히어로 영역에 반도체/회로 느낌의 격자 패턴 추가 */
.hero-overlay-grid {
    position:absolute;
    inset:0;

    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);

    background-size:70px 70px;

    mask-image:
        linear-gradient(to bottom,rgba(0,0,0,.9),transparent);

    z-index:0;
}

.hero-text,
.hero-panel,
.sub-hero > * {
    position:relative;
    z-index:1;
}

.tag,
.section-kicker {
    font-size:13px;
    letter-spacing:3.5px;
    text-transform:uppercase;
    color:#6bbdff;
    font-weight:900;
}

.hero h1,
.sub-hero h1 {
    font-size:64px;
    line-height:1.05;
    margin:14px 0 22px;
    letter-spacing:-2.3px;
    max-width:980px;
}

.hero p,
.sub-hero p {
    max-width:850px;
    font-size:20px;
    line-height:1.75;
    color:#edf7ff;
}

/* 히어로 영역 버튼 묶음 */
.hero-actions {
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

/* 공통 버튼 스타일 */
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin-top:28px;
    padding:14px 28px;

    border-radius:999px;

    text-decoration:none;
    font-weight:900;

    border:1px solid rgba(255,255,255,.45);

    transition:.22s;
}

.btn.primary {
    background:white;
    color:#0b2c55;
}

.btn.ghost {
    background:rgba(255,255,255,.12);
    color:white;
    backdrop-filter:blur(8px);
}

.btn:hover {
    transform:translateY(-3px);
}

/* 히어로 우측 유리 느낌 정보 패널 */
.hero-panel {
    padding:30px;
    border-radius:28px;

    background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.25);

    box-shadow:0 30px 80px rgba(0,0,0,.25);

    backdrop-filter:blur(16px);
}

.hero-panel p {
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:2px;
    color:#aee0ff;
    margin:0 0 8px;
}

.hero-panel h3 {
    font-size:26px;
    line-height:1.35;
    margin:0 0 28px;
}

.mini-stats {
    display:grid;
    gap:12px;
}

.mini-stats a {
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:14px 16px;
    border-radius:16px;

    background:rgba(255,255,255,.12);
    color:white;

    text-decoration:none;
    transition:.2s;
}

.mini-stats a:hover {
    background:rgba(255,255,255,.22);
    transform:translateX(4px);
}

.mini-stats b {
    font-size:22px;
    color:white;
}

/* 히어로 영역에 반도체/회로 느낌의 격자 패턴 추가 */
/* .hero-overlay-grid {
    position:absolute;
    inset:0;
    background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
    background-size:70px 70px;
    mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent);
    z-index:0
} */

.sub-hero > * {
    position:relative;
    z-index:1;
}

.section-kicker {
    font-size:13px;
    letter-spacing:3.5px;
    text-transform:uppercase;
    color:#6bbdff;
    font-weight:900;
}

.sub-hero h1 {
    font-size:64px;
    line-height:1.05;
    margin:14px 0 22px;
    letter-spacing:-2.3px;
    max-width:980px;
}

.sub-hero p {
    max-width:850px;
    font-size:20px;
    line-height:1.75;
    color:#edf7ff;
}

/* 히어로 영역 버튼 묶음
.hero-actions {
    display:flex;
    gap:14px;
    flex-wrap:wrap
} */

/* 공통 버튼 스타일 */
/* .btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:28px;
    padding:14px 28px;
    border-radius:999px;
    text-decoration:none;
    font-weight:900;
    border:1px solid rgba(255,255,255,.45);
    transition:.22s
}

.btn.primary {
    background:white;
    color:#0b2c55
}

.btn.ghost {
    background:rgba(255,255,255,.12);
    color:white;
    backdrop-filter:blur(8px)
}

.btn:hover {
    transform:translateY(-3px)
} */

/* 히어로 우측 유리 느낌 정보 패널 */
/* .hero-panel {
    padding:30px;
    border-radius:28px;
    background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.25);
    box-shadow:0 30px 80px rgba(0,0,0,.25);
    backdrop-filter:blur(16px)
}

.hero-panel p {
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:2px;
    color:#aee0ff;
    margin:0 0 8px
}

.hero-panel h3 {
    font-size:26px;
    line-height:1.35;
    margin:0 0 28px
} */

/* .mini-stats {
    display: grid;
    gap: 12px;
} */

/* .mini-stats a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 16px;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.12);
    color: white;

    text-decoration: none;
    transition: 0.2s;
}

.mini-stats a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(4px);
}

.mini-stats b {
    font-size: 22px;
    color: white;
} */

/* =========================================================
   공통 섹션 레이아웃
   - 각 페이지의 본문 영역 여백과 제목 스타일 정의
========================================================= */
.section {
    padding:94px 7%
}

.section h2 {
    font-size:42px;
    text-align:center;
    margin:10px 0 22px;
    color:#102846;
    letter-spacing:-1.1px
}

.section-kicker {
    text-align:center
}

.lead {
    max-width:870px;
    margin:0 auto 34px;
    text-align:center;
    font-size:18px;
    line-height:1.75;
    color:var(--muted)
}

/* 메인 페이지 소개 섹션 */
.intro-section {
    background:white
}

/* 소개 섹션의 핵심 키워드 3개 카드 */
.feature-strip {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    max-width:1050px;
    margin:38px auto 0
}

.feature-strip div {
    padding:26px;
    border-radius:22px;
    background:linear-gradient(145deg,#f5f9ff,#fff);
    border:1px solid var(--line);
    box-shadow:0 18px 45px rgba(9,30,66,.07)
}

.feature-strip strong {
    display:block;
    font-size:20px;
    color:#0b2c55;
    margin-bottom:8px
}

.feature-strip span {
    color:var(--muted)
}

/* 카드형 그리드 기본 배치 */
.grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px
}

/* 공통 카드 스타일 */
.card {
    display:block;
    text-decoration:none;
    color:inherit;
    background:white;
    border-radius:26px;
    box-shadow:var(--shadow);
    transition:.28s;
    overflow:hidden;
    border:1px solid rgba(230,237,247,.8)
}

.card:hover {
    transform:translateY(-10px);
    box-shadow:0 28px 80px rgba(9,30,66,.18)
}

.visual-card img {
    width:100%;
    height:170px;
    object-fit:cover;
    display:block;
    transition:.35s
}

.visual-card:hover img {
    transform:scale(1.05)
}

.visual-card div {
    padding:26px
}

.card span {
    font-size:32px;
    font-weight:950;
    color:var(--blue)
}

.card h3 {
    font-size:22px;
    margin:14px 0 10px;
    color:#102846
}

.card p {
    line-height:1.65;
    color:#566070
}

/* 어두운 배경 섹션 */
.dark {
    background:radial-gradient(circle at 20% 0%,rgba(31,120,209,.35),transparent 35%),#07172b;
    color:white
}

.dark h2 {
    color:white
}

/* 메인 페이지 Members 섹션 카드 배치 */
.member-box {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px
}

.member-box div {
    padding:38px;
    border-radius:26px;
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 18px 45px rgba(0,0,0,.16)
}

.member-box h3 {
    font-size:24px
}

/* Contact 섹션 */
.contact {
    text-align:center;
    background:linear-gradient(180deg,#f5f8fc,#fff)
}

.contact-card {
    max-width:860px;
    margin:30px auto 0;
    padding:30px 34px;
    background:white;
    border-radius:26px;
    text-align:left;
    box-shadow:var(--shadow);
    border:1px solid var(--line)
}

/* 페이지 하단 푸터 */
footer {
    padding:30px;
    text-align:center;
    background:#061321;
    color:#aeb9c7
}

.sub-hero {
    padding:155px 7% 96px;
    background-image:url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=85')
}

/* 서브 페이지별 배너 이미지 설정 */
.research-hero {
    background-image:url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=85')
}

.project-hero {
    background-image:url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=85')
}

.paper-hero {
    background-image:url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=85')
}

.conference-hero {
    background-image:url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1800&q=85')
}

.patent-hero {
    background-image:url('https://images.unsplash.com/photo-1563986768494-4dee2763ff3f?auto=format&fit=crop&w=1800&q=85')
}

.sub-hero h1 {
    font-size:52px
}

/* =========================================================
   서브 페이지 공통 2단 레이아웃
   - 좌측 사이드 메뉴 + 우측 콘텐츠 목록
========================================================= */
.page-layout {
    display:grid;
    grid-template-columns:280px 1fr;
    gap:30px
}

/* 좌측 고정 사이드 메뉴 */
.side-menu {
    position:sticky;
    top:96px;
    align-self:start;
    background:rgba(255,255,255,.86);
    backdrop-filter:blur(10px);
    border:1px solid var(--line);
    border-radius:26px;
    padding:18px;
    box-shadow:var(--shadow)
}

.side-menu a {
    display:block;
    text-decoration:none;
    color:#334155;
    font-weight:800;
    padding:12px 14px;
    border-radius:14px
}

.side-menu a:hover {
    background:#eef6ff;
    color:var(--blue)
}

.side-menu a.active {
    background: #eef6ff;
    color: var(--blue);
    font-weight: 950;
}

/* 우측 콘텐츠 목록 컨테이너 */
.content-list {
    display:flex;
    flex-direction:column;
    gap:20px
}

.entry,.research-item,.project-item {
    position:relative;
    background:white;
    border-radius:26px;
    padding:30px 34px;
    box-shadow:0 14px 45px rgba(9,30,66,.09);
    border:1px solid var(--line);
    overflow:hidden
}

.entry:before,.research-item:before,.project-item:before {
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:6px;
    height:100%;
    background:linear-gradient(var(--blue),var(--sky))
}

.entry-title {
    font-size:20px;
    font-weight:900;
    color:#102846;
    margin:0 0 8px;
    line-height:1.45
}

.entry-meta {
    margin:5px 0;
    color:#566070;
    line-height:1.6
}

/* 번호, 상태, 카테고리 등을 표시하는 작은 배지 */
.badge {
    display:inline-block;
    margin-bottom:14px;
    padding:8px 13px;
    border-radius:999px;
    background:#eaf4ff;
    color:#1266b2;
    font-size:13px;
    font-weight:950
}
.badge-ongoing {
    background: #e6f7ed;
    color: #1a8f4c;
}

.badge-completed {
    background: #f1f1f3;
    color: #6b6f76;
}

/* Research Area 번호 아이콘 */
.research-number {
    width:64px;
    height:64px;
    border-radius:19px;
    background:linear-gradient(135deg,#0b3b78,#2e9dff);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:950;
    float:left;
    margin:0 22px 12px 0
}

.project-title {
    font-size:21px;
    font-weight:950;
    color:#102846
}

.project-date {
    margin-top:10px;
    color:#1266b2;
    font-weight:850
}

/* Publications 페이지의 탭 메뉴 */
.pub-tabs {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:24px
}

.pub-tabs a {
    text-decoration:none;
    padding:11px 15px;
    border-radius:999px;
    background:#eaf4ff;
    color:#1266b2;
    font-weight:850
}

.pub-tabs a.active {
    background:#123c69;
    color:white
}

/* 스크롤 등장 애니메이션 초기 상태 */
.reveal {
    opacity:0;
    transform:translateY(24px);
    transition:opacity .7s ease, transform .7s ease
}

.reveal.visible {
    opacity:1;
    transform:translateY(0)
}

/* =========================================================
   반응형 스타일: 태블릿 크기 이하
========================================================= */
@media(max-width:1050px) {
    .corporate-hero {
        grid-template-columns:1fr
    }

    .hero-panel {
        max-width:650px
    }

    .grid {
        grid-template-columns:repeat(2,1fr)
    }

}

/* =========================================================
   반응형 스타일: 모바일 메뉴 전환 구간
========================================================= */
@media (max-width: 850px) {
    body.home-page {
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }

    body.home-page .page-wrapper {
        transform: none !important;
    }

    body.home-page .hero,
    body.home-page .intro-section,
    body.home-page .visual-section,
    body.home-page .members-section,
    body.home-page .contact {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .page-indicator {
        display: none;
    }

    .corporate-hero .hero-title {
        font-size: 3.8rem;
        letter-spacing: -3px;
    }

    .corporate-hero .hero-description {
        font-size: 17px;
        line-height: 1.6;
    }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #07172b;
        padding: 14px 7%;
        box-shadow: 0 22px 50px rgba(9, 30, 66, .14);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        pointer-events: none;
        overflow-x: hidden;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .nav-links a,
    .dropbtn {
        color: white;
    }

    .nav-links a:hover,
    .dropbtn:hover {
        color: white;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links .dropdown {
        width: 100%;
        max-width: 100%;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 4px 0 4px 14px;
        background: transparent;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .dropdown-content a,
    .dropdown-content a:link,
    .dropdown-content a:visited,
    .dropdown-content a:active {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        color: white;
        font-size: 15px;
        font-weight: 600;
        opacity: 0.85;
        padding: 9px 13px;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .dropdown-content a:hover {
        background: transparent;
        color: #56b6ff;
    }

    .dropdown-content a,
    .dropbtn,
    .menu-toggle {
        transition: none;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links .dropdown {
        width: 100%;
    }

    /* Research 페이지 카드 */
    .research-card-grid {
        grid-template-columns: 1fr;
    }

    /* 기타 모바일 Grid */
    .page-layout,
    .grid,
    .member-box,
    .feature-strip {
        grid-template-columns: 1fr;
    }

    .side-menu {
        position: static;
    }

    /* 서브페이지 Hero */
    .sub-hero h1 {
        font-size: 39px;
    }

    .sub-hero p {
        font-size: 17px;
    }

    .section {
        padding: 72px 5%;
    }

    .navbar {
        padding: 0 5%;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

/* =========================================================
   반응형 스타일: 작은 모바일 화면
========================================================= */
@media (max-width: 520px) {

    .corporate-hero .hero-title {
        font-size: 2.9rem;
        letter-spacing: -2px;
    }

    .corporate-hero .hero-description {
        font-size: 16px;
    }

    .sub-hero h1 {
        font-size: 34px;
    }

    .visual-card img {
        height: 190px;
    }
}

/* =========================================================
   Members / Gallery 관련 페이지 스타일
========================================================= */
.people-hero {
    background-image:url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1800&q=85')
}

.gallery-hero {
    background-image:url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=1800&q=85')
}

.member-link {
    text-decoration:none;
    color:white;
    display:block;
    padding:38px;
    border-radius:26px;
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 18px 45px rgba(0,0,0,.16);
    transition:.25s
}

.member-link:hover {
    transform:translateY(-8px);
    background:rgba(255,255,255,.15)
}

/* 교수 프로필 페이지의 2단 레이아웃 */
.profile-layout {
    display:grid;
    grid-template-columns:360px 1fr;
    gap:32px;
    align-items:start
}

/* 교수 프로필 좌측 카드 */
.profile-card {
    position:sticky;
    top:96px;
    background:white;
    border:1px solid var(--line);
    border-radius:30px;
    padding:34px;
    text-align:center;
    box-shadow:var(--shadow)
}

.profile-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 22px;

    border-radius: 44px;
    overflow: hidden;

    background: #f2f7fd;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-card h2 {
    font-size:25px;
    margin:0 0 6px;
    text-align:center
}

.role {
    color:#1266d6;
    font-weight:900
}

.contact-mini {
    display:grid;
    gap:10px;
    margin-top:20px;
    text-align:left
}

.contact-mini span {
    padding:12px 14px;
    background:#f2f7fd;
    border-radius:14px;
    color:#405168
}

.clean-list {
    margin:0;
    padding-left:20px
}

.clean-list li {
    margin:10px 0;
    line-height:1.7;
    color:#405168
}

.group-title {
    margin:50px 0 20px;
    font-size:27px;
    color:#102846
}

/* 학생 목록 카드 그리드 */
.people-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px
}

/* 학생 개별 카드 */
.person-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;

    align-items: start;

    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 14px 45px rgba(9, 30, 66, 0.08);
}

.avatar {
    width: 190px;
    height: 250px;
    border-radius: 22px;
    overflow: hidden;
    background: #f2f7fd;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.person-card h3 {
    margin:0 0 6px;
    font-size:20px;
    color:#102846
}

.person-card h3 span {
    font-size:16px;
    color:#64748b
}

.person-card p {
    margin:8px 0;
    line-height:1.55;
    color:#405168
}

/* 졸업생 목록 그리드 */
.alumni-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}

.alumni-card {
    padding:25px;
    background:white;
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:0 14px 45px rgba(9,30,66,.08)
}

.alumni-photo {
    width: 120px;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    background: #f2f7fd;
    margin-bottom: 18px;
}

.alumni-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.alumni-card h3 {
    margin:0 0 10px;
    font-size:21px
}

.alumni-card p {
    line-height:1.6;
    color:#526173
}

.alumni-card .current {
    font-weight:850;
    color:#1266d6
}

/* 갤러리 카드 그리드 */
.gallery-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px
}

.gallery-card {
    background:white;
    border-radius:26px;
    overflow:hidden;
    box-shadow:var(--shadow);
    border:1px solid var(--line);
    transition:.25s
}

.gallery-card:hover {
    transform:translateY(-8px)
}

.gallery-card img {
    width:100%;
    height:210px;
    object-fit:cover;
    display:block
}

.gallery-card div {
    padding:22px
}

.gallery-card span {
    color:#1266d6;
    font-weight:950
}

.gallery-card h3 {
    margin:8px 0 10px;
    font-size:20px;
    color:#102846
}

.gallery-card p {
    line-height:1.6;
    color:#526173
}

@media(max-width:1050px) {
    .profile-layout,.people-grid,.alumni-grid {
        grid-template-columns:1fr
    }

    .profile-card {
        position:static
    }

    .gallery-grid {
        grid-template-columns:repeat(2,1fr)
    }

}

@media(max-width:620px) {
    .person-card {
        grid-template-columns:1fr
    }

    .gallery-grid {
        grid-template-columns:1fr
    }

}

/* =========================================================
   메인 페이지: PDF처럼 부드럽게 한 페이지씩 슬라이드
   - 실제 브라우저 스크롤 대신 .page-wrapper를 transform으로 이동
   - 오른쪽 스크롤바는 숨김
   - 섹션 수: Main / About / Research & Publications / People / Contact
========================================================= */

/* 메인 페이지에서는 기본 스크롤바를 숨긴다. */
@media (min-width: 851px) {
    body.home-page {
        height: 100vh;
        overflow: hidden;
        overscroll-behavior: none;
    }

    body.home-page .page-wrapper {
        width: 100%;
        transition: transform 0.8s ease-out;
        will-change: transform;
    }

    body.home-page .hero,
    body.home-page .intro-section,
    body.home-page .visual-section,
    body.home-page .members-section,
    body.home-page .contact {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
    }
}

/* About, Research, People, Contact는 화면 중앙에 자연스럽게 배치한다. */
body.home-page .intro-section,
body.home-page .visual-section,
body.home-page .members-section,
body.home-page .contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 첫 화면은 고정 네비게이션과 겹치지 않도록 상단 여백을 조정한다. */
body.home-page .corporate-hero {
    padding-top: 120px;
}

/* 각 페이지는 투명도 변화 없이 그대로 표시한다. */
body.home-page .hero,
body.home-page .intro-section,
body.home-page .visual-section,
body.home-page .members-section,
body.home-page .contact {
    opacity: 1;
    transition: none;
}

/* 현재 활성화된 페이지도 별도 효과 없이 유지한다. */
body.home-page .page-active {
    opacity: 1;
}

/* Contact 섹션에 포함된 footer가 화면 아래쪽에 자연스럽게 보이도록 조정한다. */
body.home-page .contact footer {
    margin-top: 34px;
    margin-left: -7vw;
    margin-right: -7vw;
    margin-bottom: -94px;
}

/* 모바일에서는 한 화면 안에 내용이 많을 수 있으므로 글자/간격을 약간 줄인다. */
@media (max-width: 850px) {
    body.home-page .corporate-hero {
        padding-top: 105px;
    }

    body.home-page .intro-section,
    body.home-page .visual-section,
    body.home-page .members-section,
    body.home-page .contact {
        padding-top: 86px;
        padding-bottom: 50px;
    }
}

/* @media (max-width: 520px) {
    body.home-page .hero,
    body.home-page .intro-section,
    body.home-page .visual-section,
    body.home-page .members-section,
    body.home-page .contact {
        height: 100vh;
        min-height: 100vh;
    }
} */

/* 오른쪽 페이지 위치 바 */
@media (min-width: 851px) {
    .page-indicator {
        position: fixed;
        top: 50%;
        right: 32px;
        transform: translateY(-50%);
        z-index: 100;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
}

.indicator-dot {
    width: 11px;
    height: 11px;
    border: 1.5px solid white;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.indicator-dot.active {
    background: #00c8ff;
    border-color: #00c8ff;
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.8);
}




/* Research Area: 대기업형 이미지 카드 레이아웃 */
.research-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.research-card {
    position: relative;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5eaf2;
    box-shadow: 0 18px 45px rgba(9, 30, 66, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.research-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(9, 30, 66, 0.16);
}

.research-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #f5f8fc;
}

.research-card-content {
    position: relative;
    padding: 26px 28px 30px;
    background: white;
}

.research-card-content span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.research-card-content h2 {
    margin: 0 0 16px;
    font-size: 21px;
    line-height: 1.35;
    text-align: left;
    color: #102846;
    letter-spacing: -0.4px;
}

.research-card-content ul {
    margin: 0;
    padding-left: 18px;
}

.research-card-content li {
    margin: 8px 0;
    line-height: 1.65;
    color: #4b5b70;
    font-size: 15px;
}

/* 이미지 위쪽에 은은한 기업형 라인 효과 */
.research-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 300px;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--sky));
}

