:root {
  --bg: #03101a;
  --bg2: #061827;
  --panel: rgba(7, 25, 38, 0.9);
  --panel-2: rgba(5, 21, 33, 0.92);
  --line: rgba(78, 164, 219, 0.28);
  --line-strong: rgba(66, 189, 255, 0.7);
  --text: #f5f7fa;
  --muted: #b9c8d5;
  --faint: #7390a5;
  --cyan: #2fc3ff;
  --teal: #1fd6c3;
  --green: #45f2a0;
  --violet: #c06cff;
  --orange: #ff9a3d;
  --blue: #50a9ff;
  --radius: 7px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -20%, rgba(46, 127, 196, .17), transparent 38%),
    linear-gradient(180deg, #020d16 0%, #041522 100%);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image:
    linear-gradient(rgba(50, 150, 200, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 150, 200, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: inherit; text-decoration: none; }
main, .site-header, .site-footer { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }

.site-header {
  height: 54px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(2, 13, 22, .88);
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.brand-mark { font-size: 22px; font-weight: 800; letter-spacing: -2px; color: #8ec9ff; text-shadow: 0 0 18px rgba(65, 185, 255, .35); }
.brand-name { font-size: 16px; }
.nav { display: flex; justify-content: center; gap: 26px; font-size: 12px; color: #d9e5ef; }
.nav a:hover { color: var(--cyan); }
.motto { border: 1px solid rgba(45, 221, 163, .26); border-radius: 5px; padding: 7px 12px; color: #6cf0ca; font: 10px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.motto span { color: var(--cyan); margin: 0 5px; }

.hero {
  position: relative;
  min-height: 380px;
  display: grid;
  grid-template-columns: 58% 42%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #061522 0%, rgba(6,21,34,.93) 35%, rgba(6,21,34,.45) 62%, rgba(4,14,24,.85) 100%),
    radial-gradient(circle at 70% 20%, rgba(70, 134, 190, .28), transparent 35%);
  z-index: 1;
}
.hero-skyline {
  position: absolute;
  right: 0%;
  top: 0;
  width: 50%;
  height: 100%;
  background: url("pittsburgh.jpg") center 40% / cover no-repeat;
  filter: saturate(.95) contrast(1.08) brightness(.95);
  opacity: .95;
  z-index: 0;
  transform: scale(1.38);
  transform-origin: center;
}
.hero-skyline::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #061522 0%, transparent 45%, rgba(3, 16, 26, .25)); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 32px 0 42px 28px; max-width: 610px; }
.eyebrow, .section-kicker { font: 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; color: #56e9bb; text-transform: uppercase; }
.eyebrow span { color: var(--cyan); margin: 0 8px; }
h1 { font-size: clamp(44px, 5.5vw, 68px); line-height: .98; margin: 22px 0 4px; letter-spacing: -.04em; }
.role { font-size: clamp(26px, 3vw, 36px); color: #d6e5f1; font-weight: 350; letter-spacing: -.03em; }
.focus { margin-top: 10px; font-size: 17px; font-weight: 600; }
.focus span { color: var(--cyan); margin: 0 5px; }
.hero-summary { font-size: 17px; line-height: 1.45; max-width: 520px; margin: 15px 0 18px; color: #f1f5f8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 42px; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid rgba(87, 175, 232, .45); border-radius: 5px; background: rgba(5, 24, 38, .85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.02); font-size: 13px; font-weight: 600; }
.button:hover { border-color: var(--cyan); background: rgba(7, 41, 63, .92); }
.button.primary { background: linear-gradient(180deg, #1e9ff6, #117ad3); border-color: #48bfff; box-shadow: 0 7px 18px rgba(0, 126, 217, .24); }
.button-icon { color: var(--cyan); font-weight: 900; font-size: 18px; }
.button.primary .button-icon { color: white; }
.button-icon.linkedin { width: 22px; height: 22px; display: grid; place-items: center; color: white; background: #1477ad; border-radius: 2px; font-size: 15px; font-family: Arial, sans-serif; }
.button-icon.github { color: white; }

.hero-pipeline { position: relative; z-index: 3; align-self: center; justify-self: end; width: 320px; margin-right: 24px; display: flex; flex-direction: column; align-items: stretch; }
.pipeline-mini { height: 41px; border: 1px solid #1688c7; background: rgba(3, 18, 29, .86); border-radius: 5px; display: flex; align-items: center; gap: 16px; padding: 0 16px; font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; color: #d9f1ff; }
.mini-icon { width: 26px; color: var(--cyan); font-size: 20px; text-align: center; }
.mini-arrow { height: 8px; line-height: 8px; text-align: center; color: var(--cyan); font-size: 14px; }
.feedback-label { position: absolute; right: -106px; top: 136px; width: 96px; color: #86bcdf; font: 9px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }

.stats-strip {
  margin-top: 12px;
  min-height: 58px;
  display: grid;
  grid-template-columns: .85fr 1.5fr 1fr 1.55fr;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(4, 18, 30, .86);
  overflow: hidden;
}
.stat { display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-icon { color: var(--cyan); font-size: 22px; }
.stat strong { display: block; font-size: 13px; }
.stat small { display: block; color: #c5d6e2; font-size: 11px; }
.stat-inline { white-space: nowrap; font-size: 11px !important; }

.panel { margin-top: 10px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(7, 27, 42, .94), rgba(4, 18, 28, .94)); border: 1px solid rgba(24, 90, 126, .15); box-shadow: inset 0 1px 0 rgba(255,255,255,.02); padding: 14px 18px 18px; }
.section-heading { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: 25px; line-height: 1.05; letter-spacing: -.025em; }
.split-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.split-heading p { margin: 2px 0 0; max-width: 520px; font-size: 13px; color: #d7e3ea; line-height: 1.45; }
.split-heading p span { color: #3fc2ff; }
.section-kicker { margin-top: 9px; color: #45bcef; }
.inline-heading { display: flex; align-items: baseline; gap: 22px; }
.inline-heading .section-kicker { margin-top: 0; }

.sensor-flow { display: grid; grid-template-columns: 1fr 20px 1.05fr 20px 1fr 20px 1fr 20px 1fr 20px 1fr 20px 1fr; align-items: stretch; }
.flow-card { min-height: 170px; padding: 14px 13px 12px; border-radius: 5px; background: rgba(4, 20, 32, .9); border: 1px solid currentColor; box-shadow: inset 0 0 35px rgba(20, 150, 200, .025); }
.flow-card h3 { text-align: center; margin: 8px 0 11px; font-size: 13px; line-height: 1.05; }
.flow-card ul { list-style: none; margin: 0; padding: 0; color: #d5e3ed; font-size: 10.5px; line-height: 1.45; }
.flow-icon { text-align: center; font-size: 31px; font-weight: 800; }
.flow-arrow { display: grid; place-items: center; color: #50cdfa; font-size: 22px; }
.flow-card.green { color: #3ef2ad; }.flow-card.mint { color: #41edaa; }.flow-card.violet { color: #b268ff; }.flow-card.blue { color: #2bb8ff; }.flow-card.cyan { color: #25bfff; }.flow-card.teal { color: #34d6db; }.flow-card.orange { color: #ff9135; }
.feedback-line { grid-column: 1 / -1; min-height: 20px; margin-inline: calc((100% - 120px) / 14.1); display: flex; align-items: flex-start; gap: 12px; color: #40c9ff; font: 9px/12px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }
.feedback-line b { flex: none; margin-top: 6px; font-weight: 500; }
.feedback-line span { position: relative; flex: 1; height: 13px; border-bottom: 2px solid currentColor; }
.feedback-to-world { border-left: 2px solid currentColor; }
.feedback-from-analytics { border-right: 2px solid currentColor; }
.feedback-line span::after { content: ""; position: absolute; width: 6px; height: 6px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; }
.feedback-to-world::after { top: 1px; left: -4px; transform: rotate(45deg); }
.feedback-from-analytics::after { bottom: -4px; left: 1px; transform: rotate(-45deg); }

.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.capability-card { min-height: 190px; padding: 15px; border-radius: 5px; background: rgba(4, 20, 32, .78); border: 1px solid var(--line); }
.capability-card h3 { margin: 0 0 12px; font-size: 14px; color: #f0f5f8; }.cap-icon { font-size: 22px; margin-right: 7px; }
.green-border { border-color: rgba(47, 211, 136, .38); }.green-border h3, .green-border .cap-icon { color: #6ef0bc; }
.violet-border { border-color: rgba(180, 95, 255, .42); }.violet-border h3, .violet-border .cap-icon { color: #cc8cff; }
.blue-border { border-color: rgba(46, 172, 246, .5); }.blue-border h3, .blue-border .cap-icon { color: #58c7ff; }
.orange-border { border-color: rgba(255, 151, 58, .45); }.orange-border h3, .orange-border .cap-icon { color: #ffad58; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.chips span { border: 1px solid rgba(72, 151, 205, .24); background: rgba(40, 86, 119, .28); border-radius: 4px; padding: 3px 7px; color: #e5eff6; font-size: 10px; line-height: 1; }
.chips span.accent-green { border-color: #26c98f; color: #5ef3ba; background: rgba(29, 116, 86, .26); }
.capability-card p { margin: 0; color: #d9e4ec; font-size: 12px; line-height: 1.45; }

.work-heading { position: relative; }
.work-heading .text-link { margin-left: auto; color: #64cfff; font-size: 11px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.work-card { border: 1px solid rgba(37, 144, 207, .55); background: rgba(3, 17, 28, .78); border-radius: 5px; padding: 13px; min-height: 170px; }
.work-card.featured { min-height: 260px; }
.work-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.work-card h3 { margin: 0; font-size: 14px; line-height: 1.15; }
.subtitle { margin-top: 3px; font-size: 11px; color: #d7e6ef; }
.date { font-size: 10px; color: #9fb6c6; margin-top: 2px; }
.badge { border: 1px solid currentColor; padding: 3px 6px; border-radius: 4px; font-size: 9px; white-space: nowrap; }
.current { color: #68f7a8; }.green-badge { color: #65e5a9; }.blue-badge { color: #53bfff; }.violet-badge { color: #d183ff; }.orange-badge { color: #ffab4e; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 7px 0 8px; font-size: 10.5px; color: #c6d7e2; }
.work-chips { margin-bottom: 8px; }
.work-card p { font-size: 11.5px; color: #dbe6ec; line-height: 1.4; }
.detail-list { list-style: none; margin: 6px 0 0; padding: 0; font-size: 10.5px; color: #d5e3eb; line-height: 1.45; }
.detail-list li::before { content: "▸"; color: #66cfff; margin-right: 7px; }
.impact { margin-top: 10px; color: #52f3ae; font-size: 10.5px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 22px 4px 8px; }
.timeline-line { position: absolute; top: 28px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, #41bfff, #69d3ff); }
.timeline-item { position: relative; text-align: center; padding-top: 18px; font-size: 10px; }
.timeline-item .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%; background: #45c7ff; box-shadow: 0 0 12px rgba(51, 186, 255, .5); }
.timeline-item strong { display: block; font-size: 10.5px; }
.timeline-item small { display: block; margin-top: 3px; color: #80a3ba; }

.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.education-grid article { min-height: 82px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); background: rgba(4, 20, 31, .78); border-radius: 5px; padding: 12px; }
.edu-icon { color: #65eeb7; font-size: 22px; }.education-grid article:nth-child(2) .edu-icon { color: #59c7ff; }.education-grid article:nth-child(3) .edu-icon { color: #ae7bff; }
.education-grid h3 { margin: 0 0 3px; font-size: 13px; }.education-grid p { margin: 0; font-size: 10.5px; color: #c9d7e0; line-height: 1.35; }.edu-meta { text-align: right; font-size: 10px; color: #a8bfce; }

.contact { display: grid; grid-template-columns: 1fr 1.4fr 1.2fr; gap: 28px; align-items: center; padding-block: 22px; }
.contact h2 { margin: 5px 0 2px; font-size: 22px; }.contact p { margin: 0; color: #bdcbd6; font-size: 12px; }.contact-links { display: flex; flex-direction: column; gap: 7px; font-size: 12px; }.contact-links a:hover { color: var(--cyan); }.contact-note { font-size: 11px !important; line-height: 1.5; }
.site-footer { min-height: 54px; display: flex; align-items: center; justify-content: space-between; color: #5cbde5; font: 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }

@media (max-width: 1100px) {
  :root { --max: 1024px; }
  .nav { gap: 18px; }
  .hero { grid-template-columns: 55% 45%; }
  .hero-copy { padding-left: 22px; }
  .hero-pipeline { width: 270px; margin-right: 12px; }
  .feedback-label { display: none; }
  .sensor-flow { grid-template-columns: repeat(7, minmax(108px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 8px; }
  .feedback-line { margin-inline: calc((100% - 48px) / 14); margin-top: -8px; }
  .flow-arrow { display: none; }
}

@media (max-width: 820px) {
  main, .site-header, .site-footer { width: min(calc(100% - 20px), var(--max)); }
  .site-header { grid-template-columns: 1fr auto; height: auto; min-height: 58px; padding: 8px 0; }
  .nav { display: none; }
  .motto { font-size: 8px; }
  .hero { grid-template-columns: 1fr; min-height: 610px; }
  .hero-skyline { width: 100%; right: 0; height: 55%; top: 0; transform: scale(1.25); opacity: .62; }
  .hero-copy { padding: 36px 18px 20px; }
  .hero-pipeline { width: calc(100% - 36px); margin: 0 18px 22px; justify-self: stretch; }
  .pipeline-mini { height: 36px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }.stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .split-heading { flex-direction: column; gap: 10px; }
  .capability-grid, .work-grid, .education-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 20px 8px; }
  .timeline-line { display: none; }
  .contact { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
}

@media (max-width: 520px) {
  h1 { font-size: 46px; }
  .role { font-size: 27px; }
  .focus { font-size: 15px; }
  .hero-summary { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .primary { grid-column: 1 / -1; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .stat:last-child { border-bottom: 0 !important; }
  .inline-heading { flex-direction: column; gap: 6px; }
  .work-heading .text-link { margin-left: 0; }
}
