:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121226;
  --bg-tertiary: rgba(22, 33, 62, 0.72);
  --surface: rgba(18, 18, 38, 0.78);
  --surface-strong: rgba(22, 33, 62, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #d6d9e5;
  --text-muted: #97a1bb;
  --accent-cyan: #00d4ff;
  --accent-purple: #7c3aed;
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 28px rgba(0, 212, 255, 0.25);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --nav-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text-secondary);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(0, 212, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #07070c 0%, #0b0f1d 38%, #11162e 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.section {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar.scrolled {
  background: rgba(10, 12, 24, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--accent-gradient);
  color: #051019;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.28);
}

.brand-text,
.nav-links a,
.button,
.publication-badge,
.timeline-term,
.eyebrow {
  font-family: "Outfit", sans-serif;
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08);
}

.nav-toggle {
  display: none;
  padding: 0;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.navbar.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 52px;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.75;
}

.orb-cyan {
  top: 8%;
  right: -6%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.34) 0%, rgba(0, 212, 255, 0) 72%);
}

.orb-purple {
  bottom: 10%;
  left: -8%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28) 0%, rgba(124, 58, 237, 0) 75%);
}

.grid-glow {
  position: absolute;
  inset: 16% 0 auto;
  height: 60%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-cyan);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.timeline-item h3,
.publication-card h3 {
  margin: 0;
  color: var(--text-primary);
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-meta {
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
}

.hero-intro {
  margin: 18px 0 0;
  min-height: 64px;
  max-width: 640px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.4vw, 1.16rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.button:hover,
.button:focus-visible,
.timeline-item:hover,
.publication-card:hover,
.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.button-primary {
  background: var(--accent-gradient);
  color: #081118;
  border-color: transparent;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto;
  color: var(--text-muted);
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-line {
  width: 2px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 1), rgba(124, 58, 237, 0));
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

.section-heading {
  max-width: 740px;
}

.section-heading h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

@media (min-width: 1024px) {
  .about .section-heading {
    max-width: 100%;
  }

  .about .section-heading h2 {
    white-space: nowrap;
    font-size: clamp(2rem, 4vw, 3.15rem);
  }
}

.section-caption {
  margin: 14px 0 0;
  color: var(--text-muted);
}

.about-card,
.timeline-item,
.publication-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 33, 62, 0.82), rgba(10, 12, 24, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-card::before,
.timeline-item::before,
.publication-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.7;
}

.about-card {
  margin-top: 28px;
  padding: 32px;
}

.about-card p {
  margin: 0;
}

.about-card p + p {
  margin-top: 18px;
}

.about-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-tags span,
.publication-badge,
.timeline-term {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.timeline {
  position: relative;
  margin-top: 42px;
  display: grid;
  gap: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 152px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.4), rgba(124, 58, 237, 0.1));
}

.timeline-group {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 36px;
}

.timeline-label {
  position: relative;
  padding-top: 6px;
}

.timeline-label::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(100% + 25px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.6);
}

.timeline-items {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 24px;
}

.timeline-item h3 {
  font-size: 1.08rem;
  line-height: 1.45;
}

.timeline-item p,
.publication-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.timeline-item.highlight {
  border-color: rgba(0, 212, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08)),
    linear-gradient(180deg, rgba(22, 33, 62, 0.86), rgba(10, 12, 24, 0.82));
}

.publication-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.publication-stack {
  margin-top: 36px;
  display: grid;
  gap: 34px;
}

.publication-phase {
  display: grid;
}

.publication-phase .publication-grid {
  margin-top: 18px;
}

.publication-grid-single {
  grid-template-columns: 1fr;
}

.publication-card {
  min-height: 100%;
  padding: 28px;
}

.publication-card h3 {
  margin-top: 18px;
  font-size: 1.22rem;
  line-height: 1.45;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 42px;
  color: var(--text-muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .section {
    padding: 92px 0;
  }

  .timeline::before {
    left: 21px;
  }

  .timeline-group {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 42px;
  }

  .timeline-label::after {
    top: 15px;
    left: -28px;
  }

  .publication-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 74px;
  }

  .navbar {
    padding: 14px 16px;
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(8, 10, 20, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .navbar.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    background: rgba(255, 255, 255, 0.03);
  }

  .hero {
    padding-top: calc(var(--nav-height) + 48px);
    align-items: start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .about-card,
  .timeline-item,
  .publication-card {
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 20px, 1120px);
    padding: 82px 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 18vw, 4.2rem);
  }

  .hero-intro {
    min-height: 88px;
  }

  .about-card,
  .timeline-item,
  .publication-card {
    padding: 22px;
  }

  .site-footer {
    width: min(100% - 20px, 1120px);
    padding-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
