@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/press-start-2p-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #000;
  --ink: #f5f5f5;
  --ink-soft: #c8c8c8;
  --muted: #a3a3a3;
  --phosphor: #00ff41;
  --line: rgba(0, 255, 65, 0.28);
  --line-strong: rgba(0, 255, 65, 0.55);
  --fill: #00ff41;
  --fill-ink: #000;
  --danger: #ffc9c9;
  --header-h: 4.25rem;
  --space: 1.25rem;
  --page: 40rem;
  --font: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  --font-pixel: "Press Start 2P", var(--font-mono);
  --amber: #ffb000;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  color-scheme: dark;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
.wordmark-text,
.footer-name,
.eyebrow,
.site-nav a,
.field label,
.field legend,
.btn {
  font-family: var(--font-mono);
}

h1,
h2,
h3,
.wordmark-text,
.footer-name {
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--phosphor);
  text-shadow: 0 0 14px rgba(0, 255, 65, 0.35);
}

h1 {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(0.78rem, 3.5vw, 1.05rem);
  line-height: 1.7;
  letter-spacing: 0;
  margin: 0 0 1.15rem;
}

h2 {
  font-size: 1.85rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--phosphor);
}

a:hover {
  color: #b6ffc9;
}

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 0.6rem 0.9rem;
  border-radius: 0 0 0.6rem 0.6rem;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus-visible {
  top: 0;
  color: #000;
  outline-color: var(--phosphor);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0.7rem max(var(--space), calc((100% - var(--page)) / 2));
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--phosphor);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.35);
}

.site-nav a:hover {
  color: #b6ffc9;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--phosphor);
  text-decoration: none;
  min-width: 0;
}

.wordmark:hover {
  color: #b6ffc9;
}

.mark {
  flex: none;
}

.wordmark-text {
  font-size: 1rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  border: 1px solid var(--phosphor);
  cursor: pointer;
  border-radius: 0;
  padding: 0.8rem 1.2rem;
  min-height: 44px;
  color: #001a08;
  background: var(--phosphor);
  box-shadow: 4px 4px 0 #05210c;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  color: #001a08;
  background: #b6ffc9;
  border-color: #b6ffc9;
  box-shadow: 2px 2px 0 #05210c;
  transform: translate(2px, 2px);
}

.btn-header {
  flex: none;
  font-size: 0.78rem;
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .header-inner {
    gap: 0.4rem;
    padding-inline: 0.65rem;
  }

  .wordmark {
    gap: 0.35rem;
    min-width: min-content;
  }

  .mark svg {
    width: 22px;
    height: 22px;
  }

  .wordmark-text {
    font-size: 0.68rem;
    letter-spacing: -0.05em;
    overflow: visible;
    text-overflow: clip;
  }

  .btn-header {
    font-size: 0.62rem;
    padding: 0.4rem 0.5rem;
    letter-spacing: -0.03em;
  }
}

.btn-primary {
  font-size: 1rem;
  padding: 0.85rem 1.3rem;
}

.btn-submit {
  width: 100%;
  margin-top: 0.35rem;
}

main {
  margin: 0;
}

.hero,
.services,
.process,
.consult {
  padding: 4.25rem max(var(--space), calc((100% - var(--page)) / 2)) 4.5rem;
}

.break {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--phosphor);
  border: 2px solid var(--phosphor);
  padding: 0.28rem 0.4rem;
}

.chip-amber,
.break-bios span:last-child {
  color: var(--amber);
  border-color: var(--amber);
  text-shadow: 0 0 8px rgba(255, 176, 0, 0.4);
}

.break-bios {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem max(0.75rem, calc((100% - var(--page)) / 2));
  border-block: 1px solid rgba(0, 255, 65, 0.45);
  background: #031208;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.45);
}

.break-circuit {
  height: 1.75rem;
  padding: 0 max(var(--space), calc((100% - var(--page)) / 2));
}

.break-circuit svg {
  width: 100%;
  height: 100%;
  display: block;
}

.break-load {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.7rem max(var(--space), calc((100% - var(--page)) / 2));
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.4);
}

