:root {
  --bg: #060709;
  --bg-accent: #111318;
  --surface: rgba(18, 21, 27, 0.7);
  --surface-strong: rgba(26, 30, 38, 0.95);
  --text: #f4f7fb;
  --muted: #a7b0bd;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #6ea8ff;
  --primary-dark: #3e7fe7;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  --chip-bg: linear-gradient(180deg, rgba(49, 61, 80, 0.78), rgba(34, 42, 57, 0.9));
  --chip-bg-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  --chip-border: rgba(255, 255, 255, 0.09);
  --chip-text: #dcebff;
  --chip-muted: #aab6c7;
  --card-blue-surface:
    radial-gradient(circle at top right, rgba(110, 168, 255, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(25, 40, 67, 0.9), rgba(12, 16, 24, 0.97));
  --card-blue-surface-soft:
    radial-gradient(circle at top right, rgba(110, 168, 255, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(22, 34, 56, 0.88), rgba(12, 16, 24, 0.96));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(110, 168, 255, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 22%),
    radial-gradient(circle at bottom, rgba(62, 127, 231, 0.12), transparent 30%),
    linear-gradient(145deg, #030406 0%, #0b0d11 42%, #151922 100%);
}

body.is-loading {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #4d88f3 0%, #8fc0ff 45%, #dcecff 100%);
  box-shadow: 0 0 18px rgba(110, 168, 255, 0.48);
  transition: width 120ms ease-out;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 13, 18, 0.82);
  color: #dcebff;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(110, 168, 255, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(3, 4, 6, 0.98), rgba(11, 13, 17, 0.98) 42%, rgba(21, 25, 34, 0.98));
  transition: opacity 700ms ease, visibility 700ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-core {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(110, 168, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.loader-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 18px
    ),
    linear-gradient(145deg, #020305 0%, #090b0f 55%, #111723 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.loader-curtain-left {
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  animation: curtainLeftOpen 2.2s cubic-bezier(0.72, 0, 0.2, 1) 0.45s forwards;
}

.loader-curtain-right {
  right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  animation: curtainRightOpen 2.2s cubic-bezier(0.72, 0, 0.2, 1) 0.45s forwards;
}

.loader-emblem {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
}

.loader-emblem::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(143, 192, 255, 0.18);
  box-shadow: 0 0 30px rgba(110, 168, 255, 0.18);
  animation: emblemPulse 2.2s ease-in-out infinite;
}

.emblem-x {
  position: absolute;
  font-family: "Syne", sans-serif;
  font-size: 5.3rem;
  line-height: 1;
  color: rgba(232, 240, 255, 0.16);
  text-shadow: 0 0 18px rgba(110, 168, 255, 0.18);
}

.emblem-eye {
  position: relative;
  width: 68px;
  height: 40px;
  border: 2px solid rgba(143, 192, 255, 0.88);
  border-radius: 100px / 70px;
  box-shadow: 0 0 25px rgba(110, 168, 255, 0.24);
  background: rgba(9, 13, 19, 0.88);
}

.emblem-eye::before,
.emblem-eye::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 2px;
  background: rgba(143, 192, 255, 0.7);
}

.emblem-eye::before {
  left: -15px;
}

.emblem-eye::after {
  right: -15px;
}

.emblem-eye-iris {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #dcecff 0%, #8fc0ff 38%, #3d7fe6 100%);
  box-shadow: 0 0 20px rgba(110, 168, 255, 0.6);
  animation: irisScan 1.8s ease-in-out infinite;
}

.loader-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #8fc0ff;
}

.loader-core h2 {
  margin: 0 0 22px;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.loader-bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.loader-progress {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #4d88f3 0%, #8fc0ff 45%, #c7e0ff 100%);
  box-shadow: 0 0 24px rgba(110, 168, 255, 0.52);
  animation: loaderProgress 5s ease forwards;
}

.loader-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

@keyframes loaderProgress {
  0% {
    width: 0;
  }

  15% {
    width: 18%;
  }

  42% {
    width: 51%;
  }

  76% {
    width: 82%;
  }

  100% {
    width: 100%;
  }
}

@keyframes curtainLeftOpen {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes curtainRightOpen {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes emblemPulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes irisScan {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.95);
  }

  25% {
    transform: translate(-28%, -50%) scale(1);
  }

  75% {
    transform: translate(-72%, -50%) scale(1);
  }
}

@keyframes brandEntrance {
  0% {
    opacity: 0;
    transform: translateY(-18px) scale(0.9);
    filter: blur(8px);
  }

  65% {
    opacity: 1;
    transform: translateY(3px) scale(1.04);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }

  20% {
    transform: translateX(6px) translateY(-2px) rotate(1deg);
  }

  40% {
    transform: translateX(-5px) translateY(1px) rotate(-1deg);
  }

  60% {
    transform: translateX(7px) translateY(-3px) rotate(1deg);
  }

  80% {
    transform: translateX(-4px) translateY(1px) rotate(-0.8deg);
  }
}

@keyframes ambientDriftOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -16px, 0) scale(1.06);
  }
}

