@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  --background: #0a0612;
  --background-alt: #120a24;
  --foreground: #f5f0ff;
  --muted: #c4b5dd;
  --muted-2: #8d7eb8;
  --card: rgba(26, 15, 48, 0.78);
  --card-solid: #1a0f30;
  --border: #2c1d4d;
  --border-hi: #3f2c6e;
  --accent: #c4a3ff;
  --accent-royal: #8b5cf6;
  --accent-magenta: #ff6ec7;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;
  --accent-cyan: #67e8f9;
  --accent-blue: #60a5fa;
  --grad-accent: linear-gradient(90deg, #67e8f9 0%, #c4a3ff 32%, #ff6ec7 66%, #fbbf24 100%);
  --grad-cta: linear-gradient(135deg, #8b5cf6 0%, #ff6ec7 100%);
  --grad-panel: linear-gradient(135deg, rgba(26, 15, 48, 0.92) 0%, rgba(18, 10, 36, 0.9) 100%);
  --shadow-glow: 0 0 48px rgba(139, 92, 246, 0.32), 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1240px;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  color: var(--foreground);
  background:
    radial-gradient(circle at 18% 8%, rgba(139, 92, 246, 0.28), transparent 28rem),
    radial-gradient(circle at 80% 3%, rgba(255, 110, 199, 0.2), transparent 26rem),
    linear-gradient(180deg, var(--background) 0%, #08040f 55%, var(--background) 100%);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.4) 46%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 6, 18, 0) 0%, rgba(10, 6, 18, 0.8) 72%, var(--background) 100%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
}

p {
  margin: 0;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-160%);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  background: var(--foreground);
  color: var(--background);
  padding: 0.7rem 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent-magenta), var(--accent), var(--accent-royal));
}

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-bottom: 1px solid rgba(63, 44, 110, 0.55);
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.32), rgba(196, 163, 255, 0.22), rgba(255, 110, 199, 0.32));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--foreground);
  padding: 0.4rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.spark {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(196, 163, 255, 0.9);
}

.site-header {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.nav {
  width: min(var(--max), 100%);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(63, 44, 110, 0.7);
  border-radius: 999px;
  background: rgba(10, 6, 18, 0.72);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.35rem 0.4rem 0.35rem 0.45rem;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(196, 163, 255, 0.32);
  border-radius: 999px;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.92rem;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  padding: 0.68rem 0.78rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--foreground);
  background: rgba(196, 163, 255, 0.13);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-chip,
.nav-cta {
  min-height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 0.85rem;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-chip {
  border: 1px solid var(--border);
  background: rgba(26, 15, 48, 0.64);
  color: var(--muted);
}

.nav-cta {
  background: var(--grad-cta);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.55);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.hero {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  margin: 0 auto;
  padding: clamp(10rem, 15vw, 13rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg span {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.75;
}

.hero-bg span:nth-child(1) {
  top: 16%;
  right: 10%;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 68%);
}

.hero-bg span:nth-child(2) {
  bottom: 14%;
  left: -14%;
  width: min(46vw, 560px);
  height: min(46vw, 560px);
  background: radial-gradient(circle, rgba(103, 232, 249, 0.14), transparent 64%);
}

.hero-bg span:nth-child(3) {
  top: 44%;
  left: 40%;
  width: min(38vw, 480px);
  height: min(38vw, 480px);
  background: radial-gradient(circle, rgba(255, 110, 199, 0.16), transparent 66%);
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(196, 163, 255, 0.6);
}

.eyebrow {
  margin-bottom: 1.1rem;
}

.section-kicker {
  margin: 0 0 0.8rem;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 7.8vw, 7.2rem);
  line-height: 0.9;
  overflow-wrap: normal;
  word-break: normal;
  background: var(--grad-accent);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-drift 9s ease-in-out infinite;
}

.hero-lead {
  max-width: 42rem;
  margin-top: 1.55rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions,
.contact-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  max-width: 100%;
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  color: inherit;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

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

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.button.primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.55), 0 0 80px rgba(255, 110, 199, 0.18);
}

.button.secondary {
  border-color: var(--border-hi);
  background: rgba(26, 15, 48, 0.45);
  color: var(--foreground);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(196, 163, 255, 0.78);
  box-shadow: 0 0 28px rgba(196, 163, 255, 0.18);
}

.hero-lab {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.profile-card,
.signal-card,
.metric-card,
.story-card,
.skill-columns > div,
.contact-card {
  border: 1px solid rgba(63, 44, 110, 0.78);
  border-radius: var(--radius);
  background: var(--grad-panel);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.32);
}

.profile-card {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(10, 6, 18, 0.14) 44%, rgba(10, 6, 18, 0.92) 100%),
    radial-gradient(circle at 70% 12%, rgba(255, 110, 199, 0.2), transparent 30%);
}

