@import "@fontsource-variable/outfit";
@import "@fontsource-variable/jetbrains-mono";
@import "@fontsource-variable/dm-sans";

:root {
  --bg: #080c14;
  --bg-soft: #0d1420;
  --surface: rgba(15, 23, 42, .72);
  --surface-solid: #101a2a;
  --line: rgba(255,255,255,.09);
  --line-bright: rgba(16,185,129,.45);
  --text: #f8fafc;
  --text-soft: #94a3b8;
  --text-muted: #607086;
  --emerald: #10b981;
  --neon: #00e676;
  --cyan: #06b6d4;
  --purple: #a855f7;
  --blue: #3b82f6;
  --orange: #fb923c;
  --heading: "Outfit", sans-serif;
  --body: "DM Sans", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --shell: min(1360px, calc(100% - 48px));
  --ease: cubic-bezier(.2,.75,.2,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
}

body::selection {
  background: var(--emerald);
  color: var(--bg);
}

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

button,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.shell,
.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-shell {
  padding-block: clamp(84px, 11vw, 156px);
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

#matrix-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: .48;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .1;
  filter: blur(35px);
  background: radial-gradient(circle, rgba(16,185,129,.24), transparent 65%);
  mix-blend-mode: screen;
  transition: opacity .3s ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(8,12,20,.92), rgba(8,12,20,.66), transparent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 58px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(10,17,29,.7);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-mark {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  height: 21px;
  padding: 4px;
  border: 1px solid var(--emerald);
  border-radius: 6px 6px 8px 8px;
  box-shadow: 0 0 15px rgba(16,185,129,.24);
}

.brand-mark span {
  display: block;
  width: 3px;
  background: var(--emerald);
  border-radius: 4px;
  animation: equalize 1.7s ease-in-out infinite alternate;
}

.brand-mark span:nth-child(1) {
  height: 7px;
}

.brand-mark span:nth-child(2) {
  height: 12px;
  animation-delay: -.5s;
}

.brand-mark span:nth-child(3) {
  height: 9px;
  animation-delay: -.9s;
}

.brand-dot {
  color: var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 9px 12px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .25s ease, transform .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 1px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--emerald);
  transition: transform .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 999px;
  color: #8df5bd;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-dot,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  animation: pulse 1.8s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(40px, 8vw, 125px);
  min-height: min(900px, 100vh);
  padding-top: clamp(138px, 14vw, 190px);
  padding-bottom: 88px;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--emerald);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.2;
}

.eyebrow-line {
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 21px;
  padding: 7px 11px;
  border: 1px solid rgba(16,185,129,.24);
  border-radius: 999px;
  color: #9cebc0;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  background: rgba(16,185,129,.06);
}

h1 {
  max-width: 690px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(3.2rem, 7.4vw, 7.1rem);
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: .93;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, var(--neon), var(--cyan) 52%, #b983ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.heading-cursor {
  color: var(--emerald);
  font-weight: 400;
  animation: blink 1.2s step-end infinite;
}

.hero-role {
  margin: 30px 0 15px;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(.78rem, 1.3vw, .96rem);
  letter-spacing: .035em;
}

.hero-role span {
  padding: 0 7px;
  color: var(--emerald);
}

.hero-description {
  max-width: 510px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.button span {
  font-size: 1.05rem;
  transition: transform .25s ease;
}

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

.button:hover span {
  transform: translateX(3px);
}

.button-primary {
  color: #04150d;
  background: var(--neon);
  box-shadow: 0 0 0 1px rgba(0,230,118,.1), 0 10px 32px rgba(0,230,118,.17);
}

.button-primary:hover {
  box-shadow: 0 0 0 1px rgba(0,230,118,.25), 0 12px 42px rgba(0,230,118,.3);
}

.button-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,.03);
}

