:root {
  --ink: #e9f0ff;
  --muted: #93a2bd;
  --lime: #9cff57;
  --cream: #09111f;
  --line: #243249;
  --dark: #050b15;
  --panel: #101a2c;
  --cyan: #67e8f9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}
.grid-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.wrap {
  max-width: 1180px;
  margin: auto;
  padding-left: 28px;
  padding-right: 28px;
}
.glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.16;
}
.glow-one {
  background: #6d28d9;
  width: 420px;
  height: 420px;
  top: -150px;
  right: -90px;
}
.glow-two {
  background: #0891b2;
  width: 330px;
  height: 330px;
  bottom: 10%;
  left: -180px;
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -2px;
}
.brand span {
  color: var(--lime);
}
nav {
  display: flex;
  gap: 28px;
}
nav a,
.resume-link,
footer a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.resume-link {
  border: 1px solid #40516c;
  padding: 12px 16px;
  border-radius: 3px;
  background: #ffffff04;
}
.resume-link:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.resume-link span {
  margin-left: 5px;
}
.menu-toggle {
  display: none;
  background: 0;
  border: 0;
  font-size: 24px;
  color: var(--ink);
}
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 58px;
  padding-top: 45px;
  padding-bottom: 65px;
}
.eyebrow,
.section-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--cyan);
  font-weight: 500;
}
.pulse {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 4px #9cff5722;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -3.8px;
  margin: 18px 0 24px;
}
em {
  font-style: normal;
  color: var(--lime);
  text-shadow: 0 0 26px #9cff5755;
}
.intro {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.intro strong {
  color: #fff;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}
.button {
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.primary {
  background: var(--lime);
  color: #07130b;
  padding: 15px 19px;
  border-radius: 3px;
  box-shadow: 0 8px 25px #9cff5730;
}
.primary span {
  margin-left: 14px;
}
.text-button {
  color: var(--ink);
}
.text-button span {
  margin-left: 8px;
  color: var(--lime);
}
.hero-card {
  background: #0b1424;
  border: 1px solid #2c3b55;
  border-radius: 8px;
  color: #c9d2ce;
  box-shadow:
    18px 20px 0 #00000035,
    0 0 45px #6366f11f;
  overflow: hidden;
  transform: rotate(1.2deg);
}
.card-top,
.card-footer {
  font:
    11px "DM Mono",
    monospace;
  display: flex;
  align-items: center;
  color: #91a0b8;
}
.card-top {
  height: 44px;
  background: #111d31;
  padding: 0 14px;
  border-bottom: 1px solid #293a55;
  gap: 9px;
}
.code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.window-icons {
  margin-left: auto;
  letter-spacing: 4px;
}
pre {
  margin: 0;
  padding: 32px 29px;
  font:
    14px/1.85 "DM Mono",
    monospace;
  white-space: pre-wrap;
}
pre i {
  color: #e879f9;
  font-style: normal;
}
pre b {
  color: var(--cyan);
  font-weight: 400;
}
pre s {
  color: #b6ef83;
  text-decoration: none;
}
.card-footer {
  padding: 12px 14px;
  border-top: 1px solid #293a55;
}
.card-footer > span:first-child {
  color: var(--lime);
  margin-right: 7px;
}
.cursor {
  margin-left: auto;
  color: var(--lime);
  font-size: 16px;
}
.section {
  padding-top: 110px;
  padding-bottom: 110px;
}
.about {
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.about h2,
.section-heading h2,
.skills h2 {
  font-size: clamp(31px, 3.3vw, 45px);
  line-height: 1.13;
  letter-spacing: -2.4px;
  margin: 0;
}
.about-grid > div p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
}
.inline-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--lime);
  padding-bottom: 4px;
}
.inline-link span {
  padding-left: 12px;
  color: var(--lime);
}
.skills {
  background: linear-gradient(110deg, #0b1424, #12102a);
  color: #f5f8ef;
  border-top: 1px solid #27334a;
  border-bottom: 1px solid #27334a;
}
.skills .section-label {
  color: var(--cyan);
}
.skills h2 {
  margin: 16px 0 50px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #3a4a65;
}
.skills-grid article {
  min-height: 212px;
  padding: 28px 28px 20px 0;
  border-right: 1px solid #3a4a65;
}
.skills-grid article + article {
  padding-left: 28px;
}
.skills-grid article:last-child {
  border-right: 0;
}
.skill-no {
  font: 11px "DM Mono";
  color: var(--lime);
}
.skills h3 {
  font-size: 20px;
  margin: 34px 0 10px;
}
.skills-grid p {
  font-size: 14px;
  line-height: 1.8;
  color: #aebbb5;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 42px;
}
.section-heading .inline-link {
  margin: 0;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.project {
  text-decoration: none;
  color: var(--ink);
}
.project-image {
  display: block;
  width: 100%;
  height: 300px;
  margin-bottom: 22px;
  border: 1px solid #35435c;
  border-radius: 5px;
  object-fit: cover;
  object-position: top;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}
.project:hover .project-image {
  transform: translateY(-4px);
  border-color: var(--lime);
}
.project-visual {
  height: 300px;
  border-radius: 5px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid #35435c;
}
.dashboard {
  background: #132839;
  padding: 35px 30px;
  display: flex;
  gap: 15px;
}
.dash-side {
  width: 55px;
  background: #182339;
  border-radius: 5px;
}
.dash-main {
  flex: 1;
  background: #e8f0ef;
  border-radius: 5px;
  padding: 17px;
}
.dash-main > span {
  display: block;
  width: 42%;
  height: 9px;
  background: #263931;
  border-radius: 2px;
}
.chart {
  height: 112px;
  margin-top: 18px;
  background: #dce9e3;
  display: flex;
  align-items: end;
  gap: 9px;
  padding: 14px;
}
.chart i {
  display: block;
  background: #51d7c1;
  width: 15%;
  border-radius: 2px 2px 0 0;
}
.chart i:nth-child(1) {
  height: 28%;
}
.chart i:nth-child(2) {
  height: 47%;
}
.chart i:nth-child(3) {
  height: 39%;
}
.chart i:nth-child(4) {
  height: 75%;
}
.chart i:nth-child(5) {
  height: 61%;
}
.chart i:nth-child(6) {
  height: 90%;
}
.dash-cards {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}
.dash-cards b {
  height: 25px;
  flex: 1;
  background: #dce9e3;
}
.weather {
  background: linear-gradient(145deg, #233f9d, #11152e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sun {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #9cff57;
  top: -38px;
  right: -22px;
  opacity: 0.8;
  box-shadow: 0 0 48px #9cff57;
}
.weather-card {
  position: relative;
  width: 220px;
  padding: 21px;
  background: #ffffff17;
  backdrop-filter: blur(7px);
  border: 1px solid #ffffff45;
  border-radius: 14px;
  box-shadow: 0 12px 24px #0005;
  color: #fff;
}
.weather-card small {
  font-weight: 700;
}
.weather-card strong {
  display: block;
  font-size: 57px;
  letter-spacing: -4px;
  margin: 8px 0;
}
.weather-card p {
  font-size: 13px;
  margin-bottom: 18px;
}
.weather-card div {
  border-top: 1px solid #ffffff38;
  padding-top: 11px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.project-info > p:first-child {
  font: 10px "DM Mono";
  letter-spacing: 1px;
  color: #7f91af;
  margin-bottom: 10px;
}
.project-info > p:first-child span {
  float: right;
}
.project h3 {
  font-size: 24px;
  letter-spacing: -1px;
  margin-bottom: 9px;
}
.project h3 span {
  font-size: 18px;
  float: right;
  color: var(--lime);
}
.description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.tags {
  display: flex;
  gap: 7px;
}
.tags span {
  font: 10px "DM Mono";
  padding: 5px 8px;
  background: #17243a;
  border: 1px solid #2a3a54;
  border-radius: 2px;
  color: #a9b8d0;
}
.contact {
  padding-bottom: 105px;
}
.contact-box {
  margin-top: 20px;
  background: linear-gradient(125deg, #9cff57, #55dfbb);
  padding: 62px 7%;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.contact-box:after {
  content: "// hello";
  position: absolute;
  right: 6%;
  bottom: -18px;
  font: 700 90px "DM Mono";
  color: #0b251333;
}
.contact-box > p {
  font: 13px "DM Mono";
  color: #28523a;
  position: relative;
  z-index: 1;
}
.contact-box h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -3px;
  margin-bottom: 33px;
  position: relative;
  z-index: 1;
}
.contact-box h2 em {
  color: #143b27;
  text-shadow: none;
}
.email {
  display: inline-block;
  background: #07131e;
  padding: 16px 19px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  border-radius: 3px;
  position: relative;
  z-index: 1;
}
.email span {
  color: var(--lime);
  margin-left: 23px;
}
footer {
  border-top: 1px solid var(--line);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
footer div {
  display: flex;
  gap: 20px;
}
footer a {
  font-size: 12px;
}
@media (max-width: 760px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav {
    height: 76px;
  }
  .nav nav,
  .resume-link {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav nav.open {
    display: flex;
    position: absolute;
    top: 66px;
    left: 20px;
    right: 20px;
    background: #101a2c;
    padding: 18px;
    box-shadow: 0 7px 20px #0008;
    z-index: 2;
    flex-direction: column;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    min-height: auto;
    padding-top: 55px;
  }
  .hero-card {
    margin: 0 5px;
  }
  .about-grid,
  .project-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid article,
  .skills-grid article + article {
    padding: 23px 0;
    border-right: 0;
    border-bottom: 1px solid #3a4a65;
    min-height: 0;
  }
  .section-heading {
    align-items: start;
    gap: 18px;
    flex-direction: column;
  }
  .project-visual,
  .project-image {
    height: 245px;
  }
  footer {
    height: auto;
    padding-top: 25px;
    padding-bottom: 25px;
    gap: 15px;
    flex-wrap: wrap;
  }
  footer p {
    order: 3;
    width: 100%;
  }
}
