/* 스타일 후보 06 - 네오 브루탈리즘. 내용은 shared/content.ko.js 에서 온다 */
@font-face { font-family: "Paperlogy"; src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #F4F0E6;
  --paper: #FFFDF7;
  --ink: #0A0A0A;
  --pink: #FF8FE0;
  --yellow: #FFD338;
  --mint: #45E0B4;
  --violet: #B59CFF;
  --bw: 3px;
  --r: 16px;
  --sh: 6px 6px 0 var(--ink);
  --sh-lg: 10px 10px 0 var(--ink);
  --hd: "Paperlogy", "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", sans-serif;
  --bd: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  --mono: Consolas, "Pretendard Variable", "Malgun Gothic", monospace;
  --navh: 68px;
  --gut: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--bd); font-size: 17px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b, strong { font-weight: 800; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.nav-cta:focus-visible { outline-color: var(--pink); outline-offset: -6px; }
::selection { background: var(--ink); color: var(--yellow); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--yellow); border: var(--bw) solid var(--ink); padding: 8px 14px; font-weight: 800; text-decoration: none; border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: stretch; height: var(--navh); background: var(--bg); border-bottom: var(--bw) solid var(--ink); }
.logo { display: flex; align-items: center; gap: 10px; padding: 0 var(--gut); font-family: var(--hd); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pink); border: var(--bw) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 18px; transform: rotate(-12deg); transition: transform .2s; }
.logo:hover .logo-mark { transform: rotate(14deg); }
.links { display: flex; align-items: center; gap: 4px; margin-left: auto; padding: 0 20px; }
.links a { padding: 7px 15px; border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .12s, color .12s; }
.links a:hover { border-color: var(--ink); background: var(--yellow); }
.links a[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-cta { display: flex; align-items: center; padding: 0 30px; background: var(--ink); color: var(--paper); font-weight: 800; text-decoration: none; transition: background .12s, color .12s; }
.nav-cta:hover { background: var(--pink); color: var(--ink); box-shadow: inset 3px 0 0 var(--ink); }
/* KO / EN 전환 스위치 */
.langs { flex: none; display: flex; align-self: center; margin-right: 18px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); overflow: hidden; font-family: var(--hd); font-weight: 800; font-size: 14px; line-height: 1; letter-spacing: .04em; }
.langs > * { display: block; padding: 7px 11px 6px; text-decoration: none; }
.langs .lang-cur { background: var(--ink); color: var(--paper); }
.langs .lang-switch { transition: background .12s; }
.langs .lang-switch:hover { background: var(--yellow); }
.langs .lang-switch:focus-visible { outline-offset: -5px; }

/* ---------- shared pieces ---------- */
section[id] { scroll-margin-top: calc(var(--navh) + 12px); }
.sec { position: relative; padding: 104px 0 112px; border-top: var(--bw) solid var(--ink); }
.sec.alt { background: var(--paper); }
.fill-yellow { background: var(--yellow); }
.fill-violet { background: var(--violet); }
.fill-pink { background: var(--pink); }
.decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sec-head { max-width: 860px; margin-bottom: 52px; }
.kicker { display: inline-block; background: var(--ink); color: var(--paper); font-family: var(--hd); font-weight: 800; font-size: 15px; letter-spacing: .02em; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; }
h2 { font-family: var(--hd); font-weight: 800; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.14; letter-spacing: -0.03em; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; font-weight: 500; max-width: 760px; }
.lead b { background: var(--ink); color: var(--paper); padding: 1px 8px; border-radius: 6px; font-weight: 700; }

