:root {
  --ink: #07080c;
  --ink-raised: #0c0e15;
  --ink-soft: #11141d;
  --paper: #f4f6f7;
  --muted: #a4abb7;
  --muted-dark: #717987;
  --line: rgba(244, 246, 247, 0.13);
  --line-strong: rgba(244, 246, 247, 0.24);
  --acid: #d9ff43;
  --cyan: #67e8f9;
  --violet: #9e7bff;
  --magenta: #ff4ecd;
  --danger: #ff6b72;
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --header-height: 5rem;
  --max-width: 92rem;
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--ink);
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 7%, rgba(158, 123, 255, 0.11), transparent 24rem),
    radial-gradient(circle at 8% 38%, rgba(103, 232, 249, 0.07), transparent 30rem),
    var(--ink);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

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

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

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--acid);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.page-progress {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--acid));
  box-shadow: 0 0 1rem rgba(217, 255, 67, 0.6);
  transform-origin: left;
}

.ambient-grid {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, #000 5%, transparent 88%);
}

.ambient-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 48%, rgba(217, 255, 67, 0.035) 48.1% 48.25%, transparent 48.35%);
}

.pointer-glow {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.07), transparent 67%);
  transform: translate3d(calc(var(--pointer-x, 50vw) - 50%), calc(var(--pointer-y, 50vh) - 50%), 0);
  transition: opacity 300ms ease;
}

body.has-pointer .pointer-glow {
  opacity: 1;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, min-height 200ms ease;
}

.site-header.is-scrolled {
  min-height: 4.25rem;
  border-color: var(--line);
  background: rgba(7, 8, 12, 0.83);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  clip-path: polygon(0.45rem 0, 100% 0, 100% calc(100% - 0.45rem), calc(100% - 0.45rem) 100%, 0 100%, 0 0.45rem);
  color: var(--ink);
  background: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
}

.brand-name {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.6rem);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--paper);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav span {
  color: var(--acid);
}

.site-nav .nav-cta {
  padding: 0.78rem 1rem;
  color: var(--ink);
  background: var(--acid);
  font-weight: 900;
  clip-path: polygon(0.55rem 0, 100% 0, 100% calc(100% - 0.55rem), calc(100% - 0.55rem) 100%, 0 100%, 0 0.55rem);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  color: var(--paper);
  background: var(--ink-raised);
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0.34rem auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.18rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.18rem) rotate(-45deg);
}

.scene-rail {
  position: fixed;
  z-index: 70;
  top: 50%;
  right: 1.1rem;
  display: grid;
  gap: 0.75rem;
  transform: translateY(-50%);
}

.scene-rail a {
  display: flex;
  width: 2.1rem;
  height: 1.25rem;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.62rem;
  transition: color 180ms ease;
}

.scene-rail a::after {
  content: "";
  width: 0.55rem;
  height: 1px;
  margin-left: 0.45rem;
  background: currentColor;
  transition: width 180ms ease;
}

.scene-rail a.is-active {
  color: var(--acid);
}

.scene-rail a.is-active::after {
  width: 1rem;
}

main {
  position: relative;
}

.scene {
  position: relative;
  width: min(100%, var(--max-width));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(7.5rem, 13vh, 10rem) var(--page-pad) clamp(5.5rem, 11vh, 8rem);
  border-inline: 1px solid rgba(255, 255, 255, 0.035);
}

.scene + .scene {
  border-top: 1px solid var(--line);
}

.scene-index {
  position: absolute;
  top: 6.1rem;
  right: var(--page-pad);
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.3rem;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(0.64rem, 1vw, 0.75rem);
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.kicker > span {
  width: 1.9rem;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
}

h1,
.section-heading h2,
.about-panel h2,
.contact-intro h2 {
  margin-bottom: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3.7rem, 8.2vw, 8.9rem);
  line-height: 0.82;
}

h1 em,
h2 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(20rem, 0.65fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}

.hero-copy {
  padding-top: 2rem;
}

