/* HEALINGSPACE Vision — 모션그래픽 PR 랜딩 */
:root {
  --bg: #05070f;
  --ink: #eef1fb;
  --mute: #9aa3bf;
  --line: rgba(160, 175, 230, 0.16);
  --card: rgba(14, 19, 38, 0.55);
  --wood: #4ade80;
  --fire: #fb7185;
  --earth: #fbbf24;
  --metal: #e2e8f0;
  --water: #60a5fa;
  --accent: #8b9cff;
  --grad: linear-gradient(100deg, #60a5fa 0%, #a78bfa 45%, #fb7185 100%);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --hdr: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- 3D 무대 ---------- */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.stage-veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(5, 7, 15, 0.35) 60%, rgba(5, 7, 15, 0.85) 100%);
}
/* WebGL 불가·모션 축소 시 정적 배경 */
.no-webgl #stage { display: none; }
.no-webgl body, body.no-webgl {
  background:
    radial-gradient(circle at 70% 20%, rgba(139, 156, 255, 0.18), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(251, 113, 133, 0.12), transparent 40%),
    var(--bg);
  background-attachment: fixed;
}

/* ---------- 헤더 ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(5, 7, 15, 0.85), rgba(5, 7, 15, 0.4));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.hdr.scrolled { border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.12em; font-size: 15px; white-space: nowrap; }
.logo svg { width: 26px; height: 26px; }
.logo svg circle:first-child { fill: var(--accent); }
.logo svg circle:last-child { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 3; animation: spin 14s linear infinite; transform-origin: 16px 16px; }
.nav { display: flex; gap: clamp(14px, 2vw, 28px); font-size: 14px; color: var(--mute); }
.nav a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after, .nav a:hover::after { transform: scaleX(1); }
.hdr-cta { font-size: 13px; font-weight: 600; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; transition: background 0.2s, border-color 0.2s; white-space: nowrap; }
.hdr-cta:hover { background: rgba(139, 156, 255, 0.14); border-color: var(--accent); }

/* ---------- 장 레일 ---------- */
.rail { position: fixed; right: clamp(10px, 2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; }
.rail li { width: 8px; height: 8px; border-radius: 50%; background: rgba(160, 175, 230, 0.3); position: relative; transition: all 0.4s var(--ease); }
.rail li span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 10px; letter-spacing: 0.1em; color: var(--mute); opacity: 0; transition: opacity 0.3s; }
.rail li.on { background: var(--accent); height: 26px; border-radius: 6px; box-shadow: 0 0 14px var(--accent); }
.rail li.on span { opacity: 1; }

/* ---------- 레이아웃 ---------- */
main { position: relative; z-index: 2; }
.wrap { width: min(1160px, 100% - 2 * clamp(20px, 5vw, 56px)); margin: 0 auto; }
.wrap.narrow { width: min(880px, 100% - 2 * clamp(20px, 5vw, 56px)); }
.chapter { min-height: 100vh; padding: calc(var(--hdr) + 72px) 0 96px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.head { max-width: 720px; margin-bottom: 56px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 18px; }
h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; }
h2 em, .big-q em { color: #c4cdff; }
.sub { margin-top: 20px; color: var(--mute); font-size: clamp(15px, 1.4vw, 18px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.br-d { display: inline; }

/* ---------- 리빌 모션 ---------- */
.reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- 00 HERO ---------- */
.hero { text-align: center; align-items: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(46px, 9vw, 120px); line-height: 1.04; font-weight: 900; letter-spacing: -0.045em; margin-bottom: 30px; text-shadow: 0 10px 60px rgba(5, 7, 15, 0.6); }
.hero-title .line { display: block; }
.hero-lede { max-width: 640px; color: #c3c9de; font-size: clamp(15px, 1.5vw, 19px); margin-bottom: 40px; text-shadow: 0 2px 20px rgba(5, 7, 15, 0.9); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: var(--bg); box-shadow: 0 8px 30px rgba(139, 156, 255, 0.25); }
.btn-solid:hover { box-shadow: 0 12px 40px rgba(139, 156, 255, 0.45); }
.btn-ghost { border: 1px solid rgba(238, 241, 251, 0.3); background: rgba(5, 7, 15, 0.35); backdrop-filter: blur(6px); }
.btn.big { font-size: clamp(16px, 2vw, 22px); padding: 18px 34px; }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(238, 241, 251, 0.4); border-radius: 14px; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }

/* ---------- 01 QUESTION ---------- */
.big-q { font-size: clamp(30px, 5vw, 60px); line-height: 1.3; margin-bottom: 56px; }
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.q-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 6px; }
.q-card:nth-child(2) { --d: 0.12s; }
.q-card:nth-child(3) { --d: 0.24s; }
.q-card b { font-size: 19px; }
.q-card span { color: var(--mute); font-size: 14px; }
.q-note { color: var(--mute); font-size: 16px; }

/* ---------- 02 LENSES ---------- */
.lens-board { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.lens-orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin: 0 auto; }
.ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(160, 175, 230, 0.2); }
.r1 { width: 36%; height: 36%; animation: spin 40s linear infinite; }
.r2 { width: 66%; height: 66%; animation: spin 70s linear infinite reverse; }
.r3 { width: 96%; height: 96%; border-style: solid; border-color: rgba(160, 175, 230, 0.1); }
.core-dot { position: absolute; inset: 0; margin: auto; width: 22%; height: 22%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(139, 156, 255, 0.55), rgba(139, 156, 255, 0.05) 70%); box-shadow: 0 0 60px rgba(139, 156, 255, 0.45); font-weight: 900; font-size: clamp(22px, 3vw, 34px); animation: breathe 4s ease-in-out infinite; }
.orbit-chips { position: absolute; inset: 0; }
.chip-o {
  position: absolute; left: 50%; top: 50%;
  font-size: clamp(11px, 1.15vw, 13px); font-weight: 600; white-space: nowrap;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(10, 14, 28, 0.82); border: 1px solid var(--c, var(--line)); color: var(--ink);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 35%, transparent);
  transform: translate(-50%, -50%) translate(0, 0) scale(0.4); opacity: 0;
  transition: transform 1.2s var(--ease), opacity 0.8s;
  transition-delay: calc(var(--k) * 60ms);
}
.lens-orbit.in .chip-o { transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(1); opacity: 1; }
.chip-o.dim { opacity: 0.25 !important; }
.chip-o.hl { background: color-mix(in srgb, var(--c) 30%, #0a0e1c); }
.lens-axes { display: grid; gap: 14px; }
.axis { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); cursor: default; transition: border-color 0.3s, transform 0.3s var(--ease); }
.axis:nth-child(2) { --d: 0.1s; } .axis:nth-child(3) { --d: 0.2s; } .axis:nth-child(4) { --d: 0.3s; }
.axis:hover, .axis.on { border-color: var(--c); transform: translateX(6px); }
.axis h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 4px; }
.axis h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.axis p { font-weight: 600; font-size: 15px; }
.axis small { color: var(--mute); font-size: 13px; }
[data-axis="mind"] { --c: var(--water); }
[data-axis="east"] { --c: var(--earth); }
[data-axis="life"] { --c: var(--wood); }
[data-axis="meaning"] { --c: var(--fire); }

