:root {
  color-scheme: dark;
  --primary: #3b82f6;
  --secondary: #8b5cf6;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --surface-soft: rgba(255, 255, 255, 0.045);
  --background: #04070f;
  --background-deep: #01030a;
  --text: #f7fbff;
  --text-muted: #a8b3c7;
  --text-dim: #6f7d95;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(96, 165, 250, 0.42);
  --radius: 8px;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-brand: "Audiowide", system-ui, sans-serif;
  --font-display: "Chakra Petch", system-ui, sans-serif;
  --font-mono:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family: var(--font-mono);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 14.5px;
  scroll-behavior: smooth;
  background: var(--background-deep);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(4, 7, 15, 0.92), rgba(1, 3, 10, 0.98)),
    var(--background-deep);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  z-index: -2;
}

body::before {
  background:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

body::after {
  opacity: 0.23;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 8px
  );
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  box-shadow:
    0 0 0 2px rgba(59, 130, 246, 0.95),
    0 0 0 6px rgba(1, 3, 10, 0.95);
}

::selection {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.76);
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
}

.space-grid {
  position: fixed;
  inset: auto 0 0;
  height: 42vh;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 0,
      rgba(59, 130, 246, 0.18) 50%,
      transparent 100%
    ),
    linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.12));
  clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.34;
  z-index: -1;
}

.topbar,
.section-shell,
.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 12px 0;
}

.topbar::before {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  content: "";
  background: rgba(4, 7, 15, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  font-family: var(--font-brand);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  object-fit: contain;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.24),
    0 0 32px rgba(59, 130, 246, 0.26);
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a,
.topbar-cta {
  min-height: 38px;
  padding: 10px 13px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.84rem;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(59, 130, 246, 0.15);
}

.topbar-cta {
  justify-self: end;
  color: var(--text);
  background: rgba(59, 130, 246, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(59, 130, 246, 0.38),
    0 0 28px rgba(59, 130, 246, 0.18);
}

.topbar-cta:hover {
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.24);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-soft);
}

.nav-toggle span {
  grid-area: 1 / 1;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms var(--ease);
}

.nav-toggle span:first-child {
  transform: translateY(-5px);
}

.nav-toggle span:last-child {
  transform: translateY(5px);
}

.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.control-stage {
  display: grid;
  align-content: center;
  gap: 28px;
  width: min(calc(100% - 32px), var(--max));
  min-height: calc(100svh - 118px);
  margin: 0 auto;
  padding: 38px 0 58px;
}

.mission-copy {
  min-width: 0;
  max-width: 980px;
}

.eyebrow,
.panel-code,
.project-tag {
  margin: 0 0 16px;
  color: #93c5fd;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 1120px;
  font-size: 3.72rem;
  line-height: 1.1;
}

h1 .hero-title-brand {
  display: block;
  font-family: var(--font-brand);
  font-size: 1em;
  font-weight: 400;
}

h1 .hero-title-vi {
  display: inline-block;
  color: transparent;
  font-size: 0.82em;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.08em 0 0.06em;
  line-height: 1.18;
  white-space: nowrap;
  background: linear-gradient(90deg, #075985 0%, #0891b2 52%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  max-width: 900px;
  font-size: 2.28rem;
  line-height: 1.12;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-lede,
.section-heading p,
.value-panel p,
.project-card p,
.crew-card p,
.contact-lead > p {
  color: var(--text-muted);
  line-height: 1.72;
}

.hero-lede {
  max-width: min(840px, 100%);
  margin: 20px 0 0;
  font-size: 1.02rem;
}

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

.button {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  color: var(--text);
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

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

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 34px rgba(59, 130, 246, 0.36);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mission-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dock-item,
.value-panel,
.project-card,
.crew-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.085),
      rgba(255, 255, 255, 0.035)
    ),
    rgba(4, 7, 15, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.dock-item {
  min-height: 122px;
  padding: 16px;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.dock-item:hover,
.value-panel:hover,
.project-card:hover,
.crew-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    linear-gradient(
      180deg,
      rgba(59, 130, 246, 0.14),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(4, 7, 15, 0.76);
}

.dock-item span {
  color: #60a5fa;
  font-size: 0.76rem;
}

.dock-item strong {
  display: block;
  margin-top: 20px;
  font-family: var(--font-brand);
  font-weight: 400;
}

.dock-item small {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.45;
}

.section-shell {
  padding: 74px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 26px;
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1rem;
}

.compact-heading {
  display: block;
  max-width: 920px;
}

.compact-heading .eyebrow {
  margin-bottom: 16px;
}

.compact-heading > p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.value-panel {
  min-height: 210px;
  padding: 19px;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.value-panel h3 {
  margin-top: 34px;
}

.value-panel p {
  margin: 14px 0 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.045);
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease);
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.48);
  background: rgba(59, 130, 246, 0.16);
}

.project-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.1), transparent 32%),
    rgba(4, 7, 15, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.project-carousel::before,
.project-carousel::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 78px;
  pointer-events: none;
  content: "";
  z-index: 2;
}

