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

html {
  scroll-behavior: smooth;
}

body {
  background: #07080c;
  color: #f5f7fb;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

:root {
  --bg: #07080c;
  --panel: #0e1118;
  --line: #252b36;
  --muted: #858d9a;
  --cyan: #56e6ff;
  --violet: #9d78ff;
  --lime: #c7ff45;
  --pink: #ff62c0;
  --mono: "DM Mono", monospace;
}

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

/* =========================
   BACKGROUND
========================= */

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(
      rgba(86, 230, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(86, 230, 255, 0.06) 1px,
      transparent 1px
    );
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: -3;
}

.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 20%,
    transparent 0,
    rgba(7, 8, 12, 0.15) 35%,
    #07080c 85%
  );
}

.glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -2;
}

.glow-a {
  background: var(--violet);
  top: -180px;
  right: -100px;
}

.glow-b {
  background: var(--cyan);
  left: -250px;
  top: 48%;
  opacity: 0.08;
}

.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  background: linear-gradient(
    transparent 50%,
    rgba(255, 255, 255, 0.012) 50%
  );
  background-size: 100% 4px;
}

/* =========================
   NAVIGATION
========================= */

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5vw;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: blur(20px);
}

.logo {
  font: 700 23px "Space Grotesk";
  letter-spacing: -0.07em;
}

.logo span:first-child {
  color: var(--cyan);
}

.cursor-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  margin-left: 5px;
  box-shadow: 0 0 14px var(--lime);
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  font: 500 10px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav a:hover {
  color: var(--cyan);
}

.hire {
  font: 500 10px var(--mono);
  border: 1px solid #34404b;
  padding: 10px 14px;
  color: #c5cad2;
}

.hire:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* =========================
   HERO
========================= */

.hero {
  max-width: 1500px;
  margin: auto;
  min-height: calc(100vh - 78px);
  padding: 9vw 7vw 7vw;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 5vw;
}

.status,
.kicker,
.hero-tags,
.mono,
.art-label,
.art-corner,
.project-no,
.lab-card span,
.stack span,
.edu-grid span,
.numbers span {
  font: 500 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status {
  color: var(--cyan);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk";
  letter-spacing: -0.06em;
}

h1 {
  font-size: clamp(75px, 9.8vw, 145px);
  line-height: 0.78;
}

.hero h1 span {
  background: linear-gradient(
    90deg,
    var(--cyan),
    var(--violet),
    var(--pink)
  );
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 670px;
  margin: 35px 0 28px;
}

.lead b {
  color: #edf0f5;
}

.hero-buttons,
.contact-links,
.links {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  padding: 13px 17px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  transition: 0.25s;
}

.btn.primary {
  background: var(--lime);
  color: #071008;
  border-color: var(--lime);
}

.btn.secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn.primary:hover {
  box-shadow: 0 0 35px rgba(199, 255, 69, 0.18);
  transform: translateY(-2px);
}

.hero-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 34px;
  color: #68717d;
}

.hero-tags span {
  border: 1px solid #222a33;
  padding: 7px 9px;
}

/* =========================
   HERO VISUAL
========================= */

