:root {
  color-scheme: dark;
  --midnight: #0e0b1d;
  --indigo: #2a1e4d;
  --purple: #5a3b8c;
  --lavender: #8b7cc7;
  --pale: #c9c2e3;
  --slate: #3a3a52;
  --white: #f9f6ff;
  --line: rgb(139 124 199 / 25%);
  --mono: "JetBrains Mono", monospace;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--midnight);
  color: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 81% 22%, rgb(90 59 140 / 27%), transparent 47%),
    radial-gradient(ellipse at 0% 63%, rgb(42 30 77 / 48%), transparent 49%);
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--pale); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 12px;
  background: var(--indigo);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header, .site-footer, .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header { padding-block: 22px; border-bottom: 1px solid var(--line); }
.brand, nav { display: flex; align-items: center; gap: 13px; }
.brand { font-size: .94rem; font-weight: 800; }
nav { gap: 26px; }
nav a, .section-heading a, .site-footer { color: var(--pale); font-size: .85rem; font-weight: 600; }
nav a:hover, .section-heading a:hover, footer a:hover { color: var(--white); }
.profile-link { border: 1px solid var(--line); background: rgb(42 30 77 / 45%); border-radius: 10px; }
.brand-logo { display: block; }
.brand-logo { display: block; }
.profile-link { padding: 9px 14px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 105px 94px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pale);
  font: 500 .76rem var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lavender); box-shadow: 0 0 14px var(--lavender); }
h1 { margin-block: 16px 18px; font-size: clamp(3.15rem, 6.35vw, 6rem); line-height: 1.04; letter-spacing: -.062em; font-weight: 800; }
h1 span { color: var(--pale); background: linear-gradient(145deg, #dfd4ff, var(--lavender)); background-clip: text; -webkit-text-fill-color: transparent; }
.intro { max-width: 410px; color: var(--pale); font-size: 1.06rem; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button { padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font-weight: 750; font-size: .86rem; }
.button span, .section-heading a span { margin-left: 6px; }
.primary { background: var(--pale); color: var(--midnight); }
.primary:hover { background: var(--white); }
.secondary { background: rgb(42 30 77 / 45%); }
.secondary:hover, .profile-link:hover { background: var(--indigo); }

.console, .project {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgb(90 59 140 / 20%), rgb(42 30 77 / 18%));
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px rgb(255 255 255 / 5%), 0 18px 48px rgb(0 0 0 / 16%);
}

.console { overflow: hidden; border-radius: 20px; transform: rotate(-2deg); font: .78rem/1.7 var(--mono); color: var(--pale); }
.console-bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgb(14 11 29 / 42%); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); }
.window-dots i:nth-child(2) { background: var(--purple); }
.window-dots i:nth-child(3) { background: var(--slate); }
.console-body { position: relative; padding: 25px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 30px 30px; }
.console-text { position: relative; width: fit-content; padding: 10px 14px; background: rgb(14 11 29 / 80%); border-radius: 8px; }
.console-text p:nth-child(odd) { color: var(--white); }
.console-text p:nth-child(2) { margin-bottom: 12px; }
.console-text strong { color: var(--lavender); }
.cursor { display: block; margin-top: 12px; width: 8px; height: 12px; background: var(--lavender); }

.radar { position: absolute; width: 192px; height: 192px; top: 50%; right: 8%; transform: translateY(-50%); background: radial-gradient(circle, rgb(90 59 140 / 70%), transparent 72%); }
.radar span { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
.radar span:nth-child(2) { inset: 21px; }
.radar span:nth-child(3) { inset: 49px; }
.radar b { position: absolute; inset: 21px; border-radius: 50%; background: conic-gradient(from 46deg, transparent 69%, rgb(139 124 199 / 64%)); }
.radar i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--pale); box-shadow: 0 0 12px var(--lavender); top: 25%; left: 72%; }
.radar i:nth-of-type(2) { top: 68%; left: 65%; }
.radar i:nth-of-type(3) { top: 42%; left: 38%; width: 4px; height: 4px; }

.projects { padding-block: 22px 60px; }
.section-heading { margin-bottom: 21px; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.045em; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-grid article { min-width: 0; }

.project {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 21px;
  border-radius: 16px;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.project:hover { background-color: var(--indigo); border-color: var(--lavender); }
.project-top { display: flex; width: 100%; align-items: center; justify-content: space-between; color: var(--pale); }
.project-icon { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid var(--line); background: var(--indigo); border-radius: 9px; font: 600 .86rem var(--mono); }
h3 { margin-top: 16px; font-size: 1.07rem; }
.project p { margin: 8px 0 17px; color: var(--pale); font-size: .87rem; line-height: 1.65; }
.tag { margin-top: auto; padding: 5px 9px; background: rgb(139 124 199 / 11%); color: var(--pale); border-radius: 6px; font: .68rem var(--mono); }
.site-footer { padding-block: 23px; border-top: 1px solid var(--line); }

@media (max-width: 850px) {
  .hero { gap: 25px; padding-block: 75px 65px; }
  .radar { right: 1%; width: 150px; height: 150px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { flex-wrap: wrap; }
  nav { gap: 14px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 58px 40px; }
  .console { transform: none; }
  .project-grid { grid-template-columns: 1fr; }
  .projects { padding-bottom: 40px; }
}