.project-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(4, 7, 15, 0.94), transparent);
}

.project-carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(4, 7, 15, 0.94), transparent);
}

.project-track {
  display: flex;
  min-width: 0;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 12px;
  scroll-behavior: auto;
  scrollbar-color: rgba(59, 130, 246, 0.42) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  will-change: scroll-position;
}

.project-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.project-card {
  display: grid;
  flex: 0 0 min(340px, 82vw);
  min-height: 378px;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    opacity 180ms var(--ease);
}

.project-track.is-dragging .project-card {
  pointer-events: none;
}

.project-track.is-dragging .project-card:hover {
  transform: none;
}

.project-card.is-hidden {
  display: none;
}

.project-card-wide {
  flex-basis: min(455px, 88vw);
}

.project-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.project-card > div {
  padding: 16px;
}

.project-card h3 {
  margin-top: 12px;
}

.project-card p {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.project-card > a,
.chip-list a {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  margin: 0 16px 16px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.32);
  font-size: 0.82rem;
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.project-card > a:hover,
.chip-list a:hover {
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.24);
}

.project-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  margin-bottom: 0;
  padding: 5px 8px;
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: var(--radius);
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.12);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip-list a {
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.crew-card {
  padding: 18px;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.crew-photo {
  position: relative;
}

.crew-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(0.9) contrast(1.05);
}

.crew-card h3 {
  margin-top: 18px;
}

.crew-card p {
  margin: 10px 0 0;
}

.alias-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(19, 143, 156, 0.48);
  border-radius: var(--radius);
  color: #d6fcff;
  background: rgba(1, 3, 10, 0.74);
  box-shadow: 0 0 22px rgba(19, 143, 156, 0.22);
  font-size: 0.82rem;
  backdrop-filter: blur(14px);
}

.alias-tag small {
  color: #67e8f9;
  font-size: 0.62rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.social-links a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(59, 130, 246, 0.12);
  font-size: 0.78rem;
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.52);
  background: rgba(59, 130, 246, 0.2);
}

.contact-section {
  display: block;
}

.contact-deck {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.11), transparent 34%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(4, 7, 15, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 90px rgba(0, 0, 0, 0.32);
}

.contact-deck::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.62), transparent 72%);
}

.contact-lead,
.contact-form,
.contact-methods,
.contact-main {
  position: relative;
  min-width: 0;
}

.contact-main {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  gap: 16px;
  align-content: start;
}

.contact-lead {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 6px 4px 0;
}

.contact-lead .eyebrow {
  margin-bottom: 0;
}

.contact-lead h2 {
  max-width: none;
}

.contact-lead > p {
  max-width: 700px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.contact-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background: rgba(1, 3, 10, 0.5);
}

.contact-status span {
  display: grid;
  width: 46px;
  height: 46px;
  grid-row: span 2;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.38);
  border-radius: var(--radius);
  color: #a5f3fc;
  background: rgba(14, 116, 144, 0.16);
  font-family: var(--font-brand);
  font-size: 0.84rem;
}

.contact-status strong {
  color: #bbf7d0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-status small {
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(1, 3, 10, 0.34);
}

.contact-form-heading {
  display: grid;
  gap: 6px;
}

.contact-form-heading span {
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.contact-form-heading h3 {
  margin: 0;
  font-size: 1.42rem;
}

.form-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(1, 3, 10, 0.74);
  padding: 13px 14px;
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease);
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(59, 130, 246, 0.74);
  background: rgba(1, 3, 10, 0.88);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.contact-methods {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: start;
  align-self: stretch;
  overflow: visible;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(1, 3, 10, 0.34);
}

.contact-methods-title {
  margin: 0;
  padding: 0;
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-methods-note {
  margin: 0;
  padding: 0 0 6px;
  border-bottom: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.contact-method {
  position: relative;
  display: grid;
  min-height: 60px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 36px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

.contact-method::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.55);
  content: "";
  transition:
    background 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

.contact-method:hover {
  transform: translateX(2px);
  border-color: rgba(34, 211, 238, 0.46);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.16), rgba(59, 130, 246, 0.08)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 0 0 1px rgba(34, 211, 238, 0.08),
    0 12px 30px rgba(8, 145, 178, 0.14);
}

.contact-method:hover::before {
  transform: scale(1.35);
  background: #67e8f9;
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.78);
}

.contact-location {
  min-height: 72px;
  cursor: default;
}

.contact-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(19, 143, 156, 0.38);
  border-radius: var(--radius);
  color: #67e8f9;
  background: rgba(19, 143, 156, 0.12);
  box-shadow: 0 0 26px rgba(19, 143, 156, 0.16);
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-method small {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.contact-method strong {
  display: block;
  min-width: 0;
  color: var(--text);
  font-weight: 400;
  line-height: 1.42;
  overflow-wrap: anywhere;
  transition: color 180ms var(--ease);
}

.contact-method:hover .contact-icon {
  border-color: rgba(103, 232, 249, 0.72);
  color: #cffafe;
  background: rgba(8, 145, 178, 0.24);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.24);
}

.contact-method:hover strong {
  color: #ecfeff;
}