.load-track {
  display: block;
  width: min(14rem, 52vw);
  height: 0.72rem;
  border: 1px solid var(--phosphor);
  box-shadow: inset 0 0 8px rgba(0, 255, 65, 0.2);
}

.load-fill {
  display: block;
  width: 67%;
  height: 100%;
  background: repeating-linear-gradient(90deg, #00ff41 0 7px, transparent 7px 10px);
}

.break-eot {
  padding: 0.85rem 0.75rem 0.35rem;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.4);
}

.break-eot span {
  display: inline-block;
  max-width: 100%;
}

.break-dither {
  height: 10px;
  margin: 0.35rem 0 0;
  background-image:
    linear-gradient(45deg, rgba(0, 255, 65, 0.7) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 255, 65, 0.7) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 255, 65, 0.45) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 255, 65, 0.45) 75%);
  background-size: 4px 4px;
  background-position: 0 0, 0 2px, 2px -2px, -2px 0;
}

.break-perf {
  height: 16px;
  background:
    radial-gradient(circle at 8px 8px, #000 3.2px, transparent 3.6px) left center / 16px 16px repeat-x,
    linear-gradient(#00ff41, #00ff41);
}

#consult,
#how-it-works,
#services,
#top {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -8rem;
  top: -18rem;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.16), rgba(0, 255, 65, 0) 68%);
  pointer-events: none;
}

.hero-copy,
.hero-art {
  position: relative;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--phosphor);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.45);
}

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

.term-cursor {
  display: inline-block;
  width: 0.55ch;
  height: 0.85em;
  margin-left: 0.15ch;
  background: var(--phosphor);
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.85);
  vertical-align: -0.08em;
  animation: term-blink 1.05s steps(1, end) infinite;
}

@keyframes term-blink {
  0%,
  45% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.hero-art {
  margin: 2.75rem 0 0;
  padding: 0.55rem;
  border: 4px solid var(--phosphor);
  border-radius: 0;
  background: #050805;
  box-shadow: 6px 6px 0 #05210c;
  overflow: hidden;
}

.readout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--phosphor);
}

.gauge {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(0, 255, 65, 0.35);
  border-top-color: var(--phosphor);
  border-right-color: var(--amber);
  border-radius: 50%;
  flex: none;
}

.radar {
  position: absolute;
  z-index: 2;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 4.5rem;
  height: 4.5rem;
  pointer-events: none;
}

.radar-sweep {
  transform-box: fill-box;
  transform-origin: center;
  animation: radar-spin 9s linear infinite;
}

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

.frame {
  position: relative;
}

.frame::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(var(--phosphor), var(--phosphor)) left top / 12px 3px no-repeat,
    linear-gradient(var(--phosphor), var(--phosphor)) left top / 3px 12px no-repeat,
    linear-gradient(var(--phosphor), var(--phosphor)) right top / 12px 3px no-repeat,
    linear-gradient(var(--phosphor), var(--phosphor)) right top / 3px 12px no-repeat,
    linear-gradient(var(--phosphor), var(--phosphor)) left bottom / 12px 3px no-repeat,
    linear-gradient(var(--phosphor), var(--phosphor)) left bottom / 3px 12px no-repeat,
    linear-gradient(var(--phosphor), var(--phosphor)) right bottom / 12px 3px no-repeat,
    linear-gradient(var(--phosphor), var(--phosphor)) right bottom / 3px 12px no-repeat;
}

.hero-art::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  bottom: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--phosphor);
  box-shadow: 0 0 8px var(--phosphor);
}

.hero-art svg {
  width: 100%;
  height: auto;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: transparent;
  border: 2px solid var(--line-strong);
  border-radius: 0;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: 4px 4px 0 rgba(0, 255, 65, 0.18);
  transition: border-color 0.15s ease;
}

.service-card:hover {
  border-color: var(--line-strong);
}

.service-card p,
.process p,
.consult-intro {
  color: var(--ink-soft);
}

.service-card p:last-child,
.steps li p:last-child {
  margin-bottom: 0;
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--phosphor);
  border-radius: 0;
  margin-bottom: 1rem;
}

.steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  position: relative;
  padding: 0 0 0 3.2rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--phosphor);
  line-height: 1.2;
}

.consult-intro {
  margin-bottom: 1.75rem;
  max-width: 28rem;
}

.consult-form {
  position: relative;
  display: grid;
  gap: 1rem;
  background: #050505;
  color: var(--ink);
  border: 2px solid var(--line-strong);
  border-radius: 0;
  box-shadow: 6px 6px 0 rgba(0, 255, 65, 0.16);
  padding: 1.25rem 1.1rem 1.35rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label,
.field legend {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--phosphor);
}

.req,
.optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  font-family: var(--font-mono);
  color: var(--phosphor);
  caret-color: var(--phosphor);
  background: #000;
  border: 1px solid rgba(0, 255, 65, 0.45);
  box-shadow: inset 0 0 12px rgba(0, 255, 65, 0.06);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
  appearance: none;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.45;
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(0, 255, 65, 0.75);
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--phosphor);
  outline: 2px solid var(--phosphor);
  outline-offset: 2px;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.25);
}

.field-checks {
  border: 0;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
}

.field-checks legend {
  padding: 0;
  margin-bottom: 0.35rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--ink);
  min-height: 44px;
  cursor: pointer;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin: 0;
  flex: none;
  accent-color: var(--phosphor);
  appearance: auto;
}

.form-status {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  min-height: 1.3em;
}

.form-status.is-error {
  color: var(--danger);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#form-status {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.btn:disabled {
  cursor: wait;
  color: #001a08;
  background: var(--phosphor);
  border-color: var(--phosphor);
}

.page-followup {
  margin-top: 1.5rem;
}

.page-followup a {
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.hero:not(:has(.hero-copy)) > * {
  max-width: 34rem;
}

.site-footer {
  background: rgba(0, 0, 0, 0.72);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 2rem max(var(--space), calc((100% - var(--page)) / 2)) 2.25rem;
  text-align: center;
}

.site-footer p {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.footer-name {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-weight: 500;
  text-underline-offset: 0.18em;
}

.site-footer a:hover {
  color: #b6ffc9;
}

.matrix-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.screen-404 {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screen-404 .hero {
  width: 100%;
}

.code-404 {
  margin: 0 0 0.8rem;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(2.4rem, 12vw, 4.6rem);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--phosphor);
  text-shadow:
    0 0 12px rgba(0, 255, 65, 0.65),
    0 0 36px rgba(0, 255, 65, 0.28);
}

.term-line {
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 2.6vw, 1rem);
  letter-spacing: 0.02em;
  color: var(--phosphor);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

.hero::before {
  z-index: 1;
}

.hero-copy,
.hero-art {
  z-index: 2;
}

.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.22) 0 1px,
      transparent 1px 3px
    ),
    repeating-linear-gradient(
      to right,
      rgba(255, 40, 40, 0.045) 0 1px,
      rgba(0, 255, 65, 0.04) 1px 2px,
      rgba(40, 80, 255, 0.045) 2px 3px,
      transparent 3px 6px
    ),
    radial-gradient(ellipse at center, transparent 62%, rgba(0, 0, 0, 0.34) 100%);
  animation: crt-flicker 5.5s infinite;
}

@keyframes crt-flicker {
  0%,
  97%,
  100% {
    opacity: 1;
  }

  98% {
    opacity: 0.94;
  }

  99% {
    opacity: 0.98;
  }
}

@media (min-width: 768px) {
  :root {
    --page: 45rem;
  }

  h1 {
    font-size: clamp(0.95rem, 2.1vw, 1.35rem);
  }

  h2 {
    font-size: 2.15rem;
  }

  .site-nav {
    display: flex;
  }

  .btn-header {
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
  }

  .wordmark-text {
    font-size: 1.05rem;
  }

  .hero,
  .services,
  .process,
  .consult {
    padding-top: 5.5rem;
    padding-bottom: 5.75rem;
  }

  .hero:has(.hero-art) {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 3rem;
    align-items: center;
  }

  .hero-art {
    margin: 0;
  }

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

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: start;
  }

  .consult-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    padding: 1.5rem 1.35rem 1.6rem;
  }

  .field-checks,
  .consult-form .field:has(textarea),
  .consult-form .btn-submit,
  .consult-form .form-status {
    grid-column: 1 / -1;
  }

  .field-checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1.25rem;
  }

  .field-checks legend {
    flex: 1 0 100%;
  }

  .site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 2rem;
    text-align: left;
  }

  .site-footer p {
    margin: 0;
  }
}

