:root {
  color-scheme: dark;
  --ink: #080808;
  --ink-2: #111111;
  --panel: rgba(19, 19, 19, 0.74);
  --panel-strong: rgba(29, 29, 29, 0.92);
  --line: rgba(245, 245, 241, 0.14);
  --text: #f4f4f1;
  --muted: #a7a7a1;
  --soft: #d6d6d0;
  --accent: #d8d8d2;
  --label: #bdbdb7;
  --trace: #8e918f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --section-pad: clamp(5rem, 9vw, 9rem);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(245, 245, 241, 0.09), transparent 30rem),
    radial-gradient(circle at 82% 20%, rgba(142, 145, 143, 0.12), transparent 28rem),
    linear-gradient(140deg, #050505 0%, #101010 48%, #181818 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

body.command-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
}

.cursor-aura {
  position: fixed;
  z-index: 5;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(216, 216, 210, 0.12), transparent 64%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: 58px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(245, 245, 241, 0.36);
  border-radius: 50%;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
}

.brand span:first-child {
  transform: translate(-5px, -4px);
}

.brand span:last-child {
  position: absolute;
  transform: translate(6px, 6px);
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.4rem, 1.8vw, 1.4rem);
}

.site-header nav a,
.header-link,
.header-command {
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 38px;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.site-header nav a:hover,
.site-header nav a.is-active,
.header-link:hover,
.header-command:hover,
.site-header nav a:focus-visible,
.header-link:focus-visible,
.header-command:focus-visible {
  background: rgba(245, 245, 241, 0.09);
  color: var(--text);
  outline: 0;
}

.site-header nav a:focus-visible,
.header-link:focus-visible,
.header-command:focus-visible,
.brand:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.orbit-node:focus-visible {
  box-shadow: 0 0 0 3px rgba(216, 216, 210, 0.3);
  outline: 0;
}

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

.header-command {
  border: 1px solid rgba(245, 245, 241, 0.2);
  background: rgba(245, 245, 241, 0.05);
  cursor: pointer;
}

.header-link {
  border: 1px solid rgba(216, 216, 210, 0.34);
  color: var(--accent);
}

.page-rail {
  position: fixed;
  top: 50%;
  right: 24px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.page-rail::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 1px;
  height: 100%;
  content: "";
  background: var(--line);
}

.page-rail a {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(245, 245, 241, 0.38);
  border-radius: 50%;
  background: var(--ink-2);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.page-rail a.is-active {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.25);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 6vw, 5.6rem);
  align-items: center;
  min-height: 100vh;
  padding: 8rem 0 5.5rem;
}

.hero-copy h1 {
  max-width: 9.5ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.25rem, 7vw, 7.4rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
  font-size: 0.78em;
}

.role-line {
  width: fit-content;
  margin: 1.4rem 0 0;
  color: var(--accent);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  font-weight: 800;
}

.hero-summary {
  max-width: 690px;
  margin: 1.45rem 0 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.68;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
}

.primary-action {
  min-width: 172px;
  padding: 0 1.25rem;
  border: 0;
  background: var(--accent);
  color: #050505;
}

.secondary-action {
  min-width: 138px;
  padding: 0 1.1rem;
  border: 1px solid rgba(245, 245, 241, 0.32);
  background: rgba(245, 245, 241, 0.07);
  color: var(--text);
}

.primary-action::after,
.secondary-action::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.primary-action:hover::after,
.secondary-action:hover::after {
  transform: translateX(120%);
}

.orbit-stage {
  position: relative;
  display: grid;
  min-height: min(62vh, 640px);
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.8rem);
  place-items: center;
}

.orbit-stage::before {
  position: absolute;
  inset: 6% 6% 20%;
  border: 1px solid rgba(142, 145, 143, 0.16);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 80px rgba(142, 145, 143, 0.08);
}

