:root {
  --red: #e42a25;
  --red-dark: #b91617;
  --ink: #202327;
  --ink-soft: #363b42;
  --paper: #eef2f5;
  --paper-strong: rgba(255, 255, 255, 0.92);
  --paper-solid: #ffffff;
  --line: rgba(32, 35, 39, 0.16);
  --muted: #626b76;
  --teal: #087f83;
  --blue: #2a629f;
  --header-bg: rgba(238, 242, 245, 0.82);
  --input-bg: #ffffff;
  --contrast-bg: #202327;
  --contrast-text: #ffffff;
  --contrast-muted: rgba(255, 255, 255, 0.74);
  --shadow: 0 22px 60px rgba(20, 24, 29, 0.16);
  --pattern-opacity: 0.055;
  --radius: 8px;
  --page: min(1180px, calc(100vw - 40px));
  color-scheme: light;
}

html[data-theme="dark"] {
  --red: #ff4138;
  --red-dark: #d92520;
  --ink: #f8f4ff;
  --ink-soft: #ece7f6;
  --paper: #17141d;
  --paper-strong: rgba(35, 31, 43, 0.9);
  --paper-solid: #231f2b;
  --line: rgba(255, 255, 255, 0.16);
  --muted: #cbc3d8;
  --teal: #65d6cf;
  --blue: #9ec8ff;
  --header-bg: rgba(20, 17, 25, 0.82);
  --input-bg: rgba(255, 255, 255, 0.94);
  --contrast-bg: #f8f4ff;
  --contrast-text: #211d27;
  --contrast-muted: rgba(33, 29, 39, 0.7);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --pattern-opacity: 1;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url("../images/circuit-board.svg");
  background-size: 304px 304px;
  background-position: center top;
  opacity: var(--pattern-opacity);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 12%, rgba(228, 42, 37, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(238, 242, 245, 0.92));
}

html[data-theme="dark"] body {
  background-color: var(--paper);
}

html[data-theme="dark"] body::before {
  display: block;
  background-image: url("../images/circuit-board-dark.svg");
  background-size: 304px 304px;
  filter: invert(1) brightness(0.86);
  opacity: 0.16;
}

html[data-theme="dark"] body::after {
  background:
    radial-gradient(circle at 18% 10%, rgba(228, 42, 37, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(17, 15, 22, 0.22), rgba(17, 15, 22, 0.4));
}

html.nav-open,
body.nav-open {
  overflow: hidden;
}

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

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

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  padding: 12px 14px;
  min-height: 46px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(228, 42, 37, 0.2);
  border-color: var(--red);
}

svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(20, 24, 29, 0.08);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand {
  --brand-size: clamp(40px, 4vw, 46px);
}

.brand__mark,
.footer-brand__mark {
  width: var(--brand-size, 46px);
  height: var(--brand-size, 46px);
  object-fit: contain;
}

.brand__name {
  font-size: var(--brand-size);
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
}

.site-nav .nav-home-link,
.header-home-link {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink-soft);
}

.header-home-link {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.nav-home-link svg,
.header-home-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--contrast-bg);
  color: var(--contrast-text);
}

.header-call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.theme-toggle {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(20, 24, 29, 0.08);
}

