:root {
  color-scheme: dark;
  --bg: #05090c;
  --bg-deep: #020507;
  --bg-soft: #081116;
  --panel: #0a1419;
  --panel-raised: #0d1920;
  --panel-bright: #11222a;
  --text: #f3f7f7;
  --muted: #9caeb3;
  --quiet: #6f858b;
  --rule: rgba(166, 219, 225, 0.14);
  --rule-strong: rgba(166, 219, 225, 0.28);
  --cyan: #1ce2ed;
  --cyan-dark: #0eb9c4;
  --blue: #2e7dff;
  --pink: #ec4ea5;
  --gold: #f2c85b;
  --success: #55e9a5;
  --focus: #fff079;
  --shell: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pointer-x: 70%;
  --pointer-y: 14%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(28, 226, 237, 0.08), transparent 25rem),
    radial-gradient(circle at 12% 56%, rgba(46, 125, 255, 0.05), transparent 30rem),
    var(--bg);
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--cyan);
  color: var(--bg-deep);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

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

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

.shell {
  width: min(calc(100% - 56px), var(--shell));
  margin-inline: auto;
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--pink));
  box-shadow: 0 0 16px rgba(28, 226, 237, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
}

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

.background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 170, 179, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 170, 179, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.background-glow {
  position: absolute;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.13;
}

.glow-one {
  top: -17rem;
  left: -14rem;
  background: var(--cyan);
}

.glow-two {
  top: 28%;
  right: -20rem;
  background: var(--pink);
  opacity: 0.07;
}

.signal-line {
  position: absolute;
  top: -15%;
  width: 1px;
  height: 135%;
  opacity: 0.32;
}

.signal-line::after {
  position: absolute;
  top: 11%;
  left: -2px;
  width: 5px;
  height: 64px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 22px currentColor;
  content: "";
  animation: signal-travel 12s linear infinite;
}

.signal-cyan {
  left: 8%;
  background: linear-gradient(to bottom, transparent, rgba(28, 226, 237, 0.85), transparent);
  color: var(--cyan);
  transform: rotate(2deg);
}

.signal-magenta {
  right: 10%;
  background: linear-gradient(to bottom, transparent, rgba(236, 78, 165, 0.65), transparent);
  color: var(--pink);
  transform: rotate(-1deg);
}

@keyframes signal-travel {
  from { transform: translateY(-20vh); }
  to { transform: translateY(120vh); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(5, 9, 12, 0.76);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--rule);
  background: rgba(5, 9, 12, 0.94);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  text-decoration: none;
}

.brand img {
  width: 118px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(28, 226, 237, 0.14));
}

.brand > span {
  padding-left: 17px;
  border-left: 1px solid var(--rule-strong);
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-menu a {
  position: relative;
  min-height: 44px;
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.site-menu a:not(.nav-cta)::after {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}

.site-menu a:hover,
.site-menu a[aria-current="true"] {
  color: var(--text);
}

.site-menu a:hover::after,
.site-menu a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-menu .nav-cta {
  margin-left: 8px;
  padding-inline: 18px;
  border: 1px solid rgba(28, 226, 237, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(28, 226, 237, 0.07);
  color: var(--text);
}

.site-menu .nav-cta:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--bg-deep);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  min-height: calc(100svh - 82px);
  padding-block: clamp(78px, 10vw, 138px) 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-index,
.card-label,
.console-kicker {
  margin: 0;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(85, 233, 165, 0.7);
}

.status-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(85, 233, 165, 0.3);
  border-radius: inherit;
  content: "";
  animation: status-pulse 2.4s ease-out infinite;
}

@keyframes status-pulse {
  0% { opacity: 0; transform: scale(0.6); }
  36% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1.5); }
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-block: 24px 30px;
  font-size: clamp(3.2rem, 6.5vw, 6.6rem);
  font-weight: 780;
}