.hero-lede {
  max-width: 45rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.8rem;
  margin-bottom: clamp(2.8rem, 7vh, 5rem);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 0;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  font-weight: 850;
  clip-path: polygon(0.7rem 0, 100% 0, 100% calc(100% - 0.7rem), calc(100% - 0.7rem) 100%, 0 100%, 0 0.7rem);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0.22rem;
  pointer-events: none;
  border: 1px solid rgba(7, 8, 12, 0.25);
  clip-path: inherit;
}

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

.button-primary {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 1.2rem 3rem rgba(217, 255, 67, 0.12);
}

.button b {
  font-family: var(--mono);
}

.text-link {
  color: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  padding-block: 0.55rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.text-link span {
  margin-left: 0.5rem;
  color: var(--cyan);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 49rem;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts div {
  padding: 1rem 1.1rem 1rem 0;
}

.hero-facts div + div {
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}

.hero-facts dt {
  margin-bottom: 0.45rem;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: var(--paper);
  font-size: 0.83rem;
  line-height: 1.4;
}

.live-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(217, 255, 67, 0.55);
  animation: signalPulse 2.4s infinite;
}

.signal-panel {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  padding: 1.15rem;
  background:
    linear-gradient(rgba(103, 232, 249, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.035) 1px, transparent 1px),
    rgba(12, 14, 21, 0.73);
  background-size: 2rem 2rem;
  box-shadow: 0 2.4rem 8rem rgba(0, 0, 0, 0.36);
  clip-path: polygon(1.25rem 0, 100% 0, 100% calc(100% - 1.25rem), calc(100% - 1.25rem) 100%, 0 100%, 0 1.25rem);
}

.signal-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 20%;
  width: 2px;
  height: 38%;
  background: linear-gradient(var(--magenta), transparent);
  opacity: 0.7;
}

.signal-panel-top,
.project-topline,
.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.signal-status {
  color: var(--acid);
}

.signal-core {
  position: relative;
  display: grid;
  width: 15rem;
  height: 15rem;
  margin: 3.2rem auto 2.6rem;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 50%;
}

.signal-core::before,
.signal-core::after {
  content: "";
  position: absolute;
  background: rgba(103, 232, 249, 0.2);
}

.signal-core::before {
  width: 120%;
  height: 1px;
}

.signal-core::after {
  width: 1px;
  height: 120%;
}

.signal-core strong {
  position: relative;
  z-index: 2;
  display: grid;
  width: 5.3rem;
  height: 5.3rem;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--mono);
  font-size: 1.35rem;
  clip-path: polygon(0.8rem 0, 100% 0, 100% calc(100% - 0.8rem), calc(100% - 0.8rem) 100%, 0 100%, 0 0.8rem);
  box-shadow: 0 0 3rem rgba(217, 255, 67, 0.2);
}

.core-orbit {
  position: absolute;
  inset: 1.4rem;
  border: 1px dashed rgba(158, 123, 255, 0.45);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}

.orbit-two {
  inset: 3rem;
  border-color: rgba(217, 255, 67, 0.36);
  animation-direction: reverse;
  animation-duration: 12s;
}

.core-node {
  position: absolute;
  z-index: 3;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 1.1rem var(--cyan);
}

.node-one {
  top: 0.6rem;
  left: 6.2rem;
}

.node-two {
  right: 1.2rem;
  bottom: 3.3rem;
  background: var(--magenta);
  box-shadow: 0 0 1.1rem var(--magenta);
}

.node-three {
  bottom: 2rem;
  left: 1.6rem;
  background: var(--acid);
  box-shadow: 0 0 1.1rem var(--acid);
}

.signal-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.signal-list b {
  color: var(--cyan);
  font-weight: 500;
}

.signal-note {
  margin: 1rem 0 0;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.65rem;
  line-height: 1.6;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  display: block;
  width: 3rem;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: translateX(-100%);
  animation: scan 2.2s ease-in-out infinite;
}

.content-scene {
  display: block;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.55fr);
  column-gap: clamp(2rem, 8vw, 9rem);
  align-items: end;
  margin-bottom: clamp(3rem, 8vh, 6rem);
}

.section-heading .kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.about-panel h2,
.contact-intro h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6.4vw, 7.2rem);
  line-height: 0.9;
}

