:root {
  --bg: #0b1020;
  --bg-soft: #121933;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #eff4ff;
  --muted: #b8c2df;
  --primary: #6ea8fe;
  --primary-2: #8b5cf6;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #0b1020 0%, #10172e 100%);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  font-weight: 800;
  font-size: 1.3rem;
}

.logo span {
  color: var(--primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: var(--muted);
}

nav a:hover,
nav a.active {
  color: var(--text);
}

.nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.menu-btn {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
}

/* shared */
.section {
  padding: 84px 0;
}

.alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section h1,
.section h2 {
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

.section h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

p,
li {
  color: var(--muted);
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 14px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* about hero */
.about-hero {
  padding: 92px 0 56px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-lead {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.85;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat-box,
.info-card,
.story-card,
.about-portrait-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.stat-box {
  padding: 1rem;
}

.stat-box strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.stat-box p {
  margin: 0;
  font-size: 0.95rem;
}

.about-portrait-card {
  overflow: hidden;
}

.about-portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portrait-caption {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* story */
.story-layout,
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.story-card,
.info-card {
  padding: 1.5rem;
}

.highlight-list {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.highlight-list span {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

/* cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.info-card ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

/* timeline */
.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.3rem 1.4rem;
  border-left: 3px solid var(--primary);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.timeline-item h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--text);
}

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

/* mobile */
@media (max-width: 900px) {
  .about-hero-grid,
  .story-layout,
  .two-col,
  .cards-grid,
  .quick-stats {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
    position: absolute;
    top: 76px;
    right: 16px;
    flex-direction: column;
    background: #121933;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    width: min(260px, calc(100vw - 32px));
  }

  nav.show {
    display: flex;
  }

  .menu-btn {
    display: inline-block;
  }

  .about-hero {
    padding-top: 72px;
  }
}