@keyframes ambientDriftTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-16px, 14px, 0) scale(0.96);
  }
}

@keyframes typingCaret {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes scanSweep {
  0%,
  100% {
    transform: rotate(-22deg);
    opacity: 0.45;
  }

  50% {
    transform: rotate(18deg);
    opacity: 0.9;
  }
}

@keyframes botPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.92);
    box-shadow: 0 0 0 0 rgba(110, 168, 255, 0.28);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 0 16px rgba(110, 168, 255, 0);
  }
}

@keyframes defenseBeam {
  0%,
  100% {
    opacity: 0.2;
    transform: rotate(-10deg) scaleX(0.92);
  }

  50% {
    opacity: 0.92;
    transform: rotate(5deg) scaleX(1.08);
  }
}

@keyframes threatFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -10px, 0) scale(1.04);
  }
}

@keyframes threatBlink {
  0%,
  100% {
    opacity: 0.58;
    filter: saturate(0.8);
  }

  50% {
    opacity: 1;
    filter: saturate(1.2);
  }
}

@keyframes pulseShot {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }

  12% {
    opacity: 1;
  }

  68% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(180px, -78px) scale(1);
  }
}

@keyframes ringWave {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.16;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.34;
  }
}

@keyframes toastBlink {
  0%,
  16%,
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }

  22%,
  44% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes widgetGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(110, 168, 255, 0);
  }

  50% {
    box-shadow: 0 0 30px rgba(110, 168, 255, 0.08);
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: start;
  padding: 24px 0 56px;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(26px);
}

.hero-ambient-one {
  top: 18%;
  left: -8%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(110, 168, 255, 0.22), transparent 68%);
  animation: ambientDriftOne 8s ease-in-out infinite;
}

.hero-ambient-two {
  right: 2%;
  bottom: 12%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(143, 192, 255, 0.14), transparent 70%);
  animation: ambientDriftTwo 9s ease-in-out infinite;
}

