/* ==========================================================================
   Guilty by Default — 웹사이트 스타일 (site.css)
   색·글꼴은 ds.css 토큰(--burgundy 등)만 사용. 새 색을 만들지 않았습니다.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.site {
  --bg: var(--ivory); --fg: var(--burgundy-dark); --mut: var(--muted); --line: var(--ivory-dark); --hover: var(--paleblue-light); --pill: var(--burgundy); --pill-ink: var(--ivory); --accent: var(--burgundy); --card: var(--ivory);
  margin: 0; background: var(--bg); color: var(--fg); transition: background-color .7s ease, color .7s ease;
  font-family: var(--font-body); font-size: 17px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere;
}
.site a { color: inherit; }
.site img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- 헤더 ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: var(--bg); color: var(--fg); border-bottom: 2px solid var(--line); transition: background-color .7s ease, color .7s ease, border-color .7s ease; }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.hd .logo { display: block; flex: none; }
.hd .logo img { height: 34px; width: auto; filter: var(--logo-filter, none); transition: filter .7s; }
.nav { display: flex; gap: clamp(2px, 1.2vw, 12px); }
.nav a { text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px clamp(8px, 1.6vw, 16px); border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--hover); }
.nav a[aria-current="page"] { background: var(--fg); color: var(--bg); }
.hd .play { background: var(--pill); color: var(--pill-ink); }
.hd .play:hover { background: var(--fg); color: var(--bg); }

/* ---------- 공통 타이포 ---------- */
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.site h1, .site h2, .site h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
.site h1 { font-size: clamp(40px, 8vw, 84px); letter-spacing: -.01em; }
.site h2 { font-size: clamp(28px, 4.4vw, 44px); }
.site h3 { font-size: 22px; line-height: 1.3; }
.slede { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 34em; margin: 18px 0 0; }
.sec { padding-block: clamp(48px, 8vw, 96px); }
.sec + .sec { border-top: 2px solid var(--ivory-dark); }
.dark { background: var(--burgundy-dark); color: var(--ivory); border-top: 0 !important; }
.dark .eyebrow, .dark .slede { color: color-mix(in srgb, var(--ivory) 68%, var(--burgundy-dark)); }
.pale { background: var(--paleblue-light); border-top: 0 !important; }
.pale .eyebrow, .pale .slede { color: var(--muted); }