.orbit-rings,
.orbit-rings span {
  position: absolute;
  inset: 0 0 14%;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-rings {
  opacity: 0.85;
}

.orbit-rings span {
  border: 1px dashed rgba(245, 245, 241, 0.18);
  animation: orbitSpin 28s linear infinite;
}

.orbit-rings span:nth-child(2) {
  inset: 14%;
  border-color: rgba(216, 216, 210, 0.24);
  animation-duration: 20s;
  animation-direction: reverse;
}

.orbit-rings span:nth-child(3) {
  inset: 27%;
  border-style: solid;
  border-color: rgba(189, 189, 183, 0.22);
  animation-duration: 34s;
}

.core-mark {
  display: grid;
  width: clamp(126px, 18vw, 176px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(245, 245, 241, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216, 216, 210, 0.28), transparent 58%),
    rgba(8, 8, 8, 0.72);
  box-shadow:
    0 0 60px rgba(216, 216, 210, 0.18),
    inset 0 0 32px rgba(245, 245, 241, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  transform: translateY(-2.2rem);
}

.core-mark span:first-child {
  transform: translate(-18px, -14px);
}

.core-mark span:last-child {
  position: absolute;
  transform: translate(20px, 18px);
}

.orbit-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(245, 245, 241, 0.28);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  color: var(--soft);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.orbit-node span {
  max-width: 72px;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.orbit-node:hover,
.orbit-node.is-selected {
  border-color: var(--accent);
  background: rgba(216, 216, 210, 0.12);
  color: var(--accent);
  transform: scale(1.08);
}

.node-posture {
  top: 12%;
  left: 18%;
}

.node-docs {
  top: 18%;
  right: 11%;
}

.node-clasi {
  right: 10%;
  bottom: 36%;
}

.node-semper {
  bottom: 28%;
  left: 13%;
}

.mission-readout {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  width: min(430px, 82%);
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.readout-label {
  margin: 0 0 0.6rem;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mission-readout h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.mission-readout p:last-child {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.route-dock {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.route-dock a {
  min-height: 112px;
  padding: 1rem;
  background: rgba(8, 8, 8, 0.7);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.route-dock a:hover,
.route-dock a:focus-visible {
  background: rgba(245, 245, 241, 0.08);
  outline: 0;
}

.route-dock span {
  display: block;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 950;
}

.route-dock strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.route-dock em {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.35;
}

.projects,
.interests,
.skills,
.contact {
  padding: 8rem 0 var(--section-pad);
}

.section-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading p {
  margin: 0.55rem 0 0;
  color: var(--label);
  font-size: 0.86rem;
  font-weight: 950;
}

.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 500;
  line-height: 0.95;
}

.page-intro {
  max-width: 720px;
  margin: -2.4rem 0 2rem 74px;
}

.page-intro p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.7;
}

.project-runway {
  position: relative;
  display: grid;
  gap: 1rem;
}

.project-runway::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 46px;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(216, 216, 210, 0.34), transparent);
}

.mission-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  min-height: 230px;
  overflow: hidden;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(245, 245, 241, 0.08), transparent 44%),
    var(--panel);
  box-shadow: var(--shadow);
  color: var(--text);
  transform-style: preserve-3d;
  backdrop-filter: blur(18px);
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.mission-card:nth-child(4) {
  border-color: rgba(216, 216, 210, 0.34);
  background:
    linear-gradient(135deg, rgba(216, 216, 210, 0.16), transparent 48%),
    var(--panel-strong);
}

.mission-card:hover,
.mission-card:focus-visible {
  border-color: rgba(216, 216, 210, 0.44);
  outline: 0;
  transform: translateY(-6px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
}

.mission-card:focus-visible {
  box-shadow:
    var(--shadow),
    0 0 0 3px rgba(216, 216, 210, 0.32);
}

.mission-card::before {
  position: absolute;
  top: -70px;
  right: -80px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(245, 245, 241, 0.16);
  border-radius: 50%;
  content: "";
}

.project-index {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-width: 0;
}

.project-index::before {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(245, 245, 241, 0.42);
  border-radius: 50%;
  background: #080808;
  box-shadow: 0 0 0 8px rgba(8, 8, 8, 0.88);
  content: "";
}

.project-index span {
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
}

.project-index em {
  max-width: 8rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.mission-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  min-width: 0;
}

.mission-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mission-card h3 {
  max-width: 760px;
  margin: 1.2rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.mission-card p {
  max-width: 700px;
  margin: 1rem 0 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.64;
}

.mission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.mission-tags span,
.contact-topics span {
  padding: 0.45rem 0.58rem;
  border: 1px solid rgba(245, 245, 241, 0.16);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.38);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.card-action-link {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 0.82rem;
  border: 1px solid rgba(245, 245, 241, 0.22);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.32);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.interest-lanes,
.skill-stack {
  display: grid;
  gap: 1rem;
}

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

.skill-stack {
  grid-template-columns: repeat(5, 1fr);
}

.interest-lanes article,
.skill-stack article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.interest-lanes article {
  min-height: 260px;
  padding: 1.1rem;
}

.interest-lanes span {
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.interest-lanes p {
  margin: 1rem 0 0;
  color: var(--soft);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 720;
  line-height: 1.55;
}

.skill-stack article {
  min-height: 230px;
  padding: 1.1rem;
}

.skill-stack h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.08;
}

.skill-stack p {
  margin: 0.9rem 0 0;
  color: var(--soft);
  line-height: 1.62;
}

.contact {
  min-height: 88vh;
  display: grid;
  place-items: center;
}

.contact-card {
  width: 100%;
  padding: clamp(1.4rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 84% 20%, rgba(189, 189, 183, 0.18), transparent 22rem),
    radial-gradient(circle at 14% 70%, rgba(216, 216, 210, 0.15), transparent 24rem),
    rgba(18, 18, 18, 0.8);
}

.contact-card h2 {
  max-width: 880px;
}

.contact-card p {
  max-width: 640px;
  margin: 1rem 0 0;
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.66;
}

.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 790px;
  margin-top: 1.4rem;
}

.command-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: start center;
  padding: min(12vh, 7rem) 1rem 1rem;
}

.command-overlay[hidden] {
  display: none;
}

.command-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(14px);
}

.command-shell {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(216, 216, 210, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 216, 210, 0.14), transparent 18rem),
    rgba(12, 12, 12, 0.96);
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.58);
}