.hero-visual {
  height: 560px;
  position: relative;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(86, 230, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.o1 {
  width: 370px;
  height: 370px;
}

.o2 {
  width: 500px;
  height: 210px;
  border-color: rgba(157, 120, 255, 0.2);
  animation: spin 16s linear infinite;
}

.o3 {
  width: 280px;
  height: 500px;
  border-color: rgba(199, 255, 69, 0.14);
  animation: spin 22s linear reverse infinite;
}

@keyframes spin {
  to {
    transform: rotate(338deg);
  }
}

.core {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(
    circle at 35% 30%,
    #303746,
    #0d1016
  );
  border: 1px solid #46515e;
  box-shadow:
    0 0 80px rgba(86, 230, 255, 0.12),
    inset 0 0 40px rgba(157, 120, 255, 0.12);
  z-index: 2;
}

.core strong {
  font: 700 74px "Space Grotesk";
  line-height: 0.8;
}

.core small {
  font: 500 9px var(--mono);
  color: var(--cyan);
  letter-spacing: 0.3em;
  margin-left: 0.3em;
}

.node {
  position: absolute;
  border: 1px solid #35404c;
  background: rgba(10, 13, 18, 0.88);
  padding: 9px 12px;
  font: 500 9px var(--mono);
  color: #cdd4dd;
}

.n1 {
  top: 20%;
  right: 8%;
  color: var(--cyan);
}

.n2 {
  bottom: 16%;
  right: 17%;
  color: var(--lime);
}

.n3 {
  top: 35%;
  left: 7%;
  color: var(--pink);
}

.n4 {
  bottom: 28%;
  left: 13%;
  color: var(--violet);
}

.hud {
  position: absolute;
  bottom: 2%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font: 500 9px var(--mono);
  color: #5d6671;
}

.hud b {
  color: var(--cyan);
}

/* =========================
   NUMBERS
========================= */

.numbers {
  max-width: 1500px;
  margin: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 7vw;
}

.numbers div {
  padding: 25px 18px;
  border-right: 1px solid var(--line);
}

.numbers div:first-child {
  padding-left: 0;
}

.numbers strong {
  display: block;
  font: 700 38px "Space Grotesk";
}

.numbers span {
  color: #68717c;
  font-size: 9px;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
  max-width: 1500px;
  margin: auto;
  padding: 125px 7vw;
}

.kicker {
  color: var(--cyan);
  margin-bottom: 35px;
}

/* =========================
   ABOUT
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12vw;
}

.about h2,
.lab-head h2,
.stack h2,
.process h2 {
  font-size: clamp(54px, 6.5vw, 95px);
  line-height: 0.86;
}

.about h2 em,
.lab h2 em,
.stack h2 em,
.process h2 em,
.contact h2 em,
.resume h2 em {
  font-style: normal;
  color: var(--lime);
}

.about .mono {
  color: #616a76;
  margin-top: 25px;
}

.about-grid > div:last-child {
  max-width: 640px;
}

.about p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.about p b {
  color: #edf0f5;
}

/* =========================
   SECTION HEAD
========================= */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-head > span {
  font: 500 9px var(--mono);
  color: #535d68;
  letter-spacing: 0.1em;
}

/* =========================
   PROOF OF WORK
========================= */

.proof {
  position: relative;
  overflow: hidden;
}

.proof::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto;
  height: 420px;
  background:
    radial-gradient(
      circle at 25% 50%,
      rgba(0, 245, 255, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(171, 92, 255, 0.13),
      transparent 35%
    );
  pointer-events: none;
}

.proof-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: end;
  margin: 18px 0 36px;
  position: relative;
}

.proof-intro h2 {
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.94;
  margin: 0;
  letter-spacing: -0.055em;
}

.proof-intro p {
  max-width: 650px;
  color: #9aa8bd;
  line-height: 1.8;
  margin: 0;
}

/* =========================
   EVIDENCE CARDS
========================= */

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.evidence-card {
  border: 1px solid rgba(137, 157, 190, 0.16);
  background: linear-gradient(
    145deg,
    rgba(16, 24, 42, 0.94),
    rgba(7, 12, 23, 0.94)
  );
  padding: 18px;
  border-radius: 22px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.2);
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

.evidence-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 245, 255, 0.38);
  box-shadow: 0 24px 90px rgba(0, 245, 255, 0.08);
}

.evidence-card.featured {
  border-color: rgba(0, 245, 255, 0.25);
}

.evidence-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font: 12px var(--mono);
  letter-spacing: 0.1em;
  color: #6f829f;
  margin-bottom: 14px;
}

.evidence-meta b {
  color: #8dfcff;
}

.evidence-shot {
  height: 245px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #080d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
}

.evidence-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(0, 0, 0, 0.6)
  );
  pointer-events: none;
}

.evidence-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: 0.3s;
}

.evidence-shot:hover img {
  transform: scale(1.025);
}

.evidence-shot span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(141, 252, 255, 0.4);
  background: rgba(4, 10, 20, 0.78);
  backdrop-filter: blur(10px);
  padding: 7px 10px;
  border-radius: 99px;
  font: 11px var(--mono);
  color: #8dfcff;
}

.evidence-card h3 {
  font-size: 24px;
  margin: 18px 0 8px;
}

.evidence-card p {
  color: #8f9eb4;
  line-height: 1.65;
  margin: 0 0 16px;
}

.evidence-stats {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 14px;
}

.evidence-stats b {
  font-size: 22px;
  color: #f3f8ff;
}

.evidence-stats span {
  font: 10px var(--mono);
  color: #667791;
  margin-right: 9px;
  letter-spacing: 0.06em;
}

.evidence-stats.compact b {
  font-size: 20px;
}

/* =========================
   TAGS
========================= */

.bug-chips,
.mini-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.bug-chips span,
.mini-tags span {
  font: 10px var(--mono);
  color: #d4dced;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.evidence-link {
  display: inline-flex;
  margin-top: 8px;
  color: #8dfcff;
  font: 12px var(--mono);
  text-decoration: none;
  border-bottom: 1px dashed rgba(141, 252, 255, 0.4);
  padding-bottom: 3px;
}