/* ---------- 버튼 ---------- */
.sbtn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 18px; font-weight: 500; text-decoration: none; padding: 14px 28px; border-radius: 999px; border: 2px solid var(--burgundy-dark); color: var(--burgundy-dark); background: transparent; cursor: pointer; }
.sbtn:hover { background: var(--burgundy-dark); color: var(--ivory); }
.sbtn.primary { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); font-size: 22px; padding: 18px 40px; }
.sbtn.primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); }
.sbtn.primary::before { content: ""; width: 0; height: 22px; background: currentColor; -webkit-mask: url(logo_symbol.svg) center/contain no-repeat; mask: url(logo_symbol.svg) center/contain no-repeat; transition: width .2s; margin-right: 0; }
.sbtn.primary:hover::before { width: 32px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- 메인: 히어로 ---------- */
.hero { padding-block: clamp(56px, 11vw, 140px); position: relative; overflow: hidden; }
.hero .sub { font-size: clamp(20px, 3vw, 30px); margin: 20px 0 0; }
.hero .pig { position: absolute; right: -2%; bottom: 6%; width: clamp(160px, 26vw, 360px); opacity: 1; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }

/* ---------- 메인: 사건 / 자리 ---------- */
.incident { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.incident .big { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); line-height: 1.25; margin: 0; text-wrap: balance; }
.incident .big em { font-style: normal; color: var(--paleblue); }
.incident p { margin: 0 0 14px; max-width: 32em; }
.seats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.seat { border: 2px solid var(--ivory-dark); border-radius: 28px; padding: 28px 24px 24px; background: var(--ivory); display: flex; flex-direction: column; gap: 8px; }
.seat .who { font-family: var(--font-display); font-size: 34px; line-height: 1.1; }
.seat .role { font-size: 14px; color: var(--muted); letter-spacing: .04em; min-height: 1.6em; }
.seat p { margin: 8px 0 0; font-size: 16px; }
.latest { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.latest img { border-radius: 20px; border: 2px solid var(--ivory-dark); }
.latest p { margin: 14px 0 0; }
.tl { font-size: 17px; font-weight: 500; }

/* ---------- Statement ---------- */
.pg-head { padding-block: clamp(44px, 8vw, 96px) clamp(24px, 4vw, 40px); }
.org-text { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 40px); line-height: 1.4; margin: 0; max-width: 24em; text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.fact { background: var(--ivory); border: 2px solid var(--ivory-dark); border-radius: 28px; padding: 26px 24px; }
.fact .k { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.fact p { margin: 0; font-size: 19px; line-height: 1.5; }
.snote { max-width: none; }
.snote > p:not(.eyebrow), .snote > .btns { max-width: 34em; }
.snote p { margin: 0 0 14px; }

/* ---------- Research 피드 ---------- */
.feed { display: grid; gap: 0; padding-bottom: 80px; }
.post { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: clamp(16px, 4vw, 48px); padding-block: clamp(36px, 6vw, 64px); border-top: 2px solid var(--ivory-dark); }
.post .rail { position: relative; }
.post .wk { position: sticky; top: 84px; font-family: var(--font-display); font-size: 40px; line-height: 1; }
.post .wk small { display: block; font-family: var(--font-body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.post h2 { font-size: clamp(26px, 3.6vw, 38px); }
.post .sum { margin: 14px 0 0; max-width: 36em; font-size: 18px; }
.post .ptag { display: inline-block; font-size: 13px; font-weight: 500; border: 2px solid var(--ivory-dark); border-radius: 999px; padding: 1px 12px; margin: 0 6px 12px 0; color: var(--muted); }
.post .ptag.now { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); }
.pts { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 38em; }
.pts li { padding-left: 22px; position: relative; }
.pts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--burgundy); }
.pts b { font-weight: 500; background: var(--paleblue-light); padding: 0 4px; border-radius: 4px; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; }
.shots figure { margin: 0; }
.shots a { display: block; border-radius: 16px; overflow: hidden; border: 2px solid var(--ivory-dark); background: var(--ivory); }
.shots a:hover { border-color: var(--burgundy); }
.shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.shots figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
details.refs { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 44em; }
details.refs summary { cursor: pointer; font-weight: 500; }
details.refs ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 80px; }
.person { border: 2px solid var(--ivory-dark); border-radius: 28px; padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 6px; background: var(--ivory); }
.person .ph { width: 96px; height: 96px; border-radius: 50%; background: var(--paleblue); display: grid; place-items: center; font-family: var(--font-display); font-size: 40px; margin-bottom: 14px; }
.person .nm { font-family: var(--font-display); font-size: 34px; line-height: 1.1; }
.person .rl { font-size: 14px; letter-spacing: .06em; color: var(--muted); }
.person p { margin: 10px 0 0; }
.person .todo { color: var(--muted); }
.teamnote { padding-bottom: 80px; max-width: 36em; color: var(--muted); }

/* ---------- 푸터 ---------- */
.ft { background: var(--burgundy-dark); color: var(--ivory); padding-block: 40px; }
.ft .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.ft img { height: 40px; width: auto; filter: none; }
.ft .cap { font-size: 14px; color: color-mix(in srgb, var(--ivory) 68%, var(--burgundy-dark)); margin: 12px 0 0; }
.ft nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ft nav a { text-decoration: none; font-size: 16px; }
.ft nav a:hover { text-decoration: underline; }

/* ---------- 모바일 ---------- */
@media (max-width: 820px) {
  .incident, .latest { grid-template-columns: minmax(0, 1fr); }
  .seats, .facts, .people { grid-template-columns: minmax(0, 1fr); }
  .post { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .post .wk { position: static; font-size: 30px; display: flex; align-items: baseline; gap: 10px; }
  .post .wk small { margin: 0; }
  .hero .pig { display: none; }
}
@media (max-width: 520px) {
  .hd .logo img { height: 26px; }
  .nav a { font-size: 14px; padding: 7px 9px; }
  .shots { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sbtn.primary::before { transition: none; } }


/* ==========================================================================
   스크롤 톤 전환 (body[data-tone] 이 바뀌면 배경·글자색이 부드럽게 바뀝니다)
   ========================================================================== */
body.site[data-tone="pale"]  { --bg: var(--paleblue-light); }
body.site[data-tone="sand"]  { --bg: var(--ivory-dark); --hover: var(--ivory); }
body.site[data-tone="night"] { --bg: var(--burgundy-dark); --fg: var(--ivory); --mut: color-mix(in srgb, var(--ivory) 70%, var(--burgundy-dark)); --line: color-mix(in srgb, var(--ivory) 22%, var(--burgundy-dark)); --hover: color-mix(in srgb, var(--ivory) 14%, var(--burgundy-dark)); --pill: var(--ivory); --pill-ink: var(--burgundy-dark); --accent: var(--paleblue); --card: color-mix(in srgb, var(--ivory) 8%, var(--burgundy-dark)); --logo-filter: brightness(0) invert(1); }
body.site[data-tone="wine"]  { --bg: var(--burgundy); --fg: var(--ivory); --mut: color-mix(in srgb, var(--ivory) 80%, var(--burgundy)); --line: color-mix(in srgb, var(--ivory) 30%, var(--burgundy)); --hover: color-mix(in srgb, var(--ivory) 16%, var(--burgundy)); --pill: var(--ivory); --pill-ink: var(--burgundy); --accent: var(--paleblue); --card: color-mix(in srgb, var(--ivory) 10%, var(--burgundy)); --logo-filter: brightness(0) invert(1); }
.eyebrow, .site .slede, .cite, .site .en { color: var(--mut); transition: color .7s ease; }
.sbtn { color: var(--fg); border-color: var(--fg); transition: background-color .3s, color .3s; }
.sbtn:hover { background: var(--fg); color: var(--bg); }
.sbtn.primary { background: var(--pill); border-color: var(--pill); color: var(--pill-ink); }
.sbtn.primary:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.scene { min-height: 88vh; display: grid; align-content: center; padding-block: clamp(64px, 12vh, 140px); }
.scene.hero { min-height: calc(100vh - 64px); position: relative; overflow: hidden; }
.scene.short { min-height: 0; }
.scene .center { text-align: center; }
.scene .center .body, .scene .center .en { margin-inline: auto; }
.huge { font-size: clamp(32px, 6.4vw, 72px) !important; line-height: 1.18 !important; letter-spacing: -.01em; }
.huge.hot { color: var(--accent); }
body.site[data-tone="ivory"] .huge.hot, body.site[data-tone="pale"] .huge.hot { color: var(--burgundy); }
.mid { font-size: clamp(28px, 4.6vw, 52px) !important; }
.en { font-size: clamp(16px, 2.2vw, 22px); margin: 16px 0 0; }
.body { font-size: clamp(17px, 2vw, 21px); max-width: 38em; margin: 28px 0 0; line-height: 1.7; }
.cite { font-size: 14px; margin: 18px 0 0; }
.scrollhint { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin: 0; }
.hero .scrollhint { position: static; margin-top: 56px; text-align: left; }

.quote { background: var(--ivory); color: var(--burgundy-dark); border-radius: 36px; padding: clamp(24px, 4vw, 44px); max-width: 760px; margin: 36px auto 0; }
.quote .who { font-weight: 500; margin: 0 0 14px; color: var(--burgundy-dark); }
.quote p { margin: 0 0 10px; font-size: clamp(16px, 1.9vw, 20px); line-height: 1.6; }
.quote .hl2 { color: var(--burgundy); font-family: var(--font-display); font-size: clamp(20px, 2.8vw, 28px); line-height: 1.35; }
.quote .cite { color: var(--muted); margin-top: 18px; font-size: 13px; }

/* 보상 해킹 3단계 */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); gap: 8px; align-items: stretch; margin-top: 36px; }
.step { text-align: center; display: flex; flex-direction: column; align-items: center; }
.step .sc { flex: 1; width: 100%; }
.step .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--burgundy-dark); color: var(--ivory); font-size: 15px; font-weight: 500; }
.step .st { min-height: 2.8em; margin: 10px 0 0; font-size: clamp(16px, 1.9vw, 20px); line-height: 1.35; }
.step .st b { font-weight: 500; }
.step .en { font-size: 13px; margin: 4px 0 16px; color: var(--muted); }
.sc { border-radius: 28px; padding: 28px 20px; min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.sc.dk { background: var(--burgundy-dark); color: var(--ivory); }
.sc.wn { background: var(--burgundy); color: var(--ivory); }
.sc .big { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; margin: 0; }
.sc .en { color: color-mix(in srgb, var(--ivory) 70%, var(--burgundy-dark)); margin: 0; }
.sc ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; font-size: 16px; }
.ar { align-self: center; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 10px); position: relative; margin-top: 60px; }
.ar::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 9px solid currentColor; }