.command-shell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.command-shell-top p {
  margin: 0;
  color: var(--label);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.command-shell-top button {
  min-height: 34px;
  padding: 0 0.8rem;
  border: 1px solid rgba(245, 245, 241, 0.2);
  border-radius: 999px;
  background: rgba(245, 245, 241, 0.06);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
}

#paletteInput {
  width: 100%;
  min-height: 66px;
  padding: 0 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: rgba(5, 5, 5, 0.36);
  color: var(--text);
  font-size: 1.15rem;
}

.palette-results {
  display: grid;
  max-height: min(58vh, 520px);
  overflow: auto;
  padding: 0.45rem;
}

.palette-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.15rem 0.9rem;
  width: 100%;
  padding: 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.palette-item:hover,
.palette-item:focus-visible {
  border-color: rgba(216, 216, 210, 0.28);
  background: rgba(245, 245, 241, 0.07);
  outline: 0;
}

.palette-item span {
  grid-row: span 2;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.palette-item strong {
  min-width: 0;
  font-size: 0.98rem;
}

.palette-item em {
  min-width: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.35;
}

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

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

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .interest-lanes,
  .skill-stack {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
    border-radius: 22px;
  }

  .site-header nav {
    grid-column: 1 / -1;
    order: 3;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0.35rem 0.2rem 0;
  }

  .header-actions {
    justify-self: end;
  }

  .page-rail {
    display: none;
  }

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

  .hero-copy h1 {
    max-width: 8.8ch;
  }

  .orbit-stage {
    min-height: 560px;
  }

  .route-dock {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  #signalCanvas,
  .cursor-aura {
    display: none;
  }

  .header-command {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .brand {
    margin-left: 0.1rem;
  }

  .interest-lanes,
  .skill-stack {
    grid-template-columns: 1fr;
  }

  .interest-lanes article,
  .skill-stack article {
    min-height: auto;
  }

  .mission-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 5rem;
  }

  .project-runway::before,
  .project-index::before {
    display: none;
  }

  .project-index {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .project-index em {
    max-width: none;
  }

  .mission-topline {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header nav a,
  .header-link,
  .header-command {
    padding: 0 0.58rem;
    font-size: 0.74rem;
  }

  .site-header nav {
    justify-content: space-between;
    gap: 0.15rem;
  }

  .hero {
    gap: 2rem;
    padding-top: 10.25rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(2.25rem, 10.8vw, 3rem);
    line-height: 0.95;
  }

  .hero-copy h1 span {
    font-size: 0.86em;
  }

  .role-line {
    width: auto;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .hero-summary {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .primary-action,
  .secondary-action {
    min-width: 0;
    flex: 1 1 145px;
    padding: 0 1rem;
  }

  .orbit-node {
    width: 72px;
    height: 72px;
  }

  .orbit-node span {
    max-width: 58px;
    font-size: 0.58rem;
  }

  .mission-readout {
    right: auto;
    left: 50%;
    width: min(330px, 88vw);
    transform: translateX(-50%);
  }

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

  .page-intro {
    margin: -1.2rem 0 2rem;
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: clamp(2.25rem, 14vw, 3.4rem);
  }

  .palette-item {
    grid-template-columns: 1fr;
  }

  .palette-item span {
    grid-row: auto;
  }
}

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

  #signalCanvas,
  .cursor-aura {
    display: none;
  }
}

@media print {
  body {
    background: white;
    color: #111;
  }

  #signalCanvas,
  .noise,
  .cursor-aura,
  .command-overlay,
  .site-header,
  .page-rail,
  .orbit-stage,
  .hero-actions {
    display: none !important;
  }

  .section {
    width: 100%;
    padding: 0.35in 0;
  }

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

  .hero-copy h1,
  .section-heading h2,
  .contact-card h2 {
    color: #111;
    font-size: 30pt;
  }

  .role-line,
  .section-heading p {
    color: #333333;
  }

  .mission-card,
  .contact-card,
  .interest-lanes article,
  .skill-stack article {
    break-inside: avoid;
    border: 1px solid #ccc;
    box-shadow: none;
    background: white;
    color: #111;
  }
}