.button-ghost:hover {
  border-color: var(--emerald);
  background: rgba(16,185,129,.08);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 42px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.meta-icon {
  margin-right: 6px;
  color: var(--emerald);
  font-style: normal;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 630px;
  perspective: 1000px;
}

.phone-shadow {
  position: absolute;
  bottom: 28px;
  width: 285px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  filter: blur(19px);
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(330px, 80vw);
  height: 615px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 42px;
  background: linear-gradient(145deg, #36445a, #101825 26%, #1b2937 70%, #3b5365);
  box-shadow: 0 35px 90px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.04), 0 0 70px rgba(16,185,129,.11);
  transform: rotate(5deg) rotateY(-8deg);
  transition: transform .18s ease-out;
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 38px;
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 65px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #080d15;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.1);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: #07111c;
}

.phone-topbar {
  display: flex;
  justify-content: space-between;
  padding: 16px 21px 8px;
  color: #b8c6d8;
  font-family: var(--mono);
  font-size: .55rem;
}

.phone-appbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px 13px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #d9e3ef;
  font-family: var(--mono);
  font-size: .65rem;
}

.android-glyph {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: var(--bg);
  background: var(--neon);
  font-size: 1rem;
  font-weight: 800;
}

.appbar-menu {
  margin-left: auto;
  color: var(--text-muted);
}

.phone-screen-body {
  flex: 1;
  padding: 21px 17px;
}

.screen-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: .7rem;
}

.screen-greeting strong {
  color: var(--text);
  font-weight: 500;
}

.screen-greeting span {
  color: var(--emerald);
  font-size: 1.25rem;
  transform: rotate(-28deg);
}

.screen-fps {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .47rem;
  letter-spacing: .08em;
}

.screen-fps strong {
  margin-left: auto;
  color: var(--neon);
  font-weight: 500;
}

.screen-code {
  margin-top: 13px;
  padding: 14px;
  border: 1px solid rgba(6,182,212,.16);
  border-radius: 10px;
  color: #a8b7c8;
  background: rgba(6,182,212,.05);
  font-family: var(--mono);
  font-size: .52rem;
  line-height: 1.8;
  box-shadow: 0 0 25px rgba(6,182,212,.05);
}

