:root {
  color-scheme: dark;
  --bg: #020503;
  --bg-soft: #07100a;
  --panel: rgba(6, 18, 10, 0.82);
  --panel-border: rgba(39, 255, 95, 0.18);
  --text: #edf8ef;
  --muted: #9fb3a4;
  --green: #16ff45;
  --green-soft: #66ff83;
  --green-deep: #078824;
  --shadow: rgba(22, 255, 69, 0.2);
  --max-width: 1280px;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-padding-top: 128px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 8%, rgba(22, 255, 69, 0.13), transparent 34rem),
    radial-gradient(circle at 10% 80%, rgba(22, 255, 69, 0.09), transparent 28rem),
    radial-gradient(circle at 50% 46%, rgba(22, 255, 69, 0.04), transparent 50rem),
    linear-gradient(135deg, #020503 0%, #030b04 45%, #000 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(30, 255, 79, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 255, 79, 0.052) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.18));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 50%, transparent 0, rgba(0, 0, 0, 0.52) 74%);
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.aurora-orb-1 {
  width: 640px;
  height: 640px;
  top: -140px;
  right: 8%;
  background: radial-gradient(circle, rgba(22, 255, 69, 0.22), transparent 70%);
  animation: aurora-drift-1 20s ease-in-out infinite;
}

.aurora-orb-2 {
  width: 480px;
  height: 480px;
  bottom: 5%;
  left: 2%;
  background: radial-gradient(circle, rgba(22, 255, 69, 0.16), transparent 70%);
  animation: aurora-drift-2 26s ease-in-out infinite;
}

.aurora-orb-3 {
  width: 320px;
  height: 320px;
  top: 48%;
  left: 38%;
  background: radial-gradient(circle, rgba(0, 210, 80, 0.12), transparent 70%);
  animation: aurora-drift-3 17s ease-in-out infinite;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

.site-shell {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  gap: 24px;
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-stuck {
  border-color: rgba(39, 255, 95, 0.16);
  background: rgba(2, 8, 4, 0.76);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34), 0 0 28px rgba(22, 255, 69, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.sticky-sentinel {
  display: block;
  height: 1px;
}

.nav-sentinel {
  display: block;
  flex: 0 0 auto;
  width: 0;
  height: 1px;
  align-self: flex-start;
}

#top,
#experience,
#focus {
  scroll-margin-top: 128px;
}

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(22, 255, 69, 0.72), 0 0 22px var(--shadow);
  animation: beat-dot 1.6s ease-in-out infinite;
}

.nav-links {
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links .nav-link-featured {
  border: 1px solid rgba(39, 255, 95, 0.36);
  color: var(--green-soft);
  background: rgba(22, 255, 69, 0.12);
  box-shadow: 0 0 16px rgba(22, 255, 69, 0.16);
}

.nav-links .nav-link-featured::after {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 8px rgba(22, 255, 69, 0.8), 0 0 18px rgba(22, 255, 69, 0.28);
  animation: beat-dot 1.9s ease-in-out infinite;
}

.nav-links .nav-link-featured:hover {
  color: #001f08;
  border-color: rgba(39, 255, 95, 0.72);
  background: var(--green);
  box-shadow: 0 0 18px rgba(22, 255, 69, 0.28), 0 10px 28px rgba(22, 255, 69, 0.12);
}

.nav-links .nav-link-featured:hover::after {
  background: #001f08;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(24px, 4.5vw, 56px);
  padding: clamp(28px, 4vw, 56px) 0 36px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--green-soft);
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-shadow: 0 0 80px rgba(22, 255, 69, 0.18), 0 0 160px rgba(22, 255, 69, 0.08);
}

.hero-text {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  gap: 10px;
  padding: 0 26px;
  color: #001f08;
  background: #13e93f;
  box-shadow: 0 0 10px rgba(22, 255, 69, 0.2), 0 14px 36px rgba(22, 255, 69, 0.08);
}

.button-primary:hover {
  box-shadow: 0 0 16px rgba(22, 255, 69, 0.28), 0 18px 42px rgba(22, 255, 69, 0.11);
}

.button-secondary {
  padding: 0 24px;
  border: 1px solid rgba(39, 255, 95, 0.32);
  color: var(--green-soft);
  background: rgba(0, 0, 0, 0.2);
}

.button-secondary:hover {
  background: rgba(22, 255, 69, 0.08);
  box-shadow: 0 0 18px rgba(22, 255, 69, 0.14);
}

.article-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid rgba(39, 255, 95, 0.32);
  border-radius: 999px;
  color: var(--green-soft);
  background: rgba(0, 0, 0, 0.22);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.article-action:hover {
  transform: translateY(-2px);
  background: rgba(22, 255, 69, 0.08);
  box-shadow: 0 0 18px rgba(22, 255, 69, 0.14);
}

.button-icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.pulse-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(4, 14, 8, 0.96), rgba(0, 0, 0, 0.84)),
    var(--panel);
  box-shadow:
    inset 0 0 42px rgba(22, 255, 69, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.42),
    0 0 48px rgba(22, 255, 69, 0.045);
}

