:root {
  --bg: #05070b;
  --panel: rgba(12, 17, 22, 0.86);
  --panel-strong: #0b1014;
  --line: rgba(192, 255, 43, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f7f1;
  --muted: rgba(244, 247, 241, 0.64);
  --dim: rgba(244, 247, 241, 0.44);
  --lime: #b9ff24;
  --lime-dark: #78a915;
  --purple: #7f5cff;
  --cyan: #2dd4bf;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 9% 18%, rgba(45, 212, 191, 0.22), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(127, 92, 255, 0.17), transparent 30%),
    radial-gradient(circle at 50% 93%, rgba(185, 255, 36, 0.08), transparent 38%),
    var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 72%);
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(10, 255, 178, 0.09), transparent 22%),
    linear-gradient(300deg, rgba(255, 31, 199, 0.08), transparent 26%);
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

.top-nav {
  position: sticky;
  top: 18px;
  z-index: 30;
  width: min(1180px, calc(100vw - 42px));
  min-height: 50px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 18px auto 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.72);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.42), inset 0 0 22px rgba(185, 255, 36, 0.06);
  backdrop-filter: blur(18px);
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px 0 10px;
  border-radius: 999px;
  color: #071008;
  background: var(--lime);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(185, 255, 36, 0.45);
}

.logo-dot {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--lime);
  background: #061006;
  font-size: 10px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: clamp(26px, 7vw, 92px);
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.nav-menu a,
.nav-contact {
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover,
.nav-contact:hover {
  color: #fff;
  transform: translateY(-1px);
}

.nav-contact {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.hero-scene {
  position: relative;
  min-height: calc(100vh - 68px);
  width: min(1230px, calc(100vw - 42px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
  align-items: end;
  gap: 34px;
  margin: 0 auto;
  padding: 74px 0 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: 0 0 42px 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    radial-gradient(circle at 38% 42%, rgba(185, 255, 36, 0.14), transparent 24%),
    radial-gradient(circle at 78% 43%, rgba(127, 92, 255, 0.17), transparent 28%);
}

.cloud {
  position: absolute;
  display: block;
  width: 420px;
  height: 180px;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.34;
  background:
    radial-gradient(circle at 20% 56%, rgba(255, 242, 204, 0.95), transparent 34%),
    radial-gradient(circle at 46% 36%, rgba(207, 227, 206, 0.85), transparent 34%),
    radial-gradient(circle at 68% 52%, rgba(255, 255, 255, 0.85), transparent 38%);
}

.cloud-one {
  right: 11%;
  top: 13%;
}

.cloud-two {
  right: 30%;
  bottom: 15%;
  transform: scale(1.28);
  opacity: 0.22;
}

.spark {
  position: absolute;
  color: var(--lime);
  font-size: 46px;
  text-shadow: 0 0 30px rgba(185, 255, 36, 0.78);
}

.spark-one {
  left: 58%;
  top: 22%;
}

.spark-two {
  left: 64%;
  top: 30%;
  font-size: 28px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 34px;
}

.micro-label,
.section-title p,
.panel-copy p,
.project-label {
  margin: 0;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 12px 0 0;
  font-size: clamp(58px, 10vw, 144px);
  line-height: 0.86;
  font-weight: 950;
}

.hero-copy h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 750;
}

.hero-subtitle {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.55;
}

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

.hero-actions a,
.contact-links a,
.contact-links button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(185, 255, 36, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.hero-actions a:first-child {
  color: #081008;
  background: var(--lime);
  box-shadow: 0 0 32px rgba(185, 255, 36, 0.34);
}

.hero-orbit {
  position: relative;
  min-height: 430px;
  align-self: center;
}

.orbit-card {
  position: absolute;
  width: 172px;
  height: 172px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.orbit-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -28% 20%;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(185, 255, 36, 0.88), rgba(127, 92, 255, 0.72));
  filter: blur(7px);
  transform: rotate(-18deg);
}

.orbit-card span,
.orbit-card strong {
  position: relative;
}

.orbit-card span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0b1207;
  background: var(--lime);
  font-size: 11px;
  font-weight: 950;
}

.orbit-card strong {
  font-size: 20px;
  line-height: 1.15;
}

.card-a {
  left: 2%;
  top: 34px;
  transform: rotate(-3deg);
}

.card-b {
  right: 2%;
  top: 82px;
  transform: rotate(4deg);
}

.card-c {
  left: 18%;
  bottom: 28px;
  transform: rotate(5deg);
}

.card-d {
  right: 16%;
  bottom: 0;
  transform: rotate(-5deg);
}

.section {
  width: min(1230px, calc(100vw - 42px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-title {
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 8px 0 0;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.96;
  font-weight: 900;
}

.section-title h2 span {
  color: var(--lime);
}

.section-title small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.section-title.compact {
  margin-bottom: 26px;
}

.works-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.86fr;
  grid-auto-rows: 210px;
  gap: 24px;
}

.work-panel {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 0 40px rgba(185, 255, 36, 0.03), 0 26px 70px rgba(0, 0, 0, 0.28);
}

.work-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(0, 0, 0, 0.72));
}

.work-wide {
  grid-column: 1;
}

.work-tall {
  grid-row: span 2;
}

.panel-art {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.art-resume {
  background:
    linear-gradient(120deg, rgba(9, 12, 17, 0.2), rgba(0, 0, 0, 0.7)),
    url("./assets/resume-preview.png") center 18% / cover;
}

.art-bd {
  background:
    radial-gradient(circle at 48% 58%, rgba(185, 255, 36, 0.78), transparent 16%),
    radial-gradient(circle at 64% 50%, rgba(127, 92, 255, 0.75), transparent 18%),
    radial-gradient(circle at 44% 38%, rgba(255, 255, 255, 0.6), transparent 13%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
    #141a1f;
}

.art-users {
  background:
    radial-gradient(circle at 18% 28%, rgba(185, 255, 36, 0.72), transparent 14%),
    radial-gradient(circle at 76% 76%, rgba(45, 212, 191, 0.5), transparent 18%),
    linear-gradient(145deg, rgba(127, 92, 255, 0.32), transparent 46%),
    #11171c;
}

.panel-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 1;
}

.panel-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.12;
}

.panel-copy p {
  color: rgba(255, 255, 255, 0.72);
  text-transform: none;
}

.lime-panel {
  display: grid;
  align-content: center;
  background: var(--lime);
  color: #071008;
}

.lime-panel::after {
  display: none;
}

.lime-panel .panel-copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 28px;
}

.lime-panel .panel-copy p {
  color: rgba(7, 16, 8, 0.72);
}

.lime-tags {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0 20px 28px;
}

.lime-tags span {
  min-width: 170px;
  padding: 12px 18px;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  background: #fff;
  transform: rotate(4deg);
}

.lime-tags span:nth-child(2) {
  color: #fff;
  background: #071008;
  transform: rotate(-7deg);
}

.experience-section {
  padding-top: 80px;
}

.about-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 58px;
}

