:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --fg: #f4f4f2;
  --muted: #aaa;
  --line: #343434;
  --scene: #111;
  --glow: #303030;
  --gutter: clamp(19px, 4.3vw, 100px);
  --header: 70px;
  --ease: cubic-bezier(.2,.7,.2,1);
  font-family: Inter, 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', Arial, sans-serif;
  scrollbar-color: var(--muted) var(--bg);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f8f6;
  --fg: #111;
  --muted: #515151;
  --line: #c6c6c4;
  --scene: #efefed;
  --glow: #d5d5d3;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--bg); color: var(--fg); transition: color .35s, background-color .35s; }
[lang="ko"] { word-break: keep-all; }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
button:disabled { cursor: default; opacity: .45; }
section[id] { scroll-margin-top: calc(var(--header) + 4px) }
.shell { width: min(calc(100% - 2 * var(--gutter)), 1960px); margin-inline: auto; }
.skip { position: fixed; top: -120px; z-index: 10; background: var(--fg); color: var(--bg); padding: 15px; left: var(--gutter); }
.skip:focus { top: 8px }
.header { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: .82rem; font-weight: 650; letter-spacing: .21em; white-space: nowrap; }
.strip-e { letter-spacing: .17em }
.mark { display: block; fill: currentColor; }
.brand .mark { width: 23px; height: 26px; display: block }
nav, .settings { display: flex; align-items: center; }
nav { gap: clamp(17px, 3vw, 50px); font-size: .86rem; }
nav a, .footer a { transition: opacity .2s; }
nav a:hover, .footer a:hover { opacity: .66 }
.settings { justify-self: end; gap: 9px; }
.settings button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); min-height: 40px; min-width: 44px; padding: 0 12px; font-size: .74rem; font-weight: 600; }
.settings button:hover, .scene-controls button:hover { background: var(--fg); color: var(--bg) }
#theme { min-width: 82px }
.theme-icon { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.hero { min-height: min(820px, calc(100svh - var(--header))); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(27px, 3.9vw, 80px); padding-block: clamp(38px, 7vh, 98px); }
.eyebrow { color: var(--muted); font: 600 .71rem/1.4 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.hero-copy > .eyebrow { margin-bottom: 27px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(50px, min(8.15vw, 16svh), 166px); line-height: .9; letter-spacing: -.062em; font-weight: 620; }
h1 span { display: block; }
h1 span:nth-child(2) { color: var(--muted); }
.lead, .section-head > p { max-width: 35ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.23rem); line-height: 1.6; }
.lead { margin-top: 29px; }
.cta { display: inline-flex; align-items: center; gap: 24px; margin-top: 29px; padding: 12px 0; border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 620; }
.cta span:last-child { transition: transform .25s var(--ease); }
.cta:hover span:last-child { transform: translate(3px, 3px); }
.scene { align-self: center; border: 1px solid var(--line); min-width: 0; background: var(--scene); }
.scene-top { display: flex; justify-content: space-between; gap: 8px; padding: 15px clamp(11px, 2vw, 23px); border-bottom: 1px solid var(--line); font-size: .7rem; letter-spacing: .12em; }
.scene-top i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.stage { position: relative; display: grid; place-items: center; aspect-ratio: 1.18; max-height: 61svh; overflow: hidden; background: repeating-linear-gradient(90deg, transparent 0 35px, var(--line) 36px, transparent 37px), repeating-linear-gradient(0deg, transparent 0 35px, var(--line) 36px, transparent 37px), radial-gradient(ellipse, var(--glow), var(--scene) 67%); }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse, transparent 12%, var(--scene) 88%); }
.orbit { position: absolute; width: 75%; max-width: 54svh; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.orbit-inner { transform: scale(.79); border-style: dashed; }
#particles { display: none; position: absolute; width: 100%; height: 100%; inset: 0; }
.stage.ready #particles { display: block }
.static-mark { position: absolute; width: 42%; height: 65%; }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.focus-grid li { min-width: 0; padding: clamp(18px, 2vw, 32px); border: 1px solid var(--line); border-left: 0; }
.focus-grid h3 { font-size: clamp(22px, 2.1vw, 36px); margin: clamp(28px, 4vw, 64px) 0 10px; }
.focus-grid p { color: var(--muted); line-height: 1.55; }
.notfound { min-height: 100svh; display: grid; align-content: center; gap: 28px; }
.notfound .cta { justify-self: start; margin: 0; }
.stage.ready .static-mark { display: none }
.scene-controls { display: flex; align-items: center; border-top: 1px solid var(--line); }
.chapter-controls { display: flex; flex: 1; }
.scene-controls button { min-height: 45px; min-width: 45px; border-right: 1px solid var(--line); font: .77rem ui-monospace, monospace; color: var(--muted); }
.scene-controls button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
#pause, #next { border-right: 0; border-left: 1px solid var(--line); font-size: 1rem; }
.section { padding-block: clamp(56px, 9vw, 148px); border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; column-gap: 35px; row-gap: 22px; margin-bottom: clamp(26px, 4.3vw, 70px); }
.section-head .eyebrow { margin-bottom: 16px; }
h2 { font-size: clamp(41px, 6vw, 107px); line-height: .99; letter-spacing: -.075em; font-weight: 590; }
html[lang="ko"] h2 { letter-spacing: -.055em; line-height: 1.12; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.principle { min-width: 0; padding: clamp(14px, 1.5vw, 25px); border: 1px solid var(--line); border-left: 0; }
.art { position: relative; aspect-ratio: 1.22; overflow: hidden; background: var(--scene); }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease), filter .35s; }
[data-theme="light"] .art img { filter: invert(1); }
.principle:hover .art img { transform: scale(1.035); }
.art span { position: absolute; top: 9px; left: 9px; color: var(--fg); background: var(--scene); padding: 5px 8px; font: .7rem ui-monospace, monospace; }
h3 { font-size: clamp(25px, 3.1vw, 50px); line-height: 1.03; letter-spacing: -.045em; font-weight: 590; }
.principle h3 { margin: 21px 0 9px; }
.principle p, .leadership article > p:last-child { color: var(--muted); line-height: 1.55; }
.leadership { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.leadership article { padding: clamp(18px, 3vw, 42px); }
.leadership article + article { border-left: 1px solid var(--line); }
.leadership h3 { margin: 14px 0 6px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border-top: 1px solid var(--line); padding-block: 25px; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2.4vw, 36px); }
.footer-links a { display: inline-flex; align-items: center; gap: .35em; min-height: 32px; }
.contact-links { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); }
.contact-links a { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; min-width: 0; padding: clamp(18px, 3vw, 42px); border: 1px solid var(--line); border-left: 0; transition: background-color .25s, color .25s; }
.contact-links .eyebrow { grid-column: 1 / -1; }
.contact-links strong { min-width: 0; overflow-wrap: anywhere; font-size: clamp(20px, 2.4vw, 40px); font-weight: 560; letter-spacing: -.035em; line-height: 1.1; }
.contact-links a:hover { background: var(--fg); color: var(--bg); }
.contact-links a:hover .eyebrow { color: inherit; }
.reveal.enter { animation: arrive .63s var(--ease) both; }
@keyframes arrive { from { opacity: .4; transform: translateY(13px) } to { opacity: 1; transform: translateY(0) } }
@media (max-width: 860px), (max-aspect-ratio: 4/5) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  h1 { font-size: clamp(58px, min(13vw, 13svh), 145px); }
  .stage { max-height: 52svh; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid li:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 560px) {
  :root { --header: 68px; }
  .header-inner { grid-template-columns: 1fr auto; column-gap: 8px; padding-block: 7px; }
  .header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid var(--line); margin-top: -14px; padding-top: 4px; font-size: .77rem; }
  .header nav a { display: inline-flex; align-items: center; min-height: 28px; }
  .hero { padding-top: 38px; }
  .hero-copy > .eyebrow { margin-bottom: 17px; }
  .section-head, .principles-grid, .focus-grid, .contact-links { grid-template-columns: 1fr; }
  .principle + .principle, .focus-grid li + li, .contact-links a + a { border-top: 0; }
  section[id] { scroll-margin-top: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stage.ready #particles, .scene-controls { display: none; }
  .stage.ready .static-mark { display: block; }
}
[hidden] { display: none !important; }