h1 em {
  position: relative;
  color: var(--cyan);
  font-style: normal;
  text-shadow: 0 0 42px rgba(28, 226, 237, 0.13);
}

h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 760;
}

h3 {
  font-size: 1.45rem;
}

.hero-intro {
  max-width: 63ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.78;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, transform 170ms var(--ease);
}

.button span,
.text-link span,
.inline-link span,
.project-actions span {
  display: inline-block;
  transition: transform 170ms var(--ease);
}

.button-primary {
  background: var(--cyan);
  color: var(--bg-deep);
  box-shadow: 0 12px 34px rgba(28, 226, 237, 0.13);
}

.button-primary:hover {
  background: #7bf5fb;
  box-shadow: 0 16px 40px rgba(28, 226, 237, 0.22);
}

.button-secondary {
  border-color: var(--rule-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(28, 226, 237, 0.62);
  background: rgba(28, 226, 237, 0.07);
}

.button:hover span,
.text-link:hover span,
.inline-link:hover span,
.project-actions a:hover span {
  transform: translate(2px, -2px);
}

.text-link,
.inline-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-underline-offset: 6px;
  text-decoration-color: rgba(28, 226, 237, 0.5);
  transition: color 150ms ease;
}

.text-link:hover,
.inline-link:hover {
  color: var(--cyan);
}

.hero-proof {
  margin: 46px 0 0;
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.78rem;
  list-style: none;
}

.hero-proof li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  line-height: 1.5;
}

.hero-proof span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
}

.build-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(28, 226, 237, 0.27);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(28, 226, 237, 0.06), transparent 44%),
    rgba(8, 17, 22, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.04);
}

.build-console::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 226, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 226, 237, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  content: "";
  pointer-events: none;
}

.console-bar {
  position: relative;
  z-index: 2;
  min-height: 48px;
  padding: 0 17px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  background: rgba(2, 5, 7, 0.42);
}

.console-bar > div {
  display: flex;
  gap: 6px;
}

.console-bar > div span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--quiet);
}

.console-bar > div span:first-child { background: var(--pink); }
.console-bar > div span:nth-child(2) { background: var(--gold); }
.console-bar > div span:nth-child(3) { background: var(--success); }

.console-bar p,
.console-status {
  margin: 0;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.console-status {
  justify-self: end;
  color: var(--success);
}

.console-body {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vw, 54px);
}

