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

:root {
  color-scheme: dark;

  --color-background: #0a1322;
  --color-background-deep: #060c15;
  --color-surface: rgba(11, 20, 36, 0.82);
  --color-surface-elevated: rgba(14, 25, 43, 0.92);
  --color-surface-soft: rgba(255, 255, 255, 0.04);
  --color-accent: #4ba3ff;
  --color-accent-strong: #89c2ff;
  --color-accent-soft: rgba(75, 163, 255, 0.15);
  --color-accent-glow: rgba(75, 163, 255, 0.24);
  --color-text: #edf4ff;
  --color-text-high: #ffffff;
  --color-text-secondary: #bdcfe5;
  --color-text-muted: #7f93ad;
  --color-divider: rgba(173, 204, 241, 0.12);
  --color-divider-strong: rgba(173, 204, 241, 0.18);

  --font-body: 'Plus Jakarta Sans', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 30px;
  --radius-xl: 38px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 28px 72px rgba(0, 0, 0, 0.24);
  --shadow-accent: 0 0 0 1px rgba(137, 194, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.3);

  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 16% 14%, rgba(75, 163, 255, 0.15), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(137, 194, 255, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%),
    var(--color-background-deep);
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 32px 20px 64px;
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(75, 163, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(137, 194, 255, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(5, 10, 19, 0.42), rgba(10, 19, 34, 0.94)),
    var(--color-background);
  background-size: 68px 68px, 68px 68px, auto, auto, auto, auto;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent-strong);
  text-decoration: none;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

a:hover {
  color: var(--color-text-high);
}

p,
li,
dd,
label span {
  color: var(--color-text-secondary);
}

strong {
  color: var(--color-text-high);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--color-text-high);
  font-family: var(--font-display);
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  letter-spacing: -0.055em;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.95rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.22rem, 2.3vw, 1.62rem);
}

main,
.page-shell,
.site-shell {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.tech-icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tech-float-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1200px;
}

.tech-float-layer-back {
  z-index: 0;
}

.tech-float-layer-front {
  z-index: 3;
}

.tech-float {
  --float-size: 92px;
  --float-rotate: 0deg;
  --float-lift: 0px;
  --float-travel: 12px;
  --float-duration: 14s;
  --float-delay: 0s;
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--float-size);
  aspect-ratio: 1;
  border-radius: 28%;
  color: var(--tech-color, #9ed0ff);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 42%),
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.26), transparent 38%),
    linear-gradient(180deg, rgba(18, 30, 52, 0.96), rgba(7, 12, 22, 0.88));
  border: 1px solid rgba(173, 204, 241, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -14px 20px rgba(0, 0, 0, 0.24),
    0 24px 44px rgba(0, 0, 0, 0.28);
  transform-style: preserve-3d;
  will-change: transform;
  animation: tech-float var(--float-duration) ease-in-out infinite;
  animation-delay: var(--float-delay);
}

.tech-float::before,
.tech-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.tech-float::before {
  inset: 8%;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 50%);
  transform: translateZ(16px);
}

.tech-float::after {
  inset: auto 12% -14%;
  height: 18%;
  border-radius: 50%;
  background: rgba(3, 6, 12, 0.42);
  filter: blur(8px);
  transform: translateZ(-18px);
}

.tech-float svg {
  width: 56%;
  height: 56%;
  transform: translateZ(24px);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
}

.tech-float-layer-back .tech-float {
  opacity: 0.28;
  filter: blur(0.2px) saturate(0.92);
}

.tech-float-layer-front .tech-float {
  opacity: 0.68;
}

.is-flutter {
  --tech-color: #62d6ff;
}

.is-react {
  --tech-color: #7fe7ff;
}

.is-vue {
  --tech-color: #6ee7b7;
}

.is-python {
  --tech-color: #f3d06b;
}

.is-java {
  --tech-color: #ffb27a;
}

.is-javascript {
  --tech-color: #ffe66e;
}

.is-firebase {
  --tech-color: #ffbd6f;
}