.code-purple { color: #c084fc; }
.code-blue { color: #67e8f9; }
.code-green { color: #86efac; }
.code-orange { color: #fdba74; }

.phone-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.phone-metric-grid > div {
  padding: 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
}

.phone-metric-grid span {
  display: block;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .44rem;
  letter-spacing: .09em;
}

.phone-metric-grid strong {
  display: block;
  margin: 6px 0 7px;
  font-family: var(--heading);
  font-size: 1.1rem;
  line-height: 1;
}

.phone-metric-grid strong span {
  display: inline;
  margin-left: 3px;
  color: var(--text-muted);
  font-size: .45rem;
}

.build-good {
  color: var(--neon);
}

.metric-bar {
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255,255,255,.1);
}

.metric-bar b {
  display: block;
  width: 73%;
  height: 100%;
  background: var(--emerald);
  animation: loadbar 3s ease-in-out infinite alternate;
}

.metric-bar.cyan b {
  width: 91%;
  background: var(--cyan);
}

.phone-stack {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 8px 6px;
  margin-top: 18px;
  color: #d4deea;
  font-size: .6rem;
}

.stack-icon {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  color: var(--bg);
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 700;
}

.stack-icon.purple { background: #be7ef6; }
.stack-icon.green { background: var(--neon); }
.stack-icon.cyan { background: var(--cyan); }
.stack-icon.blue { background: #76a8ff; }
.stack-icon.orange { background: var(--orange); }

.phone-stack em {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .45rem;
  font-style: normal;
}

.phone-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 11px 14px 13px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  color: var(--text-muted);
  font-size: .95rem;
}

.phone-nav span {
  display: grid;
  gap: 2px;
}

.phone-nav small {
  font-family: var(--mono);
  font-size: .42rem;
}

.phone-nav .active {
  color: var(--neon);
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(15,23,42,.82);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: .53rem;
  letter-spacing: .04em;
  animation: float 5s ease-in-out infinite;
}

.floating-chip b {
  color: var(--neon);
  font-weight: 500;
}

.chip-compose {
  top: 16%;
  left: 0;
}

.chip-api {
  right: -8px;
  bottom: 20%;
  animation-delay: -2.5s;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(16,185,129,.13);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-one {
  width: 560px;
  height: 240px;
  animation: orbit 15s linear infinite;
}

.orbit-two {
  width: 480px;
  height: 200px;
  border-color: rgba(6,182,212,.12);
  transform: rotate(46deg);
  animation: orbit 19s linear infinite reverse;
}

.visual-caption {
  position: absolute;
  z-index: 4;
  bottom: -4px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.caption-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 9px var(--emerald);
}

.caption-index {
  margin-left: 20px;
  color: var(--emerald);
}

.tech-marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.06);
  background: rgba(10,17,29,.6);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding: 17px 0;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .57rem;
  letter-spacing: .16em;
  animation: marquee 32s linear infinite;
}

.marquee-track i {
  color: var(--emerald);
  font-style: normal;
}

.section-intro {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 22px;
  align-items: start;
  margin-bottom: 54px;
}

.section-number {
  padding-top: 4px;
  color: var(--emerald);
  font-family: var(--mono);
  font-size: .66rem;
}

.section-intro h2 {
  margin: 16px 0 0;
  font-family: var(--heading);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1;
}

.muted-heading {
  color: var(--text-muted);
}

.section-aside {
  max-width: 280px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: .84rem;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: clamp(40px, 10vw, 150px);
}

.about-copy {
  max-width: 420px;
}

.lead {
  margin-top: 0;
  color: var(--text);
  font-family: var(--heading);
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  letter-spacing: -.04em;
  line-height: 1.15;
}

.about-copy > p:not(.lead) {
  color: var(--text-soft);
  font-size: .93rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 15px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(16,185,129,.35);
  color: var(--neon);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: none;
  cursor: pointer;
  transition: gap .25s ease, color .25s ease, border-color .25s ease;
}

.text-link:hover {
  gap: 18px;
  color: #a7f3d0;
  border-color: var(--neon);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.stat-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(15,23,42,.54);
  transition: border-color .25s ease, transform .25s var(--ease), background .25s ease;
}

.stat-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.stat-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.stat-card:hover {
  border-color: rgba(16,185,129,.4);
  transform: translateY(-5px);
  background: rgba(16,185,129,.05);
}

.stat-card-accent {
  border-color: rgba(0,230,118,.32);
  background: linear-gradient(135deg, rgba(0,230,118,.08), rgba(15,23,42,.6));
}

.stat-index {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .08em;
}

.stat-card strong {
  margin-top: 12px;
  color: var(--text);
  font-family: var(--heading);
  font-size: clamp(2.3rem, 4vw, 3.55rem);
  font-weight: 600;
  letter-spacing: -.08em;
  line-height: .9;
}

.stat-card > span:last-child {
  color: var(--text-soft);
  font-size: .72rem;
}

.experience {
  padding-top: 92px;
}

.timeline-wrap {
  position: relative;
  padding-left: clamp(24px, 7vw, 100px);
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  overflow: hidden;
  background: rgba(16,185,129,.18);
}

.timeline-line span {
  display: block;
  width: 100%;
  height: 80px;
  background: linear-gradient(transparent, var(--neon), transparent);
  box-shadow: 0 0 14px var(--neon);
  animation: timeline 4s linear infinite;
}

.timeline-marker {
  position: absolute;
  left: 12px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--emerald);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 18px rgba(0,230,118,.45);
}

.timeline-marker span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon);
}

.experience-card {
  padding: clamp(23px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16,185,129,.055), rgba(15,23,42,.77) 52%, rgba(6,182,212,.04));
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
  transition: transform .18s ease-out, border-color .25s ease;
}

.experience-card:hover {
  border-color: rgba(16,185,129,.38);
}

.experience-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.role-label,
.project-kicker,
.filter-label,
.console-label {
  color: var(--emerald);
  font-family: var(--mono);
  font-size: .57rem;
  letter-spacing: .15em;
}

.experience-top h3 {
  margin: 12px 0 4px;
  font-family: var(--heading);
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  letter-spacing: -.06em;
  line-height: 1;
}

.company-name {
  margin: 0;
  color: var(--text-soft);
  font-size: .95rem;
}

.experience-date {
  padding-top: 5px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .61rem;
  white-space: nowrap;
}

.experience-body {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 7vw, 110px);
  padding-top: 30px;
}