.pulse-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 255, 89, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 255, 89, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.46;
}

.pulse-grid::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.38), transparent 38%, rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.72));
}

.pulse-svg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 118%;
  min-width: 620px;
  transform: translate(-50%, -52%);
  overflow: visible;
}

.pulse-line,
.pulse-glow,
.pulse-tail {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-line {
  stroke: var(--green);
  stroke-width: 8;
  filter: drop-shadow(0 0 5px rgba(22, 255, 69, 0.75)) drop-shadow(0 0 14px rgba(22, 255, 69, 0.4));
  stroke-dasharray: 860 220;
  stroke-dashoffset: 1080;
  animation: pulse-flow 3.6s linear infinite;
  will-change: stroke-dashoffset;
}

.pulse-glow {
  stroke: rgba(22, 255, 69, 0.14);
  stroke-width: 22;
  filter: blur(8px);
  stroke-dasharray: 860 220;
  stroke-dashoffset: 1080;
  animation: pulse-flow 3.6s linear infinite;
  will-change: stroke-dashoffset;
}

.pulse-tail {
  stroke: rgba(22, 255, 69, 0.9);
  stroke-width: 5;
  filter: drop-shadow(0 0 5px rgba(22, 255, 69, 0.62)) drop-shadow(0 0 13px rgba(22, 255, 69, 0.38));
  opacity: 0.8;
  will-change: opacity;
}

.pulse-tail-left {
  animation: tail-breathe 3.6s ease-in-out infinite;
}

.pulse-tail-right {
  animation: tail-breathe 3.6s ease-in-out infinite reverse;
}

.pulse-meta {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.pulse-meta span {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-meta strong {
  color: var(--green-soft);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.client-strip {
  --marquee-gap: 12px;
  --logo-color: rgba(237, 248, 239, 0.92);
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(39, 255, 95, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 8% 0%, rgba(22, 255, 69, 0.12), transparent 28rem),
    linear-gradient(135deg, rgba(8, 24, 12, 0.76), rgba(0, 0, 0, 0.44)),
    rgba(0, 0, 0, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 38px rgba(22, 255, 69, 0.045);
}

.client-strip::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(30, 255, 79, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 255, 79, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 68%);
}

.client-strip-heading,
.client-marquee {
  position: relative;
}

.client-strip-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.client-strip-heading .eyebrow {
  margin: 0;
}

.client-strip-heading h2 {
  max-width: 34ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.client-marquee {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: var(--marquee-gap);
  animation: client-scroll 34s linear infinite;
  will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.client-strip:focus-visible .client-marquee {
  animation-play-state: paused;
}

.client-strip:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

@media (hover: hover) {
  .client-strip:hover .client-marquee {
    animation-play-state: paused;
  }
}

.client-track {
  display: flex;
  flex: 0 0 auto;
  gap: var(--marquee-gap);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-logo-card {
  position: relative;
  display: inline-flex;
  width: clamp(150px, 16vw, 210px);
  min-height: 82px;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid rgba(22, 255, 69, 0.22);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--logo-color);
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.client-logo-card:hover,
.client-logo-card:focus-within {
  border-left-color: rgba(22, 255, 69, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), -4px 0 18px rgba(22, 255, 69, 0.08);
  color: #ffffff;
}

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

.client-logo-card::after {
  display: block;
  width: 148px;
  height: 44px;
  content: "";
  background-color: currentColor;
  -webkit-mask-image: var(--logo);
  mask-image: var(--logo);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.client-logo-raster img {
  position: static;
  width: auto;
  height: auto;
  max-width: 148px;
  max-height: 44px;
  margin: 0;
  overflow: visible;
  clip: auto;
  filter: grayscale(1) brightness(1.45) contrast(1.15);
  opacity: 0.86;
  mix-blend-mode: screen;
  white-space: normal;
}

.client-logo-raster::after {
  display: none;
}

.client-logo-raster:hover img,
.client-logo-raster:focus-within img {
  opacity: 1;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 16px;
}

.proof article {
  min-height: 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid rgba(22, 255, 69, 0.42);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-left-color 200ms ease, box-shadow 200ms ease;
}

.proof article:hover {
  border-left-color: rgba(22, 255, 69, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), -4px 0 24px rgba(22, 255, 69, 0.1);
}

.proof span {
  color: var(--green-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.focus {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding: clamp(24px, 4vw, 52px) 0 16px;
}

.section-heading {
  position: sticky;
  top: 124px;
}

.section-heading h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-shadow: 0 0 60px rgba(22, 255, 69, 0.14);
}

.focus-grid {
  display: grid;
  gap: 12px;
}

.focus-grid article {
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(39, 255, 95, 0.13);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(8, 24, 12, 0.72), rgba(0, 0, 0, 0.46)),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.focus-grid span {
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.focus-grid h3 {
  margin: 10px 0 0;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.focus-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-dialog {
  width: min(calc(100% - 32px), 980px);
  max-height: min(88vh, 920px);
  max-height: min(88dvh, 920px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(39, 255, 95, 0.24);
  border-radius: var(--radius-xl);
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(22, 255, 69, 0.12), transparent 24rem),
    linear-gradient(135deg, rgba(5, 18, 9, 0.98), rgba(0, 0, 0, 0.96));
  box-shadow:
    0 32px 120px rgba(0, 0, 0, 0.78),
    0 0 48px rgba(22, 255, 69, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-overflow-scrolling: touch;
}

.project-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 35%, rgba(22, 255, 69, 0.12), transparent 34rem),
    rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  padding: clamp(22px, 4vw, 38px);
}

.dialog-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(30, 255, 79, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 255, 79, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent);
}

.dialog-header,
.dialog-lede,
.metric-grid,
.dialog-section-grid,
.suite-layout,
.tech-stack {
  position: relative;
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: calc(clamp(22px, 4vw, 38px) * -1) calc(clamp(22px, 4vw, 38px) * -1) 0;
  padding: clamp(22px, 4vw, 38px) clamp(22px, 4vw, 38px) 18px;
  background:
    linear-gradient(to bottom, rgba(5, 18, 9, 0.98), rgba(5, 18, 9, 0.9) 76%, transparent);
  backdrop-filter: blur(10px);
}

.dialog-header .eyebrow {
  margin-bottom: 12px;
}

.dialog-header h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.dialog-close {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(39, 255, 95, 0.24);
  border-radius: 999px;
  color: var(--green-soft);
  background: rgba(0, 0, 0, 0.34);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.dialog-close:hover {
  transform: translateY(-2px);
  background: rgba(22, 255, 69, 0.08);
  box-shadow: 0 0 18px rgba(22, 255, 69, 0.16);
}

.dialog-lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.dialog-lede strong {
  color: var(--green-soft);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.timeline-summary {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1.2fr;
  gap: 12px;
  margin-top: 26px;
}

.metric-grid div,
.timeline-summary div,
.dialog-section-grid section,
.suite-layout {
  border: 1px solid rgba(39, 255, 95, 0.13);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(8, 24, 12, 0.72), rgba(0, 0, 0, 0.46)),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.metric-grid div {
  padding: 18px;
}

.timeline-summary div {
  padding: 18px;
}

.metric-grid span,
.timeline-summary span,
.tooling-timeline span,
.dialog-section-grid span {
  display: block;
  color: var(--green-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-summary strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.ai-summary strong {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.dialog-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.dialog-section-grid section,
.suite-layout {
  padding: clamp(18px, 2.2vw, 24px);
}

.dialog-section-grid h3,
.suite-layout h3 {
  margin: 10px 0 0;
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.dialog-section-grid p,
.suite-layout p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.ai-practice-grid {
  margin-top: 12px;
}

.ai-checklist ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.ai-checklist li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.ai-checklist li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 12px rgba(22, 255, 69, 0.58);
}

code {
  color: var(--green-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.suite-layout {
  margin-top: 12px;
}

.suite-tree {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.suite-tree span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.24);
}

.suite-tree span:first-child {
  color: var(--green-soft);
  font-weight: 800;
}

.tooling-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tooling-timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 105px;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(22, 255, 69, 0.58), transparent);
  box-shadow: 0 0 16px rgba(22, 255, 69, 0.16);
}

.tooling-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.tooling-timeline time {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(39, 255, 95, 0.22);
  border-radius: 999px;
  color: var(--green-soft);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 18px rgba(22, 255, 69, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tooling-timeline div {
  position: relative;
  padding: clamp(18px, 2.2vw, 22px);
  border: 1px solid rgba(39, 255, 95, 0.13);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(8, 24, 12, 0.72), rgba(0, 0, 0, 0.46)),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tooling-timeline div::before {
  position: absolute;
  top: 25px;
  left: -35px;
  width: 13px;
  height: 13px;
  border: 3px solid rgba(4, 14, 8, 0.98);
  border-radius: 999px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 16px rgba(22, 255, 69, 0.62);
}

.tooling-timeline h3 {
  margin: 10px 0 0;
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.tooling-timeline p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.tech-stack {
  margin: 18px 0 0;
  color: var(--green-soft);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.7;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  margin-top: 40px;
  border-top: 1px solid rgba(39, 255, 95, 0.12);
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(48px, 72px) scale(1.06); }
  65% { transform: translate(-28px, 24px) scale(0.93); }
}

@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-60px, -48px) scale(1.1); }
  72% { transform: translate(36px, 28px) scale(0.91); }
}

@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-72px, 40px) scale(1.18); }
}

@keyframes pulse-flow {
  from {
    stroke-dashoffset: 1080;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tail-breathe {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 0.45;
  }
}

@keyframes beat-dot {
  0%,
  100% {
    transform: scale(1);
  }

  12% {
    transform: scale(1.35);
  }

  24% {
    transform: scale(0.94);
  }

  38% {
    transform: scale(1.18);
  }
}

@keyframes client-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - var(--marquee-gap) / 2), 0, 0);
  }
}

@media (min-width: 1600px) {
  .pulse-card {
    min-height: 480px;
  }
}

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

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

  h1 {
    max-width: 14ch;
  }

  .pulse-card {
    min-height: 340px;
  }

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

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

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

  .section-heading {
    position: static;
  }

  .section-heading h2 {
    max-width: 14ch;
  }

}

@media (max-width: 720px) {
  :root {
    --header-height: auto;
    --radius-xl: 28px;
  }

  html {
    scroll-padding-top: 148px;
  }

  .site-shell {
    width: min(100% - 28px, var(--max-width));
    padding-top: 16px;
  }

  .site-header {
    top: 10px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 28px;
  }

  .site-header.is-stuck {
    background: rgba(2, 8, 4, 0.84);
  }

  body.has-open-dialog .site-header {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
  }

  #top,
  #experience,
  #focus {
    scroll-margin-top: 148px;
  }

  .nav-links {
    font-size: 0.84rem;
  }

  .nav-links a {
    padding: 8px 9px;
  }

  .nav-link-featured {
    gap: 6px;
  }

  .hero {
    gap: 28px;
    padding: 42px 0 32px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 16vw, 4.4rem);
    letter-spacing: -0.08em;
  }

  .hero-text {
    margin-top: 22px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 28px;
  }

  .button-primary {
    width: 100%;
  }

  .button-secondary {
    width: 100%;
  }

  .pulse-card {
    min-height: 280px;
  }

  .pulse-svg {
    width: 136%;
    min-width: 520px;
  }

  .pulse-line,
  .pulse-glow {
    animation-duration: 3s;
  }

  .pulse-line {
    filter: none;
  }

  .pulse-glow {
    filter: none;
    opacity: 0.55;
  }

  .pulse-grid {
    background-size: 46px 46px;
  }

  .pulse-meta {
    right: 16px;
    bottom: 16px;
    left: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .client-strip {
    padding: 18px;
    border-radius: 24px;
  }

  .client-marquee {
    animation-duration: 42s;
  }

  .client-logo-card {
    width: 178px;
    min-height: 88px;
    padding: 14px 16px;
  }

  .client-logo-card::after {
    width: 156px;
    height: 54px;
  }

  .client-logo-raster img {
    max-width: 156px;
    max-height: 54px;
  }

  .proof article {
    min-height: auto;
  }

  .focus {
    padding-top: 36px;
  }

  .article-action {
    width: 100%;
    min-height: 48px;
  }

  .project-dialog {
    width: min(calc(100% - 20px), 980px);
    max-height: 92vh;
    max-height: calc(100dvh - 20px);
    border-radius: 24px;
  }

  .dialog-header {
    gap: 16px;
  }

  .dialog-header h2 {
    max-width: 11ch;
  }

  .dialog-lede {
    margin-top: 18px;
    line-height: 1.62;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .timeline-summary {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .metric-grid div {
    padding: 15px;
  }

  .timeline-summary div {
    padding: 15px;
  }

  .dialog-section-grid {
    grid-template-columns: 1fr;
  }

  .tooling-timeline::before {
    left: 18px;
  }

  .tooling-timeline li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 40px;
  }

  .tooling-timeline time {
    justify-self: start;
    min-height: 34px;
    padding: 0 14px;
  }

  .tooling-timeline div::before {
    left: -29px;
  }
}

@media (max-width: 460px) {
  .site-shell {
    width: min(100% - 32px, var(--max-width));
  }

  .site-header {
    display: contents;
  }

  .nav-sentinel {
    flex: initial;
    width: 100%;
    align-self: stretch;
    margin-top: 14px;
  }

  .brand {
    display: flex;
    align-self: stretch;
  }

  .nav-links {
    position: sticky;
    top: 10px;
    z-index: 20;
    width: 100%;
    justify-content: space-between;
    padding: 5px;
    font-size: 0.8rem;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
  }

  .site-header.is-stuck .nav-links {
    border-color: rgba(39, 255, 95, 0.16);
    background: rgba(2, 8, 4, 0.84);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34), 0 0 28px rgba(22, 255, 69, 0.08);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  body.has-open-dialog .nav-links {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
  }

  #top,
  #experience,
  #focus {
    scroll-margin-top: 80px;
  }

  .nav-links a {
    padding: 7px 8px;
  }

  .nav-link-featured::after {
    width: 6px;
    height: 6px;
  }

  h1 {
    max-width: 10ch;
  }

  .pulse-card {
    min-height: 280px;
  }

  .client-strip {
    --marquee-gap: 10px;
  }

  .client-strip-heading {
    gap: 4px;
    margin-bottom: 16px;
  }

  .client-logo-card {
    width: 174px;
  }

  .dialog-header {
    flex-direction: column-reverse;
  }

  .dialog-header form {
    align-self: flex-end;
  }

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

  .tooling-timeline li {
    padding-left: 32px;
  }

  .tooling-timeline div::before {
    left: -25px;
  }

  .tech-stack {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }
}

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

  .button,
  .article-action,
  .dialog-close,
  .client-logo-card,
  .proof article {
    transition: none;
  }

  .aurora-orb,
  .brand-mark,
  .nav-link-featured::after {
    animation: none;
  }
}