.is-supabase {
  --tech-color: #66f2b4;
}

.is-gcp {
  --tech-color: #9dc0ff;
}

.is-aws {
  --tech-color: #ffcb80;
}

.is-azure {
  --tech-color: #6bc4ff;
}

.is-kotlin {
  --tech-color: #c898ff;
}

.is-swift {
  --tech-color: #ff946f;
}

.tech-float-1 {
  top: 4%;
  left: max(14px, calc(50% - 770px));
  --float-size: 82px;
  --float-rotate: -10deg;
  --float-duration: 16s;
}

.tech-float-2 {
  top: 8%;
  right: clamp(-26px, calc(50% - 760px), 18px);
  --float-size: 124px;
  --float-rotate: 9deg;
  --float-travel: 16px;
  --float-lift: 18px;
  --float-duration: 18s;
  --float-delay: -5s;
}

.tech-float-3 {
  top: 15%;
  right: max(18px, calc(50% - 760px));
  --float-size: 76px;
  --float-rotate: -14deg;
  --float-duration: 15s;
  --float-delay: -2s;
}

.tech-float-4 {
  top: 22%;
  left: max(18px, calc(50% - 725px));
  --float-size: 118px;
  --float-rotate: 8deg;
  --float-lift: -10px;
  --float-duration: 17s;
  --float-delay: -8s;
}

.tech-float-5 {
  top: 31%;
  right: clamp(-18px, calc(50% - 740px), 16px);
  --float-size: 84px;
  --float-rotate: 11deg;
  --float-travel: 14px;
  --float-duration: 15s;
  --float-delay: -4s;
}

.tech-float-6 {
  top: 39%;
  left: max(10px, calc(50% - 765px));
  --float-size: 108px;
  --float-rotate: -8deg;
  --float-duration: 19s;
  --float-delay: -9s;
}

.tech-float-7 {
  top: 49%;
  right: clamp(-12px, calc(50% - 770px), 14px);
  --float-size: 68px;
  --float-rotate: 13deg;
  --float-travel: 11px;
  --float-duration: 14s;
  --float-delay: -3s;
}

.tech-float-8 {
  top: 58%;
  left: clamp(-54px, calc(50% - 840px), 4px);
  --float-size: 72px;
  --float-rotate: -12deg;
  --float-lift: 12px;
  --float-duration: 17s;
  --float-delay: -7s;
}

.tech-float-9 {
  top: 66%;
  right: max(16px, calc(50% - 760px));
  --float-size: 122px;
  --float-rotate: 9deg;
  --float-duration: 20s;
  --float-delay: -12s;
}

.tech-float-10 {
  top: 77%;
  right: clamp(-46px, calc(50% - 860px), 0px);
  left: auto;
  --float-size: 64px;
  --float-rotate: 8deg;
  --float-travel: 13px;
  --float-duration: 15s;
  --float-delay: -6s;
}

.tech-float-11 {
  top: 84%;
  right: clamp(-24px, calc(50% - 755px), 16px);
  --float-size: 102px;
  --float-rotate: -11deg;
  --float-lift: 14px;
  --float-duration: 18s;
  --float-delay: -10s;
}

.tech-float-12 {
  top: 91%;
  left: max(18px, calc(50% - 700px));
  --float-size: 74px;
  --float-rotate: 10deg;
  --float-duration: 14s;
  --float-delay: -5s;
}

.tech-float-13 {
  top: 95%;
  right: max(20px, calc(50% - 745px));
  --float-size: 98px;
  --float-rotate: -13deg;
  --float-duration: 18s;
  --float-delay: -11s;
}

@keyframes tech-float {
  0%,
  100% {
    transform: translate3d(0, 0, var(--float-lift)) rotateX(19deg) rotateY(-16deg) rotateZ(var(--float-rotate));
  }

  50% {
    transform: translate3d(0, calc(var(--float-travel) * -1), var(--float-lift)) rotateX(13deg) rotateY(-9deg) rotateZ(calc(var(--float-rotate) + 4deg));
  }
}