.profile-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(1.06) contrast(1.04);
}

.profile-card figcaption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
}

.profile-card figcaption span {
  color: var(--accent-emerald);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-card figcaption strong {
  max-width: 18rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.signal-card {
  position: absolute;
  right: -0.75rem;
  top: 20.25rem;
  z-index: 3;
  width: min(17rem, 62%);
  padding: 1rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.signal-card p {
  margin: 0.55rem 0 0.35rem;
  color: var(--accent-cyan);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  color: var(--foreground);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.2;
}

.live-dot {
  position: relative;
  width: 0.48rem;
  height: 0.48rem;
  display: inline-block;
  border-radius: 999px;
  background: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.8);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -0.28rem;
  border-radius: inherit;
  background: rgba(52, 211, 153, 0.28);
  animation: live-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 10, 36, 0.72);
  overflow: hidden;
}

.hero-stats div {
  min-width: 0;
  padding: 1rem;
}

.hero-stats div + div {
  border-left: 1px solid var(--border);
}

.hero-stats dt {
  color: var(--foreground);
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.tool-marquee {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(63, 44, 110, 0.55);
  padding-top: 1.25rem;
}

.tool-marquee span,
.credential-list p {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(26, 15, 48, 0.58);
  color: var(--muted);
  padding: 0.52rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.intro-grid,
.section-heading,
.credentials,
.systems-inner,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.intro h2,
.section-heading h2,
.systems h2,
.credentials h2,
.contact h2 {
  color: var(--foreground);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.intro p,
.section-heading > p,
.systems-copy p,
.contact-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.proof,
.work,
.skills,
.credentials {
  border-top: 1px solid rgba(63, 44, 110, 0.58);
}

.metric-grid,
.story-grid,
.skill-columns {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}

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

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

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

.metric-card,
.story-card,
.skill-columns > div {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 1.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric-card::before,
.story-card::before,
.skill-columns > div::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 10%, rgba(196, 163, 255, 0.18), transparent 34%);
  opacity: 0.8;
}

.metric-card:hover,
.story-card:hover,
.skill-columns > div:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 163, 255, 0.72);
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.22), 0 24px 80px rgba(0, 0, 0, 0.38);
}

