:root {
  --bg: #050505;
  --bg-soft: #101010;
  --surface: #f5f5f7;
  --text: #f5f5f7;
  --text-dark: #1d1d1f;
  --muted: #a1a1a6;
  --muted-dark: #6e6e73;
  --accent: #2997ff;
  --accent-dark: #0066cc;
  --line: rgba(255,255,255,.14);
  --radius-lg: 36px;
  --radius-md: 24px;
  --max: 1260px;
  --nav-height: 52px;
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 200; top: 10px; left: 10px; padding: 10px 16px;
  border-radius: 999px; background: #fff; color: #000; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto; height: var(--nav-height);
  background: rgba(5,5,5,.64); border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px);
  transition: background .35s ease, border-color .35s ease;
}
.site-header.is-scrolled { background: rgba(5,5,5,.84); border-color: var(--line); }
.nav-shell {
  width: min(calc(100% - 44px), 1040px); height: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark { font-size: 16px; font-weight: 700; letter-spacing: -.03em; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); }
.primary-nav a { color: #d2d2d7; font-size: 12px; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: #fff; }
.menu-button { display: none; border: 0; background: transparent; color: #fff; width: 36px; height: 36px; padding: 10px 7px; }
.menu-button span:not(.sr-only) { display: block; width: 20px; height: 1px; margin: 5px 0; background: currentColor; transition: transform .2s ease; }

.hero {
  position: relative; min-height: max(760px, 100svh); overflow: hidden;
  display: grid; place-items: center; isolation: isolate; padding: calc(var(--nav-height) + 80px) 24px 90px;
}
.hero-backdrop {
  position: absolute; z-index: -3; inset: 0;
  background:
    radial-gradient(circle at 70% 42%, rgba(48,102,255,.24), transparent 30%),
    radial-gradient(circle at 76% 20%, rgba(161,79,255,.18), transparent 24%),
    linear-gradient(180deg, #020202 0%, #080808 72%, #050505 100%);
}
.hero-backdrop::after {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 68px 68px; mask-image: radial-gradient(circle at 68% 45%, #000 0, transparent 66%);
}
.hero-media {
  position: absolute; z-index: -2; width: min(46vw, 610px); height: min(76vh, 740px);
  right: max(3vw, calc((100vw - var(--max))/2)); bottom: -5%; overflow: hidden; border-radius: 280px 280px 32px 32px;
  box-shadow: 0 36px 120px rgba(0,0,0,.56); opacity: .72;
}
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.16) 60%, #050505 100%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04); }
.hero-copy { width: min(100%, var(--max)); margin: 0 auto; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 22px; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #b8c9ff; }
.hero h1 { max-width: 880px; margin: 0; font-size: clamp(58px, 8.1vw, 116px); line-height: .94; letter-spacing: -.07em; font-weight: 700; }
.hero-lead { max-width: 660px; margin: 34px 0 0; font-size: clamp(20px, 2vw, 30px); line-height: 1.42; letter-spacing: -.035em; color: #d2d2d7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 600; }
.button-primary { color: #fff; background: var(--accent-dark); transition: background .2s ease, transform .2s ease; }
.button-primary:hover { background: #0077ed; transform: translateY(-1px); }
.button-quiet { padding-inline: 0; color: var(--accent); }
.button-quiet span, .text-link span { margin-left: 6px; font-size: 1.25em; }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.scroll-cue i { display: block; width: 1px; height: 34px; margin: 9px auto 0; background: linear-gradient(#777, transparent); }

.section-pad { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: clamp(110px, 15vw, 210px) 0; }
.section-kicker { margin: 0 0 18px; color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.statement { text-align: center; }
.statement h2, .section-heading h2, .research-intro h2 {
  margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: 1.02; letter-spacing: -.065em; font-weight: 700;
}
.statement h2 span { color: var(--muted); }
.statement > p:last-child { max-width: 720px; margin: 38px auto 0; color: #a8a8ad; font-size: clamp(19px, 2.1vw, 28px); line-height: 1.48; letter-spacing: -.03em; }

.feature { min-height: 900px; padding: clamp(90px, 10vw, 150px) max(24px, calc((100vw - var(--max))/2)); background: var(--surface); color: var(--text-dark); display: grid; grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr); align-items: center; gap: clamp(50px, 8vw, 130px); }
.eyebrow-dark { color: var(--accent-dark); }
.feature-copy h2 { margin: 0; font-size: clamp(50px, 6vw, 88px); line-height: 1; letter-spacing: -.06em; }
.feature-copy > p:not(.eyebrow) { max-width: 590px; margin: 28px 0; color: var(--muted-dark); font-size: clamp(19px, 2vw, 27px); line-height: 1.48; letter-spacing: -.03em; }
.text-link { display: inline-flex; align-items: center; color: var(--accent-dark); font-size: 17px; font-weight: 600; }
.editorial-stack { display: grid; gap: 14px; }
.editorial-stack article { position: relative; padding: 34px 36px; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-md); background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.055); transition: transform .25s ease, box-shadow .25s ease; }
.editorial-stack article:hover { transform: translateY(-4px); box-shadow: 0 20px 58px rgba(0,0,0,.09); }
.editorial-stack span { position: absolute; top: 28px; right: 30px; color: #a8a8ad; font-size: 13px; font-weight: 700; }
.editorial-stack h3 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.04em; }
.editorial-stack p { margin: 0; color: var(--muted-dark); font-size: 16px; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 54px; }
.section-heading h2 { font-size: clamp(48px, 6vw, 82px); }
.text-link-light { color: var(--accent); white-space: nowrap; margin-bottom: 9px; }
.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.story-card { position: relative; min-height: 470px; padding: 34px; border-radius: var(--radius-lg); overflow: hidden; background: #151515; display: flex; align-items: end; grid-column: span 4; isolation: isolate; }
.story-card:first-child { grid-column: span 6; }
.story-card:nth-child(2) { grid-column: span 6; }
.story-card::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 72% 18%, var(--card-glow, rgba(41,151,255,.5)), transparent 37%), linear-gradient(145deg, #171717, #090909); }
.story-card::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -50px; top: -55px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 64px rgba(255,255,255,.018); }
.story-card-copy span { color: #d2d2d7; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.story-card h3 { max-width: 560px; margin: 12px 0 10px; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -.045em; }
.story-card p { max-width: 520px; margin: 0; color: #b8b8bd; font-size: 15px; line-height: 1.55; }
.story-card time { display: block; margin-top: 20px; color: #86868b; font-size: 12px; }
.story-card:hover h3 { color: #fff; }
.story-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.story-card-loading { grid-column: 1 / -1; min-height: 300px; }

.research { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.research-intro { position: sticky; top: calc(var(--nav-height) + 46px); }
.research-intro h2 { font-size: clamp(48px, 5.4vw, 78px); }
.research-intro > p:last-child { margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.62; }
.research-grid { display: grid; gap: 22px; }
.research-card { min-height: 510px; padding: 46px; border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; transition: transform .3s ease; }
.research-card:hover { transform: scale(1.012); }
.research-card > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.research-card h3 { margin: 18px 0; font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -.055em; }
.research-card p { max-width: 430px; margin: 0; font-size: 17px; line-height: 1.55; }
.research-card b { margin-top: auto; font-size: 16px; }
.research-card i { margin-left: 5px; font-style: normal; font-size: 1.25em; }
.research-simulation { background: linear-gradient(145deg, #e9f3ff, #b7d9ff); color: #07192c; }
.research-actual { background: radial-gradient(circle at 80% 15%, #5b3c91, transparent 36%), linear-gradient(145deg, #211435, #09070d); color: #fff; }
.research-actual p { color: #c7bed3; }

.knowledge { padding-top: 90px; }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.knowledge-card { position: relative; min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-soft); transition: transform .25s ease, border-color .25s ease; }
.knowledge-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.3); }
.knowledge-card span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.knowledge-card h3 { margin: 26px 0 12px; font-size: 31px; letter-spacing: -.04em; }
.knowledge-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.knowledge-card i { position: absolute; right: 28px; bottom: 24px; color: var(--accent); font-style: normal; font-size: 22px; }

.closing { min-height: 760px; padding: 110px 24px; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 50% 62%, rgba(41,151,255,.18), transparent 28%), #000; }
.closing h2 { margin: 0; font-size: clamp(50px, 7vw, 96px); line-height: 1; letter-spacing: -.065em; }
.closing .hero-actions { justify-content: center; }

.site-footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 54px 0 40px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-main { display: flex; justify-content: space-between; gap: 28px; }
.footer-main strong { color: #fff; font-size: 17px; }
.footer-main p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px 26px; margin: 36px 0; font-size: 13px; }
.site-footer nav a:hover { color: #fff; }
.copyright { margin: 0; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .hero-media { width: 58vw; right: -6vw; opacity: .54; }
  .feature { grid-template-columns: 1fr; min-height: auto; }
  .research { grid-template-columns: 1fr; }
  .research-intro { position: static; }
  .knowledge-grid { grid-template-columns: 1fr 1fr; }
  .knowledge-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --nav-height: 50px; --radius-lg: 26px; --radius-md: 20px; }
  .nav-shell { width: calc(100% - 28px); }
  .menu-button { display: block; }
  .primary-nav {
    position: fixed; inset: var(--nav-height) 0 auto; display: grid; gap: 0; padding: 10px 24px 22px;
    background: rgba(5,5,5,.97); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .2s ease;
  }
  .primary-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:not(.sr-only):nth-child(3) { transform: translateY(-3px) rotate(-45deg); }
  .hero { min-height: 800px; place-items: start; padding: 140px 20px 90px; }
  .hero-media { width: 88vw; height: 62vh; right: -24vw; bottom: -3%; opacity: .38; border-radius: 220px 0 0 20px; }
  .hero h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero-lead { font-size: 20px; }
  .hero-lead br { display: none; }
  .scroll-cue { display: none; }
  .section-pad { width: calc(100% - 36px); padding: 100px 0; }
  .statement h2, .section-heading h2, .research-intro h2 { font-size: 48px; }
  .feature { padding: 90px 20px; gap: 54px; }
  .feature-copy h2 { font-size: 49px; }
  .editorial-stack article { padding: 28px 25px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 36px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card, .story-card:first-child, .story-card:nth-child(2), .story-card-loading { grid-column: 1; min-height: 400px; padding: 28px; }
  .story-card h3 { font-size: 31px; }
  .research-card { min-height: 430px; padding: 34px 28px; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card:last-child { grid-column: auto; }
  .closing { min-height: 680px; }
  .footer-main { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
