:root {
  --bg: #0b0c10;
  --panel: #15171e;
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #e8eaf0;
  --muted: #9ca3af;
  --accent: #6ea8fe;
  --accent-glow: rgba(110, 168, 254, 0.15);
  --radius: 12px;
  --max: 1080px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.1) 0px, transparent 50%);
  line-height: 1.6;
}

a {
  color: var(--text);
  transition: color 0.2s;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 24px;
  top: 24px;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--accent);
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  z-index: 1000;
}

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

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--panel);
  background-image: url('./assets/me.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.name {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.1em;
}

.title {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Main Layout */
.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  padding-top: 40px;
  margin-bottom: 80px;
}

/* Cards */
.card,
.hero-card,
.item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover,
.hero-card:hover,
.item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-card {
  padding: 40px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent), var(--panel);
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #fff, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 90%;
}

/* Buttons */
.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.btn:not(.ghost) {
  background: var(--text);
  color: var(--bg);
}

.btn:not(.ghost):hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--panel-border);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--panel-border);
}

.meta>div .k {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.meta>div .v {
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.meta>div .v a {
  text-decoration: none;
  color: inherit;
}

.meta>div .v a:hover {
  color: var(--accent);
}


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

.section {
  margin-top: 80px
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--panel-border);
}

.section h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px;
}

.when {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding-top: 4px;
}

.what h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.at {
  color: var(--accent);
}

.bullets {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullets li {
  color: var(--muted);
  line-height: 1.6;
}

.bullets li::marker {
  color: var(--accent);
}

/* Grid Layouts */
.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: #fff;
  transform: translateY(-1px);
}

.contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--panel-border);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Mobile */
@media (max-width: 900px) {
  .wrap {
    padding: 24px 20px;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
    padding-top: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .when {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
  }

  .grid2,
  .cards {
    grid-template-columns: 1fr;
  }
}