.panel { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); }
.lift { transition: transform .15s ease, box-shadow .15s ease, opacity .5s ease, translate .5s ease; }
.lift:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 28px; background: var(--ink); color: var(--paper); border: var(--bw) solid var(--ink); border-radius: 999px; font-family: var(--bd); font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s, color .12s; }
.btn:hover { background: var(--pink); color: var(--ink); transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.ghost:hover { background: var(--yellow); }
.btn.small { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: default; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; font-size: 13.5px; font-weight: 700; background: var(--paper); line-height: 1.5; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: 15px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 5px; background: var(--g); }
.g-bi { --g: var(--violet); } .g-ec { --g: var(--yellow); } .g-ai { --g: var(--pink); }
.r-asia { --g: var(--mint); } .r-us { --g: var(--pink); } .r-eu { --g: var(--violet); }

/* coins */
.coin { position: absolute; display: block; width: var(--s, 120px); height: var(--s, 120px); pointer-events: auto; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); animation: bob 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.coin svg { width: 100%; height: 100%; overflow: visible; }
.coin text { font-family: var(--hd); font-weight: 800; fill: var(--ink); }
.coin:hover { transform: rotate(24deg) scale(1.08); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.sec > .decor .coin { top: 44px; right: max(24px, calc((100vw - 1264px) / 2 + 24px)); --s: 132px; }

/* reveal (JS 가 있을 때만 숨긴다) */
.js .rise { opacity: 0; translate: 0 22px; transition: transform .15s ease, box-shadow .15s ease, opacity .5s ease, translate .5s ease; }
.js .rise.in { opacity: 1; translate: 0 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 84px; background-color: var(--bg); background-image: radial-gradient(rgba(10, 10, 10, .13) 1.4px, transparent 1.6px); background-size: 26px 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.who { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 999px; padding: 4px 18px 4px 4px; font-weight: 700; font-size: 15px; box-shadow: 4px 4px 0 var(--ink); }
.who b { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 3px 14px; font-family: var(--hd); font-size: 16px; }
h1 { margin: 26px 0 0; font-family: var(--hd); font-weight: 800; font-size: clamp(58px, 9vw, 132px); line-height: 1.04; letter-spacing: -0.045em; }
h1 span { display: block; }
h1 .hl { display: inline-block; margin-top: .1em; padding: .02em .16em .06em; background: var(--yellow); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-2.2deg); }
.tagline { margin-top: 40px; font-family: var(--hd); font-weight: 800; font-size: clamp(19px, 2vw, 27px); line-height: 1.45; letter-spacing: -0.02em; }
.tagline span { display: block; }
.tagline .mark { display: inline; background: linear-gradient(transparent 58%, var(--pink) 58%); }
.intro { margin-top: 18px; max-width: 610px; font-size: 18px; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; background: var(--mint); border: var(--bw) solid var(--ink); border-radius: 10px; padding: 6px 14px; font-weight: 800; font-size: 15px; transform: rotate(-1deg); }
.status i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.hero-card { position: relative; justify-self: center; width: 100%; max-width: 430px; }
.window { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: 12px 12px 0 var(--ink); overflow: hidden; transform: rotate(1.6deg); }
.window .bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: var(--bw) solid var(--ink); background: var(--paper); font-weight: 800; font-size: 14px; }
.window .bar i, .term-bar i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--ink); background: var(--pink); }
.window .bar i:nth-child(2), .term-bar i:nth-child(2) { background: var(--yellow); }
.window .bar i:nth-child(3), .term-bar i:nth-child(3) { background: var(--mint); }
.window .bar span { margin-left: 8px; letter-spacing: .02em; }
.pic { position: relative; aspect-ratio: 1 / 1.04; background: var(--pink); overflow: hidden; }
.pic .sun { position: absolute; left: 50%; top: 6%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); border: var(--bw) solid var(--ink); transform: translateX(-50%); }
.pic img { position: absolute; left: 50%; top: 3%; width: 92%; height: auto; transform: translateX(-41.4%); } /* 캐릭터 머리 중심 = 그림 폭의 41.4% 지점: 머리가 가운데 오도록 당긴다 */
.window figcaption { border-top: var(--bw) solid var(--ink); padding: 12px 16px; font-weight: 800; font-size: 14.5px; line-height: 1.45; background: var(--paper); }
.hero-card .c-p1 { --s: 124px; top: -52px; right: -50px; }
.hero-card .c-p2 { --s: 112px; bottom: 96px; left: -62px; --d: -2s; }
#hero-decor .c-a { --s: 150px; top: 30px; right: 37%; --d: -1s; }
#hero-decor .c-b { --s: 120px; bottom: 250px; left: -34px; --d: -3s; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; }
.stats li { border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 20px 22px 22px; background: var(--paper); }
.stats li:nth-child(2) { background: var(--yellow); } .stats li:nth-child(3) { background: var(--mint); } .stats li:nth-child(4) { background: var(--violet); }
.stats b { display: block; font-family: var(--hd); font-weight: 800; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -0.04em; }
.stats b small { font-size: .42em; letter-spacing: 0; margin-left: 3px; }
.stats span { display: block; margin-top: 10px; font-weight: 700; font-size: 15.5px; line-height: 1.45; }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--yellow); border-top: var(--bw) solid var(--ink); overflow: hidden; padding: 16px 0; }
.ticker .track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker span { display: flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--hd); font-weight: 800; font-size: 22px; white-space: nowrap; }
.ticker span::after { content: ""; width: 14px; height: 14px; background: var(--pink); border-radius: 50%; }
.ticker span:nth-child(3n)::after { background: var(--mint); border-radius: 2px; transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { position: relative; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 34px 28px 30px; background: var(--pink); }
.pillar:nth-child(2) { background: var(--yellow); } .pillar:nth-child(3) { background: var(--mint); }
.pillar .no { position: absolute; top: -22px; right: 22px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--paper); border: var(--bw) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: var(--hd); font-weight: 800; font-size: 20px; transform: rotate(10deg); }
.pillar .ico { display: grid; place-items: center; width: 64px; height: 64px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 14px; margin-bottom: 22px; }
.pillar .ico svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-family: var(--hd); font-weight: 800; font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; }
.pillar p { margin-top: 12px; font-weight: 500; font-size: 16.5px; }