.evidence-link:hover {
  color: white;
  border-color: white;
}

/* =========================
   EVIDENCE STRIP
========================= */

.evidence-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.evidence-strip span {
  font: 10px var(--mono);
  letter-spacing: 0.08em;
  color: #73839b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

/* =========================
   CHART PROOF
========================= */

.chart-proof {
  height: 245px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #080d18;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.pie {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 15px #0a0e16,
    0 0 35px rgba(86, 230, 255, 0.08);
}

.weather-pie {
  background: conic-gradient(
    var(--lime) 0 93.33%,
    #ff7272 93.33% 96.66%,
    #ffc55b 96.66% 100%
  );
}

.tech-pie {
  background: conic-gradient(
    var(--lime) 0 100%
  );
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font: 10px var(--mono);
  color: #a9b3c0;
}

.pie-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 7px;
}

.pie-legend span:nth-child(2) i {
  background: #ff7272;
}

.pie-legend span:nth-child(3) i {
  background: #ffc55b;
}

.pie-legend span:nth-child(4) i {
  background: #9d78ff;
}

/* =========================
   LIVE PROJECT
========================= */

.live-project-shot > img {
  object-fit: cover;
  object-position: top center;
}

.compact-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.compact-links a {
  font: 600 12px/1.2 var(--mono);
  text-decoration: none;
}

/* =========================
   PROJECTS
========================= */

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: rgba(12, 15, 21, 0.72);
  margin-bottom: 22px;
  min-height: 510px;
  overflow: hidden;
}

.project.reverse .project-art {
  order: 2;
}

.project.reverse .project-info {
  order: 1;
}

.project-art {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  padding: 23px;
  background: #0a0d12;
}

.weather-art {
  background:
    radial-gradient(
      circle at 62% 48%,
      rgba(157, 120, 255, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 30% 75%,
      rgba(86, 230, 255, 0.1),
      transparent 30%
    );
}

.news-art {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(199, 255, 69, 0.1),
      transparent 25%
    );
}

.api-art {
  background:
    radial-gradient(
      circle at 60% 45%,
      rgba(86, 230, 255, 0.12),
      transparent 35%
    ),
    #090d14;
}

.shop-art {
  background:
    radial-gradient(
      circle at 35% 55%,
      rgba(157, 120, 255, 0.15),
      transparent 35%
    ),
    #090d14;
}

.art-label {
  color: #68717b;
}

.art-corner {
  position: absolute;
  right: 25px;
  bottom: 25px;
  color: var(--cyan);
  font-size: 35px;
  line-height: 0.8;
}

.art-corner small {
  font-size: 8px;
  color: #68717b;
}

/* =========================
   WEATHER ART
========================= */

.weather-ui {
  position: absolute;
  left: 16%;
  bottom: 18%;
  display: flex;
  flex-direction: column;
}

.weather-ui small {
  font: 500 9px var(--mono);
  color: #6c7480;
}

.weather-ui b {
  font: 700 110px "Space Grotesk";
  line-height: 0.85;
  background: linear-gradient(
    135deg,
    #fff,
    var(--cyan)
  );
  -webkit-background-clip: text;
  color: transparent;
}

.weather-ui span {
  font: 500 9px var(--mono);
  color: #6c7480;
}

.weather-ui i {
  width: 150px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--cyan),
    transparent
  );
  margin-top: 20px;
}

/* =========================
   NEWS ART
========================= */

.news-ui {
  position: absolute;
  inset: 22% 12%;
  border: 1px solid #26303a;
  padding: 18px;
  background: rgba(8, 11, 15, 0.6);
}

.news-head {
  font: 500 9px var(--mono);
  color: #8a949f;
  border-bottom: 1px solid #26303a;
  padding-bottom: 14px;
}

.news-head i {
  float: right;
  color: var(--lime);
  font-style: normal;
}

.news-row {
  height: 34px;
  margin: 20px 0;
  background: linear-gradient(
    90deg,
    #49535e 60%,
    transparent 60%
  );
  opacity: 0.75;
}

.news-row.short {
  width: 72%;
}

.news-row.tiny {
  width: 45%;
}

/* =========================
   API / SHOP ART
========================= */

.api-console,
.shop-console {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 24%;
  padding: 25px;
  border: 1px solid #26303a;
  background: rgba(5, 9, 15, 0.78);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 25px;
  font: 11px var(--mono);
}