.theme-toggle__icon {
  position: relative;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset -5px -5px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .theme-toggle__icon {
  background: var(--ink);
  box-shadow: inset 6px -4px 0 var(--paper-solid);
}

.theme-toggle__text {
  font-size: 13px;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.hero,
.page-hero,
.config-hero,
.contact-layout,
.section {
  width: var(--page);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 54px;
  padding: 42px 0 72px;
}

.hero--home {
  align-items: start;
  padding-top: clamp(28px, 6vh, 58px);
  min-height: auto;
  padding-bottom: clamp(16px, 2vw, 22px);
}

.hero__content {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 6.2vw, 88px);
  max-width: 980px;
}

h2 {
  font-size: clamp(28px, 3.8vw, 48px);
}

h3 {
  font-size: 22px;
}

.hero__lead,
.page-hero p,
.config-hero p,
.contact-info > p,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.hero__lead {
  margin: 22px 0 0;
}

.hero__actions,
.build-card__bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__actions {
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.asset-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
}

.button--primary {
  background: var(--red);
  color: #fff;
}

.button--primary:hover {
  background: var(--red-dark);
}

.button--dark {
  background: var(--contrast-bg);
  color: var(--contrast-text);
}

.hero__actions .button--primary,
.hero__actions .button--dark {
  background: var(--contrast-bg);
  color: var(--contrast-text);
}

.hero__actions .button--primary:hover,
.hero__actions .button--dark:hover {
  transform: translateY(-1px);
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 30px rgba(228, 42, 37, 0.22);
}

.button--ghost {
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.hero-metrics div {
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}

.hero-metrics dt {
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.hero__media {
  justify-self: start;
  align-self: start;
  width: var(--hero-title-height, clamp(390px, 34vw, 500px));
  height: var(--hero-title-height, clamp(390px, 34vw, 500px));
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-left: clamp(-86px, -5vw, -34px);
  transform: translateY(var(--hero-title-shift, 0));
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(20, 19, 18, 0.24));
}

.section {
  padding: 76px 0;
}

.service-switch {
  padding-top: 130px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

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

.service-card,
.repair-item,
.route-grid article,
.roadmap-grid article,
.build-card,
.price-panel,
.quote-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.service-card {
  --card-accent: var(--red);
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow);
}

.service-card--repair {
  border-top: 6px solid var(--red);
}

.service-card--build {
  --card-accent: var(--teal);
  border-top: 6px solid var(--teal);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--contrast-bg);
  color: var(--contrast-text);
}

.service-card__icon .asset-icon {
  width: 25px;
  height: 25px;
}

.service-card p,
.repair-item p,
.route-grid p,
.roadmap-grid p,
.quote-panel p,
.plain-panel p {
  color: var(--muted);
  margin: 0;
}

.text-link {
  margin-top: auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 48%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card-accent) 14%, var(--paper-strong));
  color: var(--ink);
  font-weight: 900;
  padding: 11px 16px;
  box-shadow: 0 12px 28px rgba(20, 24, 29, 0.08);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.text-link::after {
  content: "→";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card-accent);
  color: #fff;
  font-size: 15px;
  line-height: 0;
  padding-bottom: 2px;
}

.text-link:hover {
  transform: translateY(-1px);
  border-color: var(--card-accent);
  background: var(--card-accent);
  color: #fff;
}

.text-link:hover::after {
  background: #fff;
  color: var(--card-accent);
}

.build-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.mini-build {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper-strong);
}

.mini-build span {
  font-size: 26px;
  font-weight: 950;
}

.mini-build strong {
  color: var(--muted);
}

.mini-build:hover {
  background: var(--contrast-bg);
  color: var(--contrast-text);
}

.mini-build:hover strong {
  color: var(--contrast-text);
}

.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}

.process-list li {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid var(--red);
  background: var(--paper-strong);
  padding: 22px;
}

.process-list span,
.repair-item span,
.route-grid span,
.roadmap-grid span,
.build-tag {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 13px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.request-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 76px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--contrast-bg);
  color: var(--contrast-text);
}

.request-band .eyebrow {
  color: var(--contrast-text);
}

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

.quick-form label,
.contact-form label {
  display: grid;
  gap: 6px;
  color: inherit;
  font-weight: 800;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[data-request-form] button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-note[data-state="success"] {
  color: #4fbb78;
}

.form-note[data-state="error"] {
  color: #e66d6d;
}

.quick-form__wide,
.contact-form__wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--contrast-text);
  font-weight: 800;
}

.configurator-lock {
  position: fixed;
  inset: 78px 0 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) 20px;
  background: rgba(238, 242, 245, 0.55);
  backdrop-filter: blur(2px);
}

html[data-theme="dark"] .configurator-lock {
  background: rgba(17, 15, 22, 0.55);
}

.configurator-lock__content {
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.configurator-lock__mark {
  position: relative;
  width: clamp(96px, 13vw, 136px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--paper-strong) 86%, transparent);
  box-shadow: var(--shadow);
}

.configurator-lock__wrench {
  position: absolute;
  width: 64%;
  height: 64%;
  color: var(--red);
  filter: drop-shadow(0 10px 18px rgba(20, 24, 29, 0.16));
}

.configurator-lock__wrench--left {
  transform: translateX(-4%) rotate(-72deg);
}

.configurator-lock__wrench--right {
  color: var(--teal);
  transform: translateX(4%) rotate(18deg);
}

.configurator-lock__content p {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 31px);
  font-weight: 900;
  line-height: 1.26;
  text-wrap: balance;
  text-shadow: 0 2px 18px color-mix(in srgb, var(--paper) 66%, transparent);
}

html[data-theme="dark"] .configurator-lock__content p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.page-hero,
.config-hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 66px 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.config-hero h1,
.contact-info h1 {
  font-size: clamp(38px, 5.2vw, 72px);
}

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