/* ---------- career ---------- */
.gantt-panel { padding: 26px 28px 22px; margin-bottom: 44px; background: var(--bg); }
.gantt-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-bottom: 18px; }
.gantt-top b { font-family: var(--hd); font-size: 20px; }
.gantt { --lab: 210px; }
.g-row { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); align-items: center; gap: 0 14px; padding: 4px 0; }
.g-row .nm { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.g-track { position: relative; height: 26px; background-image: linear-gradient(to right, rgba(10, 10, 10, .16) 2px, transparent 2px); background-size: calc(100% / 7.25) 100%; }
.g-bar { position: absolute; top: 2px; bottom: 2px; border: 2px solid var(--ink); border-radius: 6px; background: var(--g); box-shadow: 2px 2px 0 var(--ink); }
.g-axis { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); gap: 0 14px; margin-top: 6px; }
.g-axis div { position: relative; height: 22px; grid-column: 2; }
.g-axis span { position: absolute; top: 0; font-family: var(--hd); font-weight: 800; font-size: 13px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filters button { font: inherit; font-weight: 800; font-size: 16px; padding: 8px 20px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .12s; }
.filters button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }

.entries { display: grid; gap: 22px; }
.entry { display: grid; grid-template-columns: 230px minmax(0, 1fr); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); background: var(--paper); overflow: hidden; }
.entry .when { background: var(--g); border-right: var(--bw) solid var(--ink); padding: 24px 22px; }
.entry .when b { display: block; font-family: var(--hd); font-weight: 800; font-size: 25px; line-height: 1.15; letter-spacing: -0.02em; }
.entry .when span { display: block; margin-top: 10px; font-weight: 800; font-size: 15px; }
.entry .when em { display: inline-block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: 13px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 10px; }
.entry .what { padding: 24px 28px 26px; min-width: 0; }
.entry h3 { font-family: var(--hd); font-weight: 800; font-size: 25px; line-height: 1.25; letter-spacing: -0.02em; }
.entry .sub { margin-top: 4px; font-weight: 700; font-size: 15px; opacity: .78; }
.entry .what > p { margin-top: 12px; font-size: 16.5px; }
.entry p b { background: linear-gradient(transparent 55%, var(--yellow) 55%); }
.child { margin-top: 18px; border: 2px solid var(--ink); border-radius: 12px; padding: 16px 18px; background: var(--bg); }
.child h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--hd); font-weight: 800; font-size: 19px; }
.child h4 i { font-style: normal; font-family: var(--bd); font-size: 13px; font-weight: 800; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 1px 10px; }
.child .sub { font-size: 14px; }
.child p { margin-top: 8px; font-size: 16px; }