.about-card,
.stat-board,
.career-line article,
.strength-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(12, 17, 22, 0.78);
  box-shadow: inset 0 0 38px rgba(185, 255, 36, 0.035);
}

.about-card {
  padding: 34px;
}

.about-card h3 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
}

.about-card p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.stat-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
}

.stat-board div {
  padding: 28px 22px;
  border-right: 1px solid var(--line-soft);
}

.stat-board div:last-child {
  border-right: 0;
}

.stat-board strong {
  display: block;
  color: var(--lime);
  font-size: clamp(30px, 3.6vw, 48px);
}

.stat-board span {
  color: var(--muted);
  font-size: 13px;
}

.career-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.career-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
}

.career-line article {
  position: relative;
  padding: 44px 24px 28px;
}

.career-point {
  position: absolute;
  left: 24px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--lime);
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
  box-shadow: 0 0 18px rgba(185, 255, 36, 0.9);
}

.career-line time {
  color: var(--lime);
  font-size: 13px;
  font-weight: 950;
}

.career-line h3 {
  min-height: 54px;
  margin: 12px 0 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.35;
}

.career-line p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.strength-section {
  padding-top: 72px;
}

.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.strength-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 26px;
}

.strength-card span {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  color: #071008;
  background: rgba(185, 255, 36, 0.76);
  font-size: 12px;
  font-weight: 950;
}

.strength-card small {
  position: absolute;
  right: 24px;
  top: 28px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
}