.hero-ambient-grid {
  inset: auto 12% 18% auto;
  width: 240px;
  height: 240px;
  border-radius: 32px;
  background-image:
    linear-gradient(rgba(143, 192, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 192, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.22;
  filter: blur(0);
  transform: rotate(12deg);
}

.nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: sticky;
  top: 16px;
  z-index: 50;
  border-radius: 999px;
  background: rgba(10, 13, 18, 0.32);
  border: 1px solid transparent;
  backdrop-filter: blur(0);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    backdrop-filter 240ms ease;
}

.nav.is-scrolled {
  background: rgba(10, 13, 18, 0.74);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.brand,
.nav a {
  color: var(--text);
  text-decoration: none;
}

.brand {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.animated-brand {
  position: relative;
  overflow: visible;
}

.brand-text {
  display: inline-block;
  transform-origin: center;
  animation:
    brandEntrance 1100ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both,
    brandFloat 3.2s cubic-bezier(0.68, -0.2, 0.32, 1.2) 1.2s infinite;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a.is-active {
  color: #dcebff;
  text-shadow: 0 0 16px rgba(110, 168, 255, 0.32);
}

.hero-content h1,
.section-heading h2,
.contact-panel h2 {
  font-family: "Syne", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.2rem);
  max-width: 9ch;
}

.hero-text,
.section-heading p,
.info-card p,
.showcase-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-topline {
  margin-bottom: 16px;
}

.typewriter-text {
  min-height: 3.8em;
}

.typewriter-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 6px;
  vertical-align: -0.12em;
  background: rgba(220, 236, 255, 0.85);
  animation: typingCaret 0.8s steps(1) infinite;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(69, 113, 181, 0.2), rgba(33, 49, 76, 0.84));
  border: 1px solid rgba(110, 168, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(0, 0, 0, 0.26);
  color: var(--chip-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.availability-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #a3ccff, #5f9cff);
  box-shadow: 0 0 12px rgba(110, 168, 255, 0.5);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--primary-dark);
}

.section-tag,
.card-label,
.showcase-card > span,
.stack-card > span,
.project-label,
.engineering-kicker,
.timeline-date,
.education-period,
.contact-chip span,
.social-card span,
.issuer-mark,
.cert-kicker,
.cert-spotlight span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip-bg-soft);
  border: 1px solid var(--chip-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px rgba(0, 0, 0, 0.16);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--chip-text);
}

.section-tag::before,
.showcase-card > span::before,
.stack-card > span::before,
.project-label::before,
.engineering-kicker::before,
.timeline-date::before,
.education-period::before,
.contact-chip span::before,
.social-card span::before,
.issuer-mark::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8fc0ff, #3e7fe7);
  box-shadow: 0 0 10px rgba(110, 168, 255, 0.45);
}

.section-heading > .section-tag {
  max-width: none;
}

.hero-actions,
.cards,
.showcase-grid {
  display: flex;
  gap: 16px;
}

.engineering-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.stack-shell {
  margin-top: 28px;
  padding: 30px;
  border-radius: 30px;
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.stack-intro h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.stack-intro p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.75;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stack-card {
  min-height: 132px;
  padding: 18px;
  border-radius: 22px;
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stack-logo {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(110, 168, 255, 0.22), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(110, 168, 255, 0.18);
  color: #dcebff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.achievement-card {
  min-height: 240px;
  padding: 28px;
  border-radius: 28px;
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.achievement-card-primary {
  background: var(--card-blue-surface);
}

.achievement-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(58, 89, 141, 0.3), rgba(30, 42, 62, 0.84));
  border: 1px solid rgba(110, 168, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.18);
  color: var(--chip-text);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.achievement-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.achievement-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.stack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 168, 255, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.stack-card > span,
.project-label {
  margin-bottom: 12px;
}

.stack-card h4 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 32px;
  flex-wrap: wrap;
}

.soc-strip {
  position: relative;
  margin-top: 24px;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(110, 168, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(18, 24, 35, 0.94), rgba(10, 13, 19, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.soc-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 192, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 192, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.24;
  pointer-events: none;
}

.soc-strip-head,
.soc-strip-grid,
.soc-strip-card {
  position: relative;
  z-index: 1;
}

.soc-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.soc-strip-label,
.soc-strip-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #dcebff;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.soc-strip-label::before,
.soc-strip-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8fc0ff, #3e7fe7);
  box-shadow: 0 0 10px rgba(110, 168, 255, 0.45);
}

.soc-strip-status {
  color: #c6f7db;
}

.soc-strip-status::before {
  background: linear-gradient(145deg, #7df6b4, #28bd68);
  box-shadow: 0 0 12px rgba(92, 226, 149, 0.45);
}

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

.soc-strip-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.soc-strip-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #dcebff;
}

.soc-strip-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-stat {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-stat::before,
.hero-card::before,
.info-card::before,
.showcase-card::before,
.experience-copy::before,
.contact-panel::before,
.contact-chip::before,
.social-card::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 168, 255, 0.13), transparent 68%);
  opacity: 0.38;
  pointer-events: none;
  transition: transform 280ms ease, opacity 280ms ease;
  z-index: 0;
}