.experience-summary {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.achievement-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.achievement-list li {
  display: flex;
  align-items: start;
  gap: 14px;
  color: var(--text-soft);
  font-size: .83rem;
}

.achievement-list li span {
  min-width: 20px;
  color: var(--emerald);
  font-family: var(--mono);
  font-size: .57rem;
}

.achievement-list b {
  color: var(--text);
  font-weight: 500;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}

.tag-row span {
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  color: #a9b6c7;
  font-family: var(--mono);
  font-size: .51rem;
  letter-spacing: .02em;
  background: rgba(255,255,255,.025);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15,23,42,.64);
  transition: transform .18s ease-out, border-color .25s ease, box-shadow .25s ease;
}

.project-card:hover {
  border-color: rgba(16,185,129,.38);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.project-content {
  padding: 25px 27px 29px;
}

.project-kicker {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.project-content h3 {
  margin: 17px 0 1px;
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.07em;
  line-height: 1;
}

.project-subtitle {
  margin: 7px 0 14px;
  color: var(--emerald);
  font-family: var(--mono);
  font-size: .67rem;
}

.project-content > p:not(.project-subtitle) {
  max-width: 480px;
  min-height: 48px;
  margin: 0;
  color: var(--text-soft);
  font-size: .84rem;
  line-height: 1.7;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}

.button-link {
  margin-top: 0;
}

.skills-layout {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.skills-copy {
  max-width: 400px;
}

.skills-copy > p:not(.lead) {
  color: var(--text-soft);
  font-size: .9rem;
  line-height: 1.75;
}

.filter-label {
  margin-top: 34px;
  color: var(--text-muted);
}

.skill-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.filter-button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .52rem;
  background: none;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--emerald);
  color: var(--neon);
  background: rgba(16,185,129,.07);
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  min-height: 300px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 40%, rgba(6,182,212,.07), transparent 48%), rgba(15,23,42,.43);
}

.skill-badge {
  align-self: center;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  color: #aab8ca;
  font-family: var(--mono);
  font-size: .6rem;
  background: rgba(255,255,255,.03);
  cursor: default;
  transition: transform .25s var(--ease), color .25s ease, border-color .25s ease, background .25s ease, opacity .25s ease;
  animation: badge-float 5s ease-in-out infinite;
}

.skill-badge:nth-child(2n) {
  animation-delay: -2s;
}

.skill-badge:nth-child(3n) {
  animation-delay: -3.5s;
}

.skill-badge:hover {
  z-index: 2;
  transform: translateY(-5px) scale(1.08);
  border-color: var(--cyan);
  color: #d9fbff;
  background: rgba(6,182,212,.12);
  box-shadow: 0 8px 24px rgba(6,182,212,.12);
}

.skill-featured {
  padding: 14px 17px;
  border-color: rgba(16,185,129,.34);
  color: var(--neon);
  font-size: .73rem;
  background: rgba(16,185,129,.08);
  box-shadow: 0 0 24px rgba(16,185,129,.08);
}

.skill-badge.is-hidden {
  opacity: .12;
  transform: scale(.94);
  pointer-events: none;
}

.pipeline-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15,23,42,.67);
  box-shadow: 0 25px 80px rgba(0,0,0,.16);
}

.pipeline-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .57rem;
  letter-spacing: .08em;
}

.pipeline-live {
  color: var(--neon);
}

.pipeline-live i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

.pipeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  padding: 43px 25px 35px;
}

.track-line {
  position: absolute;
  top: 59px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan), var(--purple));
  opacity: .4;
}

.pipeline-stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 4px;
  border: 0;
  color: var(--text-muted);
  background: none;
  cursor: pointer;
  transition: color .25s ease, transform .25s var(--ease);
}

.pipeline-stage i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .5rem;
  font-style: normal;
  background: var(--surface-solid);
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pipeline-stage strong {
  font-family: var(--mono);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.pipeline-stage small {
  color: var(--text-muted);
  font-size: .58rem;
}

.pipeline-stage:hover,
.pipeline-stage.active {
  color: var(--text);
  transform: translateY(-4px);
}

.pipeline-stage.active i {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 20px rgba(0,230,118,.25);
  transform: scale(1.1);
}

.pipeline-console {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 25px;
  margin: 0 20px 20px;
  padding: 24px;
  border: 1px solid rgba(16,185,129,.18);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}

.console-copy strong {
  display: block;
  margin-top: 9px;
  font-family: var(--heading);
  font-size: 1.55rem;
  letter-spacing: -.05em;
}

.console-copy p {
  max-width: 400px;
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: .79rem;
}

.console-code {
  display: grid;
  align-content: center;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  color: #a8b7c8;
  font-family: var(--mono);
  font-size: .6rem;
  line-height: 2;
}

.console-code i {
  display: inline-block;
  width: 21px;
  color: var(--text-muted);
  font-style: normal;
}

.console-code b {
  font-weight: 500;
}

.education {
  padding-top: 40px;
  padding-bottom: 100px;
}

.education-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 29px 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15,23,42,.45);
}