/* 도덕적 크럼플 존 */
.cz-t { font-size: clamp(22px, 3vw, 32px) !important; margin-top: clamp(40px, 6vw, 72px); }
.cz-t span, .sub span { font-family: var(--font-body); font-size: .6em; color: var(--mut); margin-left: 8px; }
.crumple { margin: 28px auto 0; max-width: 780px; }
.cz-row { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.cz-row .nd { flex: 1 1 0; min-width: 0; border: 2px solid currentColor; border-radius: 22px; padding: 16px 12px; text-align: center; display: grid; align-content: center; gap: 4px; font-size: 18px; }
.cz-row .nd small { font-size: 13px; opacity: .8; }
.cz-row .nd.hu { background: var(--pill); color: var(--pill-ink); border-color: var(--pill); }
.cz-row i { flex: none; width: 24px; align-self: center; height: 2px; background: currentColor; position: relative; }
.cz-row i::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 9px solid currentColor; }
.cz-bar { margin-top: 14px; height: 36px; border-radius: 999px; border: 2px dashed currentColor; display: grid; place-items: center; font-size: 15px; }

.incident .big em { color: var(--accent); }
.scene .incident { align-items: center; }

/* 리서치 페이지 */
.bgcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.bg1 { border: 2px solid var(--ivory-dark); border-radius: 28px; padding: 28px 24px; }
.bg1 h3 { margin-bottom: 12px; }
.bg1 p { margin: 0 0 10px; }
.bg1 .who { font-weight: 500; color: var(--burgundy); }
.bg1.dkc { background: var(--burgundy-dark); color: var(--ivory); border-color: var(--burgundy-dark); }
.bg1.dkc .who { color: var(--paleblue); }
.bg1.dkc .cite { color: color-mix(in srgb, var(--ivory) 70%, var(--burgundy-dark)); }
.site .sub { margin-top: clamp(40px, 6vw, 64px); font-size: 28px; }
.sum { max-width: 40em; margin: 12px 0 0; }
.logic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.lg { border: 2px solid var(--ivory-dark); border-radius: 28px; padding: 26px 24px; }
.lg .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--burgundy); color: var(--ivory); font-size: 15px; margin-bottom: 12px; }
.lg p { margin: 10px 0 0; }
.feed .post:first-child { border-top: 0; }
.hint { font-size: 14px; color: var(--muted); margin-top: 20px; }

