/* 기업인재연구소 futurelab.kr — 밝은 회색과 블루 투톤 시안 */
:root {
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --frame: 1040px;
  --pad: clamp(20px, 5vw, 56px);
  /* 투톤: 밝은 회색(g)과 연한 블루(b)를 번갈아, 아래로 갈수록 블루가 조금씩 깊어진다 */
  --g0: #f6f7f8; --g1: #f0f2f4; --g2: #eceff2;
  --b0: #eef3f8; --b1: #e6eef6; --b2: #dde8f3; --b3: #d3e2f1;
  --ink: #1e2a36; --sub: #55616e; --rule: #a7b6c6; --rule-soft: #d3dbe4; --accent: #2f5d8a;
  /* 인포그래픽 층 색 */
  --f1: #cfdfee; --f2: #8fb0d1; --f3: #3f6c99; --f4: #213f61;
}
/* 섹션별 배경 (글자와 선은 같은 체계) */
.t0, .top, .foot { --bg: var(--g0); }
.t1 { --bg: var(--b0); }
.t2 { --bg: var(--g1); }
.t3 { --bg: var(--b1); }
.t4 { --bg: var(--g2); }
.t5 { --bg: var(--b2); }
.t6 { --bg: var(--b3); }
.t7 { --bg: var(--g1); }
.t8 { --bg: var(--b0); }
.blk, .top, .foot { --fg: var(--ink); }
.t5, .t6 { --rule-soft: #b9cadc; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--g0); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.8; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; }
h1, h2 { margin: 0; letter-spacing: -0.025em; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--g0); padding: 8px 12px; z-index: 10; }

/* 색 띠는 화면 끝까지, 좌우 세로선은 가운데 틀을 따라 위에서 아래까지 이어진다 */
.blk, .top, .foot { background: var(--bg); color: var(--fg); }
.in { max-width: var(--frame); margin: 0 auto; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }

.top { position: sticky; top: 0; z-index: 5; background: rgba(246, 247, 248, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 0 var(--pad); }
.top-name { font-weight: 700; letter-spacing: -0.02em; }
.top-link { font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.top-link:hover { color: var(--accent); border-color: var(--accent); }

.blk { border-bottom: 1px solid var(--rule); }
.blk > .in { padding: clamp(56px, 9vw, 112px) var(--pad); }
.focus-in { transform-origin: 50% 50%; transform: scale(var(--sc, 1)); opacity: var(--op, 1); }

/* 히어로 */
/* 첫 화면 배경 사진: 오른쪽(강연자)은 약 35%로 보이고, 글이 놓이는 왼쪽으로 갈수록 바탕색에 묻힌다 */
.hero {
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(246,247,248,.96) 0%, rgba(246,247,248,.91) 30%, rgba(246,247,248,.74) 62%, rgba(246,247,248,.65) 100%),
    url("hero.webp");
  background-size: cover;
  background-position: 70% 40%;
}
.hero > .in { min-height: calc(100vh - 61px); display: flex; align-items: center; }
@media (max-width: 640px) {
  /* 휴대폰에서는 글이 사진 위에 겹치므로 전체를 더 연하게 */
  .hero {
    background-image:
      linear-gradient(180deg, rgba(246,247,248,.9) 0%, rgba(246,247,248,.86) 55%, rgba(246,247,248,.8) 100%),
      url("hero-m.webp");
    background-position: 88% 40%;
  }
}
.hero-name { font-weight: 700; font-size: 18px; }
.hero-motto { font-size: 15px; color: var(--sub); letter-spacing: 0.02em; margin-top: 2px; padding-bottom: 28px; border-bottom: 1px solid var(--rule-soft); display: inline-block; }
.hero h1 { font-size: clamp(32px, 5.4vw, 64px); font-weight: 700; margin-top: 40px; letter-spacing: -0.04em; line-height: 1.22; }
.hero-sub { margin-top: 28px; max-width: 34em; color: var(--sub); font-size: clamp(16px, 1.6vw, 19px); }

/* 인포그래픽 */
.fig-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; margin-bottom: 36px; }
.fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.fig-narrow { display: none !important; max-width: 420px; margin: 0 auto; }
@media (max-width: 640px) { .fig-wide { display: none !important; } .fig-narrow { display: block !important; } }
.fig rect { stroke: none; }
.fig .ground { stroke: var(--rule); stroke-width: 1.2; }
.fig .link { fill: none; stroke: var(--rule); stroke-width: 1.2; }
.fig .arw { fill: var(--rule); }
.fig text { font-family: var(--font); text-anchor: middle; fill: var(--fg); }
.fig .t-name { font-size: 17px; font-weight: 700; }
.fig .t-line { font-size: 13px; fill: var(--sub); }
.fig .t-left, .fig .t-ground { text-anchor: start; }
.fig .t-ground { font-size: 15px; font-weight: 700; }
/* 층이 올라갈수록 블루가 깊어진다 */
.fig .l1 rect { fill: var(--f1); }
.fig .l1 .t-name { fill: var(--ink); } .fig .l1 .t-line { fill: #3e4c5a; }
.fig .l2 rect { fill: var(--f2); }
.fig .l2 .t-name { fill: #101c28; } .fig .l2 .t-line { fill: #1f3247; }
.fig .l3 rect { fill: var(--f3); }
.fig .l3 .t-name { fill: #ffffff; } .fig .l3 .t-line { fill: #eaf1f8; }
.fig .core { fill: var(--f4); stroke: none; }
.fig .t-core { font-size: 19px; font-weight: 700; fill: #ffffff; }
.fig .l4 .t-core + .t-line { fill: #c9d9ea; }
.fig .l0 .t-ground { fill: var(--fg); }
/* 화면에 들어오면 바탕 → 첫째 층 → 둘째 층 → 셋째 층 → 호모 크레안스 순으로 나타난다 */
.js .fig .lyr { opacity: 0; transition: opacity .8s ease; }
.js .fig.on .lyr { opacity: 1; }
/* 인포그래픽은 크기를 바꾸지 않고 진하기만 바꾼다 (SVG 글자 번짐 방지) */
.figure .focus-in { transform: none; }
.js .fig.on .l0 { transition-delay: 0s; }
.js .fig.on .l1 { transition-delay: .35s; }
.js .fig.on .l2 { transition-delay: .7s; }
.js .fig.on .l3 { transition-delay: 1.05s; }
.js .fig.on .l4 { transition-delay: 1.5s; }

/* 연구 개요 */
.item > .in { min-height: 72vh; display: flex; align-items: center; }
.item-in { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; width: 100%; }
.item-tag { font-size: 14px; color: var(--accent); font-weight: 600; padding-top: 10px; border-top: 1px solid var(--rule); align-self: start; }
.item h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.035em; }
.item-q { color: var(--sub); font-size: 18px; margin: 6px 0 24px; }
.item-in p:last-child { max-width: 36em; font-size: 18px; }
@media (max-width: 640px) {
  .item-in { grid-template-columns: 1fr; gap: 12px; }
  .item-tag { padding-top: 8px; width: 80px; }
}

/* 마무리 */
.closing > .in { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.closing-text { font-size: clamp(20px, 2.8vw, 30px); line-height: 1.7; letter-spacing: -0.02em; }
.closing-text strong { color: var(--accent); font-weight: 700; }

/* 아트인문학 */
.art-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.art-h { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.art-in p:not(.art-h) { color: var(--sub); }
.art-link { display: inline-flex; flex-direction: column; text-decoration: none; border: 1px solid var(--accent); padding: 14px 26px; font-weight: 700; color: var(--accent); transition: background-color .15s, color .15s; }
.art-link span { font-weight: 400; font-size: 13px; }
.art-link:hover { background: var(--accent); color: var(--bg); }

/* 연락처 */
.contact-name { font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.contact dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.contact dl div { padding: 18px 0; }
.contact dl div + div { border-left: 1px solid var(--rule); padding-left: 24px; }
.contact dt { font-size: 14px; color: var(--sub); }
.contact dd { margin: 2px 0 0; font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.02em; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .contact dl { grid-template-columns: 1fr; }
  .contact dl div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-soft); }
}

.foot { border-bottom: 0; }
.foot p { padding: 24px var(--pad); font-size: 13px; color: var(--sub); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .focus-in { transform: none !important; opacity: 1 !important; }
  .js .fig .lyr { opacity: 1; transform: none; transition: none; }
}