.hero-stat > *,
.hero-card > *,
.info-card > *,
.showcase-card > *,
.experience-copy > *,
.contact-panel > *,
.contact-chip > *,
.social-card > *,
.site-footer > * {
  position: relative;
  z-index: 1;
}

.hero-stat:hover,
.hero-card:hover,
.info-card:hover,
.experience-copy:hover,
.contact-panel:hover,
.contact-chip:hover,
.social-card:hover,
.site-footer:hover {
  border-color: rgba(110, 168, 255, 0.22);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.hero-stat:hover,
.hero-card:hover,
.info-card:hover,
.experience-copy:hover,
.contact-chip:hover,
.social-card:hover {
  transform: translateY(-4px);
}

.hero-stat:hover::before,
.hero-card:hover::before,
.info-card:hover::before,
.showcase-card:hover::before,
.experience-copy:hover::before,
.contact-panel:hover::before,
.contact-chip:hover::before,
.social-card:hover::before,
.site-footer:hover::before {
  transform: scale(1.14);
  opacity: 0.8;
}

.hero-stat strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Syne", sans-serif;
  font-size: 1.7rem;
  color: #8fc0ff;
}

.hero-stat span {
  color: var(--muted);
  line-height: 1.6;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transform-origin: center;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  max-width: 100%;
  text-align: center;
}

.button:hover {
  transform: translateY(-4px) scale(1.06);
}

.button::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.24) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.button:hover::after {
  transform: translateX(130%);
}

.button-primary {
  background: var(--primary);
  color: #08111f;
  box-shadow: 0 18px 35px rgba(62, 127, 231, 0.28);
}

.button-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 22px 42px rgba(62, 127, 231, 0.38);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(110, 168, 255, 0.32);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.hero-card,
.info-card,
.showcase-card,
.contact-panel {
  backdrop-filter: blur(12px);
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-card {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
}

.hero-content {
  align-self: start;
  padding-top: 54px;
}

.threat-hunt-scene {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(110, 168, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(18, 24, 35, 0.95), rgba(10, 13, 19, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.threat-hunt-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 192, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 192, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.3;
  pointer-events: none;
}

.threat-hunt-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.threat-hunt-badge,
.threat-hunt-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #dcebff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.threat-hunt-badge::before,
.threat-hunt-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8fc0ff, #3e7fe7);
  box-shadow: 0 0 10px rgba(110, 168, 255, 0.45);
}

.threat-hunt-status {
  color: #a9e8c2;
}

.threat-hunt-status::before {
  background: linear-gradient(145deg, #7df6b4, #28bd68);
  box-shadow: 0 0 12px rgba(92, 226, 149, 0.45);
}

.threat-hunt-arena {
  position: relative;
  min-height: 170px;
  border-radius: 20px;
  background:
    radial-gradient(circle at left 28% bottom 15%, rgba(110, 168, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.scan-ring {
  position: absolute;
  left: 27%;
  bottom: 30%;
  border-radius: 50%;
  border: 1px solid rgba(110, 168, 255, 0.16);
  transform: translate(-50%, -50%);
  animation: ringWave 4.2s ease-in-out infinite;
}

.scan-ring-one {
  width: 140px;
  height: 140px;
}

.scan-ring-two {
  width: 210px;
  height: 210px;
  animation-delay: 0.8s;
}

.defense-bot {
  position: absolute;
  left: 27%;
  bottom: 30%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, 50%);
}

.defense-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #cfe3ff 0%, #7fb2ff 42%, #2c4f84 100%);
  transform: translate(-50%, -50%);
  animation: botPulse 2.6s ease-in-out infinite;
}

.defense-core::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(110, 168, 255, 0.2);
}

.defense-gun {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 6px;
  border-radius: 999px;
  transform-origin: left center;
  transform: translate(2px, -50%) rotate(-18deg);
  background: linear-gradient(90deg, rgba(143, 192, 255, 0.75), rgba(143, 192, 255, 0.08));
  box-shadow: 0 0 18px rgba(110, 168, 255, 0.18);
}

.defense-beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 76px;
  transform-origin: left center;
  transform: rotate(-10deg);
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, rgba(110, 168, 255, 0.26), rgba(110, 168, 255, 0.04) 55%, transparent 100%);
  clip-path: polygon(0 43%, 100% 0, 100% 100%, 0 57%);
  filter: blur(1px);
  animation: defenseBeam 3.2s ease-in-out infinite;
}

.defense-pulse {
  position: absolute;
  left: calc(50% + 18px);
  top: calc(50% - 8px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #dcecff 0%, #7fb2ff 58%, rgba(127, 178, 255, 0) 100%);
  box-shadow: 0 0 12px rgba(110, 168, 255, 0.42);
  animation: pulseShot 3.1s linear infinite;
}

.defense-pulse-two {
  animation-delay: 1.55s;
}

.threat {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 120, 120, 0.34);
  background:
    radial-gradient(circle, rgba(255, 120, 120, 0.3), rgba(255, 120, 120, 0.02) 72%);
  box-shadow: 0 0 18px rgba(255, 84, 84, 0.14);
  animation: threatFloat 3.2s ease-in-out infinite, threatBlink 2.3s ease-in-out infinite;
}

.threat span,
.threat span::before,
.threat span::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 163, 163, 0.88);
  transform: translate(-50%, -50%);
  content: "";
}