/* Statement */
.argue { max-width: none; }
.argue > *:not(.eyebrow):not(h2) { max-width: 760px; }
.argue h3 { margin-top: 40px; }
.argue p { margin: 14px 0 0; }
.argue .neq { color: var(--burgundy); }
.three { margin: 24px 0 0; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.three li { counter-increment: s; background: var(--ivory); border-radius: 24px; padding: 20px 22px 20px 64px; position: relative; font-size: 19px; }
.three li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--burgundy); color: var(--ivory); display: grid; place-items: center; font-size: 15px; }
.three b { font-weight: 500; }
.open { margin-top: 28px; border: 2px dashed var(--burgundy); border-radius: 24px; padding: 20px 22px; }
.open .k { font-size: 14px; letter-spacing: .08em; color: var(--burgundy); font-weight: 500; margin: 0 0 8px; }
.open ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* 스크롤 등장 */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
.js .rv[data-d="1"] { transition-delay: .18s; }
.js .rv[data-d="2"] { transition-delay: .36s; }

@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ar { width: 2px; height: 28px; margin: 12px auto; background: repeating-linear-gradient(180deg, currentColor 0 5px, transparent 5px 10px); }
  .ar::after { right: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 9px solid currentColor; border-left-color: transparent; }
  .sc { min-height: 0; }
  .cz-row { flex-direction: column; }
  .cz-row i { width: 2px; height: 22px; margin: 0 auto; }
  .cz-row i::after { right: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 9px solid currentColor; border-left-color: transparent; }
  .bgcards, .logic { grid-template-columns: minmax(0, 1fr); }
  .scene { min-height: 0; padding-block: 72px; }
  .scene.hero { min-height: calc(100vh - 64px); }
}
@media (prefers-reduced-motion: reduce) {
  body.site, .hd, .hd .logo img, .eyebrow, .cite, .en { transition: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* 홈 첫 화면: 영상만 무한 반복 */
.scene.hero.vid { padding: 0; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); background: var(--burgundy-dark); }
.herovid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* 홈: 영상만 보이고 스크롤 없음 (아래 섹션·푸터는 파일에 남겨 두되 숨김. 되돌리려면 index.html 의 body 에서 homevid 를 지우면 됨) */
html:has(body.homevid), body.homevid { height: 100%; overflow: hidden; overscroll-behavior: none; }
body.homevid main > section:not(.hero), body.homevid .ft { display: none; }
body.homevid .scene.hero.vid { height: calc(100vh - 64px); height: calc(100svh - 64px); min-height: 0; }

/* 내비: PLAY! 는 가장 오른쪽에 따로 떨어진 탭 */
.hd .play { margin-left: clamp(10px, 2.4vw, 28px); font-weight: 700; letter-spacing: .02em; }

/* 홈 Statement 파트 (컨셉추얼: 어두운 바탕, 큰 글자) */
html { scroll-behavior: smooth; }
.stm-note { min-height: 0; padding-block: clamp(40px, 7vh, 72px); }
.stm-note .notice { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; margin: 0; }
.stm-note .notice em { font-style: normal; color: var(--paleblue); }
.stm-slogan { min-height: 92vh; }
.stm-slogan .slogan { font-family: var(--font-display); font-size: clamp(44px, 9vw, 120px); line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.stm-slogan .slogan span { color: var(--paleblue); }
.stm-slogan .decl { list-style: none; margin: clamp(36px, 7vh, 72px) auto 0; padding: 0; display: grid; gap: 10px; font-size: clamp(16px, 1.8vw, 20px); max-width: 30em; }
.stm-slogan .decl li { border-top: 1px solid currentColor; padding-top: 12px; }
.stm-slogan .decl b { font-weight: 700; margin-right: .5em; letter-spacing: .04em; }
.stm-2035 .y2035 { font-family: var(--font-display); font-size: clamp(26px, 4.2vw, 52px); line-height: 1.35; margin: 0; max-width: 22em; text-wrap: pretty; }
.stm-2035 .y2035 .yr { color: var(--paleblue); }
.stm-2035 .y2035sub { font-size: clamp(16px, 1.8vw, 20px); margin: 28px 0 0; max-width: 34em; }

/* PLAY! 호버: 글자 대신 심볼 로고 (버튼 크기 유지) */
.hd .play { position: relative; }
.hd .play::after { content: ''; position: absolute; left: 50%; top: 50%; height: 1.05em; aspect-ratio: 136 / 94; transform: translate(-50%, -50%); background: var(--bg); -webkit-mask: url(logo_symbol.svg) center / contain no-repeat; mask: url(logo_symbol.svg) center / contain no-repeat; opacity: 0; }
.hd .play:hover, .hd .play:focus-visible { color: transparent; }
.hd .play:hover::after, .hd .play:focus-visible::after { opacity: 1; }

/* 홈 영상 소리 버튼 */
.vsound { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 24px; z-index: 2; font: inherit; font-size: 15px; font-weight: 700; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--burgundy); color: var(--ivory); cursor: pointer; }
.vsound:hover { background: var(--ivory); color: var(--burgundy-dark); }

/* Stakeholder 관계도 · 맵핑표 */
.smap { margin: 28px 0 0; }
.smap svg { width: 100%; max-width: 960px; height: auto; display: block; margin-inline: auto; color: var(--fg); }
.smap .node rect { fill: var(--bg); stroke: currentColor; stroke-width: 2; }
.smap .node .ai { fill: var(--burgundy); stroke: var(--burgundy); }
.smap .node .gbd { fill: var(--paleblue); }
.smap .nm { font-size: 22px; font-weight: 700; fill: currentColor; }
.smap .rl { font-size: 15px; fill: currentColor; }
.smap .node .ai + .nm, .smap .node .ai + .nm + .rl { fill: var(--ivory); }
.smap .lbl text { font-size: 15px; fill: currentColor; paint-order: stroke; stroke: var(--bg); stroke-width: 6px; stroke-linejoin: round; }
.smap .hot { stroke: var(--burgundy); stroke-width: 4; }
.smap .lbl .hotl { fill: var(--burgundy); font-weight: 700; }
.smap figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 40em; }
.mapwrap { overflow-x: auto; margin-top: 24px; }
.smaptable { width: 100%; min-width: 640px; border-collapse: collapse; }
.smaptable th { text-align: left; font-size: 14px; letter-spacing: .06em; font-weight: 500; color: var(--muted); padding: 10px 14px; border-bottom: 2px solid var(--fg); }
.smaptable td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.smaptable td b { display: block; font-weight: 700; }
.smaptable td span { display: block; font-size: 14px; color: var(--muted); }