/* ---------- projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj { display: flex; flex-direction: column; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); background: var(--paper); overflow: hidden; }
.proj .cap { display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 18px 22px; border-bottom: var(--bw) solid var(--ink); background: var(--c); }
.proj .cap b { font-family: var(--hd); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.04em; }
.proj .cap span { margin-top: 8px; font-weight: 800; font-size: 15px; line-height: 1.4; }
.proj .body { padding: 22px 22px 26px; }
.proj .org { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 12px; font-weight: 800; font-size: 13px; }
.proj h3 { margin-top: 12px; font-family: var(--hd); font-weight: 800; font-size: 23px; line-height: 1.3; letter-spacing: -0.02em; }
.proj p { margin-top: 10px; font-size: 16px; }

/* ---------- AI ---------- */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 44px; }
.scale li { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 18px 20px; }
.scale b { display: block; font-family: var(--hd); font-weight: 800; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; letter-spacing: -0.04em; }
.scale b small { font-size: .5em; }
.scale span { display: block; margin-top: 10px; font-weight: 700; font-size: 14.5px; line-height: 1.45; }

.pipe-box { padding: 28px; box-shadow: var(--sh-lg); }
.pipe-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.pipe-top h3 { font-family: var(--hd); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.pipe { display: grid; grid-template-columns: repeat(7, 1fr); gap: 22px; }
.node { position: relative; border: var(--bw) solid var(--ink); border-radius: 12px; padding: 12px 10px 14px; background: var(--bg); text-align: center; transition: background .2s, transform .2s, box-shadow .2s; }
.node:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -19px; width: 12px; height: 12px; border-top: var(--bw) solid var(--ink); border-right: var(--bw) solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.node i { display: inline-block; font-style: normal; font-family: var(--hd); font-weight: 800; font-size: 13px; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 1px 9px; letter-spacing: .04em; }
.node b { display: block; margin-top: 8px; font-family: var(--hd); font-size: 20px; }
.node span { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.node.on { background: var(--pink); transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.node.done { background: var(--mint); }
.term { margin-top: 24px; border: var(--bw) solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--ink); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: var(--paper); border-bottom: var(--bw) solid var(--ink); font-weight: 800; font-size: 13px; }
.term-bar span { margin-left: 8px; }
.term-body { padding: 16px 18px; min-height: 252px; font-family: var(--mono); font-size: 14px; line-height: 1.75; color: var(--paper); overflow-x: auto; }
.term-body div { white-space: pre; }
.term-body .run::before { content: "$ "; color: var(--pink); }
.term-body .ok { color: var(--mint); } .term-body .ok::before { content: "  ok "; }
.term-body .info { color: var(--yellow); } .term-body .info::before { content: "  .. "; }

.cells { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 28px; margin-top: 64px; }
.cell { position: relative; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 34px 26px 26px; }
.cell .n { position: absolute; top: -18px; left: 20px; background: var(--c); border: var(--bw) solid var(--ink); border-radius: 8px; padding: 2px 14px; font-family: var(--hd); font-weight: 800; font-size: 15px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.cell:nth-child(even) .n { transform: rotate(2.5deg); }
.cell h3 { font-family: var(--hd); font-weight: 800; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; }
.cell p { margin-top: 10px; font-size: 16px; }

.quote { position: relative; margin: 76px auto 0; max-width: 980px; background: var(--pink); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--sh-lg); padding: 50px 48px 40px; transform: rotate(-1deg); }
.quote .q { position: absolute; top: -34px; left: 34px; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--paper); border: var(--bw) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: var(--hd); font-weight: 800; font-size: 54px; line-height: 1; padding-top: 18px; transform: rotate(-8deg); }
.quote blockquote { margin: 0; font-family: var(--hd); font-weight: 800; font-size: clamp(24px, 3.2vw, 42px); line-height: 1.35; letter-spacing: -0.03em; }
.quote figcaption { margin-top: 18px; font-weight: 800; font-size: 16px; }

/* ---------- markets ---------- */
.regions { margin-bottom: 26px; }
.years { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr; gap: 34px; align-items: start; }
.year { position: relative; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); }
.year:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: -28px; width: 14px; height: 14px; border-top: 4px solid var(--ink); border-right: 4px solid var(--ink); transform: rotate(45deg); }
.year h3 { font-family: var(--hd); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; padding: 16px 20px 14px; background: var(--ink); color: var(--paper); border-radius: 12px 12px 0 0; }
.year ul { display: grid; gap: 10px; padding: 18px 18px 20px; }
.year li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; background: var(--g); border: 2px solid var(--ink); border-radius: 10px; padding: 8px 12px; font-weight: 800; font-size: 16px; line-height: 1.35; }
.year li small { font-size: 12px; font-weight: 800; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; }
.year li em { font-style: normal; font-size: 12.5px; background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 1px 10px; }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.point { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 22px 22px 24px; }
.point h3 { font-family: var(--hd); font-weight: 800; font-size: 20px; line-height: 1.3; padding-bottom: 10px; border-bottom: var(--bw) solid var(--ink); }
.point p { margin-top: 12px; font-size: 15.5px; }