.education-mark {
  color: var(--emerald);
  font-family: var(--mono);
  font-size: .9rem;
  letter-spacing: -.04em;
}

.education-mark span {
  color: var(--text-muted);
}

.education-card h2 {
  margin: 11px 0 4px;
  font-family: var(--heading);
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.education-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: .84rem;
}

.education-date {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .6rem;
}

.contact {
  padding-top: 50px;
  padding-bottom: 135px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  overflow: hidden;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid rgba(16,185,129,.26);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(16,185,129,.1), rgba(15,23,42,.82) 49%, rgba(168,85,247,.1));
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
}

.contact-orb {
  position: absolute;
  right: 4%;
  top: -35%;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(0,230,118,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(0,230,118,.025), 0 0 0 60px rgba(0,230,118,.017);
  animation: orbit 18s linear infinite;
  pointer-events: none;
}

.contact-copy {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-copy h2 {
  max-width: 900px;
  margin: 20px 0 12px;
  font-family: var(--heading);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  letter-spacing: -.09em;
  line-height: .92;
}
.contact-copy .eyebrow {
  justify-content: center;
}
.contact-copy > p {
  color: var(--text-soft);
  font-size: 1rem;

}

.contact-links {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 500px;
  text-align: left;
}

.contact-links a {
  display: grid;
  grid-template-columns: 33px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  transition: color .25s ease, padding .25s ease, border-color .25s ease;
}

.contact-links a:hover {
  padding-left: 6px;
  border-color: var(--emerald);
  color: var(--text);
}

.contact-link-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 7px;
  color: var(--neon);
  font-family: var(--mono);
  font-size: .7rem;
}

.contact-links small {
  display: block;
  margin-bottom: 2px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .48rem;
  letter-spacing: .1em;
}

.contact-links b {
  color: var(--emerald);
  font-weight: 400;
}

.contact-form {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(8,12,20,.42);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--heading);
  font-size: 1.1rem;
}

.contact-form textarea {
  display: block;
  width: 100%;
  resize: vertical;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  outline: none;
  color: var(--text);
  font-size: .8rem;
  background: rgba(255,255,255,.04);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}

.contact-form .button {
  margin-top: 15px;
}

.form-feedback {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--neon);
  font-family: var(--mono);
  font-size: .55rem;
}

.site-footer {
  padding: 0 0 28px;
}

.footer-trace {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.footer-trace span {
  position: absolute;
  left: -20%;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--neon), var(--cyan), transparent);
  box-shadow: 0 0 13px var(--neon);
  animation: footer-trace 5s linear infinite;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 27px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-inner i {
  color: var(--emerald);
  font-style: normal;
}

.footer-inner a {
  color: var(--text-soft);
  transition: color .2s ease;
}

.footer-inner a:hover {
  color: var(--neon);
}

.project-dialog {
  width: min(560px, calc(100% - 28px));
  padding: 0;
  border: 1px solid rgba(16,185,129,.35);
  border-radius: 14px;
  color: var(--text);
  background: #0d1725;
  box-shadow: 0 30px 100px rgba(0,0,0,.6);
}

.project-dialog::backdrop {
  background: rgba(1,5,10,.75);
  backdrop-filter: blur(7px);
}

.dialog-inner {
  position: relative;
  padding: 36px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-soft);
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.dialog-close:hover {
  border-color: var(--emerald);
  color: var(--neon);
}

.dialog-inner h2 {
  margin: 18px 0 10px;
  font-family: var(--heading);
  font-size: 2.5rem;
  letter-spacing: -.07em;
}

.dialog-inner > p {
  color: var(--text-soft);
  font-size: .9rem;
  line-height: 1.75;
}

.dialog-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 28px;
}