/* 홈 영상: 스크롤하면 영상은 그대로 같이 올라가고, 위에 어두운 막이 점점 진해져 배경(어두운 버건디)으로 스며든다 */
.scene.hero.vid { --dim: 0; }
.scene.hero.vid::after { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--burgundy-dark); opacity: var(--dim); pointer-events: none; }

/* 영상 소리: 우측 하단 스피커 아이콘 (켜짐: 소리결 / 꺼짐: X) */
.vsound { width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border-radius: 50%; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 24px; }
.vsound svg { display: block; }
.vsound .on { display: none; }
.vsound[aria-pressed="true"] .on { display: inline; }
.vsound[aria-pressed="true"] .off { display: none; }

/* 홈 영상: 스크롤해도 화면에 붙어 있고(sticky), 그 위로 다음 내용이 올라온다. 스크롤하는 동안 영상은 점점 어두워진다 */
.scene.hero.vid { height: calc((100vh - 64px) * 1.8); height: calc((100svh - 64px) * 1.8); min-height: 0; overflow: visible; }
.scene.hero.vid::after { display: none; }
.herostick { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); overflow: hidden; background: var(--burgundy-dark); }
.herostick::after { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--burgundy-dark); opacity: var(--dim, 0); pointer-events: none; }

/* 소리 아이콘: 배경 없이 선 아이콘만 */
.vsound { background: none; color: var(--ivory); width: 52px; height: 52px; border-radius: 0; }
.vsound:hover { background: none; color: var(--paleblue); }
.vsound svg { width: 30px; height: 30px; filter: drop-shadow(0 1px 5px rgba(0,0,0,.55)); }
.scene.hero.vid { display: block; padding: 0; }
.scene.hero.vid { align-content: start; }

/* Notice 를 영상이 아직 붙어 있는 동안 위로 끌어올리고, Declaration 과의 간격을 줄인다 */
.scene.hero.vid { height: calc((100vh - 64px) * 1.5); height: calc((100svh - 64px) * 1.5); }
.stm-note { position: relative; z-index: 2; margin-top: calc(-34vh); margin-top: calc(-34svh); padding-block: clamp(24px, 4vh, 40px) clamp(8px, 2vh, 20px); }
.stm-note .notice, .stm-note .eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.stm-slogan { min-height: 0; padding-block: clamp(20px, 4vh, 40px) clamp(80px, 14vh, 160px); }

/* ===== 사이트 서체: 전부 Pretendard (내비바만 Orbit) ===== */
body.site { --font-display: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif; --font-body: var(--font-display); --hl: var(--burgundy); }
body.site[data-tone="night"] { --hl: var(--paleblue); }
.hd .nav a, .hd .play, .hd .lang { font-family: 'Orbit', 'Pretendard Variable', Pretendard, system-ui, sans-serif; }