.api-console span,
.shop-console span {
  color: #8190a5;
}

.api-console b,
.shop-console b {
  color: var(--lime);
}

/* =========================
   PROJECT INFO
========================= */

.project-info {
  padding: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-no {
  color: var(--violet);
}

.project h3 {
  font-size: clamp(38px, 4vw, 62px);
  margin: 18px 0;
}

.project-info > p {
  color: var(--muted);
  max-width: 600px;
}

/* =========================
   RESULT GRID
========================= */

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0 16px;
}

.result-grid div {
  padding: 16px 9px;
  border-right: 1px solid var(--line);
}

.result-grid div:last-child {
  border: 0;
}

.result-grid b {
  display: block;
  font: 700 25px "Space Grotesk";
}

.result-grid span {
  font: 500 8px var(--mono);
  color: #65707c;
}

.result-grid div:nth-child(1) b {
  color: var(--lime);
}

.result-grid div:nth-child(2) b {
  color: #ff7272;
}

.result-grid div:nth-child(3) b {
  color: #ffc55b;
}

.result-grid div:nth-child(4) b {
  color: var(--pink);
}

.result-banner {
  border: 1px solid #27372a;
  padding: 15px 18px;
  margin: 30px 0 10px;
  background: rgba(199, 255, 69, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.result-banner b {
  font: 700 28px "Space Grotesk";
  color: var(--lime);
}

.result-banner span {
  font: 500 9px var(--mono);
  color: #839083;
}

.links {
  margin-top: 10px;
}

.links a {
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #46515d;
  padding-bottom: 4px;
}

.links a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* =========================
   SUPPORT PROJECTS
========================= */

.support-projects {
  margin-top: 45px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

.support-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.support-title span {
  font: 500 10px var(--mono);
  color: var(--cyan);
  letter-spacing: 0.12em;
}

.support-title small {
  color: #66717f;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.support-grid a {
  border: 1px solid var(--line);
  padding: 22px;
  background: #0b0f14;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: 0.2s;
}

.support-grid a:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.support-grid b {
  font: 700 17px "Space Grotesk";
}

.support-grid span {
  font: 10px var(--mono);
  color: #7c899b;
}

/* =========================
   QA LAB
========================= */

.lab {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(86, 230, 255, 0.025),
    transparent
  );
}

.lab-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  align-items: end;
  margin-bottom: 50px;
}

.lab-head p {
  color: var(--muted);
  max-width: 420px;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lab-card {
  border: 1px solid var(--line);
  background: rgba(13, 17, 23, 0.72);
  padding: 28px;
  min-height: 190px;
}

.lab-card.large {
  grid-column: span 2;
}

.lab-card span {
  color: #65707c;
}

.lab-card strong {
  display: block;
  font: 700 29px "Space Grotesk";
  margin: 25px 0 8px;
  color: #edf0f5;
}

.lab-card p {
  color: var(--muted);
  font-size: 12px;
}

.bar {
  height: 3px;
  background: #202832;
  margin-top: 22px;
}

.bar i {
  height: 100%;
  display: block;
  background: linear-gradient(
    90deg,
    var(--lime),
    var(--cyan)
  );
}

/* =========================
   TECH STACK
========================= */

.stack > h2 {
  margin-bottom: 60px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.stack-grid > div {
  padding: 26px 15px;
  border-bottom: 1px solid var(--line);
  min-height: 145px;
}

.stack-grid > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.stack span {
  color: var(--cyan);
  display: block;
  margin-bottom: 20px;
}

.stack b {
  font: 500 17px "Space Grotesk";
  line-height: 1.35;
  color: #d8dde5;
}

/* =========================
   PROCESS
========================= */

.process h2 {
  margin-bottom: 60px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.steps > div {
  min-height: 165px;
  padding: 20px;
  border: 1px solid var(--line);
  margin-left: -1px;
}

.steps i {
  font: 500 10px var(--mono);
  font-style: normal;
  color: var(--violet);
}

.steps b {
  display: block;
  font: 700 20px "Space Grotesk";
  margin-top: 42px;
}

.steps span {
  font-size: 10px;
  color: var(--muted);
}

/* =========================
   EDUCATION
========================= */

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.edu-grid > div {
  border: 1px solid var(--line);
  padding: 32px;
  background: #0b0f14;
}

.edu-grid span {
  color: #69737f;
}

.edu-grid h3 {
  font-size: 29px;
  margin: 30px 0 9px;
}

.edu-grid p {
  color: var(--muted);
  font-size: 13px;
}

.edu-grid b {
  display: block;
  color: var(--lime);
  font: 500 10px var(--mono);
  margin-top: 20px;
}

/* =========================
   CREDENTIALS
========================= */

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.credentials > div {
  border: 1px solid var(--line);
  padding: 25px;
  background: #0b0f14;
}

.credentials span {
  display: block;
  font: 500 10px var(--mono);
  color: var(--cyan);
  margin-bottom: 12px;
}

.credentials b {
  font: 500 14px "Space Grotesk";
  color: #d8dde5;
  line-height: 1.4;
}

/* =========================
   RESUME
========================= */

.resume-card {
  border: 1px solid #2c3540;
  padding: 55px;
  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(157, 120, 255, 0.13),
      transparent 25%
    ),
    #0c1016;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.resume h2 {
  font-size: clamp(55px, 7vw, 95px);
  line-height: 0.86;
  margin-bottom: 20px;
}

.resume-card p {
  color: var(--muted);
  max-width: 570px;
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================
   CONTACT
========================= */

.contact-card {
  border: 1px solid #2c3540;
  padding: 75px;
  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(157, 120, 255, 0.13),
      transparent 25%
    ),
    radial-gradient(
      circle at 60% 100%,
      rgba(86, 230, 255, 0.08),
      transparent 30%
    ),
    #0c1016;
}

.contact h2 {
  font-size: clamp(70px, 10vw, 145px);
  line-height: 0.78;
  margin-bottom: 25px;
}

.contact p {
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 600px;
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid var(--line);
  padding: 24px 7vw;
  display: flex;
  justify-content: space-between;
  color: #59636e;
  font: 500 9px var(--mono);
  letter-spacing: 0.08em;
}

footer b {
  color: #89929d;
}

/* =========================
   IMAGE MODAL
========================= */

.image-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(2, 6, 15, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.image-modal.open {
  opacity: 1;
  visibility: visible;
}

.image-modal img {
  max-width: 94vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(141, 252, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  right: 25px;
  top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 15, 27, 0.8);
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* =========================
   LARGE SCREENS
========================= */

@media (min-width: 1200px) {
  .evidence-grid {
    grid-template-columns: repeat(
      3,
      minmax(0, 1fr)
    );
  }
}

/* =========================
   TABLET / LAPTOP
========================= */

@media (max-width: 1100px) {
  nav {
    gap: 13px;
  }

  .hire {
    display: none;
  }

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

  .hero-visual {
    height: 440px;
  }

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

  .project.reverse .project-art,
  .project.reverse .project-info {
    order: initial;
  }

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

  .lab-card.large {
    grid-column: span 2;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .steps > div {
    margin: 0;
  }

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

/* =========================
   TABLET
========================= */

@media (max-width: 850px) {
  .proof-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .evidence-shot,
  .chart-proof {
    height: 210px;
  }

  .about-grid,
  .lab-head,
  .edu-grid,
  .credentials {
    grid-template-columns: 1fr;
  }

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

  .stack-grid > div:nth-child(odd) {
    border-right: 0;
  }

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

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .nav {
    padding: 0 20px;
  }

  .nav nav {
    display: none;
  }

  .section {
    padding: 85px 20px;
  }

  .hero {
    padding: 75px 20px 60px;
  }

  .hero-visual {
    height: 360px;
  }

  .o1 {
    width: 260px;
    height: 260px;
  }

  .o2 {
    width: 330px;
    height: 150px;
  }

  .o3 {
    width: 200px;
    height: 360px;
  }

  .core {
    width: 115px;
    height: 115px;
  }

  .core strong {
    font-size: 58px;
  }

  .numbers {
    padding: 0 20px;
    grid-template-columns: 1fr 1fr;
  }

  .numbers div {
    padding: 20px 10px;
  }

  .numbers strong {
    font-size: 28px;
  }

  .project-info {
    padding: 35px 25px;
  }

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

  .result-grid div:nth-child(2) {
    border-right: 0;
  }

  .result-grid div:nth-child(3),
  .result-grid div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .lab-card.large {
    grid-column: auto;
  }

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

  .contact-card {
    padding: 45px 25px;
  }

  .resume-card {
    padding: 40px 25px;
  }

  .support-title {
    flex-direction: column;
  }

  .chart-proof {
    gap: 15px;
  }

  .pie {
    width: 115px;
    height: 115px;
  }

  .pie-legend {
    font-size: 9px;
  }

  footer {
    padding: 20px;
    display: block;
  }

  footer span {
    display: block;
    margin-top: 8px;
  }
}
