:root {
  --bg: #07090c;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.105);
  --text: #f6f2ea;
  --muted: #b7afa4;
  --line: rgba(246, 242, 234, 0.14);
  --accent: #7cf7c8;
  --accent-2: #ffb86b;
  --blue: #94b4ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(124, 247, 200, 0.2), transparent 25rem),
    radial-gradient(circle at 86% 4%, rgba(148, 180, 255, 0.17), transparent 27rem),
    linear-gradient(135deg, #07090c 0%, #10161b 48%, #090b0f 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}

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

a:hover,
a.is-active {
  color: var(--accent);
}

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 64px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 9, 12, 0.72);
  backdrop-filter: blur(18px);
}

.mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(124, 247, 200, 0.34);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(124, 247, 200, 0.18), rgba(148, 180, 255, 0.1));
  font-weight: 900;
}

.topbar div {
  display: flex;
  gap: 8px;
}

.topbar div a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.topbar div a:hover {
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.profile-card,
.facts,
.job,
.section,
.summary-strip {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: 0;
}

.lead {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font-weight: 900;
}

.button:hover {
  border-color: rgba(124, 247, 200, 0.55);
  color: var(--accent);
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--text);
  color: #101214;
}

.profile-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.metric {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 247, 200, 0.08), rgba(255, 255, 255, 0.03));
}

.metric strong {
  font-size: 42px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
  padding: 12px;
}

.summary-strip span {
  padding: 13px 12px;
  border-radius: 14px;
  background: rgba(124, 247, 200, 0.08);
  color: #daf7ee;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.facts {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 22px;
  padding: 22px;
}

.facts section {
  display: grid;
  gap: 8px;
}

.facts h2,
.section-head h2 {
  margin-bottom: 0;
}

.facts h2 {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts p,
.facts a,
.job p,
.job li {
  color: var(--muted);
}

.facts a {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.facts p {
  margin-bottom: 0;
}

.content {
  display: grid;
  gap: 18px;
}

.section {
  padding: 24px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.job {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.job + .job {
  margin-top: 12px;
}

.job:hover {
  border-color: rgba(124, 247, 200, 0.4);
  background: var(--surface-strong);
  transform: translateY(-2px);
}

.job.current {
  border-color: rgba(124, 247, 200, 0.32);
}

.job-time {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.tag {
  margin-bottom: 7px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.job h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
}

.job ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.job p:last-child {
  margin-bottom: 0;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #ddd5c9;
  font-size: 13px;
  font-weight: 850;
}

.stack span:hover,
.stack span.is-active {
  border-color: rgba(124, 247, 200, 0.45);
  color: var(--accent);
}

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

  .profile-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .summary-strip span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 18px, 1160px);
    padding-top: 9px;
  }

  .topbar {
    top: 8px;
  }

  .topbar div {
    gap: 2px;
  }

  .topbar div a {
    padding: 9px 8px;
    font-size: 12px;
  }

  h1 {
    font-size: 48px;
  }

  .profile-card,
  .facts,
  .job {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }

  .hero-copy,
  .section {
    padding: 22px;
  }

  .section-head {
    display: grid;
  }
}