.repair-item,
.route-grid article,
.roadmap-grid article {
  min-height: 210px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.plain-panel {
  padding: 8px 0;
}

.plain-panel h2,
.quote-panel h2,
.price-panel h2 {
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
}

.price-panel,
.quote-panel {
  padding: 26px;
  box-shadow: var(--shadow);
}

.price-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.price-panel div,
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.price-panel dt,
.spec-list dt {
  color: var(--muted);
  font-weight: 700;
}

.price-panel dd,
.spec-list dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.assembly-route {
  padding-bottom: 40px;
}

.quote-panel {
  background: var(--contrast-bg);
  color: var(--contrast-text);
}

.quote-panel p {
  color: var(--contrast-muted);
  margin-bottom: 24px;
}

.build-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.build-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  gap: 24px;
}

.build-card--accent {
  background: var(--contrast-bg);
  color: var(--contrast-text);
  border-color: var(--contrast-bg);
}

.build-card--accent .build-card__top p,
.build-card--accent .spec-list dt {
  color: var(--contrast-muted);
}

.build-card--accent .spec-list div {
  border-bottom-color: var(--line);
}

.build-card__top {
  display: grid;
  gap: 10px;
}

.build-card__top p {
  color: var(--muted);
  margin: 0;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.build-card__bottom {
  margin-top: auto;
  justify-content: space-between;
}

.build-card__bottom strong {
  font-size: 28px;
  line-height: 1;
}

.config-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
}

.config-preview {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.preview-line {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.preview-line:last-child {
  border-bottom: 0;
}

.preview-line span {
  color: var(--muted);
  font-weight: 800;
}

.contact-layout {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 56px 0 76px;
}

.contact-info {
  display: grid;
  gap: 18px;
}

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

.contact-list a {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 18px;
}

.contact-list span {
  color: var(--muted);
  font-weight: 800;
}

.contact-list strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-form .form-note {
  color: var(--ink);
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 38px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.5fr));
  gap: 30px;
  border-top: 1px solid var(--line);
}

.site-footer h2 {
  font-size: 15px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.site-footer p {
  color: var(--muted);
  max-width: 360px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  color: var(--ink);
  font-weight: 750;
  margin: 8px 0;
}

.footer-brand__mark {
  width: 42px;
  height: 42px;
}

@media (max-width: 980px) {
  :root {
    --page: min(100vw - 28px, 760px);
    --mobile-header-height: 78px;
  }

  html,
  body {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .site-header {
    grid-template-columns: auto 1fr auto auto auto;
    gap: 10px;
  }

  html.nav-open .site-header {
    position: fixed;
    left: 0;
    right: 0;
  }

  html.nav-open body {
    padding-top: var(--mobile-header-height);
  }

  .theme-toggle {
    order: 2;
    justify-self: end;
  }

  .header-home-link {
    order: 3;
    display: inline-flex;
    justify-self: end;
  }

  .nav-toggle {
    order: 4;
    display: block;
    justify-self: end;
  }

  .header-call {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav a {
    display: none;
  }

  .site-nav .nav-home-link {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    inset: var(--mobile-header-height) 14px auto;
    display: grid;
    gap: 8px;
    justify-content: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a:not(.nav-home-link) {
    display: flex;
    min-height: 56px;
    font-size: 22px;
    font-weight: 850;
  }

  .site-nav.is-open a {
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero,
  .page-hero,
  .config-hero,
  .contact-layout,
  .two-column,
  .request-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .service-switch {
    padding-top: 50px;
  }

  .hero__media {
    display: none;
  }

  .service-grid,
  .build-catalog {
    grid-template-columns: 1fr;
  }

  .build-strip,
  .process-list,
  .repair-grid,
  .route-grid,
  .roadmap-grid,
  .contact-list,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --page: min(100vw - 24px, 520px);
  }

  .theme-toggle {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }

  .theme-toggle__text {
    display: none;
  }

  h1 {
    font-size: clamp(36px, 13vw, 54px);
  }

  .hero__lead,
  .page-hero p,
  .config-hero p,
  .contact-info > p,
  .section-heading p {
    font-size: 16px;
  }

  .hero-metrics,
  .build-strip,
  .process-list,
  .repair-grid,
  .route-grid,
  .roadmap-grid,
  .quick-form,
  .contact-form,
  .contact-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .page-hero,
  .config-hero {
    min-height: auto;
    padding: 44px 0;
  }

  .service-card,
  .build-card,
  .contact-form,
  .request-band,
  .price-panel,
  .quote-panel {
    padding: 20px;
  }

  .build-card {
    min-height: auto;
  }

  .preview-line,
  .price-panel div,
  .spec-list div {
    grid-template-columns: 1fr;
    display: grid;
    gap: 4px;
  }

  .price-panel dd,
  .spec-list dd {
    text-align: left;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 8px;
    padding-inline: 12px;
  }

  .brand {
    --brand-size: 32px;
    gap: 8px;
  }
}
