:root {
  --bg: #f4f7fb;
  --bg-deep: #eaf1f8;
  --panel: rgba(255, 255, 255, 0.9);
  --line: rgba(19, 34, 47, 0.08);
  --line-strong: rgba(19, 34, 47, 0.12);
  --text: #13222f;
  --muted: #5f7386;
  --accent: #0f9d8a;
  --accent-soft: #dff7f2;
  --accent-ink: #0d7d6f;
  --shadow: 0 24px 60px rgba(16, 30, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 157, 138, 0.10), transparent 24%),
    radial-gradient(circle at top right, rgba(60, 130, 246, 0.08), transparent 20%),
    linear-gradient(180deg, #f8fbfe 0%, var(--bg) 60%, var(--bg-deep) 100%);
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.mesh {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  pointer-events: none;
}

.mesh-one {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(15, 157, 138, 0.18), transparent 72%);
}

.mesh-two {
  width: 260px;
  height: 260px;
  bottom: 40px;
  left: -80px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 72%);
}

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

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 24px;
  padding: 32px;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-description {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-meta {
  margin-top: 18px;
  color: #2c4255;
  font-size: 15px;
  font-weight: 600;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 157, 138, 0.08), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(15, 157, 138, 0.12);
}

.stat-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.stat-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  padding: 13px 16px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.action-button:hover {
  transform: translateY(-1px);
}

.action-button img {
  width: 18px;
  height: 18px;
}

.action-button.primary {
  background: #13222f;
  color: #ffffff;
}

.action-button.secondary {
  background: #f7fafc;
  color: #1f3850;
  border: 1px solid var(--line-strong);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.section-panel {
  padding: 24px;
}

.section-heading {
  margin-bottom: 16px;
}

h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-card,
.project-card {
  background: rgba(248, 251, 253, 0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.logo-shell {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5edf5;
  overflow: hidden;
}

.timeline-logo,
.project-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.university-logo {
  width: 32px;
  height: 32px;
}

.timeline-body {
  min-width: 0;
}

.timeline-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.timeline-topline h3,
.project-head h3 {
  margin: 0;
  font-size: 20px;
}

.period {
  white-space: nowrap;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
}

.role,
.project-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.project-card {
  padding: 18px;
}

.project-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.project-logo-shell {
  width: 64px;
  height: 64px;
}

.project-head a {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-stack span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #cbeee7;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero-panel,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    max-width: 420px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100%, calc(100% - 20px));
    padding: 16px 0 28px;
  }

  .hero-panel,
  .section-panel {
    padding: 20px;
  }

  .timeline-card,
  .project-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .timeline-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .logo-shell,
  .project-logo-shell {
    width: 56px;
    height: 56px;
  }

  .timeline-logo,
  .project-logo {
    width: 34px;
    height: 34px;
  }

  .university-logo {
    width: 28px;
    height: 28px;
  }

  .action-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .action-button {
    min-width: 0;
  }

  h2 {
    font-size: 26px;
  }
}