.console-body h2 {
  max-width: 13ch;
  margin-block: 14px 20px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.console-body > p:not(.console-kicker) {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pipeline {
  margin-block: 34px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.pipeline span {
  padding: 7px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: 5px;
  background: rgba(5, 9, 12, 0.72);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.64rem;
}

.pipeline span:last-child {
  border-color: rgba(85, 233, 165, 0.42);
  color: var(--success);
}

.pipeline i {
  height: 1px;
  background: linear-gradient(90deg, var(--rule-strong), var(--cyan));
}

.console-readout {
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: rgba(2, 5, 7, 0.62);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.console-readout span { color: var(--cyan); }
.console-readout strong { color: var(--text); }

.console-orbit {
  position: absolute;
  top: -115px;
  right: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(28, 226, 237, 0.13);
  border-radius: 50%;
  animation: orbit-rotate 20s linear infinite;
}

.console-orbit::before,
.console-orbit::after {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(46, 125, 255, 0.12);
  border-radius: inherit;
  content: "";
}

.console-orbit::after { inset: 68px; }

.console-orbit span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.console-orbit span:first-child { top: 45px; left: 32px; }
.console-orbit span:nth-child(2) { right: 5px; bottom: 94px; background: var(--pink); box-shadow: 0 0 13px var(--pink); }
.console-orbit span:last-child { bottom: 24px; left: 90px; background: var(--blue); box-shadow: 0 0 13px var(--blue); }

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

.scroll-cue {
  grid-column: 1 / -1;
  align-self: end;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: var(--rule-strong);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--cyan);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.section {
  position: relative;
  padding-block: clamp(96px, 12vw, 168px);
  border-top: 1px solid var(--rule);
}

.about-section {
  background: linear-gradient(180deg, rgba(8, 17, 22, 0.68), rgba(5, 9, 12, 0.18));
}

.section-intro {
  margin-bottom: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.section-index {
  padding-top: 10px;
  color: var(--quiet);
}

.section-intro .eyebrow {
  margin-bottom: 18px;
}

.section-intro h2 {
  max-width: 19ch;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
  gap: clamp(56px, 9vw, 120px);
  align-items: start;
}

.about-copy {
  position: sticky;
  top: 126px;
}

.about-copy p {
  margin: 0 0 22px;
  color: var(--muted);
}

.about-copy .lead {
  color: var(--text);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.profile-links {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--rule);
}

.profile-card {
  position: relative;
  min-height: 300px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  transition: background 180ms ease;
}

.profile-card::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 28px;
  height: 28px;
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  content: "";
  transition: width 220ms var(--ease), height 220ms var(--ease), border-color 180ms ease;
}

.profile-card-accent {
  background: linear-gradient(145deg, rgba(28, 226, 237, 0.1), var(--panel) 62%);
}

.profile-card h3 {
  max-width: 14ch;
  margin-block: auto 16px;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.work-section {
  background: var(--bg-deep);
}

.project {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.project-featured {
  overflow: hidden;
}

.project-featured .project-copy {
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.project-featured .project-copy h3 {
  margin-bottom: 0;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.project-featured .project-summary {
  margin: 0;
  font-size: 1rem;
}

.delivery-map {
  --map-accent: #48e6ed;
  position: relative;
  margin: 0;
  padding: 32px;
  border-top: 1px solid var(--rule-strong);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(28, 226, 237, 0.075), transparent 55%),
    linear-gradient(rgba(126, 177, 192, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 177, 192, 0.035) 1px, transparent 1px),
    #060e14;
  background-size: auto, 32px 32px, 32px 32px, auto;
  color: var(--text);
}

.delivery-map-heading,
.map-display-controls,
.map-process-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.map-eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font: 700 0.75rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.1em;
}

.delivery-map-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.map-display-controls {
  align-self: start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 0.875rem;
}

.map-motion-toggle {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--rule-strong);
  border-radius: 7px;
  background: #0c1b25;
  color: var(--text);
  cursor: pointer;
  font-size: 0.875rem;
}

.map-motion-toggle[hidden] { display: none; }
.map-motion-toggle:hover { border-color: var(--cyan); background: #102632; }
.map-motion-toggle:disabled { cursor: default; opacity: 0.8; }
.map-motion-toggle span { margin-right: 5px; }

.map-context {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.1fr);
  align-items: center;
  gap: 20px;
}

.map-owner,
.map-coordinator,
.map-prototype,
.map-publication {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.map-owner,
.map-coordinator {
  height: 100%;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  background: #0a1720;
}

.map-coordinator {
  border-color: rgba(111, 149, 255, 0.36);
  background: linear-gradient(120deg, rgba(46, 125, 255, 0.09), rgba(162, 124, 255, 0.06)), #0a1720;
}

.context-symbol,
.delivery-symbol {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(28, 226, 237, 0.27);
  border-radius: 10px;
  color: var(--cyan);
  font-size: 1.5rem;
  background: rgba(28, 226, 237, 0.06);
}

.map-coordinator .context-symbol {
  color: #bcafff;
  border-color: rgba(170, 147, 255, 0.35);
  background: rgba(170, 147, 255, 0.08);
}

.map-context strong,
.map-delivery strong,
.map-foundations strong,
.map-correction strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.map-context p,
.map-delivery p,
.map-foundations p,
.map-correction p {
  margin: 4px 0 0;
  color: #aabbc7;
  font-size: 0.875rem;
  line-height: 1.55;
}

.context-arrow,
.delivery-arrow {
  color: var(--quiet);
  font-size: 1.5rem;
}

.map-process-label {
  margin: 30px 0 15px;
  flex-wrap: wrap;
  color: var(--muted);
  font: 0.75rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.06em;
}

.map-process-label span:last-child { color: #8ca5b5; letter-spacing: 0; }

.delivery-flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.delivery-step {
  --step-color: #48e6ed;
  position: relative;
  min-width: 0;
  padding: 18px 14px 20px;
  border: 1px solid #29404f;
  border-top: 2px solid var(--step-color);
  border-radius: 9px;
  background: #0b1822;
  animation: stage-highlight 18s linear infinite;
}

.delivery-step:nth-child(2) { --step-color: #7cabff; animation-delay: -15s; }
.delivery-step:nth-child(3) { --step-color: #bda7ff; animation-delay: -12s; }
.delivery-step:nth-child(4) { --step-color: #f48fc7; animation-delay: -9s; }
.delivery-step:nth-child(5) { --step-color: #f0cc81; animation-delay: -6s; }
.delivery-step:nth-child(6) { --step-color: #78e6b5; animation-delay: -3s; }

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 23px;
  color: var(--step-color);
}

.step-number {
  font: 700 0.875rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.step-top svg,
.map-publication svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.delivery-step h3 {
  margin: 0 0 9px;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.delivery-step p {
  margin: 0;
  color: #aabbc7;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.delivery-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  width: 18px;
  color: #89a3b5;
  content: "→";
  text-align: center;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
}

.delivery-step:not(:last-child)::before {
  position: absolute;
  top: calc(50% - 2px);
  left: calc(100% + 3px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--step-color);
  box-shadow: 0 0 7px var(--step-color);
  content: "";
  opacity: 0;
  animation: stage-packet 18s linear infinite;
}

.delivery-step:nth-child(2)::before { animation-delay: -15s; }
.delivery-step:nth-child(3)::before { animation-delay: -12s; }
.delivery-step:nth-child(4)::before { animation-delay: -9s; }
.delivery-step:nth-child(5)::before { animation-delay: -6s; }

@keyframes stage-highlight {
  0%, 14% { background: #102631; box-shadow: inset 0 2px 0 var(--step-color), 0 0 18px rgba(28, 226, 237, 0.07); }
  18%, 96% { background: #0b1822; box-shadow: none; }
  100% { background: #102631; box-shadow: inset 0 2px 0 var(--step-color), 0 0 18px rgba(28, 226, 237, 0.07); }
}

@keyframes stage-packet {
  0%, 11%, 18%, 100% { opacity: 0; transform: translateX(0); }
  12% { opacity: 1; transform: translateX(0); }
  17% { opacity: 1; transform: translateX(10px); }
}

.map-correction {
  margin-top: 18px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px dashed rgba(183, 155, 243, 0.4);
  border-radius: 8px;
  background: rgba(161, 116, 234, 0.045);
}

.correction-arrow { color: #bda7ff; font-size: 1.8rem; }
.map-correction strong { color: #d3c4fa; }
.correction-label { margin-left: auto; color: #b9a6dc; font: 0.75rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: right; }

.map-foundations {
  margin-block: 23px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.map-foundations > div { padding-left: 14px; border-left: 2px solid #314a5f; }
.map-foundations strong { color: #c3d2dd; font-size: 0.875rem; }

.map-delivery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(120, 230, 181, 0.27);
  border-radius: 9px;
  background: linear-gradient(110deg, rgba(85, 233, 165, 0.065), transparent 60%), #0b1720;
}

.delivery-symbol { color: #78e6b5; border-color: rgba(120, 230, 181, 0.28); background: rgba(120, 230, 181, 0.045); }
.map-publication svg { margin-inline: 9px; color: #edcb8e; }
.map-caption { margin: 16px 0 0; color: #8da4b5; font-size: 0.75rem; line-height: 1.6; }

.delivery-map.is-motion-paused .delivery-step,
.delivery-map.is-motion-paused .delivery-step::before,
.delivery-map.is-offscreen .delivery-step,
.delivery-map.is-offscreen .delivery-step::before {
  animation-play-state: paused;
}

@media (max-width: 1100px) {
  .delivery-flow { grid-template-columns: 1fr; gap: 18px; }
  .delivery-step { display: grid; grid-template-columns: 54px minmax(110px, 0.35fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 17px 20px; }
  .step-top { margin: 0; flex-direction: column; gap: 8px; }
  .step-top svg { width: 20px; height: 20px; }
  .delivery-step h3 { margin: 0; }
  .delivery-step:not(:last-child)::after { top: calc(100% + 2px); left: 45px; width: 18px; transform: none; content: "↓"; }
  .delivery-step:not(:last-child)::before { top: calc(100% + 2px); left: 52px; animation-name: stage-packet-down; }
}

@keyframes stage-packet-down {
  0%, 11%, 18%, 100% { opacity: 0; transform: translateY(0); }
  12% { opacity: 1; transform: translateY(0); }
  17% { opacity: 1; transform: translateY(10px); }
}

@media (max-width: 760px) {
  .project-featured .project-copy { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
  .delivery-map { padding: 24px; }
  .delivery-map-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .map-display-controls { justify-content: flex-start; align-items: center; }
  .map-context, .map-delivery { grid-template-columns: 1fr; gap: 10px; }
  .context-arrow, .delivery-arrow { display: none; }
  .map-owner, .map-coordinator { padding: 15px; }
  .map-foundations { grid-template-columns: 1fr; gap: 16px; }
  .correction-label { display: none; }
  .map-correction { align-items: flex-start; }
}

@media (max-width: 520px) {
  .delivery-map { padding: 20px 16px; }
  .project-featured .project-copy { padding: 24px 18px; }
  .delivery-step { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 16px; padding: 17px; }
  .step-top { grid-row: 1 / 3; align-self: start; }
  .delivery-step p { grid-column: 2; }
  .delivery-step:not(:last-child)::after { left: 22px; }
  .delivery-step:not(:last-child)::before { left: 29px; }
  .map-process-label { gap: 4px; }
  .map-delivery { padding: 16px; gap: 22px; }
  .map-context strong, .map-delivery strong { font-size: 0.9375rem; }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-map .delivery-step { animation: none !important; }
  .delivery-map .delivery-step::before { display: none; }
}

@media (forced-colors: active) {
  .delivery-step, .map-owner, .map-coordinator, .map-delivery, .map-motion-toggle { border: 1px solid CanvasText; }
  .delivery-step::before { display: none; }
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-meta > span:not(.active-pill) {
  padding-right: 8px;
  border-right: 1px solid var(--rule-strong);
}

.active-pill {
  padding: 5px 8px;
  border: 1px solid rgba(85, 233, 165, 0.26);
  border-radius: 999px;
  background: rgba(85, 233, 165, 0.06);
  color: var(--success);
}

.project-copy h3,
.project-compact h3 {
  margin-block: 25px 20px;
  font-size: clamp(2rem, 3.5vw, 3.55rem);
}

.project-summary,
.project-compact > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.project-facts {
  margin: 34px 0 0;
  border-top: 1px solid var(--rule);
}

.project-facts div {
  padding-block: 13px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--rule);
}

.project-facts dt {
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.disclosure {
  margin: 25px 0 0;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
}

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

.project-compact {
  position: relative;
  min-height: 490px;
  padding: clamp(32px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 190ms ease, background 190ms ease, transform 190ms var(--ease), box-shadow 190ms ease;
}

.project-compact::after {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(28, 226, 237, 0.11);
  border-radius: 50%;
  content: "";
  transition: transform 500ms var(--ease);
}

.project-number {
  margin-bottom: 62px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8rem;
}

.project-compact h3 {
  max-width: 13ch;
  font-size: clamp(2rem, 3vw, 3rem);
}

.tag-list {
  margin: auto 0 26px;
  padding: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.tag-list li {
  padding: 5px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
}

.project-actions {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  border-top: 1px solid var(--rule);
}

.project-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 780;
  text-decoration-color: rgba(28, 226, 237, 0.45);
  text-underline-offset: 5px;
}

.github-banner {
  margin-top: 22px;
  min-height: 120px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(46, 125, 255, 0.12), rgba(28, 226, 237, 0.06));
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.github-banner small,
.github-banner strong {
  display: block;
}

.github-banner small {
  margin-bottom: 7px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.github-banner strong {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.banner-arrow {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(28, 226, 237, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 1.3rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.experience-section {
  background: linear-gradient(180deg, var(--bg), rgba(8, 17, 22, 0.74));
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60px;
  width: 1px;
  background: linear-gradient(var(--cyan), var(--rule), var(--rule));
  content: "";
}

.timeline li {
  position: relative;
  min-height: 180px;
  padding: 32px 0 32px 126px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--rule);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--rule);
}

.timeline-marker {
  position: absolute;
  left: 36px;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 8px var(--bg);
}

.timeline-marker span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 800;
}

.timeline-copy p {
  margin: 0 0 6px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-copy h3 {
  margin-bottom: 9px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.timeline-copy > span {
  color: var(--muted);
}

.timeline li > strong {
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.capabilities-section {
  background: var(--bg-soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--rule);
}

.capability-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  transition: background 180ms ease;
}

.capability-card > span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
}

.capability-card h3 {
  max-width: 10ch;
  margin-block: auto 16px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.stack-strip {
  margin-top: 22px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  align-items: start;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: rgba(5, 9, 12, 0.46);
}

.stack-strip > p {
  margin: 4px 0 0;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stack-strip ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.stack-strip li {
  padding: 7px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.77rem;
}

.contact-section {
  position: relative;
  padding-block: clamp(108px, 14vw, 190px);
  overflow: hidden;
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(circle at 76% 46%, rgba(28, 226, 237, 0.1), transparent 24rem),
    radial-gradient(circle at 16% 100%, rgba(236, 78, 165, 0.07), transparent 28rem),
    var(--bg-deep);
}

.contact-section::after {
  position: absolute;
  right: -12vw;
  bottom: -42vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(28, 226, 237, 0.1);
  border-radius: 50%;
  content: "";
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
  align-items: end;
  gap: clamp(56px, 10vw, 140px);
}

.contact-layout .section-index {
  margin-bottom: 40px;
  padding: 0;
}

.contact-layout .eyebrow {
  margin-bottom: 20px;
}

.contact-layout h2 {
  max-width: 11ch;
  margin-bottom: 28px;
  font-size: clamp(3rem, 6vw, 6.4rem);
}

.contact-layout > div:first-child > p:last-child {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.button-large {
  min-height: 62px;
  padding: 16px 21px;
  justify-content: space-between;
}

.lets-talk-button {
  min-height: 76px;
}

.lets-talk-button > span:first-child {
  display: grid;
  gap: 2px;
  text-align: left;
}

.lets-talk-button > span:first-child small {
  color: rgba(2, 5, 7, 0.68);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lets-talk-button:hover > span:first-child {
  transform: none;
}

.contact-actions p {
  margin: 9px 0 0;
  color: var(--quiet);
  font-size: 0.76rem;
}

.site-footer {
  padding-block: 40px;
  border-top: 1px solid var(--rule);
  background: var(--bg-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.footer-brand img {
  width: 96px;
  height: auto;
  display: block;
}

.footer-inner > p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.74rem;
}

.footer-inner > div {
  display: flex;
  justify-self: end;
  gap: 18px;
  color: var(--quiet);
  font-size: 0.72rem;
}

.footer-inner a {
  text-underline-offset: 5px;
}

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

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

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-3px);
  }

  .profile-card:hover,
  .capability-card:hover {
    background: var(--panel-raised);
  }

  .profile-card:hover::after {
    width: 48px;
    height: 48px;
    border-color: var(--cyan);
  }

  .project-compact:hover {
    border-color: rgba(28, 226, 237, 0.48);
    background: var(--panel-raised);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: translateY(-6px);
  }

  .project-compact:hover::after {
    transform: scale(1.14);
  }

  .github-banner:hover {
    border-color: rgba(28, 226, 237, 0.52);
    background: linear-gradient(90deg, rgba(46, 125, 255, 0.17), rgba(28, 226, 237, 0.1));
  }

  .github-banner:hover .banner-arrow {
    background: var(--cyan);
    color: var(--bg-deep);
    transform: translate(2px, -2px);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.76fr);
    gap: 50px;
  }

  .about-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
    gap: 60px;
  }

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

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

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 28px;
    left: 28px;
    padding: 12px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-md);
    background: rgba(8, 17, 22, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  }

  .js .site-menu:not(.is-open) {
    display: none;
  }

  .site-menu a,
  .site-menu .nav-cta {
    margin: 0;
    min-height: 48px;
    padding: 11px 14px;
    justify-content: flex-start;
  }

  .site-menu a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: 13ch;
  }

  .build-console {
    max-width: 680px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-copy {
    position: static;
    max-width: 760px;
  }

  .project-featured {
    grid-template-columns: 1fr;
  }

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

  .contact-actions {
    max-width: 560px;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
  }

  .footer-inner > p {
    justify-self: end;
  }

  .footer-inner > div {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 105px;
  }

  .brand > span {
    display: none;
  }

  .site-menu {
    right: 18px;
    left: 18px;
  }

  .hero {
    padding-block: 72px 46px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

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

  .pipeline {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pipeline i {
    width: 1px;
    height: 11px;
    justify-self: center;
    background: linear-gradient(var(--rule-strong), var(--cyan));
  }

  .pipeline span {
    text-align: center;
  }

  .scroll-cue {
    display: none;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .section-index {
    padding: 0;
  }

  .profile-grid,
  .project-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    min-height: 260px;
  }

.project-compact {
    min-height: 450px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline li {
    padding: 30px 0 30px 70px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-marker {
    left: 5px;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 0 5px var(--bg);
  }

  .timeline li > strong {
    justify-self: start;
  }

  .stack-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-layout h2 {
    font-size: clamp(3rem, 13vw, 4.7rem);
  }
}

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

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    width: auto;
  }

  .console-bar {
    grid-template-columns: 1fr auto;
  }

  .console-bar p {
    display: none;
  }

  .console-body {
    padding: 28px 22px;
  }

  .console-readout {
    padding-block: 10px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .profile-card,
  .project-copy,
  .project-compact,
  .capability-card {
    padding: 28px 23px;
  }













.project-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .github-banner {
    padding: 24px 21px;
  }

  .banner-arrow {
    width: 44px;
    height: 44px;
  }

  .footer-inner,
  .footer-inner > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner > p {
    justify-self: start;
  }
}

@media (max-width: 360px) {
  .shell {
    width: calc(100% - 24px);
  }

  .brand img {
    width: 94px;
  }

  h1 {
    font-size: 2.78rem;
  }

}

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

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

  .signal-line::after,
  .console-orbit,
  .scroll-cue i::after,
  .status-dot::after {
    display: none;
  }

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

@media (forced-colors: active) {
  .site-header,
  .build-console,
  .profile-card,
  .project,
  .capability-card,
  .github-banner,
  .button,
  .menu-toggle {
    border: 1px solid CanvasText;
  }

  .status-dot,
  .console-status,
  .active-pill {
    forced-color-adjust: none;
  }

  .background-grid,
  .background-glow,
  .signal-line,
  .console-orbit {
    display: none;
  }
}
