:root {
  --bg: #eef2f7;
  --panel: #f7f9fc;
  --card: #ffffff;
  --card-edge: #d6deeb;
  --line: #e0e7f2;
  --text: #1d2a3b;
  --muted: #5e6f86;
  --brand: #245a9c;
  --brand-soft: #dbe7f8;
  --success: #2e7e65;
  --shadow: 0 14px 36px rgba(25, 45, 78, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 540px at 95% -20%, #d7e3f3 0%, transparent 72%),
    linear-gradient(180deg, #eef3f9 0%, #f9fbfe 38%, #eef2f7 100%);
  line-height: 1.65;
}

.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.orb-a {
  width: 460px;
  height: 460px;
  top: -140px;
  right: -160px;
  background: radial-gradient(circle at 30% 30%, #f2f7ff, #c7d8ef 58%, #b4c9e4 100%);
  opacity: 0.5;
}

.orb-b {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: 8%;
  background: radial-gradient(circle at 60% 40%, #e5eefb, #cad9f0 72%, #c2d4ee 100%);
  opacity: 0.45;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgba(250, 252, 255, 0.88);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.section-nav {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.section-nav a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: all 220ms ease;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  color: var(--brand);
  border-color: #b8cae6;
  background: #f0f5fd;
  outline: none;
}

.section-nav a.active {
  color: var(--brand);
  border-color: #94b1da;
  background: var(--brand-soft);
}

.page {
  width: min(1220px, calc(100% - 2rem));
  margin: 1.2rem auto 2.4rem;
  display: grid;
  grid-template-columns: minmax(275px, 320px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.overview-card {
  position: sticky;
  top: 4.8rem;
  background: linear-gradient(170deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid var(--card-edge);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.3rem 1.1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

h1 {
  margin: 0.35rem 0 0;
  font-size: 2rem;
  line-height: 1.2;
}

.target-role {
  margin: 0.3rem 0 1rem;
  color: var(--brand);
  font-weight: 600;
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed #ccd9ea;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed #d4dfee;
  font-size: 0.95rem;
}

.meta-list span {
  color: var(--muted);
}

.meta-list strong {
  text-align: right;
  font-size: 0.96rem;
}

.contact {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.contact-item {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  background: #eff4fb;
  border: 1px solid #d3dff1;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}

.contact-item:hover,
.contact-item:focus-visible {
  background: #e4eefb;
  border-color: #9eb8df;
  outline: none;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.industry-tags span {
  font-size: 0.82rem;
  color: #28476f;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #e2ebf8;
}

.content {
  display: grid;
  gap: 1rem;
}

.block {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.05rem;
  scroll-margin-top: 5.4rem;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: 1.28rem;
  line-height: 1.3;
}

h3 {
  margin: 0;
  line-height: 1.35;
  font-size: 1.04rem;
}

.label {
  margin: 0.85rem 0 0.25rem;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.bullet-list {
  margin: 0.15rem 0 0;
  padding-left: 1.05rem;
}

.bullet-list li + li {
  margin-top: 0.35rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  position: relative;
  border: 1px solid #d8e3f0;
  border-radius: 14px;
  padding: 0.9rem 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #7da5db 0%, #4c7fbf 100%);
}

.timeline-item header p,
.meta {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.result-text {
  margin: 0;
}

.result-list {
  color: #1f3656;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.project-card {
  border: 1px solid #d8e2ef;
  border-radius: 14px;
  padding: 0.85rem 0.78rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.amount {
  margin: 0.4rem 0 0;
  font-weight: 700;
  color: var(--success);
}

.edu-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.edu-list article {
  border: 1px solid #dbe4f1;
  border-radius: 12px;
  padding: 0.8rem;
  background: #fbfdff;
}

.edu-list article p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.skill-wrap {
  display: grid;
  gap: 0.9rem;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0.25rem 0 0;
}

.chip-list li {
  font-size: 0.86rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  border: 1px solid #cad8ec;
  background: #f0f5fd;
  color: #1f3655;
}

.skill-wrap p {
  margin: 0.35rem 0 0;
}

.skill-wrap a {
  color: var(--brand);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.page-ready .overview-card {
  animation: lift-in 640ms ease both;
}

.page-ready .content .block:nth-child(1) {
  animation: lift-in 520ms 60ms ease both;
}

.page-ready .content .block:nth-child(2) {
  animation: lift-in 520ms 120ms ease both;
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .page {
    grid-template-columns: 1fr;
    width: min(980px, calc(100% - 1.3rem));
  }

  .overview-card {
    position: static;
  }

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

  .edu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 0.82rem 0.78rem;
    gap: 0.55rem;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 0.95rem;
  }

  .section-nav {
    width: 100%;
  }

  .page {
    width: min(680px, calc(100% - 0.8rem));
    margin-top: 0.9rem;
    gap: 0.75rem;
  }

  .block,
  .overview-card {
    border-radius: 14px;
    padding: 0.9rem 0.8rem;
  }

  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.12rem;
  }

  .meta-list li {
    flex-direction: column;
    gap: 0.1rem;
    align-items: flex-start;
  }

  .meta-list strong {
    text-align: left;
  }

  .edu-list {
    grid-template-columns: 1fr;
  }
}