.strength-card h3 {
  max-width: 78%;
  margin: 48px 0 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.18;
}

.shape {
  position: absolute;
  right: 36px;
  bottom: 30px;
  width: 150px;
  height: 120px;
}

.shape::before,
.shape::after {
  content: "";
  position: absolute;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(185, 255, 36, 0.92), rgba(127, 92, 255, 0.78));
  box-shadow: 0 0 46px rgba(185, 255, 36, 0.34);
}

.shape-orbit::before {
  width: 122px;
  height: 66px;
  transform: rotate(-18deg);
}

.shape-orbit::after {
  right: 10px;
  bottom: 10px;
  width: 80px;
  height: 80px;
  background: transparent;
  border: 14px solid rgba(255, 255, 255, 0.72);
}

.shape-stack::before {
  width: 76px;
  height: 118px;
  transform: rotate(32deg);
}

.shape-stack::after {
  left: 58px;
  bottom: 14px;
  width: 72px;
  height: 108px;
  transform: rotate(-56deg);
  opacity: 0.75;
}

.shape-ring::before {
  width: 124px;
  height: 78px;
  transform: rotate(-22deg);
}

.shape-ring::after {
  right: -10px;
  width: 56px;
  height: 56px;
  border: 12px solid rgba(255, 255, 255, 0.74);
  background: transparent;
}

.shape-cube::before {
  width: 110px;
  height: 84px;
  transform: skewY(-24deg) rotate(-8deg);
}

.shape-cube::after {
  left: 42px;
  top: 36px;
  width: 92px;
  height: 70px;
  transform: skewY(22deg) rotate(10deg);
  opacity: 0.72;
}

.lime-card {
  min-height: 280px;
  background: var(--lime);
  color: #071008;
}

.lime-card small {
  color: rgba(7, 16, 8, 0.45);
}

.floating-notes {
  position: absolute;
  right: 42px;
  bottom: 38px;
  width: 240px;
  height: 116px;
}

.floating-notes em {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  font-style: normal;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(7, 16, 8, 0.16);
}

.floating-notes em:nth-child(1) {
  left: 0;
  top: 0;
  transform: rotate(5deg);
}

.floating-notes em:nth-child(2) {
  right: 0;
  top: 42px;
  color: #fff;
  background: #071008;
  transform: rotate(-9deg);
}

.floating-notes em:nth-child(3) {
  left: 24px;
  bottom: 0;
  background: rgba(255, 255, 255, 0.64);
  transform: rotate(8deg);
}

.contact-band {
  width: min(1230px, calc(100vw - 42px));
  margin: 0 auto 48px;
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 20%, rgba(185, 255, 36, 0.22), transparent 25%),
    rgba(12, 17, 22, 0.9);
}

.contact-band p {
  margin: 0;
  color: var(--lime);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-band h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.04;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-links button {
  background: transparent;
}

@media (max-width: 980px) {
  .top-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 6px 8px;
  }

  .hero-scene,
  .about-row,
  .career-line,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    min-height: 360px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .work-tall {
    grid-row: auto;
  }

  .career-line::before {
    left: 11px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--lime), transparent);
  }

  .stat-board {
    grid-template-columns: 1fr;
  }

  .stat-board div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .stat-board div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .top-nav,
  .hero-scene,
  .section,
  .contact-band {
    width: min(100vw - 24px, 1230px);
  }

  .top-nav {
    top: 8px;
  }

  .logo-pill {
    min-height: 34px;
    font-size: 13px;
  }

  .nav-contact {
    min-height: 32px;
    padding: 0 12px;
  }

  .hero-scene {
    min-height: auto;
    padding: 52px 0 34px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-orbit {
    min-height: 540px;
  }

  .orbit-card {
    width: min(43vw, 170px);
    height: 160px;
  }

  .card-a {
    left: 0;
  }

  .card-b {
    right: 0;
  }

  .card-c {
    left: 0;
    bottom: 90px;
  }

  .card-d {
    right: 0;
    bottom: 50px;
  }

  .section {
    padding: 58px 0;
  }

  .section-title h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .about-card,
  .strength-card,
  .contact-band {
    padding: 24px;
  }

  .strength-card h3 {
    max-width: 100%;
  }

  .shape,
  .floating-notes {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 30px;
  }
}
