/* ==========================================================
   HOME (index.html) 전용 스타일
   ========================================================== */
.home {
    --ink: #0D2341;
    --ink-2: #163458;
    --blue: #2F63D8;
    --crimson: #D23A4E;
    --stone: #8C96A3;
    --concrete: #EEF1F4;
    --display: 'Bricolage Grotesque', 'Pretendard', 'Noto Sans KR', sans-serif;
}
.home section { max-width: none; padding: 0; margin: 0; }
.home h2 { border: 0; padding: 0; }

/* ---------- HERO ---------- */
.home-hero {
    background:
        radial-gradient(1200px 500px at 85% 20%, rgba(47, 99, 216, .22), transparent 60%),
        var(--ink);
    color: #fff;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    max-width: calc(var(--content) - 56px);
    margin: 0 auto;
    padding: 88px 28px 96px;
}
.hero-kicker {
    margin: 0 0 22px;
    color: #9FB4D3;
    font-size: .95rem;
    font-weight: 600;
}
.home-hero h1 {
    margin: 0 0 26px;
    font-family: var(--display);
    font-size: clamp(2.5rem, 4.2vw, 3.7rem);
    text-wrap: balance;
    font-weight: 800;
    font-variation-settings: "opsz" 96;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.hero-lede {
    max-width: 40em;
    margin: 0 0 34px;
    color: #C9D6E8;
    font-size: 1.02rem;
    line-height: 1.85;
    word-break: keep-all;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.btn-solid { background: #fff; color: var(--ink); }
.btn-solid:hover { background: #DCE6F7; }
.btn-line { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-line:hover { border-color: #fff; }
.btn:focus-visible, .text-link:focus-visible, .theme:focus-visible { outline: 3px solid #8CB4FF; outline-offset: 3px; }

/* signal panel */
.signal {
    margin: 0;
    padding: 16px 18px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(6, 22, 44, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.signal-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.signal-tabs button {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: transparent;
    color: #9FB4D3;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.signal-tabs button:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.signal-tabs button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.signal-tabs button:focus-visible { outline: 3px solid #8CB4FF; outline-offset: 2px; }
.signal-plot { display: block; width: 100%; height: auto; aspect-ratio: 600 / 320; }
.signal-plot .grid line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.trace-a, .trace-b { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trace-a { stroke: var(--crimson); stroke-width: 2.8; }
.trace-b { stroke: #7F93B0; stroke-width: 2.2; }
.signal figcaption { margin-top: 10px; }
.signal-title { margin: 0 0 6px; color: #E4ECF7; font-size: .9rem; font-weight: 600; }
.signal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: #9FB4D3; font-size: .8rem; }
.key::before { content: ""; display: inline-block; width: 16px; height: 3px; margin: 0 7px 3px 0; border-radius: 2px; vertical-align: middle; }
.key-a::before { background: var(--crimson); }
.key-b::before { background: #7F93B0; }

/* ---------- RESEARCH THEMES ---------- */
.home-themes {
    max-width: calc(var(--content) - 56px) !important;
    margin: 0 auto !important;
    padding: 96px 28px 40px !important;
}
.themes-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 40px;
}
.home h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
}
.themes-head p { margin: 0; color: #56677C; line-height: 1.8; word-break: keep-all; }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.theme { display: block; color: inherit; text-decoration: none; }
.theme img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
    background: var(--concrete);
    transition: transform .35s ease;
}
.theme:hover img { transform: scale(1.015); }
.theme h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -.015em;
}
.theme:hover h3 { color: var(--blue); }
.theme p { margin: 0; color: #56677C; font-size: .95rem; line-height: 1.75; word-break: keep-all; }

/* ---------- RECENT PUBLICATIONS ---------- */
.home-recent {
    max-width: calc(var(--content) - 56px) !important;
    margin: 0 auto !important;
    padding: 80px 28px 110px !important;
}
.recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.text-link {
    color: var(--blue);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(47, 99, 216, .25);
    padding-bottom: 2px;
}
.text-link:hover { border-color: var(--blue); }
.recent-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.recent-list li {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #E3E8EE;
}
.recent-year { color: var(--ink); font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.recent-list h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.08rem; font-weight: 700; line-height: 1.5; }
.recent-list p { margin: 0; color: #5D6E82; font-size: .9rem; line-height: 1.6; }
.recent-list strong, .recent-list sup { color: var(--blue); }

/* ---------- PI ---------- */
.home-pi {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    max-width: calc(var(--content) - 56px) !important;
    margin: 0 auto !important;
    padding: 80px 28px 110px !important;
}
.pi-photo { width: 220px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.pi-text h2 { margin-bottom: 18px !important; }
.pi-text p { max-width: 42em; margin: 0 0 22px; color: #45566B; line-height: 1.9; word-break: keep-all; }
.pi-links { display: flex; gap: 22px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 24px 72px; }
    .themes-head { grid-template-columns: 1fr; gap: 14px; }
    .themes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
    .home-hero h1 { font-size: 2.55rem; }
    .themes { grid-template-columns: 1fr; gap: 36px; }
    .home-themes { padding: 64px 20px 24px !important; }
    .home-recent { padding: 64px 20px 72px !important; }
    .recent-list li { grid-template-columns: 1fr; gap: 6px; }
    .home-pi { grid-template-columns: 1fr; gap: 28px; padding: 56px 20px 80px !important; }
    .pi-photo { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
    .theme img { transition: none; }
}

/* ---------- AT A GLANCE ---------- */
.home-stats {
    position: relative;
    z-index: 2;
    max-width: calc(var(--content) - 56px) !important;
    margin: -56px auto 0 !important;
    padding: 0 28px !important;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 0 rgba(13, 35, 65, .04), 0 24px 60px -24px rgba(13, 35, 65, .35);
    overflow: hidden;
}
.stat {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 32px 28px;
}
.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0; top: 28px; bottom: 28px;
    width: 1px;
    background: #E6EBF1;
}
.stat dt { order: 2; margin-top: 4px; color: var(--ink); font-size: .98rem; font-weight: 700; }
.stat dd { margin: 0; }
.stat dd:first-of-type { order: 1; }
.stat-num {
    display: block;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(2.6rem, 4.2vw, 3.6rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: 1;
}
.stat:first-child .stat-num { color: var(--blue); }
.stat-note { order: 3; margin-top: 3px !important; color: #8592A3; font-size: .8rem; }
.stats-source { margin: 12px 4px 0; color: #98A3B1; font-size: .76rem; text-align: right; }
.stats-source a { color: inherit; }
.home-themes { padding-top: 72px !important; }

@media (max-width: 860px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3)::before { display: none; }
    .stat:nth-child(n+3) { border-top: 1px solid #E6EBF1; }
}
@media (max-width: 650px) {
    .home-stats { margin-top: -36px !important; padding: 0 16px !important; }
    .stat { padding: 22px 20px 20px; }
    .stats-source { text-align: left; }
}

@media (max-width: 650px) {
    .stat-note .nb { display: block; }
    .stat-note .sep { display: none; }
}

/* 그래프 표시점 (Repair 탭) */
.signal-plot .tick { fill: #6F86A6; font-size: 1em; font-weight: 600; }
.signal-plot .mark-line { stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.signal-plot .mark-dot { stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.signal-plot .mark-dot.fa { fill: var(--crimson); }
.signal-plot .mark-dot.fb { fill: #B9C6D8; }
.signal-plot .mark-label { fill: #E4ECF7; font-size: 1.05em; font-weight: 700; }
@media (max-width: 650px) {
    .signal-tabs { gap: 4px; }
    .signal-tabs button { padding: 5px 10px; font-size: .76rem; }
}

/* 영문 + 국문 병기 */
.hero-lede { margin-bottom: 10px; }
.hero-lede-ko {
    max-width: 44em;
    margin: 0 0 32px;
    color: #8FA4C2;
    font-size: .9rem;
    line-height: 1.75;
    word-break: keep-all;
}
.themes-head .ko, .theme .ko {
    margin-top: 6px;
    color: #8A97A8;
    font-size: .86rem;
    line-height: 1.7;
}
.themes-head p:not(.ko) { color: #3F5167; }


/* ---------- WHAT WE WORK ON : Make → Sense → Restore ---------- */
.lanes {
    display: flex;
    gap: 14px;
    height: 500px;
}
.lane {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    outline: none;
    transition: flex-grow .55s cubic-bezier(.2, .7, .2, 1);
}
.lane.is-open { flex-grow: 2.4; cursor: default; }
.lane:focus-visible { box-shadow: 0 0 0 3px #8CB4FF; }
.lane-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(.85);
    transform: scale(1.06);
    transition: transform .8s ease, filter .5s ease;
}
.lane.is-open .lane-img { transform: scale(1); filter: saturate(1); }
.lane-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 35, 65, .05) 0%, rgba(13, 35, 65, .55) 45%, rgba(9, 25, 48, .96) 100%);
    transition: background .5s ease;
}
.lane:not(.is-open) .lane-shade { background: linear-gradient(180deg, rgba(13, 35, 65, .35), rgba(9, 25, 48, .92)); }
/* 펼친 칸 위쪽 빨간 선 */
.lane::before {
    content: "";
    position: absolute; left: 0; top: 0; z-index: 2;
    width: 0; height: 4px;
    background: var(--crimson);
    transition: width .55s ease;
}
.lane.is-open::before { width: 100%; }
.lane-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    padding: 30px 30px 32px;
}
.lane-verb {
    margin: 0 0 6px;
    font-family: var(--display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: rgba(255, 255, 255, .92);
}
.lane-title { margin: 0; color: #C9D6E8; font-size: 1.02rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.lane.is-open .lane-title { color: #fff; font-size: 1.15rem; }
.lane-more {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .55s ease, opacity .35s ease;
}
.lane-more-in { min-height: 0; overflow: hidden; }
.lane.is-open .lane-more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0s, .15s; }
.lane-more { overflow: hidden; }
.lane-en { margin: 14px 0 6px; max-width: 34em; color: #E4ECF7; font-size: .95rem; line-height: 1.65; }
.lane-ko { margin: 0 0 16px; max-width: 38em; color: #9FB4D3; font-size: .85rem; line-height: 1.65; word-break: keep-all; }
.lane-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.lane-tags li {
    padding: 4px 11px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #E4ECF7;
    font-size: .74rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, .06);
}
.lane-link {
    display: inline-block;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--crimson);
    padding-bottom: 2px;
}
.lane-link:hover { color: #FFD3D9; }
.lane-link:focus-visible { outline: 3px solid #8CB4FF; outline-offset: 3px; }

/* 접힌 칸: 동사와 제목만 */
.lane:not(.is-open) .lane-title { font-size: .9rem; white-space: normal; }
.lane-verb { white-space: nowrap; transition: font-size .45s ease; }
.lane:not(.is-open) .lane-verb { font-size: clamp(2rem, 3vw, 2.6rem); }

@media (max-width: 980px) {
    .lanes { height: 460px; }
    .lane-body { padding: 24px; }
}
@media (max-width: 760px) {
    .lanes { flex-direction: column; height: auto; gap: 16px; }
    .lane, .lane.is-open { flex: none; cursor: default; }
    .lane::before { width: 100%; }
    .lane-img { position: relative; display: block; height: 200px; transform: none; filter: none; }
    .lane .lane-shade { inset: 0 0 auto 0; height: 200px; background: linear-gradient(180deg, rgba(13, 35, 65, 0) 40%, rgba(13, 35, 65, .9) 100%) !important; }
    .lane-body { position: relative; margin-top: -64px; padding: 0 22px 26px; }
    .lane .lane-verb { font-size: 2.6rem; }
    .lane .lane-more { grid-template-rows: 1fr; opacity: 1; }
    .lane .lane-title { color: #fff; font-size: 1.08rem; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .lane, .lane-img, .lane-more, .lane::before, .lane-shade { transition: none; }
}

/* 아주 작은 화면(320px) 대응 */
.hero-copy, .signal { min-width: 0; }
@media (max-width: 360px) {
    .home-hero h1 { font-size: 2.15rem; }
}
@media (max-width: 360px) {
    .signal-tabs button { padding: 5px 8px; font-size: .7rem; }
    .recent-head { flex-wrap: wrap; }
}

/* ---------- WHAT'S NEW : 소식 + 최신 논문 ---------- */
.home-new { max-width: calc(var(--content) - 56px) !important; margin: 0 auto !important; padding: 88px 28px 110px !important; }
.new-head { margin-bottom: 30px; }
.new-head h2 { margin: 0; }
.new-head-ko { margin: 6px 0 0; color: #7B8794; font-size: .98rem; font-weight: 600; }
.new-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.col-title { margin: 0; color: var(--ink); font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }

/* News timeline */
.news .col-title { padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.news-list { position: relative; margin: 0; padding: 0; list-style: none; }
.news-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid #E6EBF1; }
.news-date { padding-top: 3px; color: var(--ink); font-family: var(--display); font-size: 1.02rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.news-tag { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .01em; }
.tag-award   { background: #FDF1E6; color: #B4570F; }
.tag-project { background: #E8F1F9; color: #17639b; }
.tag-member  { background: #E7F7EF; color: #1D7A4E; }
.tag-paper   { background: #F1ECFB; color: #6A3FB5; }
.tag-event   { background: #FBEFF1; color: #A8323E; }
.news-title { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.5; }
.news-ko { margin: 3px 0 0; color: #8592A3; font-size: .86rem; }

/* Latest papers card */
.recent-pubs { position: relative; padding: 26px 26px 22px; border-radius: 20px; background: #F4F7FB; }
.recent-pubs::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--crimson); }
.rp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.rp-count { color: #66809A; font-size: .8rem; white-space: nowrap; }
.rp-count b { color: var(--ink); font-weight: 800; }
.rp-list { margin: 0; padding: 0; list-style: none; }
.rp-list li { padding: 16px 0; border-bottom: 1px solid #DCE4EE; }
.rp-year { display: block; margin-bottom: 4px; color: var(--crimson); font-family: var(--display); font-size: .9rem; font-weight: 800; }
.rp-title { margin: 0 0 4px; color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.45; }
.rp-meta { margin: 0; color: #66809A; font-size: .82rem; line-height: 1.5; }
.rp-meta strong, .rp-meta sup { color: var(--blue); }
.rp-all { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; padding: 14px 44px 14px 18px; position: relative; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; transition: background .2s; }
.rp-all::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); transition: transform .2s; }
.rp-all:hover { background: #163458; }
.rp-all:hover::after { transform: translateX(3px) rotate(45deg); }
.rp-all span { font-weight: 700; font-size: .95rem; }
.rp-all small { color: #9FB4D3; font-size: .76rem; }
.rp-all:focus-visible { outline: 3px solid #8CB4FF; outline-offset: 3px; }

@media (max-width: 900px) {
    .new-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .home-new { padding: 64px 20px 72px !important; }
    .news-item { display: block; padding: 18px 0; }
    .news-date { display: inline-block; margin-right: 10px; }
    .news-item > div { display: inline; }
    .recent-pubs { padding: 22px 18px 18px; }
    .recent-pubs::before { left: 18px; right: 18px; }
}

/* News와 Latest papers 높이 맞춤 (PC) */
@media (min-width: 901px) {
    .new-grid { align-items: stretch; }
    .news { display: flex; flex-direction: column; padding-top: 26px; }
    .news-list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .news-item:last-child { border-bottom: 0; padding-bottom: 0; }
    .recent-pubs { display: flex; flex-direction: column; }
    .rp-list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .rp-list li:last-child { border-bottom: 0; }
    .rp-all { margin-top: 12px; }
    .news .col-title, .rp-head { min-height: 44px; box-sizing: border-box; }
    .rp-head { margin-bottom: 0; padding-bottom: 14px; border-bottom: 2px solid var(--ink); align-items: flex-end; }
    .news .col-title { display: flex; align-items: flex-end; }
}
@media (min-width: 901px) {
    .rp-list { justify-content: stretch; }
    .rp-list li { flex: 1; display: flex; flex-direction: column; justify-content: center; }
}

/* ==========================================================
   알림 팝업 (popup.js) — 머리말 + 연도별 카드
   ========================================================== */
.np-backdrop {
    position: fixed; inset: 0; z-index: 2000;
    display: grid; place-items: center; padding: 20px;
    background: rgba(8, 20, 38, .6);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.np-backdrop.is-open { opacity: 1; visibility: visible; }
.np {
    position: relative; width: min(880px, 100%);
    max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: hidden auto;
    padding: 34px 34px 24px; border-radius: 24px; background: #fff;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
    transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .9, .3, 1.1);
}
.np-backdrop.is-open .np { transform: none; }
.np-head { display: flex; align-items: center; gap: 22px; padding-right: 40px; }
.np-head-text { min-width: 0; }
/* 2년 연속: 금색 큰 숫자 타일 */
.np-streak {
    position: relative; overflow: hidden; flex-shrink: 0;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 18px 10px 16px; border-radius: 18px;
    background: linear-gradient(140deg, #FFE7A3 0%, #F4C95D 45%, #D9962B 100%);
    color: #4A2E00; box-shadow: 0 14px 30px -14px rgba(217, 150, 43, .9), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.np-streak-n { font-family: 'Bricolage Grotesque', sans-serif; font-size: 4.4rem; font-weight: 800; line-height: .9; letter-spacing: -.06em; }
.np-streak-t { font-size: .82rem; font-weight: 800; line-height: 1.15; }
.np-streak::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%);
}
.np-backdrop.is-open .np-streak::after { animation: npShine 1.1s ease .55s; }
@keyframes npShine { to { transform: translateX(120%); } }
.np-badge {
    display: inline-block; padding: 4px 11px; border-radius: 999px;
    background: #F5F0E3; color: #8A5A00;
    font-size: .76rem; font-weight: 800;
}
.np-head h2 { margin: 12px 0 0; padding: 0; border: 0; color: #0D2341; font-family: 'Bricolage Grotesque', 'Pretendard Variable', sans-serif; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.np-ko { margin: 8px 0 0; color: #0D2341; font-size: 1.12rem; font-weight: 800; }
.np-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.np-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E3E9F0; border-radius: 16px; }
.np-poster { position: relative; display: block; height: 190px; overflow: hidden; background: #0D2341; }
.np-poster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.np-poster:hover img { transform: scale(1.04); }
.np-year { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 5px; border-radius: 999px; background: #0D2341; color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: .92rem; font-weight: 800; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); }
.np-year b { padding: 2px 8px; border-radius: 999px; background: linear-gradient(140deg, #FFE7A3, #F4C95D 50%, #D9962B); color: #4A2E00; font-size: .78rem; }
.np-zoom { position: absolute; right: 12px; bottom: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(13, 35, 65, .85); color: #fff; font-size: .74rem; font-weight: 700; }
.np-project { padding: 16px 18px 0; }
.np-project strong { display: block; color: #102B46; font-size: .98rem; line-height: 1.35; }
.np-project span { display: block; margin-top: 4px; color: #5B6B7E; font-size: .86rem; line-height: 1.45; }
.np-team { margin: 10px 18px 16px; color: #7B8794; font-size: .82rem; line-height: 1.55; }
.np-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.np-advisor { margin: 0 auto 0 0; color: #66809A; font-size: .84rem; font-weight: 600; }
.np-today { display: inline-flex; align-items: center; gap: 7px; color: #66809A; font-size: .82rem; cursor: pointer; }
.np-today input { width: 15px; height: 15px; accent-color: #0D2341; }
.np-close { padding: 10px 22px; border: 0; border-radius: 999px; background: #0D2341; color: #fff; font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; }
.np-close:hover { background: #2F63D8; }
.np-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F0F3F7; color: #5B6B7E; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.np-x:hover { background: #E2E8F0; color: #0D2341; }
.np button:focus-visible, .np a:focus-visible, .np-today input:focus-visible { outline: 3px solid #8CB4FF; outline-offset: 2px; }
@media (max-width: 680px) {
    .np { padding: 24px 18px 18px; border-radius: 20px; }
    .np-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
    .np-poster { height: 130px; }
    .np-foot { margin-top: 16px; }
    .np-advisor { flex-basis: 100%; }
    .np-head { gap: 14px; padding-right: 34px; }
    .np-streak { padding: 8px 12px 8px 11px; border-radius: 14px; }
    .np-streak-n { font-size: 3.2rem; }
    .np-streak-t { font-size: .72rem; }
    .np-ko { font-size: 1rem; }
}
@media (max-width: 360px) { .np-head { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .np-backdrop, .np { transition: none; } .np-backdrop.is-open .np-streak::after { animation: none; } }
