* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0d0d0d;
  --bg-elev: #111111;
  --bg-soft: #141414;
  --bg-card: #1a1a1a;
  --text: #e8e8e8;
  --text-strong: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.36);
  --text-faint: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.1);
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --success: #4ade80;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #090909 0%, #0d0d0d 100%);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.pr {
  min-height: 100vh;
}

.section-shell,
.sec,
.skills-sec,
.footer,
.nav {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  margin-top: 16px;
  margin-bottom: 18px;
  background: rgba(18, 18, 18, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e1e1e;
  border: 1px solid var(--line-strong);
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nl:hover {
  color: var(--text-strong);
}

.nl.active {
  background: #ffffff;
  color: #0a0a0a;
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  border-radius: 99px;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: center;
  min-height: 420px;
  padding: 30px 0 34px;
}

.hero-left {
  padding-right: 10px;
}

.hero-avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
}

.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-greeting {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 14px;
}
.highlight-name {
    color: #ffffff;
    font-weight: 700;
}

.hero-name {
  margin-bottom: 14px;
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--text-strong);
}

.hero-name em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.34);
}

.hero-role {
  max-width: 380px;
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.hero-role strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.hmeta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
}

.hmeta i {
  font-size: 14px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hbtn-p,
.hbtn-s,
.pl-s,
.pl-p,
.contact-mail,
.social-ic {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hbtn-p,
.hbtn-s {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.hbtn-p {
  background: #ffffff;
  color: #0a0a0a;
}

.hbtn-s {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-strong);
}

.hbtn-p:hover,
.hbtn-s:hover,
.pl-s:hover,
.pl-p:hover,
.contact-mail:hover,
.social-ic:hover {
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  gap: 10px;
}

.social-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.42);
  font-size: 16px;
}

.social-ic:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.hero-right {
    position: relative;
    width: 360px;
    height: 420px;
    justify-self: end;
}

.avatar-bg {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: transparent;
    border: none;
    box-shadow: none;
}

.profile-avatar {
    width: 310px;
    height: 310px;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    z-index: 1;}

.avatar-initials {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -55%);
  font-family: 'Syne', sans-serif;
  font-size: clamp(4rem, 18vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.05);
  user-select: none;
}

.avatar-glow {
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(180deg, transparent, rgba(15, 15, 15, 0.65));
}

.avatar-card {
  position: absolute;
  left: 45px;
  bottom: 85px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #1e1e1e;
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
  z-index: 10;
}

.avatar-card2 {
  position: absolute;
  right: 45px;
  top: 85px;
  bottom: auto;
  left: auto;
  z-index: 10;
}

.avatar-card-label {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.24);
  font-size: 10px;
  letter-spacing: 1px;
}