.site-shell,
.page-shell,
.section,
.hero-copy,
.signal-panel,
.product-card,
.project-feature-copy,
.project-feature-panel,
.contact-form,
.contact-panel,
.manifesto-card {
  display: grid;
  gap: 18px;
}

.site-shell,
.page-shell {
  gap: 28px;
}

.surface-card,
.elevated-card,
.hero-card,
.metric-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.surface-card,
.metric-card {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.elevated-card {
  padding: 28px;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-divider-strong);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-pill);
  background: rgba(9, 16, 29, 0.8);
  overflow: visible;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  min-height: 40px;
  padding: 10px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-pill);
  color: var(--color-text-high);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  flex-direction: column;
}

.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

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

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  color: var(--color-text-high);
}

.mini-brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.mini-brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.site-nav .nav-cta {
  color: var(--color-text-high);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-divider);
}

.nav-app-link {
  position: relative;
  gap: 8px;
}

.nav-app-badge {
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 16px;
  margin-inline: auto;
  padding: 2px 8px;
  border: 1px solid rgba(137, 194, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(9, 16, 29, 0.96);
  color: #cfe6ff;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  animation: nav-app-badge-float 3.4s ease-in-out infinite;
}

.nav-app-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
  opacity: 0.9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
  filter: saturate(0.92) brightness(0.98);
}

.nav-app-link:hover .nav-app-icon,
.nav-app-link:focus-visible .nav-app-icon {
  opacity: 1;
  transform: scale(1.04);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  filter: saturate(1) brightness(1.02);
}