/* ===== 내비바: 가운데 정렬 · 색만 바뀜 · 우측에 언어 버튼 + PLAY! ===== */
.hd .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.hd .logo { justify-self: start; }
.hd .nav { justify-self: center; gap: clamp(4px, 2vw, 28px); }
.hd .nav a { background: none; border-radius: 0; padding: 8px clamp(6px, 1vw, 12px); font-weight: 400; transition: color .2s ease; }
.hd .nav a:hover, .hd .nav a:focus-visible { background: none; color: var(--hl); }
.hd .nav a[aria-current="page"] { background: none; color: var(--hl); }
.hd-r { justify-self: end; display: flex; align-items: center; gap: clamp(8px, 1.6vw, 20px); }
.hd .play { margin-left: 0; text-decoration: none; font-size: 16px; font-weight: 700; padding: 8px 16px; border-radius: 999px; white-space: nowrap; background: var(--pill); color: var(--pill-ink); }
.hd .lang { font-size: 14px; letter-spacing: .06em; background: none; border: 0; padding: 8px 4px; cursor: pointer; color: var(--fg); display: inline-flex; gap: 4px; align-items: center; }
.hd .lang i { font-style: normal; opacity: 1; }
.hd .lang:hover span { color: var(--hl); }
html:not([lang="en"]) .hd .lang [data-l="ko"], html[lang="en"] .hd .lang [data-l="en"] { color: var(--hl); font-weight: 700; }
@media (max-width: 760px) {
  .hd .wrap { grid-template-columns: auto 1fr; row-gap: 0; padding-block: 8px; }
  .hd .nav { grid-column: 1 / -1; grid-row: 2; }
  .hd-r { grid-column: 2; grid-row: 1; }
  .hd .nav a { font-size: 14px; }
}

/* ===== 홈 영상: 스크롤하면 점점 작아져 작은 사각형이 된다 (dim 막은 쓰지 않음) ===== */
.herobox { position: absolute; inset: 0; overflow: hidden; background: var(--burgundy-dark); }
.stm-origin { min-height: 0; }
.stm-origin .y2035 em { font-style: normal; color: var(--paleblue); }
.stm-note .notice em { font-style: normal; }

/* ===== Research 타임라인 / Human-in-the-loop ===== */
.tl { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 160px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 48px; padding-bottom: 64px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 154px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--burgundy); }
.tl-mark { text-align: right; font-size: 15px; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
.tl-body .tl-t { font-size: clamp(24px, 3.2vw, 34px); margin-top: 4px; }
.tl-body .sum { margin: 14px 0 0; max-width: 36em; font-size: 18px; }
.tl-body .ptag { display: inline-block; font-size: 13px; font-weight: 500; border: 2px solid var(--ivory-dark); border-radius: 999px; padding: 1px 12px; margin: 0 6px 12px 0; color: var(--muted); }
.tl-body .ptag.now { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); }
@media (max-width: 760px) {
  .tl::before { left: 6px; }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-left: 30px; }
  .tl-item::before { left: 0; }
  .tl-mark { text-align: left; }
}
.hitl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0; max-width: 960px; }
.hitl .hl { background: var(--ivory); border-radius: 24px; padding: 22px; }
.hitl .hl.dk { background: var(--burgundy-dark); color: var(--ivory); }
.hitl .hl .k { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--burgundy); }
.hitl .hl.dk .k { color: var(--paleblue); }
.hitl .hl h3 { margin: 8px 0 6px; font-size: 22px; }
.hitl .hl p { margin: 0; font-size: 16px; }
@media (max-width: 760px) { .hitl { grid-template-columns: minmax(0, 1fr); } }

/* ===== 격언 · PLAY! 중앙 ===== */
.stm-quote { min-height: 0; padding-block: clamp(40px, 8vh, 90px) clamp(80px, 14vh, 160px); }
.stm-quote blockquote { margin: 0 auto; max-width: 20em; }
.stm-quote .q { font-family: var(--font-display); font-size: clamp(30px, 5.4vw, 64px); line-height: 1.25; margin: 0; text-wrap: balance; }
.stm-quote footer { margin-top: clamp(20px, 4vh, 36px); font-size: clamp(15px, 1.6vw, 18px); color: var(--paleblue); }
.stm-quote footer span { opacity: 1; }
.hd .nav a.play { background: var(--pill); color: var(--pill-ink); border-radius: 999px; padding: 8px 16px; font-weight: 700; letter-spacing: .02em; margin-left: clamp(6px, 1.2vw, 14px); }
.hd .nav a.play:hover, .hd .nav a.play:focus-visible { background: var(--fg); color: transparent; }

/* ===== PLAY!: 채움 없이 글자만 (다른 메뉴와 같은 방식), 호버하면 심볼 로고 ===== */
.hd .nav a.play { background: none; color: var(--fg); border-radius: 0; padding: 8px clamp(6px, 1vw, 12px); margin-left: 0; font-weight: 700; }
.hd .nav a.play::after { background: var(--hl); }
.hd .nav a.play:hover, .hd .nav a.play:focus-visible { background: none; color: transparent; }

/* ===== 리서치 좌측 책갈피 챕터 ===== */
.toc { display: none; }
@media (min-width: 1400px) {
  .toc { display: flex; flex-direction: column; gap: 4px; position: fixed; left: 24px; top: 150px; width: 112px; z-index: 5; }
  .toc a { display: block; padding: 8px 10px 8px 14px; border-left: 3px solid var(--line); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.35; color: var(--mut); text-decoration: none; transition: color .2s ease, border-color .2s ease, padding-left .2s ease; }
  .toc a:hover { color: var(--hl); border-left-color: var(--hl); }
  .toc a[aria-current="true"] { color: var(--hl); border-left-color: var(--hl); font-weight: 700; padding-left: 20px; }
  .tocbtns { display: none; }
}
.sec, .pg-head { scroll-margin-top: 72px; }

/* PLAY!도 다른 메뉴와 같은 굵기 */
.hd .nav a.play { font-weight: 400; letter-spacing: 0; }