.metric-card span,
.story-card span {
  position: relative;
  display: inline-flex;
  width: fit-content;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong,
.story-card strong {
  position: relative;
  display: block;
  margin-top: 0.8rem;
  color: var(--foreground);
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 0.88;
}

.metric-card p,
.story-card p,
.skill-columns p,
.system-steps p {
  position: relative;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.metric-card.accent-cyan span,
.metric-card.accent-cyan strong {
  color: var(--accent-cyan);
}

.metric-card.accent-amber span,
.metric-card.accent-amber strong {
  color: var(--accent-amber);
}

.metric-card.accent-emerald span,
.metric-card.accent-emerald strong {
  color: var(--accent-emerald);
}

.metric-card.accent-pink span,
.metric-card.accent-pink strong {
  color: var(--accent-magenta);
}

.story-card h3,
.skill-columns h3 {
  position: relative;
  margin-top: 0.8rem;
  color: var(--foreground);
  font-size: 1.1rem;
  line-height: 1.22;
}

.loading-card,
.error-card {
  grid-column: 1 / -1;
}

.center-actions {
  justify-content: center;
  margin-top: 2rem;
}

.systems,
.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) max(16px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(63, 44, 110, 0.58);
  border-bottom: 1px solid rgba(63, 44, 110, 0.58);
}

.systems {
  background:
    radial-gradient(circle at 80% 15%, rgba(103, 232, 249, 0.11), transparent 28rem),
    linear-gradient(180deg, rgba(18, 10, 36, 0.7), rgba(10, 6, 18, 0.96));
}

.systems-inner,
.contact-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.systems-copy p {
  margin-top: 1.3rem;
}

.system-steps {
  display: grid;
  gap: 0.8rem;
}

.system-steps div {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  align-items: start;
  border: 1px solid rgba(63, 44, 110, 0.72);
  border-radius: var(--radius);
  background: rgba(26, 15, 48, 0.52);
  padding: 1.05rem;
}

.system-steps span,
.skill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 163, 255, 0.42);
  border-radius: 999px;
  background: rgba(196, 163, 255, 0.12);
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
}

.system-steps span {
  width: 2.4rem;
  height: 2.4rem;
}

.system-steps p {
  margin-top: 0;
}

.skill-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
}

.skill-columns h3 {
  margin-top: 0;
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-content: flex-start;
}

.credential-list p {
  margin: 0;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.credential-list p:hover {
  border-color: rgba(196, 163, 255, 0.72);
  background: rgba(196, 163, 255, 0.12);
  color: var(--foreground);
}

.contact {
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 110, 199, 0.13), transparent 26rem),
    #08040f;
}

.contact-card {
  position: relative;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.contact-card > .live-dot {
  margin-bottom: 1rem;
}

.contact-actions {
  margin-top: 1.4rem;
}

.contact-button {
  justify-content: flex-start;
}

.contact-button span {
  min-width: 0;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 2.5rem 0 8rem;
  color: var(--muted-2);
  font-size: 0.86rem;
}

.floating-action {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  background: var(--grad-cta);
  color: #fff;
  padding: 0.85rem 1rem;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0 42px rgba(139, 92, 246, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 56px rgba(255, 110, 199, 0.44);
}

.floating-action svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.back-to-top {
  position: fixed;
  right: 1.35rem;
  bottom: 5rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: rgba(26, 15, 48, 0.72);
  color: var(--foreground);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes grad-drift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes live-ping {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  80%, 100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

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

@media (max-width: 1100px) {
  .nav-chip {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 9rem;
  }

  h1 {
    max-width: 13ch;
  }

  .hero-lab {
    width: min(620px, 100%);
    margin: 0 auto;
  }

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

@media (max-width: 860px) {
  .site-header {
    top: 42px;
  }

  .nav {
    align-items: stretch;
    border-radius: 24px;
    flex-wrap: wrap;
    padding: 0.5rem;
  }

  .brand {
    flex: 1 1 auto;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 0.25rem;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 11.25rem;
  }

  .intro-grid,
  .section-heading,
  .credentials,
  .systems-inner,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .top-banner {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .site-header {
    padding: 0 0.75rem;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .nav {
    gap: 0.4rem;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 0.58rem 0.62rem;
    font-size: 0.64rem;
  }

  .hero,
  .section,
  .footer {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    gap: 1.5rem;
    padding-top: 11.5rem;
    padding-bottom: 3rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13.8vw, 4.2rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-button {
    width: 100%;
  }

  .profile-card,
  .profile-card img {
    min-height: 420px;
  }

  .signal-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    order: -1;
  }

  .hero-stats,
  .metric-grid,
  .story-grid,
  .skill-columns {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .systems,
  .contact {
    padding-left: 12px;
    padding-right: 12px;
  }

  .system-steps div {
    grid-template-columns: 1fr;
  }

  .floating-action {
    display: none;
  }

  .back-to-top {
    right: 0.85rem;
    bottom: 4.7rem;
  }
}