.nav-app-link:hover .nav-app-badge,
.nav-app-link:focus-visible .nav-app-badge {
  color: #ffffff;
  border-color: rgba(137, 194, 255, 0.34);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

@keyframes nav-app-badge-float {
  0%,
  100% {
    transform: translateY(-50%) rotate(-1deg);
  }

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

@media (prefers-reduced-motion: reduce) {
  .nav-app-badge {
    animation: none;
  }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--color-divider-strong);
  border-radius: var(--radius-pill);
  color: var(--color-text-high);
  background: rgba(9, 16, 29, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.back-to-top:hover {
  transform: translateY(-1px);
  background: rgba(15, 26, 44, 0.92);
}

.hero-card {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(137, 194, 255, 0.18);
  background:
    linear-gradient(140deg, rgba(75, 163, 255, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(137, 194, 255, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(75, 163, 255, 0.09), transparent 28%),
    linear-gradient(155deg, rgba(15, 27, 45, 0.96), rgba(8, 13, 23, 0.94));
  box-shadow: var(--shadow-accent);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(122deg, transparent 0 58%, rgba(137, 194, 255, 0.05) 58% 64%, transparent 64% 100%);
  pointer-events: none;
}

.hero-card::after {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -28%;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  border-radius: 30% 24% 40% 24%;
  transform: rotate(12deg);
  background: radial-gradient(circle, var(--color-accent-glow), transparent 68%);
  pointer-events: none;
}

.hero-grid,
.project-feature,
.about-grid,
.contact-grid,
.field-grid {
  display: grid;
  gap: 20px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

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

.hero-panel {
  align-self: start;
  align-content: start;
  background: rgba(9, 18, 31, 0.68);
}

.brand-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: clamp(88px, 12vw, 122px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.24));
}

.brand-wordmark {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-transform: lowercase;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(137, 194, 255, 0.2);
  color: #a9d4ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede,
.section-copy,
.form-note {
  max-width: 64ch;
  font-size: 1.05rem;
}

.muted,
.subtle,
.form-note {
  color: var(--color-text-secondary);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.button-primary {
  color: #f7fbff;
  background: linear-gradient(135deg, #6cb5ff, #2e8ef3);
  box-shadow: 0 14px 34px rgba(46, 142, 243, 0.22);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(46, 142, 243, 0.28);
}

.button-secondary {
  color: var(--color-text-high);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-divider);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(169, 212, 255, 0.26);
  transform: translateY(-1px);
}

.section {
  scroll-margin-top: 108px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.section-title {
  max-width: 18ch;
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  min-height: 100%;
}

.signal-label {
  margin: 0;
  color: #a9d4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-list,
.project-highlights,
.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.signal-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.signal-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(137, 194, 255, 0.12);
  color: #b8dcff;
  font-size: 0.82rem;
  font-weight: 800;
}

.signal-list p,
.project-highlights li,
.contact-list li {
  margin: 6px 0 0;
}

.project-feature {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  align-items: center;
}

.project-feature-panel {
  align-content: start;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-divider);
}

.project-app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.about-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.72fr));
}

.metric-card h3 {
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  font-weight: 600;
}

.metric-value {
  color: var(--color-text-high);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.metric-change {
  color: #acd6ff;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 20px;
  align-content: start;
}

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

.form-field {
  display: grid;
  gap: 10px;
}

.form-field span,
.checkbox-field span {
  font-size: 0.96rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(173, 204, 241, 0.18);
  border-radius: var(--radius-sm);
  color: var(--color-text-high);
  font: inherit;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-muted);
}

.form-field input:focus,
.form-field textarea:focus,
.checkbox-field input:focus {
  outline: none;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.checkbox-field input:focus-visible,
.site-nav a:focus-visible,
.mini-brand:focus-visible,
.button-primary:focus-visible,
.button-secondary:focus-visible {
  border-color: rgba(137, 194, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(75, 163, 255, 0.14);
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.checkbox-field input {
  margin-top: 4px;
}

.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-panel {
  align-content: start;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-toggle:focus-visible,
.back-to-top:focus-visible {
  border-color: rgba(137, 194, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(75, 163, 255, 0.14);
}

@media (max-width: 980px) {
  .tech-float-layer-front {
    display: none;
  }

  .tech-float-layer-back .tech-float-3,
  .tech-float-layer-back .tech-float-6,
  .tech-float-layer-back .tech-float-9,
  .tech-float-layer-back .tech-float-10,
  .tech-float-layer-back .tech-float-13 {
    display: none;
  }

  .tech-float {
    --float-size: 74px;
    opacity: 0.2;
  }

  .tech-float-1 {
    top: 3%;
    left: 12px;
  }

  .tech-float-4 {
    top: 26%;
    right: 12px;
    left: auto;
  }

  .tech-float-12 {
    top: 82%;
    left: 12px;
  }

  .hero-grid,
  .project-feature,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    max-width: 24ch;
  }

  .topbar {
    position: static;
    flex-wrap: nowrap;
    align-items: center;
    border-radius: var(--radius-md);
  }

  .nav-shell {
    width: auto;
    display: flex;
    justify-content: flex-end;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(260px, calc(100vw - 32px));
    padding: 10px;
    grid-template-columns: 1fr;
    gap: 8px;
    border: 1px solid var(--color-divider-strong);
    border-radius: var(--radius-md);
    background: rgba(9, 16, 29, 0.96);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
    z-index: 30;
  }

  .nav-toggle-input:checked + .nav-toggle + .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .tech-float-layer-back .tech-float-4,
  .tech-float-layer-back .tech-float-12 {
    display: none;
  }

  .tech-float-layer-back .tech-float-1 {
    top: 2.5%;
    left: 8px;
    --float-size: 58px;
    opacity: 0.14;
  }

  body {
    padding: 20px 16px 40px;
    background-size: 48px 48px, 48px 48px, auto, auto, auto, auto;
  }

  .surface-card,
  .elevated-card,
  .metric-card,
  .hero-card {
    padding: 22px;
  }

  .site-nav a,
  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .brand-lockup {
    gap: 14px;
  }

  .brand-wordmark {
    font-size: clamp(2.1rem, 11vw, 3.5rem);
  }

  .field-grid,
  .action-row {
    grid-template-columns: 1fr;
  }

  .action-row {
    display: grid;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    min-width: 54px;
    min-height: 46px;
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-float {
    animation: none;
  }
}