.threat span::before {
  transform: translate(-50%, -50%) rotate(60deg);
}

.threat span::after {
  transform: translate(-50%, -50%) rotate(-60deg);
}

.threat-one {
  top: 18%;
  right: 20%;
}

.threat-two {
  top: 52%;
  right: 10%;
  animation-delay: 0.55s;
}

.threat-three {
  top: 20%;
  right: 39%;
  animation-delay: 1s;
}

.threat-four {
  top: 62%;
  right: 30%;
  animation-delay: 1.4s;
}

.threat-toast {
  position: absolute;
  left: 68%;
  bottom: 18px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(94, 230, 152, 0.24);
  background: linear-gradient(180deg, rgba(42, 86, 62, 0.72), rgba(19, 42, 30, 0.92));
  color: #c6f7db;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  animation: toastBlink 5.6s ease-in-out infinite;
  white-space: nowrap;
}

.security-widget {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(110, 168, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(18, 24, 35, 0.94), rgba(10, 13, 19, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: widgetGlow 4.8s ease-in-out infinite;
}

.security-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 192, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 192, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  opacity: 0.22;
}

.security-widget-head,
.security-widget-grid,
.security-widget-card {
  position: relative;
  z-index: 1;
}

.security-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.security-widget-label,
.security-widget-state,
.security-widget-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #dcebff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.security-widget-label::before,
.security-widget-state::before,
.security-widget-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8fc0ff, #3e7fe7);
  box-shadow: 0 0 10px rgba(110, 168, 255, 0.45);
}

.security-widget-state {
  color: #c6f7db;
}

.security-widget-state::before {
  background: linear-gradient(145deg, #7df6b4, #28bd68);
  box-shadow: 0 0 12px rgba(92, 226, 149, 0.45);
}

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

.security-widget-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "kicker value"
    "text text";
  align-items: center;
  gap: 12px 16px;
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 26px rgba(0, 0, 0, 0.14);
}

.security-widget-kicker {
  grid-area: kicker;
  margin: 0;
}

.security-widget-card strong {
  grid-area: value;
  display: block;
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  color: #dcebff;
  text-align: right;
  white-space: nowrap;
}

.security-widget-card p {
  grid-area: text;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 34ch;
}

.portrait-shell {
  position: relative;
  margin-top: 18px;
  margin-bottom: 22px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 4.5;
  background:
    radial-gradient(circle at top, rgba(110, 168, 255, 0.3), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portrait-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 7, 9, 0.18) 100%);
  pointer-events: none;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(244, 247, 251, 0.72);
  font-family: "Syne", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at center, rgba(110, 168, 255, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08));
}

.portrait-shell.is-missing .portrait {
  display: none;
}

.portrait-shell.is-missing .portrait-fallback {
  display: flex;
}

.stat-grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.stat-grid article {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.stat-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: var(--primary);
}

