:root {
  --ink: #07152e;
  --blue: #1769ff;
  --line: rgba(16, 80, 171, 0.14);
  --muted: #6680a5;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #f7fbff;
  font:
    400 16px/1.6 Manrope,
    Arial,
    sans-serif;
}
.shell {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}
.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand span,
h1 em,
footer h2 span {
  color: #79caff;
}
nav {
  display: flex;
  gap: 28px;
}
nav a {
  color: #d9ebff;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover {
  color: var(--white);
}
.hero {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 30%, #1679d1 0, #0c397d 26%, transparent 47%),
    linear-gradient(135deg, #06142c 0%, #092857 54%, #0d4e9e 100%);
}
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(90deg, transparent 49.8%, #9ed5ff 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, #9ed5ff 50%, transparent 50.2%);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 55px;
  align-items: center;
  padding: 78px 0 90px;
}
.eyebrow,
.section-label {
  font:
    500 0.72rem/1 "DM Mono",
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow {
  color: #8bd3ff;
  letter-spacing: 0.15em;
}
h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.06em;
}
h1 {
  max-width: 700px;
  margin: 18px 0 25px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}
h1 em {
  font-style: normal;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.intro {
  max-width: 600px;
  color: #d1e6ff;
  font-size: 1.06rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s;
}
.button.primary {
  color: #0a3470;
  background: #fff;
}
.button.primary:hover {
  box-shadow: 0 9px 25px #00143b80;
  transform: translateY(-2px);
}
.button.ghost {
  color: #fff;
  border: 1px solid #83bffe80;
}
.profile-card {
  width: min(335px, 100%);
  justify-self: end;
  padding: 28px;
  border: 1px solid #8bd3ff4d;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff20, #ffffff08);
  box-shadow: 24px 24px 0 #061a3d42;
  backdrop-filter: blur(16px);
}
.monogram {
  display: grid;
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid #9bd7ff99;
  border-radius: 50%;
  color: #b7e4ff;
  background: #fff1;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.1em;
}
.profile-card h2 {
  font-size: 1.25rem;
}
.profile-card p {
  margin: 5px 0 24px;
  color: #bbdcff;
  font-size: 0.9rem;
}
.availability {
  padding-top: 19px;
  border-top: 1px solid #8bd3ff4d;
  color: #d4edff;
  font:
    400 0.72rem "DM Mono",
    monospace;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #7effb1;
  box-shadow: 0 0 12px #7effb1;
}
section {
  padding: 106px 0;
}
.section-label {
  margin-bottom: 12px;
  color: var(--blue);
}
.section-head {
  max-width: 670px;
  margin-bottom: 50px;
}
.section-head p,
.job p,
.project p,
.course p {
  color: var(--muted);
}
.section-head p {
  margin: 17px 0 0;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: start;
}
.about-copy {
  color: #29466e;
  font-size: 1.08rem;
}
.about-copy p:first-child {
  margin-top: 0;
}
.facts {
  display: grid;
  gap: 23px;
  padding-left: 35px;
  border-left: 1px solid var(--line);
}
.fact strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.06em;
}
.fact span {
  color: var(--muted);
  font-size: 0.85rem;
}
.surface {
  background: #fff;
}
.timeline {
  position: relative;
  max-width: 880px;
}
.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 132px;
  width: 1px;
  content: "";
  background: #c8e1fb;
}
.job {
  position: relative;
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 54px;
  padding: 0 0 45px;
}
.job:last-child {
  padding-bottom: 0;
}
.job::after {
  position: absolute;
  top: 7px;
  left: 127px;
  width: 10px;
  height: 10px;
  content: "";
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}
.date {
  padding-top: 5px;
  color: #4f81b7;
  font:
    500 0.72rem/1.4 "DM Mono",
    monospace;
  text-transform: uppercase;
}
.job h3,
.project h3,
.course h3 {
  margin: 0;
  letter-spacing: -0.04em;
}
.job h3 {
  font-size: 1.1rem;
}
.job .role {
  margin: 4px 0 12px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
}
.job p {
  max-width: 620px;
  margin: 0;
  font-size: 0.9rem;
}
.projects,
.skill-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project,
.skill-group {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffffb8;
}
.project {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 29px;
  background: linear-gradient(145deg, #fff, #eff8ff);
  transition: 0.25s;
}
.project:hover {
  border-color: #6bb7ff;
  box-shadow: 0 17px 34px #1775bf16;
  transform: translateY(-5px);
}
.project-number,
.tags,
.course span {
  color: #286db7;
  font:
    500 0.7rem "DM Mono",
    monospace;
}
.project h3 {
  margin: 30px 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
}
.project p {
  margin: 0;
  font-size: 0.88rem;
}
.project-link {
  display: inline-block;
  width: fit-content;
  margin-top: 18px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.project-link:hover {
  text-decoration: underline;
}
.tags {
  margin-top: auto;
  padding-top: 24px;
}
.training {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.course {
  margin-top: 25px;
  padding: 25px 27px 0 0;
  border-right: 1px solid var(--line);
}
.course:not(:first-child) {
  padding-left: 27px;
}
.course:last-child {
  border: 0;
}
.course h3 {
  margin: 13px 0 6px;
  font-size: 1rem;
}
.course p {
  margin: 0;
  font-size: 0.84rem;
}
.skills {
  background: linear-gradient(135deg, #e9f5ff, #f7fbff);
}
.skills .section-head {
  max-width: 720px;
}
.skill-group h3 {
  margin: 0 0 21px;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}
.soft-skills p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 0 22px;
  color: #dbeeff;
  font-size: 0.9rem;
}
.soft-skills {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 82% 24%, #60bfff 0, transparent 31%),
    linear-gradient(135deg, #082d64, #1359a7);
  box-shadow: 0 14px 30px rgba(18, 89, 167, 0.16);
}
.soft-skills::after {
  position: absolute;
  top: -88px;
  right: -50px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}
.soft-skills h3 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}
.soft-skills h3::before {
  padding: 5px 8px;
  border-radius: 999px;
  color: #8ed3ff;
  background: rgba(255, 255, 255, 0.12);
  content: "SOFT SKILLS";
  font: 500 0.57rem "DM Mono", monospace;
  letter-spacing: 0.08em;
}
.soft-skills ul {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.soft-skills li {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 800;
}
.skill {
  margin-bottom: 16px;
}
.skill:last-child {
  margin: 0;
}
.skill-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #214d7c;
  font-size: 0.78rem;
  font-weight: 700;
}
.skill-meta span:last-child {
  color: #4d86bd;
  font:
    500 0.7rem "DM Mono",
    monospace;
}
.meter {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 10px;
  background: #dbeefe;
}
.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1978e8, #61bfff);
}
footer {
  padding: 67px 0 30px;
  color: #cce4ff;
  background: #061a38;
}
.footer-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
footer h2 {
  max-width: 510px;
}
footer a {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.footer-bottom {
  margin-top: 58px;
  padding-top: 18px;
  border-top: 1px solid #ffffff24;
  color: #83a8d0;
  font:
    400 0.72rem "DM Mono",
    monospace;
}
@media (max-width: 760px) {
  .shell {
    width: min(100% - 34px, 1160px);
  }
  nav {
    display: none;
  }
  .hero-main,
  .about,
  .projects,
  .training,
  .skill-groups {
    grid-template-columns: 1fr;
  }
  .soft-skills {
    grid-column: auto;
  }
  .hero-main {
    gap: 40px;
    padding: 60px 0 70px;
  }
  .profile-card {
    justify-self: start;
  }
  section {
    padding: 75px 0;
  }
  .course,
  .course:not(:first-child) {
    margin: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .timeline::before {
    left: 0;
  }
  .job {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 25px;
  }
  .job::after {
    left: -4px;
  }
  .date {
    padding: 0;
  }
  .facts {
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .footer-main {
    display: block;
  }
  footer a {
    display: block;
    margin-top: 28px;
  }
}