@media (min-width: 1024px) {
  :root {
    --page: 60rem;
  }

  .lead {
    font-size: 1.2rem;
  }

  .hero:has(.hero-art) {
    column-gap: 4rem;
  }

  .consult {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    column-gap: 4rem;
    align-items: start;
  }

  .consult-intro {
    margin-bottom: 0;
  }
}

@media (min-width: 1280px) {
  :root {
    --page: 68rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero,
  .services,
  .process,
  .consult {
    padding-top: 7rem;
    padding-bottom: 7.25rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --page: 72rem;
  }
}

.titlebar-controls {
  display: none;
}

.desktop-icons,
.taskbar,
.boot {
  display: none;
}

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 32px;
  padding: 0.2rem 0.35rem 0.2rem 0.55rem;
  background: #03210e;
  color: var(--phosphor);
  border-bottom: 2px solid var(--phosphor);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.titlebar-controls {
  gap: 0.25rem;
}

.titlebar-controls button,
.start-btn,
.task-btn,
.start-menu button,
.desk-icon {
  font-family: var(--font-mono);
  color: var(--phosphor);
  background: #000;
  border: 2px solid var(--phosphor);
  border-radius: 0;
  box-shadow: 2px 2px 0 #05210c;
}

.titlebar-controls button {
  width: 22px;
  height: 22px;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.desk-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 92px;
  padding: 0.35rem;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.desk-glyph {
  width: 32px;
  height: 28px;
  border: 2px solid var(--phosphor);
  background:
    linear-gradient(var(--phosphor), var(--phosphor)) 6px 6px / 14px 3px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 6px 14px / 20px 3px no-repeat,
    #001408;
}

html.os .titlebar-controls,
html.os .desktop-icons,
html.os .taskbar {
  display: flex;
}

html.os .site-header,
html.os .site-footer,
html.os .break {
  display: none;
}

html.os .window.hero,
html.os .window.services,
html.os .window.process,
html.os .window.consult {
  padding: 0;
}

.boot[hidden],
.start-menu[hidden],
.task-btn[hidden] {
  display: none !important;
}

html.os .boot:not([hidden]) {
  display: block;
  position: fixed;
  z-index: 70;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: min(22rem, calc(100vw - 2rem));
  padding: 1rem;
  background: #000;
  border: 3px solid var(--phosphor);
  box-shadow: 6px 6px 0 #05210c;
  color: var(--phosphor);
  font-family: var(--font-mono);
}

html.os .boot p {
  margin: 0 0 0.45rem;
}

.taskbar {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.45rem;
  background: #02140a;
  border-top: 3px solid var(--phosphor);
}

.start-btn,
.task-btn {
  min-height: 30px;
  padding: 0 0.55rem;
  cursor: pointer;
}

.task-btn.is-on {
  background: var(--phosphor);
  color: #001a08;
}

.task-apps {
  display: flex;
  gap: 0.3rem;
  min-width: 0;
  overflow: hidden;
}

.start-menu {
  position: absolute;
  left: 0.4rem;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 11rem;
  padding: 0.4rem;
  background: #000;
  border: 2px solid var(--phosphor);
  box-shadow: 4px 4px 0 #05210c;
}

.start-menu button {
  text-align: left;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
}

.os-clock {
  margin-left: auto;
  padding: 0.25rem 0.45rem;
  border: 2px solid var(--phosphor);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.titlebar {
  touch-action: none;
  cursor: grab;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
}

html.os .window {
  container-type: inline-size;
  container-name: os-window;
}

@container os-window (min-width: 1px) {
  h1 {
    font-size: clamp(0.55rem, 3.5cqi, 0.9rem);
    line-height: 1.8;
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

.window-body {
  min-height: 0;
}

@media (max-width: 899px) {
  html.os .desktop-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem 0.4rem;
    justify-items: center;
    padding: 1rem 0.6rem 4.2rem;
  }

  html.os .window {
    display: none;
  }

  html.os .window.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 30;
    inset: 0 0 46px 0;
    width: auto;
    max-height: none;
    background: #000;
    border: 0;
    overflow: hidden;
  }

  html.os .window.is-open .window-body {
    overflow: auto;
    padding: 0.9rem 0.9rem 1.2rem;
  }
}

@media (min-width: 900px) {
  html.os .desktop-icons {
    position: fixed;
    z-index: 4;
    top: 0.8rem;
    left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  html.os .window {
    display: none;
    position: fixed;
    z-index: 8;
    flex-direction: column;
    width: min(32rem, calc(100vw - 8.5rem));
    max-height: calc(100vh - 4.2rem);
    background: #000;
    border: 3px solid var(--phosphor);
    box-shadow: 6px 6px 0 #05210c;
    overflow: hidden;
  }

  html.os .window.is-open {
    display: flex;
    align-items: stretch;
  }

  html.os .window[data-win="welcome"] {
    left: 108px;
    top: 18px;
    width: min(720px, calc(100vw - 26rem));
  }

  html.os .window[data-win="contact"] {
    left: max(24px, calc(100vw - 520px));
    top: 36px;
    width: min(460px, 42vw);
  }

  @media (max-width: 1199px) {
    html.os .window[data-win="welcome"] {
      width: min(500px, calc(100vw - 32rem));
    }

    html.os .window[data-win="contact"] {
      top: 210px;
    }
  }

  html.os .window.is-min {
    display: none;
  }

  html.os .window.is-max {
    left: 8px !important;
    top: 8px !important;
    width: calc(100vw - 16px) !important;
    height: calc(100vh - 62px) !important;
    max-height: none !important;
  }

  html.os .window.is-front {
    box-shadow: 8px 8px 0 #05210c;
  }

  html.os .window-body {
    overflow: auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    box-sizing: border-box;
    padding: 0.9rem 1rem 1.1rem;
  }

  html.os .resize {
    position: absolute;
    z-index: 6;
    touch-action: none;
  }

  html.os .resize-n,
  html.os .resize-s {
    left: 14px;
    right: 14px;
    height: 8px;
    cursor: ns-resize;
  }

  html.os .resize-n { top: 0; }
  html.os .resize-s { bottom: 0; }

  html.os .resize-e,
  html.os .resize-w {
    top: 14px;
    bottom: 14px;
    width: 8px;
    cursor: ew-resize;
  }

  html.os .resize-e { right: 0; }
  html.os .resize-w { left: 0; }

  html.os .resize-nw,
  html.os .resize-ne,
  html.os .resize-sw,
  html.os .resize-se {
    width: 14px;
    height: 14px;
  }

  html.os .resize-nw { top: 0; left: 0; cursor: nwse-resize; }
  html.os .resize-se { right: 0; bottom: 0; cursor: nwse-resize; }
  html.os .resize-ne { top: 0; right: 0; cursor: nesw-resize; }
  html.os .resize-sw { bottom: 0; left: 0; cursor: nesw-resize; }

  html.os .resize-se::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 3px;
    height: 3px;
    background: var(--phosphor);
    box-shadow:
      -5px 0 0 var(--phosphor),
      0 -5px 0 var(--phosphor),
      -5px -5px 0 var(--phosphor);
  }

  html.os .window.is-max .resize {
    display: none;
  }

  html.os .titlebar-controls {
    position: relative;
    z-index: 7;
  }
}

.os-taskbar {
  display: flex;
}

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

  .btn,
  .service-card {
    transition: none;
  }

  .term-cursor,
  .crt-overlay,
  .radar-sweep {
    animation: none;
  }
}

@container os-window (min-width: 1px) {
  .window-body h1 {
    font-size: clamp(0.55rem, 3.4cqi, 0.88rem);
    line-height: 1.85;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