.section {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  gap: 18px;
  align-items: end;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  max-width: 13ch;
}

.section-heading p {
  max-width: 62ch;
}

.cards,
.showcase-grid {
  margin-top: 28px;
  flex-wrap: wrap;
}

.info-card,
.showcase-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --float-y: 0px;
  flex: 1 1 280px;
  padding: 26px;
  border-radius: 26px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.engineering-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border-radius: 28px;
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.engineering-card-primary {
  background: var(--card-blue-surface);
}

.engineering-kicker {
  margin-bottom: 18px;
}

.engineering-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.12;
}

.engineering-card p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 34ch;
}

.engineering-panel {
  background: var(--card-blue-surface-soft);
}

.experience-panel {
  margin-top: 28px;
}

.experience-copy {
  padding: 28px;
  border-radius: 28px;
  backdrop-filter: blur(12px);
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.experience-copy h3 {
  margin-top: 10px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.cert-showcase {
  margin-top: 28px;
}

.cert-featured-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: var(--card-blue-surface);
}

.cert-featured-card h3 {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  max-width: 14ch;
}

.cert-featured-card p {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.75;
}

.cert-spotlight {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cert-spotlight span {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--chip-muted);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.cert-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 26px;
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
  cursor: pointer;
}

.cert-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -16% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 168, 255, 0.16), transparent 65%);
  opacity: 0.6;
  transition: transform 280ms ease, opacity 280ms ease;
  pointer-events: none;
}

.cert-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(110, 168, 255, 0.22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.cert-card:hover::before {
  transform: scale(1.15);
  opacity: 1;
}

.cert-grid .reveal:nth-child(2) {
  transition-delay: 40ms;
}

.cert-grid .reveal:nth-child(3) {
  transition-delay: 80ms;
}

.cert-grid .reveal:nth-child(4) {
  transition-delay: 120ms;
}

.cert-grid .reveal:nth-child(5) {
  transition-delay: 160ms;
}

.cert-grid .reveal:nth-child(6) {
  transition-delay: 200ms;
}

.cert-card-primary {
  background: var(--card-blue-surface);
}

.cert-card-private {
  background: var(--card-blue-surface-soft);
}

.cert-card h3 {
  margin: 18px 0 14px;
  font-size: 1.35rem;
  line-height: 1.3;
  max-width: 20ch;
}

.cert-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cert-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cert-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip-bg-soft);
  border: 1px solid var(--chip-border);
  color: var(--chip-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.issuer-mark {
  font-weight: 700;
}

.cert-kicker {
  margin: 0 0 18px;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(110, 168, 255, 0.12);
  border: 1px solid rgba(110, 168, 255, 0.24);
  color: #dcebff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.badge-link:hover {
  transform: translateY(-2px);
  background: rgba(110, 168, 255, 0.18);
}

.badge-link-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.career-timeline {
  margin-top: 28px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(110, 168, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.timeline-head h3 {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 140px;
  width: 1px;
  background: linear-gradient(180deg, rgba(143, 192, 255, 0.35), rgba(143, 192, 255, 0.05));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 134px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8fc0ff;
  box-shadow: 0 0 16px rgba(110, 168, 255, 0.55);
}

.career-timeline.is-active .timeline-item {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.career-timeline.is-active .timeline-item:nth-child(1) {
  transition-delay: 80ms;
}

.career-timeline.is-active .timeline-item:nth-child(2) {
  transition-delay: 230ms;
}

.career-timeline.is-active .timeline-item:nth-child(3) {
  transition-delay: 380ms;
}

.timeline-date {
  align-self: start;
}

.timeline-body {
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.timeline-body:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 168, 255, 0.22);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.timeline-body h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.timeline-company {
  color: var(--text);
  font-weight: 700;
}

.timeline-body p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.education-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.education-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 28px;
  border-radius: 28px;
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.education-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 168, 255, 0.22);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
}

.education-card-primary {
  background: var(--card-blue-surface);
}

.education-period {
  margin-bottom: 18px;
}

.education-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.2;
  max-width: 18ch;
}

.education-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 32ch;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  background: var(--card-blue-surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 168, 255, 0.14), transparent 66%);
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 168, 255, 0.22);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
}