/* ---------- evidence ---------- */
.evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--bw); background: var(--ink); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--sh-lg); overflow: hidden; }
.ev { background: var(--c, var(--paper)); padding: 28px 26px 26px; display: flex; flex-direction: column; }
.ev .v { font-family: var(--hd); font-weight: 800; font-size: clamp(52px, 6vw, 84px); line-height: 1; letter-spacing: -0.045em; }
.ev .v small { font-size: .4em; letter-spacing: 0; margin-left: 4px; }
.ev p { margin-top: 14px; font-weight: 700; font-size: 16.5px; line-height: 1.5; }
.ev span { margin-top: auto; padding-top: 16px; font-weight: 800; font-size: 13px; }
.ev span i { font-style: normal; display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 11px; background: var(--paper); }

/* ---------- skills ---------- */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.skg { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.skg h3 { font-family: var(--hd); font-weight: 800; font-size: 22px; padding: 14px 20px; background: var(--c); border-bottom: var(--bw) solid var(--ink); }
.skg .tags { margin: 0; padding: 20px; gap: 8px; }
.skg .tags li { font-size: 14.5px; padding: 3px 13px; background: var(--bg); }
.edu { margin-top: 40px; overflow: hidden; }
.edu div { display: grid; grid-template-columns: 130px minmax(0, 1fr); }
.edu div + div { border-top: var(--bw) solid var(--ink); }
.edu dt { font-family: var(--hd); font-weight: 800; font-size: 18px; padding: 16px 20px; background: var(--yellow); border-right: var(--bw) solid var(--ink); }
.edu dd { padding: 16px 22px; font-weight: 600; }

/* ---------- contact / footer ---------- */
.contact { padding: 120px 0 128px; }
.contact h2 { font-size: clamp(36px, 6vw, 84px); max-width: 980px; }
.contact .lead { max-width: 700px; }
.btn.big { margin-top: 38px; min-height: 72px; padding: 14px 38px; font-size: clamp(18px, 2.2vw, 26px); background: var(--yellow); color: var(--ink); box-shadow: 8px 8px 0 var(--ink); max-width: 100%; }
.btn.big:hover { background: var(--paper); transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--ink); }
.btn.big:active { transform: translate(8px, 8px); box-shadow: 0 0 0 var(--ink); }
.btn.big svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.btn.big span { overflow-wrap: anywhere; }
#contact-decor .c-a { --s: 190px; top: 60px; right: 6%; }
#contact-decor .c-b { --s: 130px; bottom: 70px; right: 24%; --d: -2s; }
#contact-decor .c-c { --s: 110px; bottom: 150px; right: 3%; --d: -3.5s; }

