:root {
  --bg: #07101d;
  --panel: #0b1a2a;
  --line: #20364b;
  --text: #eaf3fb;
  --muted: #91a9be;
  --cyan: #62d8ff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 86% 4%, #0b355355, transparent 35%), var(--bg);
  color: var(--text);
  font:
    15px/1.7 "DM Sans",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(calc((100vw - 1060px) / 2), 28px);
  border-bottom: 1px solid var(--line);
  background: #07101de8;
  backdrop-filter: blur(16px);
}
.wordmark {
  font: 600 23px "Space Grotesk";
  letter-spacing: 0.1em;
}
.wordmark span {
  color: var(--cyan);
}
nav {
  display: flex;
  gap: 24px;
  color: #a6bacb;
  font-size: 11px;
}
nav a:hover,
.back:hover {
  color: var(--cyan);
}
.back {
  font-size: 11px;
  color: var(--cyan);
}
main {
  width: min(1000px, calc(100% - 48px));
  margin: auto;
}
section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}
.intro {
  min-height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}
h1 {
  font-size: clamp(68px, 11vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin: 22px 0;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--cyan);
}
.intro > p {
  max-width: 510px;
  color: #a4b8ca;
  font-size: 16px;
}
.actions {
  display: flex;
  gap: 25px;
  margin-top: 24px;
  font-size: 12px;
}
.actions a:first-child {
  padding: 11px 15px;
  border: 1px solid #62d8ff66;
  border-radius: 6px;
}
.actions a:last-child {
  align-self: center;
  color: #a9c2d7;
}
.intro-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 40px;
  color: #6f8da5;
  font-size: 8px;
  letter-spacing: 0.14em;
}
.about-columns {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  align-items: start;
}
.about-columns .lead {
  margin-top: 0;
}
.about-note {
  color: var(--muted);
  font-size: 12px;
}
.about-note p {
  margin-top: 0;
}
.about-note h3 {
  margin: 0 0 9px;
  color: var(--text);
  font-size: 18px;
}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.values span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: #a8c0d3;
  font-size: 9px;
}
.personal-note {
  margin-top: 26px;
  padding: 14px 16px;
  border-left: 2px solid #286287;
  color: var(--muted);
  font-size: 11px;
}
.personal-note summary {
  color: var(--cyan);
  cursor: pointer;
}
.personal-note p {
  max-width: 720px;
  margin: 12px 0 0;
}
.section-intro {
  max-width: 760px;
  margin: -10px 0 26px;
  color: var(--muted);
  font-size: 12px;
}
.current-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.current-card,
.experience-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, #0b1a2a, #081321);
}
.role-tag,
.experience-grid article > span {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.15em;
}
.current-card h3,
.experience-grid h3 {
  margin: 13px 0 8px;
  font-size: 19px;
}
.current-card p,
.experience-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.current-card p b,
.experience-grid p b {
  color: #c5d9e8;
  font-weight: 600;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.experience-grid article {
  padding: 20px;
}
.timeline {
  margin-top: 36px;
}
.intro-mark {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  font: 600 clamp(210px, 36vw, 410px)/1 "Space Grotesk";
  letter-spacing: -0.13em;
  color: #17365255;
  -webkit-text-stroke: 1px #62d8ff23;
}
h2 {
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 14px 0 25px;
}
.lead {
  max-width: 730px;
  color: #a9bdcf;
  font-size: 15px;
}
.skill-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.skill-grid article,
.work-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, #0b1a2a, #081321);
}
.skill-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
.skill-grid p,
.work-grid p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.note {
  font-size: 10px;
  color: #778fa4;
  margin-top: 15px;
}
.work-grid article > span,
.timeline span {
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 0.16em;
}
.work-grid h3 {
  font-size: 22px;
  margin: 17px 0 9px;
}
.tags {
  margin-top: 19px;
  color: #6d99b3;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.timeline {
  border-left: 1px solid #286287;
  margin-left: 5px;
  padding-left: 28px;
}
.timeline article {
  position: relative;
  margin: 0 0 24px;
}
.timeline article:before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px #62d8ff;
}
.timeline p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}
.contact {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
.contact h2 {
  max-width: 600px;
}
.contact p {
  color: var(--muted);
  font-size: 13px;
}
.button {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid #62d8ff66;
  border-radius: 6px;
  background: #0e365155;
  font-size: 11px;
}
.return {
  font-size: 11px;
  color: var(--cyan);
  white-space: nowrap;
}
footer {
  width: min(1000px, calc(100% - 48px));
  margin: auto;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  color: #71899e;
  font-size: 10px;
}
footer a {
  color: var(--cyan);
}
@media (max-width: 700px) {
  header {
    padding: 0 18px;
  }
  nav {
    gap: 12px;
  }
  nav a:nth-child(2),
  nav a:nth-child(4) {
    display: none;
  }
  .back {
    display: none;
  }
  main,
  footer {
    width: calc(100% - 36px);
  }
  section {
    padding: 68px 0;
  }
  .intro {
    min-height: 570px;
  }
  .intro-mark {
    right: -10%;
    opacity: 0.6;
  }
  .skill-grid,
  .work-grid,
  .experience-grid,
  .current-grid,
  .about-columns {
    grid-template-columns: 1fr;
  }
  .intro-foot {
    margin-top: 25px;
  }
  .contact {
    display: block;
  }
  .return {
    display: inline-block;
    margin-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
