:root {
  --ink: #eef8ff;
  --muted: #91a6b8;
  --panel: #0b1c2d;
  --panel-2: #0d2237;
  --line: rgba(147, 190, 219, 0.15);
  --cyan: #38d9ff;
  --blue: #1584ff;
  --violet: #9b7cff;
  --green: #44e3a1;
  --navy: #06111d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

svg {
  width: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(6, 17, 29, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(56, 217, 255, 0.45);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(56, 217, 255, 0.2), rgba(21, 132, 255, 0.04));
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 20px rgba(56, 217, 255, 0.08);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.67rem;
}

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

nav a {
  color: #b9c9d5;
  font-size: 0.78rem;
  font-weight: 650;
  transition: color 160ms ease;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 750;
}

.hero {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 70px;
  align-items: center;
  min-height: 700px;
  padding-top: 88px;
  padding-bottom: 80px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(68, 227, 161, 0.18);
  border-radius: 999px;
  background: rgba(68, 227, 161, 0.06);
  color: #8cefc2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.availability span,
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(68, 227, 161, 0.1);
}

.kicker,
.panel-label {
  margin: 0 0 20px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 5.5vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h1 span {
  color: transparent;
  background: linear-gradient(92deg, var(--cyan), #6cabff 52%, #b29cff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-summary {
  max-width: 610px;
  margin-bottom: 34px;
  color: #a8bac8;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(100deg, #25c8fa, #1d7cf3);
  color: #04101b;
  box-shadow: 0 10px 35px rgba(21, 132, 255, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: #c9d7e1;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 590px;
  margin-top: 46px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.mini-metrics div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.mini-metrics strong,
.mini-metrics span {
  display: block;
}

.mini-metrics strong {
  font-size: 0.78rem;
}

.mini-metrics span {
  margin-top: 6px;
  color: #71899b;
  font-size: 0.65rem;
}

.pipeline-card {
  position: relative;
  overflow: hidden;
  min-height: 475px;
  border: 1px solid rgba(56, 217, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(rgba(56, 217, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 217, 255, 0.025) 1px, transparent 1px),
    linear-gradient(145deg, rgba(14, 42, 66, 0.95), rgba(7, 24, 39, 0.98));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pipeline-card::after {
  position: absolute;
  top: -140px;
  right: -130px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(45, 141, 255, 0.1);
  filter: blur(30px);
  content: "";
}

.pipeline-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--line);
}

.pipeline-head p,
.pipeline-head h2 {
  margin: 0;
}

.pipeline-head p {
  color: #6f8ca1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.pipeline-head h2 {
  margin-top: 6px;
  font-size: 1.15rem;
}

.live-badge {
  padding: 6px 9px;
  border: 1px solid rgba(56, 217, 255, 0.2);
  border-radius: 5px;
  color: var(--cyan);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.pipeline-visual {
  display: grid;
  grid-template-columns: 58px 1fr 170px 1fr 58px;
  align-items: center;
  padding: 60px 26px;
}

.source-node,
.insight-node {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #77a2bd;
  font-size: 0.57rem;
  font-weight: 700;
}

.source-node svg {
  width: 35px;
}

.flow-line {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 217, 255, 0.15), var(--cyan));
}

.flow-line i {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
  animation: signal 2s ease-in-out infinite;
}

@keyframes signal {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-45px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
}

.medallion {
  position: relative;
  display: grid;
  gap: 12px;
}

.medal {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  min-height: 62px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 18, 29, 0.72);
}

.medal span {
  grid-row: 1 / 3;
  color: #56758b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.55rem;
}

.medal strong {
  font-size: 0.63rem;
  letter-spacing: 0.09em;
}

.medal small {
  color: #688297;
  font-size: 0.54rem;
}

.medal.bronze {
  border-left: 2px solid #b97750;
}

.medal.silver {
  border-left: 2px solid #c8d8e3;
}

.medal.gold {
  border-left: 2px solid #f6ca55;
}

.bars {
  display: flex;
  height: 34px;
  align-items: end;
  gap: 4px;
}

.bars b {
  width: 6px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(var(--cyan), var(--blue));
}

.bars b:nth-child(1) {
  height: 45%;
}

.bars b:nth-child(2) {
  height: 100%;
}

.bars b:nth-child(3) {
  height: 72%;
}

.pipeline-foot {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 16px;
  border-top: 1px solid var(--line);
  color: #607d91;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.52rem;
}

.pipeline-foot span::before {
  margin-right: 6px;
  color: var(--green);
  content: "✓";
}

.ticker {
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 33px;
  min-height: 62px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #081725;
  color: #577288;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ticker i {
  color: #1a435d;
  font-style: normal;
}

.block-section {
  padding-top: 115px;
  padding-bottom: 115px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.skill-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(15, 41, 63, 0.8), rgba(8, 27, 43, 0.85));
}

.skill-card::after {
  position: absolute;
  right: -50px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.05;
  filter: blur(10px);
  content: "";
}

.skill-card.cyan {
  color: var(--cyan);
}

.skill-card.violet {
  color: var(--violet);
}

.skill-card.blue {
  color: #4b9eff;
}

.skill-card.green {
  color: var(--green);
}

.skill-card > p {
  margin-top: 55px;
  margin-bottom: 11px;
  color: #6e8ba0;
  font-size: 0.63rem;
}

.skill-card h3 {
  color: var(--ink);
  font-size: 1.18rem;
}

.skill-card ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.skill-card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: #9eb1c0;
  font-size: 0.7rem;
}

.skill-card li::before {
  margin-right: 8px;
  color: currentColor;
  content: "›";
}

.skill-orbit {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
}

.skill-orbit::before,
.skill-orbit::after {
  position: absolute;
  inset: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.skill-orbit::after {
  inset: 19px;
  background: currentColor;
  box-shadow: 0 0 15px currentColor;
}

.projects {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #081725;
}

.project-list {
  display: grid;
  gap: 12px;
}

.project-card {
  display: grid;
  grid-template-columns: 75px 1fr 250px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 35, 54, 0.72);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 217, 255, 0.28);
}