.foot { background: var(--ink); color: var(--bg); border-top: var(--bw) solid var(--ink); padding: 30px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.foot span { font-family: var(--hd); font-weight: 800; letter-spacing: .04em; }
.foot small { font-size: 14px; font-weight: 600; opacity: .8; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-card .c-p1 { right: -26px; } .hero-card .c-p2 { left: -30px; }
  .points { grid-template-columns: repeat(2, 1fr); }
  .scale { grid-template-columns: repeat(3, 1fr); }
  .pipe { grid-template-columns: repeat(4, 1fr); row-gap: 16px; }
  .node:nth-child(4)::after { display: none; }
  .links a { padding: 7px 11px; font-size: 15px; }
}
@media (max-width: 980px) {
  :root { --gut: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-card { max-width: 400px; }
  #hero-decor .c-a { right: 4%; top: 18px; --s: 110px; }
  #hero-decor .c-b { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pillars, .skills { grid-template-columns: 1fr; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .years { grid-template-columns: repeat(2, 1fr); }
  .year:nth-child(2)::after { display: none; }
  .evidence { grid-template-columns: repeat(2, 1fr); }
  .ev:last-child { grid-column: span 2; }
  .cells { grid-template-columns: 1fr; }
  .sec > .decor .coin { --s: 104px; top: 30px; }
  #contact-decor .c-b, #contact-decor .c-c { display: none; }
  #contact-decor .c-a { --s: 120px; top: 24px; right: 16px; }
}
@media (max-width: 860px) {
  :root { --navh: 106px; }
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: 58px 45px; height: var(--navh); }
  .langs { grid-row: 1; grid-column: 2; margin-right: 12px; }
  .nav-cta { grid-row: 1; grid-column: 3; }
  .logo { padding: 0 16px; font-size: 22px; }
  .nav-cta { padding: 0 22px; font-size: 15px; }
  .links { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 0 10px; gap: 2px; border-top: var(--bw) solid var(--ink); overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
  .links::-webkit-scrollbar { display: none; }
  .links a { padding: 4px 9px; font-size: 14.5px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; --sh: 5px 5px 0 var(--ink); --sh-lg: 6px 6px 0 var(--ink); }
  body { font-size: 16px; }
  .sec { padding: 72px 0 80px; }
  .sec-head { margin-bottom: 36px; }
  .sec > .decor .coin { --s: 78px; top: 20px; right: 10px; }
  .hero { padding: 36px 0 60px; }
  h1 { font-size: clamp(54px, 17.5vw, 84px); margin-top: 22px; }
  h1 .hl { border-width: 3px; border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
  .tagline { margin-top: 32px; }
  .intro { font-size: 16.5px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-grid { gap: 56px; }
  .hero-card { max-width: 316px; }
  .window { box-shadow: 8px 8px 0 var(--ink); }
  .hero-card .c-p1 { --s: 84px; top: -38px; right: -8px; }
  .hero-card .c-p2 { --s: 78px; bottom: 70px; left: -8px; }
  #hero-decor .c-a { display: none; }
  .stats { gap: 14px; margin-top: 52px; }
  .stats li { padding: 14px 14px 16px; }
  .stats span { font-size: 14px; }
  .ticker span { font-size: 18px; }
  .pillar { padding: 28px 20px 24px; }
  .pillar h3 { font-size: 23px; }
  .gantt-panel { padding: 18px 16px 14px; }
  .g-row { grid-template-columns: 1fr; padding: 5px 0; }
  .g-row .nm { font-size: 13.5px; margin-bottom: 2px; }
  .g-track { height: 20px; }
  .g-axis { grid-template-columns: 1fr; } .g-axis div { grid-column: 1; }
  .entry { grid-template-columns: 1fr; }
  .entry .when { border-right: 0; border-bottom: var(--bw) solid var(--ink); padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  .entry .when b { font-size: 21px; } .entry .when span, .entry .when em { margin-top: 0; }
  .entry .what { padding: 18px 18px 22px; }
  .entry h3 { font-size: 22px; }
  .child { padding: 14px; }
  .projects { grid-template-columns: 1fr; }
  .proj .cap { min-height: 124px; }
  .proj .cap b { font-size: 54px; }
  .scale { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .scale li:last-child { grid-column: span 2; }
  .scale li { padding: 14px 14px 16px; }
  .pipe-box { padding: 18px 16px; }
  .pipe-top h3 { font-size: 22px; }
  .pipe { grid-template-columns: 1fr; gap: 10px; }
  .node { display: grid; grid-template-columns: 52px auto minmax(0, 1fr); align-items: center; gap: 0 10px; text-align: left; padding: 9px 12px; }
  .node::after { display: none !important; }
  .node b { margin: 0; font-size: 18px; } .node span { margin: 0; }
  .node i { text-align: center; padding: 1px 0; }
  .term-body { font-size: 12.5px; padding: 14px; min-height: 0; }
  .cells { margin-top: 52px; gap: 34px; }
  .cell { padding: 30px 18px 22px; }
  .quote { margin-top: 64px; padding: 44px 22px 28px; }
  .quote .q { left: 18px; width: 60px; height: 60px; font-size: 46px; top: -30px; }
  .years { grid-template-columns: 1fr; gap: 34px; }
  .year:not(:last-child)::after { display: block; top: auto; bottom: -24px; right: auto; left: 50%; margin-left: -7px; transform: rotate(135deg); }
  .year h3 { font-size: 32px; padding: 12px 18px 10px; }
  .points { grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
  .evidence { grid-template-columns: 1fr; border-radius: 18px; }
  .ev:last-child { grid-column: auto; }
  .ev { padding: 22px 20px; }
  .edu div { grid-template-columns: 76px minmax(0, 1fr); }
  .edu dt { padding: 14px 12px; font-size: 16px; } .edu dd { padding: 14px 14px; font-size: 15.5px; }
  .contact { padding: 84px 0 92px; }
  #contact-decor .c-a { --s: 84px; top: 16px; right: 10px; }
  .btn.big { width: 100%; padding: 14px 18px; min-height: 64px; box-shadow: 6px 6px 0 var(--ink); }
  .btn.big svg { width: 24px; height: 24px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise { opacity: 1; translate: 0 0; }
  .ticker .track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 6px; padding: 0 16px; }
  .ticker .track .dup { display: none; }
}

/* ---------- 영어 페이지 (en/s06/, <html lang="en">) ---------- */
html[lang="en"] body { word-break: normal; overflow-wrap: break-word; }
html[lang="en"] h1 { font-size: clamp(52px, 6.7vw, 100px); letter-spacing: -0.04em; }
html[lang="en"] .edu div { grid-template-columns: 180px minmax(0, 1fr); }
@media (min-width: 641px) { html[lang="en"] .entry { grid-template-columns: 250px minmax(0, 1fr); } }
html[lang="en"] .lead b { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[lang="en"] .window figcaption, html[lang="en"] h2, html[lang="en"] .pillar h3, html[lang="en"] .proj h3 { text-wrap: balance; }
/* 영어 메뉴는 길어서 두 줄 메뉴로 일찍 바꾼다 (한국어는 860px) */
@media (max-width: 1120px) {
  html[lang="en"] { --navh: 106px; }
  html[lang="en"] .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: 58px 45px; height: var(--navh); }
  html[lang="en"] .logo { padding: 0 16px; font-size: 22px; }
  html[lang="en"] .langs { grid-row: 1; grid-column: 2; margin-right: 12px; }
  html[lang="en"] .nav-cta { grid-row: 1; grid-column: 3; padding: 0 22px; font-size: 15px; }
  html[lang="en"] .links { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 0 10px; gap: 2px; border-top: var(--bw) solid var(--ink); overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
  html[lang="en"] .links::-webkit-scrollbar { display: none; }
  html[lang="en"] .links a { padding: 4px 9px; font-size: 14.5px; }
}
@media (max-width: 640px) {
  html[lang="en"] h1 { font-size: clamp(40px, 12.6vw, 64px); }
  html[lang="en"] .edu div { grid-template-columns: minmax(0, 1fr); }
  html[lang="en"] .edu dt { border-right: 0; border-bottom: var(--bw) solid var(--ink); padding: 10px 14px; }
}
@media (max-width: 420px) {
  html[lang="en"] .logo { gap: 8px; padding: 0 10px 0 14px; font-size: 19px; }
  html[lang="en"] .logo-mark { width: 32px; height: 32px; font-size: 16px; }
  html[lang="en"] .langs { margin-right: 10px; }
  html[lang="en"] .langs > * { padding: 7px 9px 6px; }
  html[lang="en"] .nav-cta { padding: 0 16px; }
  html[lang="en"] .links { padding: 0 6px; }
  html[lang="en"] .links a { padding: 4px 7px; font-size: 14px; }
}