/* ===== 리서치: 논리 파트(Part 1~4) ===== */
.part .lead { max-width: 760px; }
.part .lead p { margin: 14px 0 0; font-size: 19px; }
.part h2 .neq { color: var(--burgundy); }
.part .ps { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 44px); border-top: 2px solid var(--line); }
.part .ps > .sum, .part .ps > p, .part .ps > .hint { max-width: 760px; }
.part .ps > h3.pt { margin: 0; font-size: clamp(22px, 2.6vw, 28px); }
.part .ps > h3.pt span { display: inline-block; margin-right: 10px; font-size: .62em; letter-spacing: .08em; color: var(--burgundy); vertical-align: .15em; }
.part > .wrap > .hint { margin-top: 28px; }
a.lg { display: block; color: inherit; text-decoration: none; transition: border-color .2s ease; }
a.lg:hover, a.lg:focus-visible { border-color: var(--burgundy); }
.part { scroll-margin-top: 72px; }

/* ===== 서체 v2: 본문 SUIT · 제목 PP Frama(영문) + SUIT(한글) · 내비바 SUIT ===== */
@font-face { font-family: 'SUIT'; font-weight: 100 900; font-style: normal; font-display: block; src: url('fonts/SUIT/SUIT-Variable.woff2') format('woff2-variations'), url('fonts/SUIT/SUIT-Variable.woff2') format('woff2'); } /* SIL OFL, fonts/SUIT/SUIT-LICENSE.txt */
body.site { --font-body: 'SUIT', 'Pretendard Variable', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif; --font-display: 'PP Frama', 'SUIT', 'Pretendard Variable', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif; font-family: var(--font-body); }
.hd .nav a, .hd .nav a.play, .hd .lang { font-family: 'SUIT', 'Pretendard Variable', system-ui, sans-serif; font-weight: 400; font-synthesis: none; }
/* 내비바는 서체가 준비된 뒤 한 번에 나타나게 (PLAY!만 늦게 바뀌어 보이던 문제) */
html:not(.fk) .hd .nav, html:not(.fk) .hd-r { visibility: hidden; }
.hd .nav, .hd-r { transition: opacity .15s ease; }

/* 처음 불러올 때는 색 전환(트랜지션) 없이 최종 색으로 바로 표시 → PLAY!만 늦게 색이 바뀌던 문제 */
html:not(.tn) .hd, html:not(.tn) .hd *, html:not(.tn) body.site { transition: none !important; }
.hd .nav a, .hd .nav a.play, .hd .lang { transition: color .2s ease; }

