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

:root {
  --white: #ffffff;
  --off: #f5f5f7;
  --mid: #86868b;
  --dark: #1d1d1f;
  --black: #000000;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --sans: "Inter", sans-serif;
  --display: "Instrument Serif", serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s,
    opacity 0.2s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.08s linear;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  width: 6px;
  height: 6px;
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 56px;
  height: 56px;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 52px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.nav-brand {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  font-size: 12px;
  padding: 0.45rem 1rem;
  background: white;
  color: black;
  border: none;
  border-radius: 20px;
  cursor: none;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* Hero */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-orb {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(99, 179, 237, 0.18) 0%,
    rgba(139, 92, 246, 0.12) 35%,
    rgba(236, 72, 153, 0.06) 60%,
    transparent 75%
  );
  filter: blur(60px);
  animation: orb-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-orb2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(251, 191, 36, 0.1) 0%,
    rgba(236, 72, 153, 0.08) 40%,
    transparent 70%
  );
  filter: blur(80px);
  animation: orb-drift2 16s ease-in-out infinite alternate;
  pointer-events: none;
  top: 20%;
  right: 5%;
}

@keyframes orb-drift {
  from {
    transform: translate(-80px, 40px) scale(1);
  }

  to {
    transform: translate(80px, -40px) scale(1.1);
  }
}

@keyframes orb-drift2 {
  from {
    transform: translate(40px, -20px);
  }

  to {
    transform: translate(-60px, 60px);
  }
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.9s 0.45s forwards;
}

.hero-title .line2 {
  font-style: italic;
  background: linear-gradient(
    135deg,
    #fff 0%,
    rgba(255, 255, 255, 0.55) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fade-up 0.9s 0.6s forwards;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fade-up 0.9s 0.75s forwards;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: none;
  letter-spacing: -0.01em;
  transition: all 0.25s;
}

.btn-pill-white {
  background: white;
  color: black;
}

.btn-pill-white:hover {
  background: #e0e0e0;
}

.btn-pill-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-pill-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fade-up 0.8s 1.1s forwards;
}

.hero-scroll span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1.3);
    opacity: 1;
  }
}

/* Cinematic tagline */
#tagline {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 4rem;
  position: relative;
  overflow: hidden;
}

.tagline-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000 0%, #0a0a0a 50%, #000 100%);
}

.tagline-text {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.tagline-text .word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.6s;
  cursor: default;
}

.tagline-text .word.lit {
  opacity: 1;
}

.tagline-text em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

/* Skills */
#skills {
  background: #000;
  padding: 8rem 4rem;
}

.skills-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-eyebrow {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: block;
}

.section-big {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-big em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

.skills-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  padding: 2rem;
  transition:
    background 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.04) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.bento-card.wide {
  grid-column: span 3;
}

.bento-card.med {
  grid-column: span 2;
}

.bento-card.full {
  grid-column: span 6;
}

.bento-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.bento-icon svg {
  width: 22px;
  height: 22px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-width: 1.5;
}

.bento-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btag {
  font-size: 12px;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.btag:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.bento-stat-num {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

/* Projects */
#projects {
  padding: 8rem 0;
  background: #000;
}

.projects-header {
  text-align: center;
  padding: 0 4rem;
  margin-bottom: 5rem;
}

.project-showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proj-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: background 0.3s;
  min-height: 420px;
}

.proj-block:hover {
  background: rgba(255, 255, 255, 0.06);
}

.proj-block.reverse {
  direction: rtl;
}

.proj-block.reverse > * {
  direction: ltr;
}