.project-number {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: 1px solid rgba(56, 217, 255, 0.2);
  border-radius: 12px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.project-main > p:first-child {
  margin-bottom: 7px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.project-main h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.project-description {
  max-width: 650px;
  margin-bottom: 16px;
  color: #829bae;
  font-size: 0.74rem;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #8ca5b8;
  font-size: 0.55rem;
}

.project-outcome {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.project-outcome small,
.project-outcome strong,
.project-outcome a {
  display: block;
}

.project-outcome small {
  color: #617b8f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.project-outcome strong {
  margin: 8px 0 20px;
  font-size: 0.83rem;
}

.project-outcome a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 800;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.83fr;
  gap: 110px;
  align-items: center;
}

.about-copy h2 {
  max-width: 600px;
  margin-bottom: 32px;
}

.about-copy > p:not(.kicker) {
  max-width: 620px;
  color: #91a7b8;
  font-size: 0.86rem;
  line-height: 1.85;
}

.about-copy .text-link {
  margin-top: 15px;
}

.cert-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(15, 43, 67, 0.82), rgba(8, 26, 41, 0.88));
}

.panel-label {
  margin-bottom: 24px;
  color: #6f8ca2;
}

.cert-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.cert-row > span {
  display: grid;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(56, 217, 255, 0.18);
  border-radius: 9px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.61rem;
  font-weight: 900;
}

.cert-row strong,
.cert-row small {
  display: block;
}

.cert-row strong {
  font-size: 0.8rem;
}

.cert-row small {
  margin-top: 5px;
  color: #6e879a;
  font-size: 0.6rem;
}

.currently {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 8px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(56, 217, 255, 0.055);
}

.currently small,
.currently strong {
  display: block;
}

.currently small {
  color: #648197;
  font-size: 0.52rem;
  letter-spacing: 0.09em;
}

.currently strong {
  margin-top: 6px;
  font-size: 0.7rem;
}

.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(56, 217, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 217, 255, 0.03) 1px, transparent 1px),
    #0a1b2a;
  background-size: 32px 32px;
}

.contact-glow {
  position: absolute;
  top: -350px;
  left: 50%;
  width: 780px;
  height: 650px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(32, 148, 255, 0.14);
  filter: blur(70px);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact h2 {
  margin-bottom: 24px;
}

.contact-inner > p:not(.kicker) {
  max-width: 670px;
  margin: 0 auto 34px;
  color: #91a8b9;
  font-size: 0.88rem;
  line-height: 1.75;
}

.contact-actions {
  justify-content: center;
}

.button.light {
  background: var(--ink);
  color: #081624;
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: #b7cad8;
}

footer {
  border-top: 1px solid var(--line);
  background: #06111d;
}

.footer-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  color: #5c7588;
  font-size: 0.6rem;
}

.footer-inner a {
  color: #8299aa;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .pipeline-card {
    max-width: 720px;
  }

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

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

  .project-outcome {
    grid-column: 2;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-grid {
    gap: 55px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 68px;
    padding: 0 16px;
  }

  .header-cta {
    font-size: 0;
  }

  .header-cta svg {
    width: 22px;
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    gap: 52px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .availability {
    align-items: flex-start;
    line-height: 1.4;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .mini-metrics {
    gap: 14px;
  }

  .mini-metrics div + div {
    padding-left: 14px;
  }

  .pipeline-visual {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 38px 28px;
  }

  .flow-line {
    width: 1px;
    height: 22px;
    justify-self: center;
    background: linear-gradient(rgba(56, 217, 255, 0.15), var(--cyan));
  }

  .flow-line i {
    top: auto;
    right: -2px;
    bottom: 0;
    animation: none;
  }

  .medallion {
    width: min(100%, 260px);
    justify-self: center;
  }

  .pipeline-foot {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .ticker {
    justify-content: flex-start;
    padding-left: 24px;
  }

  .block-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }

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

  .skill-card {
    min-height: 295px;
  }

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

  .project-outcome {
    grid-column: 1;
  }

  .about-grid {
    gap: 50px;
  }

  .cert-panel {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding: 18px 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