/* ===== 홈 하단 (Figma 4517:45) ===== */
.hm { --hm-pad: clamp(20px, 5.6vw, 80px); padding: 60px var(--hm-pad); background: var(--ivory); color: var(--burgundy-dark); }
.hm-in { max-width: 1280px; margin: 0 auto; }
.hm-bar { background: var(--paleblue-light); padding-block: 40px; text-align: center; }
.hm-bar .hm-in { display: grid; gap: 20px; }
.hm-lb { margin: 0; font-family: 'PP Frama', 'SUIT', sans-serif; font-size: 24px; line-height: 1; letter-spacing: -.04em; color: var(--burgundy); text-align: center; }
.hm-t20 { margin: 0; font-family: var(--font-body); font-weight: 500; font-size: 20px; line-height: 1.4; letter-spacing: -.011em; color: var(--burgundy-dark); }
.hm-rule { border: 0; border-top: 1px solid var(--burgundy-dark); margin: 0 0 40px; }
.hm-qbox { position: relative; min-height: 288px; display: grid; place-items: start center; }
.hm-big { margin: 0; font-family: 'PP Frama', 'SUIT', sans-serif; font-weight: 400; font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; text-align: center; color: var(--burgundy-dark); }
.hm-by, .hm-ko { position: absolute; margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -.04em; color: var(--burgundy); }
.hm-by { right: 0; top: 0; }
.hm-ko { left: 0; bottom: 0; }
.hm-fig { margin: 0; position: relative; overflow: hidden; border-radius: 1px; background: var(--ivory-dark); }
.hm-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-fig-wide { width: min(784px, 100%); aspect-ratio: 784 / 438; margin: 80px auto 0; }
.hm-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: baseline; }
.hm-paras p { margin: 0 0 8px; }
.hm-4col { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; align-items: start; }
.hm-span2 { grid-column: span 2; }
.hm-fig-deo { aspect-ratio: 290 / 140; }
.hm-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 80px; }
.hm-card { grid-column: span 1; border-top: 1px solid var(--burgundy-dark); padding-top: 16px; min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hm-card h3 { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: -.011em; }
.hm-card p { margin: 0; font-weight: 500; font-size: 18px; line-height: 1.4; letter-spacing: -.011em; }
.hm-2035 { background: var(--burgundy-dark); color: var(--paleblue-light); padding: 80px var(--hm-pad); }
.hm-fig-35 { aspect-ratio: 290 / 310; background: var(--burgundy); }
.hm-big2 { margin: 0; font-family: var(--font-body); font-weight: 500; font-size: clamp(26px, 3.34vw, 48px); line-height: 1.3; letter-spacing: -.011em; color: var(--paleblue-light); }
.hm-big2 b { font-weight: 700; }
.hm-lb-n { color: var(--paleblue); }
@media (max-width: 900px) {
  .hm-qbox { min-height: 0; gap: 24px; place-items: start; }
  .hm-big { text-align: left; }
  .hm-by, .hm-ko { position: static; }
  .hm-qbox .hm-by { order: 3; } .hm-qbox .hm-ko { order: 2; }
  .hm-fig-wide { margin-top: 40px; }
  .hm-2col, .hm-4col { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hm-span2 { grid-column: auto; }
  .hm-lb { text-align: left; }
  .hm-2col .hm-lb { margin-bottom: 4px; }
  .hm-cards { margin-top: 40px; }
  .hm-card { min-height: 0; }
  .hm-fig-deo, .hm-fig-35 { max-width: 420px; }
}

/* Figma 4517:66: 카드 3개 위에는 선이 하나로 이어짐, 첫 제목은 따옴표만 바깥으로 */
.hm-cardrow { grid-column: 1 / span 3; border-top: 1px solid var(--burgundy-dark); padding: 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.hm-card { border-top: 0; padding-top: 0; min-height: 258px; }
.hm-c1 h3 { text-indent: -.45em; }
@media (max-width: 900px) { .hm-cardrow { grid-column: auto; grid-template-columns: minmax(0, 1fr); } .hm-card { min-height: 0; } }

.hm-c1 p { text-indent: 0; }
@media (max-width: 900px) { .hm-br { display: none; } }

/* Figma 갱신(4517:66): 카드 높이는 내용 중 가장 큰 것에 맞춤, 제목-설명 간격 32 */
.hm-card { min-height: 0; gap: 32px; }
.hm-cardrow { align-items: stretch; }

/* ===== 리서치 챕터 인덱스: 오른쪽, 항목 사이에 선 ===== */
@media (min-width: 1400px) {
  .toc { left: auto; right: 24px; top: 150px; width: 120px; gap: 0; border-top: 1px solid var(--burgundy-dark); }
  .toc a { padding: 12px 0; border-left: 0; border-radius: 0; border-bottom: 1px solid var(--burgundy-dark); font-size: 14px; line-height: 1.35; color: var(--fg); }
  .toc a:hover { color: var(--hl); border-left-color: transparent; }
  .toc a[aria-current="true"] { color: var(--hl); font-weight: 700; padding-left: 0; border-left-color: transparent; }
}

/* ===== 공통 페이지 헤더 (Research 기준) ===== */
.pgh { --pgh-pad: clamp(16px, 5.6vw, 80px); background: var(--paleblue-light); color: var(--burgundy-dark); padding: 32px var(--pgh-pad); }
.pgh-in { max-width: 1280px; margin: 0 auto; display: grid; gap: 12px; }
.pgh-lb { margin: 0; font-family: 'PP Frama', 'SUIT', sans-serif; font-size: 20px; line-height: 1; letter-spacing: -.04em; color: var(--burgundy); }
.pgh-lead { margin: 0; max-width: 760px; font-family: var(--font-body); font-weight: 500; font-size: 20px; line-height: 1.5; letter-spacing: -.011em; color: var(--burgundy-dark); }
@media (max-width: 900px) { .pgh { padding-block: 22px; } .pgh-lead { font-size: 16px; } }

/* ---------- 크기 보정(웹사이트 전체가 작아 보여서): 로고·심볼·내비·본문을 한 단계 키움. 게임(/play)은 해당 없음 ---------- */
.site { font-size: 18px; }
.hd .wrap { min-height: 78px; }
.hd .logo img { height: 46px; }
.nav a { font-size: 18px; padding: 10px clamp(10px, 1.8vw, 18px); }
.hd .play::after { height: 1.2em; }
.sbtn { font-size: 19px; }
.sbtn.primary { font-size: 24px; }
.sbtn.primary::before { height: 28px; }
.eyebrow { font-size: 15px; }
.site h3 { font-size: 24px; }
.seat p, .fact p { font-size: 18px; }
.post .sum { font-size: 19px; }
.ft img { height: 54px; }
.ft nav a { font-size: 17px; }
.ft .cap { font-size: 15px; }
.hero .pig { width: clamp(200px, 32vw, 460px); }
@media (max-width: 820px) { .hd .wrap { min-height: 70px; } .hd .logo img { height: 40px; } .nav a { font-size: 16px; padding: 9px 12px; } .ft img { height: 46px; } }
@media (max-width: 520px) { .hd .wrap { min-height: 64px; } .hd .logo img { height: 34px; } .nav a { font-size: 15px; padding: 8px 10px; } .site { font-size: 17px; } }

/* ---------- 로고 한 단계 더 크게 (v2) ---------- */
.hd .wrap { min-height: 96px; }
.hd .logo img { height: 64px; }
.ft img { height: 72px; }
@media (max-width: 820px) { .hd .wrap { min-height: 84px; } .hd .logo img { height: 54px; } .ft img { height: 60px; } }
@media (max-width: 520px) { .hd .wrap { min-height: 76px; } .hd .logo img { height: 46px; } .ft img { height: 52px; } }