.dialog-specs span {
  padding: 7px 9px;
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 4px;
  color: #a7f3d0;
  font-family: var(--mono);
  font-size: .54rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

.reveal {
  opacity: 1;
}

.project-visual {
  display: none;
}

.project-card .project-content {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-card .project-actions {
  margin-top: 4.px;
}

.experience {
  padding-top: 70px;
}

.experience .section-intro {
  margin-bottom: 34px;
}

.experience-wrap {
  padding-left: 0;
}

.timeline-line,
.timeline-marker {
  display: none;
}

.experience-card {
  padding: clamp(24px, 4vw, 42px);
  border-color: rgba(255,255,255,.11);
  border-radius: 12px;
  background: rgba(15,23,42,.56);
  box-shadow: none;
  transition: border-color .25s ease, background .25s ease;
}

.experience-card:hover {
  border-color: rgba(16,185,129,.3);
  background: rgba(15,23,42,.66);
}

.experience-top {
  padding-bottom: 22px;
}

.experience-body {
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 6vw, 90px);
  padding-top: 25px;
}

.experience-summary {
  max-width: 290px;
  color: #a9b6c7;
  font-size: .9rem;
  line-height: 1.7;
}

.achievement-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.achievement-list li {
  gap: 10px;
  font-size: .77rem;
  line-height: 1.45;
}

.achievement-list li span {
  min-width: 18px;
}

.experience-body .tag-row {
  margin-top: 20px;
}

@keyframes equalize {
  to {
    transform: scaleY(.5);
    opacity: .55;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(.75);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes orbit {
  to {
    transform: rotate(336deg);
  }
}

@keyframes loadbar {
  to {
    width: 96%;
  }
}

@keyframes timeline {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(500%);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes phone-float {
  0%, 100% {
    transform: rotate(-6deg) translateY(0);
  }

  50% {
    transform: rotate(-4deg) translateY(-10px);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-slow-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes window-float {
  0%, 100% {
    transform: rotate(2deg) translateY(0);
  }

  50% {
    transform: rotate(1deg) translateY(-9px);
  }
}

@keyframes chart {
  to {
    transform: scaleY(.55);
    opacity: .7;
  }
}

@keyframes badge-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes footer-trace {
  to {
    left: 120%;
  }
}

@media (hover: hover) {
  .tilt-card {
    will-change: transform;
  }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 36px, 900px);
  }

  .nav-links a {
    padding-inline: 8px;
    font-size: .58rem;
  }

  .nav {
    gap: 15px;
  }

  .nav-status {
    display: none;
  }

  .hero {
    gap: 30px;
  }

  .phone-frame {
    transform: rotate(3deg) scale(.96);
  }

  .hero-visual {
    min-height: 560px;
  }

  .chip-compose {
    left: -5px;
  }

  .about-grid,
  .skills-layout {
    gap: 45px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-card {
    grid-column: span 2;
  }

  .stat-card:nth-child(4),
  .stat-card:nth-child(5) {
    grid-column: auto;
  }

  .stat-card:nth-child(5) {
    grid-column: 2 / span 2;
  }

  .pipeline-stage strong {
    font-size: .48rem;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .site-header {
    padding: 10px 0;
  }

  .nav {
    position: relative;
    padding: 0 14px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: none;
    background: rgba(10,17,29,.96);
    box-shadow: 0 20px 35px rgba(0,0,0,.3);
    transition: none;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 12px;
  }

  .menu-toggle span:not(.sr-only) {
    transition: none;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only) {
    transform: none;
    opacity: 1;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 140px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: 550px;
    margin-top: 30px;
  }

  .phone-frame {
    transform: scale(.9);
  }

  .chip-compose {
    left: 1%;
  }

  .chip-api {
    right: 0;
  }

  .section-shell {
    padding-block: 82px;
  }

  .section-intro {
    grid-template-columns: 35px 1fr;
    gap: 13px;
    margin-bottom: 38px;
  }

  .section-aside {
    grid-column: 2;
    margin-top: 0;
  }

  .about-grid,
  .skills-layout,
  .experience-body,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat-card {
    min-height: 135px;
    padding: 14px;
  }

  .stat-card strong {
    font-size: 2.35rem;
  }

  .experience-wrap {
    padding-left: 0;
  }

  .experience-top {
    display: block;
  }

  .experience-date {
    margin-top: 16px;
  }

  .achievement-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .project-card .project-content {
    min-height: 0;
  }

  .pipeline-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 4px;
    padding-inline: 14px;
  }

  .track-line {
    top: 58px;
    left: 14%;
    right: 14%;
  }

  .pipeline-stage:nth-of-type(5) {
    grid-column: 2;
  }

  .pipeline-stage strong {
    font-size: .51rem;
  }

  .pipeline-stage small {
    font-size: .5rem;
  }

  .pipeline-console {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .console-code {
    padding: 17px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .education-card {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 25px;
  }

  .education-date {
    margin-top: 5px;
  }

  .contact-card {
    gap: 30px;
  }

  .contact-orb {
    right: -34%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-inner a {
    margin-top: 8px;
  }
}

@media (max-width: 440px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    padding-top: 125px;
  }

  .availability-pill {
    font-size: .52rem;
  }

  .hero-role {
    line-height: 1.8;
  }

  .hero-role span {
    padding: 0 3px;
  }

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

  .hero-meta {
    display: grid;
    gap: 11px;
    margin-top: 29px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-frame {
    transform: scale(.76);
  }

  .orbit-one {
    width: 360px;
  }

  .orbit-two {
    width: 330px;
  }

  .floating-chip {
    font-size: .45rem;
  }

  .chip-compose {
    top: 13%;
  }

  .chip-api {
    bottom: 16%;
  }

  .visual-caption {
    bottom: 0;
    font-size: .46rem;
  }

  .caption-index {
    margin-left: 8px;
  }

  .section-intro h2 {
    font-size: 2.25rem;
  }

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

  .stat-card {
    grid-column: auto !important;
  }

  .stat-card:last-child {
    grid-column: 1 / -1 !important;
  }

  .stat-card strong {
    font-size: 2rem;
  }

  .achievement-list li {
    font-size: .75rem;
  }

  .project-content {
    padding-inline: 20px;
  }

  .skill-cloud {
    gap: 7px;
    padding: 20px 11px;
  }

  .skill-badge {
    font-size: .53rem;
  }

  .pipeline-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 5px;
  }

  .track-line {
    display: none;
  }

  .pipeline-stage:nth-of-type(5) {
    grid-column: auto;
  }

  .pipeline-console {
    margin-inline: 10px;
    padding: 18px;
  }

  .console-copy strong {
    font-size: 1.3rem;
  }

  .contact-copy h2 {
    font-size: 3rem;
  }

  .contact-form {
    padding: 18px;
  }

  .dialog-inner {
    padding: 29px 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .cursor-glow {
    display: none;
  }

  #matrix-canvas {
    display: none;
  }

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

@media (max-width: 760px) {
  .nav {
    inline-size: var(--shell) !important;
    min-inline-size: var(--shell) !important;
    max-inline-size: var(--shell) !important;
    block-size: 58px;
    min-block-size: 58px;
    contain: layout;
  }

  .menu-toggle {
    inline-size: 34px !important;
    min-inline-size: 34px !important;
    max-inline-size: 34px !important;
    block-size: 34px;
    min-block-size: 34px;
    padding: 0;
    flex: 0 0 34px;
  }

  .nav-links {
    inline-size: 100%;
    max-inline-size: 100%;
    overflow: hidden;
  }

  .site-header,
  .site-header *,
  .site-header::before,
  .site-header::after {
    animation: none !important;
    transition: none !important;
  }

  .nav-links,
  .nav-links.is-open,
  .menu-toggle span:not(.sr-only) {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Final mobile stability overrides: the glyph is one fixed element, not animated bars. */
.menu-toggle span.menu-icon {
  display: grid !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: none !important;
  transition: none !important;
  animation: none !important;
}

@media (max-width: 440px) {
  .experience-top h3 {
    max-width: 100%;
    overflow: visible;
    white-space: nowrap;
    font-size: clamp(1.15rem, 6.2vw, 1.5rem);
  }

  .experience-date {
    white-space: nowrap;
    font-size: clamp(.47rem, 2.65vw, .6rem);
  }

  .nav {
    width: calc(100vw - 24px) !important;
    min-width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }
}