.project-card-primary {
  background: var(--card-blue-surface);
}

.project-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.18;
  max-width: 16ch;
}

.project-card p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.75;
}

.project-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.project-expand p {
  overflow: hidden;
  margin-top: 16px;
}

.project-card.is-open .project-expand {
  grid-template-rows: 1fr;
}

.project-toggle {
  margin-top: 18px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8fc0ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.two-columns {
  columns: 2;
  column-gap: 32px;
}

.info-card h3,
.showcase-card h3 {
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-card:nth-child(2) {
  --float-y: 22px;
  transform: translateY(var(--float-y));
}

.showcase-card:hover {
  transform: translateY(calc(var(--float-y) - 4px));
  border-color: rgba(110, 168, 255, 0.22);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
}

.contact-panel {
  border-radius: 32px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-copy {
  max-width: 56ch;
}

.contact-actions {
  display: grid;
  gap: 16px;
  min-width: min(420px, 100%);
}

.contact-actions > .button {
  width: 100%;
}

.contact-meta,
.social-grid {
  display: grid;
  gap: 14px;
}

.contact-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.contact-chip,
.social-card,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-chip {
  padding: 18px;
  border-radius: 22px;
  background: var(--card-blue-surface-soft);
}

.contact-chip span {
  margin-bottom: 10px;
}

.contact-chip strong {
  color: var(--text);
  font-size: 1rem;
}

.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--card-blue-surface-soft);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 168, 255, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.social-card span {
  margin-bottom: 10px;
}

.social-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer {
  margin-top: 18px;
  padding: 24px 28px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card-blue-surface-soft);
}

.site-footer h3 {
  margin: 8px 0 10px;
  font-size: 1.4rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip-bg-soft);
  border: 1px solid var(--chip-border);
  color: var(--text);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 168, 255, 0.22);
  background: linear-gradient(180deg, rgba(56, 72, 96, 0.82), rgba(29, 36, 49, 0.92));
}

.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

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

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 9, 0.74);
  backdrop-filter: blur(8px);
}

.cert-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(110, 168, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.cert-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.cert-modal-panel h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.cert-modal-issuer,
.cert-modal-text {
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 18px;
  }

  .hero-content h1 {
    max-width: 10ch;
  }

  .hero-card {
    max-width: 560px;
  }
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 10px;
  }

  .hero-content {
    padding-top: 8px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 28px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

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

  .two-columns {
    columns: 1;
  }

  .engineering-grid,
  .achievement-grid,
  .education-grid,
  .project-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats,
  .soc-strip-grid,
  .contact-meta,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list::before {
    left: 6px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 24px;
  }

  .timeline-item::before {
    left: 0;
  }

  .showcase-card:nth-child(2) {
    transform: none;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions,
  .site-footer {
    min-width: 0;
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .button,
  .button::after,
  .brand-text,
  .timeline-body,
  .education-card,
  .cert-card,
  .hero-ambient-one,
  .hero-ambient-two,
  .typewriter-text::after,
  .scan-ring,
  .defense-core,
  .defense-beam,
  .defense-pulse,
  .threat,
  .threat-toast,
  .security-widget {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
  }

  .section {
    padding: 56px 0;
  }

  .nav {
    top: 10px;
    padding: 14px 16px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

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

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .soc-strip-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .security-widget-grid {
    grid-template-columns: 1fr;
  }

  .security-widget-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "value"
      "text";
  }

  .security-widget-card strong {
    text-align: left;
  }

  .threat-toast {
    left: 50%;
  }

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

  .hero-card,
  .info-card,
  .showcase-card,
  .contact-panel,
  .stack-shell,
  .career-timeline,
  .education-card,
  .project-card,
  .cert-card,
  .site-footer {
    border-radius: 22px;
  }

  .hero-content h1 {
    max-width: none;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-copy h2 {
    max-width: none;
  }

  .social-card strong,
  .button {
    font-size: 0.95rem;
  }
}