/* ---------- 03 MODEL ---------- */
.flow { position: relative; margin-bottom: 64px; }
.flow-line { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 90px; overflow: visible; }
.flow-line path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--accent)); stroke-dasharray: var(--len, 1400); stroke-dashoffset: calc(var(--len, 1400) * (1 - var(--p, 0))); vector-effect: non-scaling-stroke; }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 110px; }
.flow-steps li { padding: 20px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); }
.flow-steps li:nth-child(2) { --d: 0.1s; } .flow-steps li:nth-child(3) { --d: 0.2s; } .flow-steps li:nth-child(4) { --d: 0.3s; } .flow-steps li:nth-child(5) { --d: 0.4s; }
.flow-steps b { font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.flow-steps h3 { font-size: 19px; margin: 6px 0 6px; }
.flow-steps p { font-size: 14px; color: var(--mute); }
.model-stack { position: relative; height: 260px; perspective: 900px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.layer { position: absolute; width: min(460px, 80%); height: 120px; border-radius: 18px; border: 1px solid; display: grid; place-items: center; transform: rotateX(62deg) rotateZ(-38deg) translateZ(calc(var(--z) * 1px)); transition: transform 1.2s var(--ease); backdrop-filter: blur(4px); }
.layer span { font-weight: 800; letter-spacing: 0.16em; font-size: 14px; transform: rotateZ(38deg); }
.l1 { --z: 0; top: 110px; border-color: var(--earth); background: rgba(251, 191, 36, 0.08); }
.l2 { --z: 0; top: 70px; border-color: var(--water); background: rgba(96, 165, 250, 0.08); }
.l3 { --z: 0; top: 30px; border-color: var(--fire); background: rgba(251, 113, 133, 0.08); }
.model-stack.in .l2 { --z: 40; }
.model-stack.in .l3 { --z: 80; }
.stack-cap { position: absolute; bottom: -10px; color: var(--mute); font-size: 14px; text-align: center; }

/* ---------- 04 SOLUTIONS ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sol { padding: 24px 22px 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(12px); transition: transform 0.4s var(--ease), border-color 0.3s; }
.sol:nth-child(2) { --d: 0.1s; } .sol:nth-child(3) { --d: 0.2s; } .sol:nth-child(4) { --d: 0.3s; }
.sol:hover { transform: translateY(-6px); border-color: rgba(139, 156, 255, 0.5); }
.sol-fig { width: 100%; height: 130px; margin-bottom: 14px; overflow: visible; }
.sol-fig .edges line, .sol-fig .trace { stroke: rgba(139, 156, 255, 0.55); stroke-width: 1.4; fill: none; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.4s var(--ease) 0.3s; }
.sol.in .sol-fig .edges line, .sol.in .sol-fig .trace { stroke-dashoffset: 0; }
.sol-fig .nodes circle { fill: #c4cdff; transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-in-out infinite; }
.sol-fig .nodes circle:nth-child(2n) { animation-delay: -1s; }
.sol-fig .nodes circle:nth-child(3n) { animation-delay: -2s; }
.sol-fig .nodes .hub { fill: var(--fire); filter: drop-shadow(0 0 8px var(--fire)); }
.sol-fig .groups ellipse { fill: rgba(96, 165, 250, 0.07); stroke: rgba(96, 165, 250, 0.45); stroke-dasharray: 4 4; animation: spin 30s linear infinite; transform-box: fill-box; transform-origin: center; }
.sol-fig .groups ellipse:last-child { fill: rgba(74, 222, 128, 0.07); stroke: rgba(74, 222, 128, 0.45); animation-direction: reverse; }
.sol-fig .mover { animation: seek 6s var(--ease) infinite !important; }
.sol-fig .planes path { fill: rgba(139, 156, 255, 0.06); stroke: rgba(139, 156, 255, 0.4); transition: transform 1.2s var(--ease); }
.sol.in .sol-fig .planes path:nth-child(1) { transform: translateY(8px); }
.sol.in .sol-fig .planes path:nth-child(3) { transform: translateY(-8px); }
.tag { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; color: var(--accent); }
.sol h3 { font-size: 21px; margin: 4px 0 10px; }
.sol p:last-child { font-size: 14px; color: var(--mute); }

/* ---------- 05 LABS ---------- */
.labs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lab { position: relative; padding: 32px 30px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(14px); overflow: hidden; }
.lab:nth-child(2) { --d: 0.15s; }
.lab::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--accent) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: sweep 6s linear infinite; pointer-events: none; }
.lab-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; padding: 5px 10px; border-radius: 999px; }
.badge.live { background: rgba(251, 113, 133, 0.16); color: var(--fire); }
.badge.lab-b { background: rgba(74, 222, 128, 0.14); color: var(--wood); }
.lab-domain { font-size: 13px; color: var(--mute); }
.lab h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.lab > p { color: #c3c9de; font-size: 15px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips li { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); }
.lab-link { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.lab-link:hover { color: #c4cdff; }

/* ---------- 06 VISION ---------- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; margin-bottom: 40px; }
.rung { --d: calc(var(--i) * 0.12s); padding: 22px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); min-height: calc(130px + var(--i) * 46px); display: flex; flex-direction: column; justify-content: flex-end; }
.rung b { font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.rung h3 { font-size: 20px; margin: 4px 0; }
.rung p { font-size: 14px; color: var(--mute); }
.rung.top { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 20px 60px rgba(167, 139, 250, 0.2); }
.future { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.future li { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(167, 139, 250, 0.35); background: rgba(167, 139, 250, 0.08); font-weight: 600; }
.future li span { font-size: 11px; color: var(--accent); font-weight: 800; }
.future-note { text-align: center; margin-top: 18px; font-size: 13px; color: var(--mute); }

/* ---------- 07 PRINCIPLES / CONTACT ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.pr { padding: 24px; border-left: 2px solid var(--accent); background: linear-gradient(90deg, rgba(139, 156, 255, 0.08), transparent); border-radius: 0 14px 14px 0; }
.pr:nth-child(2) { --d: 0.1s; } .pr:nth-child(3) { --d: 0.2s; }
.pr h3 { font-size: 18px; margin-bottom: 6px; }
.pr p { font-size: 14px; color: var(--mute); }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(14px); flex-wrap: wrap; }
.contact h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 8px; }
.contact p:not(.eyebrow) { color: var(--mute); }

.ftr { position: relative; z-index: 2; padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); background: rgba(5, 7, 15, 0.7); }
.ftr p + p { margin-top: 6px; }
.ftr a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 키프레임 ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.08); box-shadow: 0 0 90px rgba(139, 156, 255, 0.6); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes pulse { 50% { transform: scale(1.25); opacity: 0.8; } }
@keyframes seek { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(-40px, -46px); } 70% { transform: translate(36px, -44px); } }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes sweep { to { --a: 360deg; } }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .flow-line { display: none; }
  .flow-steps { padding-top: 0; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .lens-board { grid-template-columns: 1fr; }
  .labs { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .rung { min-height: 120px; }
  .principles { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: 1fr; }
  .br-d { display: none; }
  .rail { display: none; }
}
@media (max-width: 560px) {
  .chapter { padding: calc(var(--hdr) + 40px) 0 72px; min-height: auto; }
  .hero { min-height: 100svh; }
  .sol-grid, .flow-steps { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .contact { flex-direction: column; align-items: flex-start; }
  .btn.big { width: 100%; font-size: 15px; }
  .hdr-cta { padding: 7px 12px; }
  .logo { font-size: 13px; letter-spacing: 0.08em; gap: 8px; }
  .logo svg { width: 22px; height: 22px; }
  .model-stack { height: 220px; }
  .layer { height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .chip-o { opacity: 1; transform: translate(-50%, -50%) translate(var(--x), var(--y)); }
  html { scroll-behavior: auto; }
}

/* ---------- 07 ABOUT + BOOKS ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 72px; }
.founder, .method { padding: clamp(24px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(14px); }
.method { --d: 0.12s; }
.founder h3 { font-size: clamp(26px, 3vw, 34px); margin: 6px 0 4px; }
.founder-title { font-size: 0.5em; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-left: 6px; vertical-align: middle; }
.founder-role { color: #c4cdff; font-weight: 600; margin-bottom: 14px; }
.founder > p:not(.tag):not(.founder-role) { color: #c3c9de; font-size: 15px; }
.founder b { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.stats li { padding: 14px 12px; border-radius: 14px; border: 1px solid var(--line); text-align: center; }
.stats b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12px; color: var(--mute); }
.method h3 { font-size: 26px; margin: 6px 0 10px; letter-spacing: 0.04em; }
.method > p:not(.tag) { color: var(--mute); font-size: 14px; margin-bottom: 18px; }
.fnt { display: grid; gap: 10px; counter-reset: f; }
.fnt li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(139, 156, 255, 0.06); }
.fnt li b { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 15px; border: 1px solid; }
.fnt li:nth-child(1) b { border-color: var(--wood); color: var(--wood); }
.fnt li:nth-child(2) b { border-color: var(--earth); color: var(--earth); }
.fnt li:nth-child(3) b { border-color: var(--fire); color: var(--fire); }
.fnt li span { font-size: 14px; color: #c3c9de; }

.books-head { margin-bottom: 28px; }
.books-head h3 { font-size: clamp(22px, 2.6vw, 30px); }
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.book { --d: 0s; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(14px); }
.book:nth-child(2) { --d: 0.15s; }
.cover { display: block; perspective: 900px; }
.cover-3d { position: relative; display: block; width: clamp(120px, 12vw, 160px); transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(4deg); transition: transform 0.8s var(--ease); }
.cover-3d img { display: block; width: 100%; height: auto; border-radius: 2px 6px 6px 2px; box-shadow: 18px 22px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }
/* 책등과 종이 두께 */
.cover-3d::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 22px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(255, 255, 255, 0.08) 60%, rgba(0, 0, 0, 0.25)); transform-origin: left; transform: rotateY(90deg); }
.cover-3d::after { content: ""; position: absolute; top: 3px; bottom: 3px; right: -14px; width: 14px; background: repeating-linear-gradient(90deg, #e9e6dc 0 1px, #cfcabb 1px 2px); transform-origin: left; transform: rotateY(90deg); }
.cover-3d img { position: relative; z-index: 1; }
.book:hover .cover-3d, .cover:focus-visible .cover-3d { transform: rotateY(-6deg) rotateX(0) translateY(-6px); }
.book.in .cover-3d { animation: bookIn 1.4s var(--ease) both; animation-delay: var(--d); }
.book-meta { font-size: 12px; color: var(--accent); letter-spacing: 0.06em; font-weight: 700; margin-bottom: 6px; }
.book h4 { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.35; margin-bottom: 10px; }
.book-info > p:not(.book-meta) { font-size: 14px; color: var(--mute); margin-bottom: 14px; }
.book .chips { margin-bottom: 16px; }
@keyframes bookIn { from { transform: rotateY(-70deg) translateX(-30px); opacity: 0; } to { transform: rotateY(-24deg) rotateX(4deg); opacity: 1; } }

@media (max-width: 1024px) {
  .books { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .book { grid-template-columns: 1fr; justify-items: center; text-align: left; padding: 24px 20px; }
  .book-info { justify-self: stretch; }
  .stats span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .cover-3d { transform: none; }
}