.avatar-card-val {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.avatar-open {
  color: var(--success);
  font-size: 12px;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.sec,
.skills-sec {
  padding: 52px 0;
}

.sec-head {
  text-align: center;
  margin-bottom: 34px;
}

.sec-eyebrow {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sec-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  color: #fff;
}

.about-body {
  max-width: 680px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.about-quote {
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: center;
}

.about-quote-text {
  color: #6ee7b7;
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
}

.about-quote-author {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
}

.about-body strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.approach-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 32px;
}

.ap-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.ap-num {
  flex: 0 0 auto;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
}

.ap-txt {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.stat-item {
  padding: 14px 10px;
  text-align: center;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}

.stat-lbl {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.24);
  font-size: 11px;
}

.skills-sec {
  padding-inline: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.8);
}

.hack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hack-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hack-card:hover {
  border-color: #1d9e75;
  transform: translateY(-2px);
}

.hack-icon {
  font-size: 20px;
}

.hack-name {
  margin-top: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.hack-outcome {
  margin-top: 4px;
  color: #1d9e75;
  font-size: 11px;
}

.hack-team {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
}

.hack-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.hack-role-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

.skills-grid,
.proj-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.skill-card,
.proj-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.skill-card-title {
  margin-bottom: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.skill-tags,
.proj-tags,
.exp-pts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proj-tags {
  margin-bottom: 16px;
}

.sk-tag,
.ptag,
.exp-pt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.exp-list {
  display: flex;
  flex-direction: column;
}

.exp-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.exp-item:last-child {
  border-bottom: 0;
}

.exp-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
  gap: 4px;
}

.exp-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.exp-dot.cur {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.exp-line {
  width: 1px;
  flex: 1;
  background: var(--line);
}

.exp-role {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.exp-co {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.24);
  font-size: 12px;
}

.exp-date {
  padding-top: 3px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 11px;
  white-space: nowrap;
}

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

.proj-card.featured {
  background: #131318;
}

.proj-type-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.proj-type {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proj-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  font-size: 10px;
}

.proj-badge.live {
  color: #86efac;
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.18);
}

.proj-title {
  margin-bottom: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.proj-desc {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 12px;
  line-height: 1.75;
}

.proj-award {
  margin-top: -6px;
  margin-bottom: 16px;
  color: #facc15;
  font-size: 11px;
  font-weight: 600;
}

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

.pl-s,
.pl-p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.pl-s {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.42);
}

.pl-p {
  background: #fff;
  color: #0a0a0a;
}

.contact-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-copy {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 13px;
  line-height: 1.8;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.contact-mail:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.contact-mail-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.56);
  font-size: 17px;
}

.contact-mail-text {
  text-align: left;
}

.contact-mail-lbl {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.contact-mail-val {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0 34px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.18);
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.24);
  font-size: 11px;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.56);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-shell,
.sec,
.skills-sec,
.footer {
  animation: fadeUp 0.8s ease both;
}

@media (max-width: 1100px) {
  .section-shell {
    grid-template-columns: 1fr 220px;
  }

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

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

  .approach-row,
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav {
    grid-template-columns: auto auto;
    grid-template-areas: "logo toggle" "links links" "cta cta";
    align-items: center;
    border-radius: 28px;
    padding: 14px;
  }

  .nav-logo {
    grid-area: logo;
    justify-self: start;
  }

  .nav-toggle {
    grid-area: toggle;
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
  }

  .nav-links {
    display: none;
    grid-area: links;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
    border-radius: 20px;
    padding: 10px;
    margin-top: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nl {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 12px;
    border-radius: 14px;
  }

  .nav-cta {
    display: none;
    grid-area: cta;
    width: 100%;
    margin-top: 6px;
  }

  .nav-links.open ~ .nav-cta {
    display: flex;
  }

  .section-shell {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 18px;
    min-height: auto;
  }

  .hero-right {
    justify-self: center;
    width: 220px;
    height: 260px;
    margin: 0 auto;
  }

  .profile-avatar {
    width: 190px;
    height: 190px;
  }

  .avatar-card {
    left: 27px;
    bottom: 53px;
  }

  .avatar-card2 {
    left: auto;
    right: 27px;
    top: 53px;
    bottom: auto;
  }

  .approach-row,
  .stats-row,
  .skills-grid,
  .hack-grid {
    grid-template-columns: 1fr;
  }

  .exp-item {
    grid-template-columns: auto 1fr;
  }

  .exp-date {
    grid-column: 2;
    margin-top: 8px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .sec,
  .skills-sec,
  .footer,
  .nav,
  .divider {
    width: min(100%, calc(100% - 28px));
  }

  .hero-name {
    font-size: clamp(2.7rem, 16vw, 4rem);
  }

  .hero-meta {
    flex-direction: column;
    gap: 10px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .hbtn-p,
  .hbtn-s {
    width: 100%;
  }

  .hero-right {
    width: 190px;
    height: 230px;
  }

  .profile-avatar {
    width: 165px;
    height: 165px;
  }

  .avatar-card {
    left: 23px;
    bottom: 48px;
    padding: 7px 10px;
  }

  .avatar-card2 {
    left: auto;
    right: 23px;
    top: 48px;
    bottom: auto;
    padding: 7px 10px;
  }

  .contact-mail {
    width: 100%;
    justify-content: flex-start;
  }
}