.proj-info {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proj-num {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.proj-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.proj-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.ptag {
  font-size: 11px;
  padding: 0.25rem 0.6rem;
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.proj-link:hover {
  color: white;
}

.proj-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  min-height: 320px;
}

/* Terminal visual */
.terminal {
  width: 88%;
  background: rgba(20, 20, 20, 0.95);
  border-radius: 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  font-family: monospace;
  font-size: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.term-bar {
  background: rgba(40, 40, 40, 0.9);
  padding: 0.6rem 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot-red {
  background: #ff5f57;
}

.term-dot-yellow {
  background: #febc2e;
}

.term-dot-green {
  background: #28c840;
}

.term-body {
  padding: 1rem 1.25rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

.term-body .g {
  color: #34d399;
}

.term-body .b {
  color: #60a5fa;
}

.term-body .y {
  color: #fbbf24;
}

.term-body .r {
  color: #f87171;
}

.term-body .dim {
  color: rgba(255, 255, 255, 0.3);
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: rgba(255, 255, 255, 0.7);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* K8s cluster visual */
.k8s-visual {
  width: 85%;
  position: relative;
}

.k8s-cluster {
  border: 0.5px solid rgba(99, 179, 237, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  background: rgba(99, 179, 237, 0.03);
}

.k8s-label {
  font-size: 10px;
  color: rgba(99, 179, 237, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.k8s-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.k8s-node {
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.5rem;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.k8s-node .pod {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  margin: 2px;
  animation: pod-pulse 2s ease-in-out infinite;
}

.k8s-node .pod:nth-child(2) {
  animation-delay: 0.3s;
}

.k8s-node .pod:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pod-pulse {
  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

.k8s-svc {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}

.k8s-svc-tag {
  font-size: 9px;
  padding: 0.2rem 0.5rem;
  background: rgba(139, 92, 246, 0.15);
  border: 0.5px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  color: rgba(139, 92, 246, 0.9);
}

/* Metrics visual */
.metrics-vis {
  width: 85%;
  font-family: monospace;
  font-size: 11px;
}

.metric-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.metric-name {
  color: rgba(255, 255, 255, 0.4);
  width: 100px;
  flex-shrink: 0;
  font-size: 10px;
}

.metric-bar-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.metric-bar {
  height: 100%;
  border-radius: 2px;
  animation: bar-fill 1.5s ease-out forwards;
  transform-origin: left;
}

.metric-bar-cpu {
  --w: 72%;
  background: linear-gradient(90deg, #34d399, #6ee7b7);
}

.metric-bar-memory {
  --w: 54%;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
}

.metric-bar-disk {
  --w: 38%;
  background: linear-gradient(90deg, #a78bfa, #c4b5fd);
}

.metric-bar-network {
  --w: 89%;
  background: linear-gradient(90deg, #fbbf24, #fde68a);
}

.metric-bar-error {
  --w: 2%;
  background: linear-gradient(90deg, #f87171, #fca5a5);
}

@keyframes bar-fill {
  from {
    width: 0;
  }

  to {
    width: var(--w);
  }
}

.metric-val {
  color: rgba(255, 255, 255, 0.5);
  width: 36px;
  text-align: right;
  font-size: 10px;
}

/* Experience */
#experience {
  padding: 8rem 4rem;
  background: linear-gradient(180deg, #000 0%, #050505 100%);
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.exp-sticky {
  position: sticky;
  top: 8rem;
}

.exp-sticky .section-big {
  text-align: left;
  margin-bottom: 1rem;
}

.exp-aside {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

.exp-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-item {
  padding: 2.5rem 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
  transition: padding 0.3s;
}

.exp-item:first-child {
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
}

.exp-item-inner {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 2rem;
  align-items: start;
}

.exp-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  padding-top: 0.2rem;
}

.exp-role {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.exp-co {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exp-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.exp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.exp-pill {
  font-size: 11px;
  padding: 0.2rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.45);
}

/* Certs */
#certs {
  padding: 8rem 4rem;
  background: #000;
}

.certs-header {
  text-align: center;
  margin-bottom: 5rem;
}

.certs-rail {
  display: flex;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.certs-rail::-webkit-scrollbar {
  display: none;
}

.cert-tile {
  flex: 0 0 calc(33.33% - 2px);
  min-width: 260px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  padding: 2.5rem;
  transition:
    background 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}

.cert-tile::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.cert-tile:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.cert-badge-big {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 1.25rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.cert-name-big {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.cert-body {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.cert-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 11px;
  color: rgba(52, 211, 153, 0.8);
}

.cert-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.cert-status.in-progress {
  color: rgba(251, 191, 36, 0.8);
}

.cert-status.in-progress::before {
  background: #fbbf24;
  animation: status-pulse 1.5s ease-in-out infinite;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* Contact */
#contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
  background: #000;
  text-align: center;
}

.contact-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(99, 179, 237, 0.12) 0%,
    rgba(139, 92, 246, 0.08) 40%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
  animation: orb-drift 10s ease-in-out infinite alternate;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.contact-eyebrow {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.contact-title {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.contact-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
}

.contact-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 3rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.contact-grid {
  display: flex;
  gap: 2px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  cursor: none;
  transition: all 0.25s;
}

.contact-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.contact-chip svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* Footer */
footer {
  padding: 1.5rem 3rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000;
}

.footer-left {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-right {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    display: none;
  }

  #hero {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  #skills,
  #projects,
  #experience,
  #certs,
  #contact {
    padding: 5rem 1.5rem;
  }

  .skills-bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card.wide,
  .bento-card.med,
  .bento-card.full {
    grid-column: span 2;
  }

  .proj-block {
    grid-template-columns: 1fr;
  }

  .proj-visual {
    min-height: 220px;
  }

  .proj-block.reverse {
    direction: ltr;
  }

  .exp-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .exp-sticky {
    position: static;
  }

  .exp-item-inner {
    grid-template-columns: 1fr;
  }

  .certs-rail {
    flex-wrap: wrap;
  }

  .cert-tile {
    flex: 0 0 calc(50% - 1px);
  }

  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