.section-heading > p:last-child,
.contact-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.service-stack {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.service-card {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.2fr) minmax(18rem, 0.62fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  padding: clamp(2rem, 5vh, 3.7rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, padding 220ms ease;
}

.service-card:hover {
  padding-inline: 1.25rem;
  background: linear-gradient(90deg, rgba(217, 255, 67, 0.035), transparent 68%);
}

.service-number {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.service-label,
.project-body > p:first-child {
  margin-bottom: 0.8rem;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.service-copy > p:last-child,
.service-card li {
  color: var(--muted);
  line-height: 1.65;
}

.service-copy > p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
}

.service-card ul {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.88rem;
}

.service-card li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--acid);
  font-family: var(--mono);
}

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

.project-card {
  position: relative;
  display: grid;
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(158, 123, 255, 0.08), transparent 42%),
    var(--ink-raised);
  clip-path: polygon(1.1rem 0, 100% 0, 100% calc(100% - 1.1rem), calc(100% - 1.1rem) 100%, 0 100%, 0 1.1rem);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  mask-image: linear-gradient(to bottom left, #000, transparent 68%);
}

.project-card:hover {
  border-color: rgba(217, 255, 67, 0.5);
  background:
    linear-gradient(135deg, rgba(217, 255, 67, 0.09), transparent 45%),
    var(--ink-soft);
  transform: translateY(-0.45rem);
}

.project-card-large {
  grid-row: span 2;
  min-height: 63rem;
  background:
    linear-gradient(145deg, rgba(103, 232, 249, 0.11), transparent 46%),
    var(--ink-raised);
}

.project-card-accent {
  background:
    linear-gradient(140deg, rgba(217, 255, 67, 0.13), transparent 52%),
    var(--ink-raised);
}

.project-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(244, 246, 247, 0.045);
  font-family: var(--display);
  font-size: clamp(8rem, 20vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  transform: translate(-50%, -56%);
}

.project-card:not(.project-card-large) .project-monogram {
  font-size: clamp(7rem, 12vw, 12rem);
}

.project-body {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 35rem;
  padding: clamp(1rem, 3vw, 2.4rem);
}

.project-body h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.project-card:not(.project-card-large) .project-body h3 {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
}

.project-body > p:not(:first-child) {
  margin-bottom: 1.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.project-action {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.project-action b {
  color: var(--acid);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(5rem, 11vh, 9rem);
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.process-grid li {
  min-height: 21rem;
  padding: 1.6rem;
}

.process-grid li + li {
  border-left: 1px solid var(--line);
}

.process-grid li > span {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.process-grid h3 {
  margin: 7rem 0 0.8rem;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.045em;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: start;
  scroll-margin-top: 7rem;
}

.about-panel h2 {
  font-size: clamp(2.7rem, 5.4vw, 6rem);
}

.about-copy > p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.credential-row span {
  border: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.035);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(26rem, 0.75fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-content: center;
  background:
    linear-gradient(125deg, rgba(217, 255, 67, 0.055), transparent 36%),
    transparent;
}

.contact-intro h2 {
  font-size: clamp(3.2rem, 6.2vw, 7rem);
}

.contact-intro > p {
  max-width: 42rem;
  margin-bottom: 2.4rem;
}

.direct-email {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  max-width: 39rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
}

.direct-email span {
  color: var(--muted-dark);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direct-email b {
  color: var(--acid);
}

.brief-form {
  border: 1px solid var(--line-strong);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: rgba(12, 14, 21, 0.78);
  clip-path: polygon(1rem 0, 100% 0, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 0 100%, 0 1rem);
}

.form-heading {
  margin-bottom: 2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.form-heading span:last-child {
  color: var(--acid);
}

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

.brief-form label {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.brief-form label > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.9rem 0.95rem;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.025);
  appearance: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.brief-form textarea {
  resize: vertical;
}

.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  outline: 0;
  border-color: var(--cyan);
  background: rgba(103, 232, 249, 0.04);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.08);
}

.brief-form option {
  color: var(--paper);
  background: var(--ink-raised);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.form-actions p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.72rem;
  line-height: 1.5;
}

.site-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(4rem, 9vh, 7rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.site-footer a:hover {
  color: var(--acid);
}

.noscript-note {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  max-width: 28rem;
  border: 1px solid var(--line-strong);
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: var(--ink-raised);
  font-size: 0.75rem;
}

.error-page {
  display: grid;
  width: min(100%, 64rem);
  min-height: 100svh;
  margin: 0 auto;
  align-content: center;
  padding: var(--page-pad);
}

.error-page h1 {
  margin-bottom: 1.5rem;
}

.error-page > p:not(.kicker) {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.error-page .button {
  width: fit-content;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes signalPulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 255, 67, 0.5); }
  65%, 100% { box-shadow: 0 0 0 0.5rem rgba(217, 255, 67, 0); }
}

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

@keyframes scan {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@media (max-width: 72rem) {
  .hero-scene {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.72fr);
    gap: 3rem;
  }

  .signal-panel {
    min-height: 31rem;
  }

  .service-card {
    grid-template-columns: 3rem minmax(0, 1fr) minmax(16rem, 0.6fr);
    gap: 1.5rem;
  }

  .contact-scene {
    gap: 4rem;
  }
}

@media (max-width: 58rem) {
  :root {
    --header-height: 4.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 2rem var(--page-pad);
    background: rgba(7, 8, 12, 0.98);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 260ms ease, visibility 260ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
    font-size: 0.82rem;
  }

  .site-nav .nav-cta {
    margin-top: 1.4rem;
    padding: 1rem;
    text-align: center;
  }

  .scene-rail {
    display: none;
  }

  .hero-scene,
  .section-heading,
  .about-panel,
  .contact-scene {
    grid-template-columns: 1fr;
  }

  .hero-scene {
    align-content: center;
    padding-top: 8rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  .signal-panel {
    width: min(100%, 34rem);
    min-height: auto;
    margin-top: 1rem;
  }

  .signal-core {
    width: 12rem;
    height: 12rem;
    margin-block: 2.2rem;
  }

  .node-one {
    left: 5rem;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading > p:last-child {
    max-width: 43rem;
    margin-top: 1rem;
  }

  .service-card {
    grid-template-columns: 2.2rem 1fr;
  }

  .service-card ul {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.6rem;
  }

  .project-card-large {
    min-height: 52rem;
  }

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

  .process-grid li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-grid li:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 42rem) {
  :root {
    --page-pad: 1.1rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .scene {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 5.5rem;
  }

  .hero-scene {
    min-height: 100svh;
  }

  .scene-index {
    top: 5.4rem;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
  }

  .section-heading h2,
  .about-panel h2,
  .contact-intro h2 {
    font-size: clamp(2.9rem, 14vw, 4.8rem);
  }

  .kicker {
    padding-right: 7rem;
  }

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

  .hero-facts div {
    display: grid;
    grid-template-columns: 5rem 1fr;
    padding: 0.8rem 0;
  }

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

  .hero-facts dt {
    margin: 0;
  }

  .signal-panel {
    padding: 1rem;
  }

  .signal-panel-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .service-card,
  .service-card:hover {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .service-card ul {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

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

  .project-card,
  .project-card-large {
    grid-row: auto;
    min-height: 30rem;
  }

  .project-body {
    padding: 1rem 0.25rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li,
  .process-grid li:nth-child(3),
  .process-grid li:nth-child(4) {
    min-height: 16rem;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-inline: 0;
  }

  .process-grid li:first-child {
    border-top: 0;
  }

  .process-grid h3 {
    margin-top: 4rem;
  }

  .direct-email {
    grid-template-columns: 1fr auto;
  }

  .direct-email span {
    grid-column: 1 / -1;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    gap: 1rem;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .pointer-glow {
    display: none;
  }
}

@media print {
  .site-header,
  .scene-rail,
  .page-progress,
  .ambient-grid,
  .pointer-glow,
  .scroll-cue,
  .brief-form {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .scene {
    min-height: auto;
    border: 0;
    padding: 2rem;
  }

  h1 em,
  h2 em,
  .kicker,
  .service-number {
    color: #111;
  }
}