.form-note {
  min-height: 34px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.footer p {
  margin: 0;
  font-size: 0.84rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms var(--ease),
    transform 520ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  @media (max-width: 1020px) {
    .nav-links {
      position: absolute;
      top: 70px;
      right: 0;
      left: 232px;

      display: grid;
      gap: 8px;
      padding: 10px;

      background: rgba(4, 7, 15, 0.94);
      backdrop-filter: blur(18px);

      opacity: 0;
      visibility: hidden;
      transform: translateY(-12px);
      transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

      pointer-events: none;
    }

    .topbar-cta {
      display: none;
    }

    .nav-open .nav-links {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }
  }

  .nav-open .nav-links a {
    min-height: 44px;
    padding: 12px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .mission-dock,
  .values-grid,
  .team-grid,
  .compact-heading {
    grid-template-columns: 1fr 1fr;
  }

  .compact-heading {
    align-items: start;
  }

  .contact-deck {
    grid-template-columns: 1fr;
  }

  .contact-main {
    grid-column: 1;
    grid-row: auto;
    order: -1;
    gap: 16px;
  }

  .contact-methods {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .topbar,
  .section-shell,
  .control-stage,
  .footer {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  html {
    font-size: 13.5px;
  }

  body {
    min-width: 0;
  }

  .topbar {
    min-height: 64px;
    padding: 8px 0;
  }

  .topbar::before {
    height: 70px;
  }

  .brand {
    font-size: 0.86rem;
    gap: 9px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .nav-open .nav-links {
    top: 70px;
  }

  .control-stage {
    min-height: auto;
    padding: 20px 0 28px;
    gap: 18px;
  }

  h1 {
    font-size: 1.45rem;
  }

  h1 .hero-title-brand,
  h1 .hero-title-vi {
    max-width: 100%;
    white-space: normal;
  }

  h1 .hero-title-brand {
    font-size: 0.96em;
  }

  h2 {
    font-size: 1.52rem;
  }

  h3 {
    font-size: 1rem;
  }

  .hero-lede,
  .section-heading p,
  .contact-lead > p {
    max-width: 100%;
    font-size: 0.88rem;
  }

  .hero-lede {
    margin-top: 14px;
    line-height: 1.48;
  }

  .mission-copy,
  .section-heading,
  .contact-deck {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions,
  .values-grid,
  .team-grid,
  .compact-heading {
    grid-template-columns: 1fr;
  }

  .project-carousel::before,
  .project-carousel::after {
    width: 34px;
  }

  .compact-heading .eyebrow,
  .compact-heading h2,
  .compact-heading > p:not(.eyebrow) {
    grid-column: 1;
    justify-self: start;
    max-width: none;
  }

  .compact-heading > p:not(.eyebrow) {
    margin-top: 16px;
  }

  .mission-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-deck {
    padding: 14px;
    gap: 14px;
  }

  .contact-lead {
    gap: 14px;
    padding: 2px 0 0;
  }

  .contact-status {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 10px;
    padding: 12px;
  }

  .contact-status span {
    width: 40px;
    height: 40px;
  }

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

  .contact-form {
    gap: 12px;
    padding: 13px;
  }

  .contact-form textarea {
    min-height: 104px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 8px;
    overflow: visible;
  }

  .contact-method {
    min-height: 62px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 10px 32px 10px 10px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .button {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .dock-item,
  .value-panel {
    min-height: auto;
  }

  .dock-item {
    padding: 12px;
  }

  .dock-item strong {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .dock-item small {
    display: none;
  }

  .value-panel h3 {
    margin-top: 28px;
  }

  .project-card,
  .project-card-wide {
    grid-column: span 1;
  }

  .project-card img {
    height: 132px;
  }

  .section-shell {
    padding: 58px 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  html {
    font-size: 13px;
  }

  .topbar,
  .section-shell,
  .control-stage,
  .footer {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .control-stage {
    padding: 16px 0 24px;
  }

  .eyebrow,
  .panel-code,
  .project-tag {
    margin-bottom: 12px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: 1.36rem;
  }

  h2 {
    font-size: 1.38rem;
    line-height: 1.16;
  }

  .hero-lede,
  .section-heading p,
  .value-panel p,
  .project-card p,
  .crew-card p,
  .contact-lead > p {
    line-height: 1.58;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .filter-button {
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .project-carousel {
    padding: 8px;
  }

  .project-track {
    gap: 10px;
  }

  .project-card,
  .project-card-wide {
    flex-basis: min(304px, 84%);
    min-height: 350px;
  }

  .project-card > div {
    padding: 13px;
  }

  .project-card > a,
  .chip-list a {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.76rem;
  }

  .crew-card {
    padding: 14px;
  }

  .contact-deck {
    padding: 12px;
  }

  .contact-form-heading h3 {
    font-size: 1.18rem;
  }

  .contact-methods-note {
    font-size: 0.8rem;
  }

  .contact-method {
    min-height: 58px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 26px 9px 9px;
  }

  .contact-method::before {
    top: 12px;
    right: 10px;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
