/* Ben Miller — PC Repair & Networking
   Layout: workbench sheet. Left-aligned columns, mono "label tag" eyebrows,
   and one bold dark signal-map spotlight. Everything else stays quiet. */

/* One look for every visitor: dark navy, whatever their device theme. */
:root {
  --bg: #0e1b2b;
  --surface: #14263a;
  --ink: #e6eef5;
  --muted: #9fb2c4;
  --line: #26405a;
  --accent: #5cb9dd;
  --accent-soft: #17324a;
  --signal: #f5b53d;
  --signal-ink: #1b1505;
  --error: #ff8a8a;
  --success: #5fd39c;

  /* Wi-Fi spotlight and invoice box: a deeper teal-navy so they stand out */
  --spot-bg: #08283a;
  --spot-room: #0d3447;
  --spot-line: #1b4c62;
  --spot-ink: #e8f2f5;
  --spot-muted: #a2bfcb;
  --good: #4cc38a;
  --weak: #e9a43a;
  --dead: #f06a6a;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);

  --radius: 8px;
  --wrap: 72rem;
  --gutter: 20px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p {
  margin: 0;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.skip:focus {
  top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.lede {
  max-width: 34rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-stretch: 106%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}
.btn-signal {
  background: var(--signal);
  color: var(--signal-ink);
}
.btn-signal:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px var(--signal);
}
.btn-ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.copy {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}
.copy:hover {
  color: var(--ink);
  border-color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 1.25rem;
  height: 1rem;
  color: var(--accent);
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  font-stretch: 120%;
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 1.35rem;
}
.nav a {
  white-space: nowrap;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}
.header-phone {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.header-phone:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 1040px) {
  .brand-sub {
    display: none;
  }
}
@media (max-width: 780px) {
  .nav a:not(.nav-keep) {
    display: none;
  }
  .brand-sub {
    display: none;
  }
}
@media (max-width: 460px) {
  .header-phone {
    display: none;
  }
}

/* ---------- Hero ---------- */
/* A technician's bench: blueprint grid, a glow behind the work,
   and a sample tune-up report on the right. */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 70% at 78% 35%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 45% at 22% 38%, rgba(155, 123, 255, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 100%, color-mix(in srgb, var(--signal) 7%, transparent), transparent 70%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 10%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 65% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 85% at 65% 40%, #000 25%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}
.hero-copy {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  min-width: 0;
}
.hero h1 {
  display: grid;
  gap: 0.6rem;
}
/* Hero name: bursts out of deep space toward you with a flash and a shockwave,
   then glows like a nebula. The starfield behind it is drawn by site.js. */
.hero-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-name {
  position: relative;
  isolation: isolate;
  justify-self: start;
  font-family: "Space Grotesk", var(--font-display);
  font-size: clamp(2.2rem, 0.9rem + 4.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  color: #a6b6ca;
  text-shadow:
    0 0 6px rgba(160, 200, 235, 0.22),
    0 0 18px rgba(92, 185, 221, 0.14),
    0 0 40px rgba(155, 123, 255, 0.12),
    0.05em 0.07em 0.06em rgba(2, 8, 18, 0.75);
  transform-origin: 50% 55%;
  animation:
    burst-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both,
    cosmic-glow 7s ease-in-out 1.8s infinite;
}
@keyframes burst-in {
  0% {
    opacity: 0;
    transform: scale(0.06);
    filter: blur(12px) brightness(3);
  }
  15% {
    opacity: 1;
  }
  55% {
    transform: scale(1.14);
    filter: blur(0) brightness(1.9);
  }
  72% {
    transform: scale(0.97);
    filter: blur(0) brightness(1.15);
  }
  86% {
    transform: scale(1.015);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes cosmic-glow {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(160, 200, 235, 0.22),
      0 0 18px rgba(92, 185, 221, 0.14),
      0 0 40px rgba(155, 123, 255, 0.12),
      0.05em 0.07em 0.06em rgba(2, 8, 18, 0.75);
  }
  50% {
    text-shadow:
      0 0 6px rgba(190, 180, 240, 0.22),
      0 0 18px rgba(155, 123, 255, 0.14),
      0 0 40px rgba(92, 185, 221, 0.12),
      0.05em 0.07em 0.06em rgba(2, 8, 18, 0.75);
  }
}
/* Nebula cloud behind the letters: flashes when the name arrives, then drifts */
.hero-name::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -55% -14%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 32% 55%, rgba(155, 123, 255, 0.16), transparent 72%),
    radial-gradient(closest-side at 68% 45%, rgba(92, 185, 221, 0.16), transparent 74%),
    radial-gradient(closest-side, rgba(255, 255, 255, 0.04), transparent 60%);
  filter: blur(14px);
  pointer-events: none;
  animation:
    nebula-flash 1.3s ease-out 0.85s both,
    nebula-drift 12s ease-in-out 2.2s infinite alternate;
}
@keyframes nebula-flash {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(14px) brightness(1);
  }
  22% {
    opacity: 1;
    transform: scale(1.35);
    filter: blur(14px) brightness(3);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(14px) brightness(1);
  }
}
@keyframes nebula-drift {
  from {
    transform: none;
  }
  to {
    transform: translateX(4%) scale(1.06) rotate(2deg);
  }
}
/* Shockwave ring that rolls outward the moment the name breaks through */
.hero-name::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 120%;
  aspect-ratio: 3 / 1;
  margin-left: -60%;
  margin-top: -20%;
  border: 2px solid rgba(200, 240, 255, 0.9);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(92, 185, 221, 0.8),
    inset 0 0 18px rgba(155, 123, 255, 0.6);
  opacity: 0;
  pointer-events: none;
  animation: shockwave 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.95s both;
}
@keyframes shockwave {
  0% {
    opacity: 1;
    transform: scale(0.15);
  }
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}
.hero-trade {
  justify-self: start;
  padding: 0.3rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero .lede {
  max-width: 32rem;
}
.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.phone-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}
.phone-line .label {
  color: var(--muted);
  font-size: 0.95rem;
}
.phone-number {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.phone-number:hover {
  color: var(--accent);
}

/* Sample tune-up report */
.console {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 28rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 16px;
  background: linear-gradient(170deg, var(--surface), var(--spot-bg));
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 60px -20px color-mix(in srgb, var(--accent) 45%, transparent);
  font-family: var(--font-mono);
  transform: rotate(1.2deg);
}
@media (max-width: 960px) {
  .console {
    justify-self: start;
    transform: none;
  }
}
.console::after {
  /* one slow scan line, like a diagnostic running */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 30%;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 14%, transparent), transparent);
  animation: scan 2.6s ease-in-out 0.3s 1 both;
  pointer-events: none;
}
@keyframes scan {
  from { top: -30%; }
  to { top: 110%; }
}
.console-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.console-led {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 10px var(--good);
  animation: led 2.4s ease-in-out infinite;
}
@keyframes led {
  50% { opacity: 0.45; }
}
.console-title {
  color: var(--ink);
  font-weight: 600;
}
.console-tag {
  margin-left: auto;
  padding: 0.1rem 0.45rem;
  border: 1px dashed var(--line);
  border-radius: 4px;
  font-size: 0.65rem;
}
.console-rows {
  display: grid;
  margin: 0;
  padding: 0.4rem 1.1rem;
  list-style: none;
}
.console-rows li {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--line) 80%, transparent);
  font-size: 0.85rem;
}
.console-rows li:last-child {
  border-bottom: 0;
}
.c-check {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--good) 20%, transparent);
  box-shadow: inset 0 0 0 1px var(--good);
  animation: tick 0.4s ease-out both;
  animation-delay: calc(0.5s + var(--i) * 0.35s);
}
.c-check::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.2rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid var(--good);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@keyframes tick {
  from { transform: scale(0.7); box-shadow: inset 0 0 0 1px var(--good), 0 0 0 0 var(--good); }
  60% { transform: scale(1.15); box-shadow: inset 0 0 0 1px var(--good), 0 0 0 6px transparent; }
  to { transform: scale(1); }
}
.c-label {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.c-val {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--good);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.c-bar {
  width: 4.5rem;
  height: 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
}
.c-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--good);
}
.c-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 0.9rem;
}
.c-bars i {
  width: 4px;
  border-radius: 1px;
  background: var(--good);
}
.c-bars i:nth-child(1) { height: 30%; }
.c-bars i:nth-child(2) { height: 55%; }
.c-bars i:nth-child(3) { height: 80%; }
.c-bars i:nth-child(4) { height: 100%; }
.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--good) 8%, transparent);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.console-foot strong {
  color: var(--good);
  font-size: 0.85rem;
}

/* Credentials strip */
.hero-facts {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  list-style: none;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-facts li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}
.hero-facts li:first-child {
  border-color: color-mix(in srgb, var(--good) 45%, var(--line));
  color: var(--ink);
}
.hero-facts li:first-child::before {
  background: var(--good);
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
/* Alternating section color, so each part of the page reads as its own block */
.section-alt {
  background: var(--surface);
}
.section-alt .certs li {
  background: var(--bg);
}
.section-head {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
h2 {
  font-size: var(--step-3);
  font-weight: 800;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
/* Three across. A short last row is filled automatically: one extra tile
   turns the last row into four, two extra tiles share a row. Adding or
   removing a service never leaves one sitting alone. */
.service {
  grid-column: span 4;
}
.service:nth-child(3n + 1):nth-last-child(4),
.service:nth-child(3n + 1):nth-last-child(4) ~ .service {
  grid-column: span 3;
}
.service:nth-child(3n + 1):nth-last-child(2),
.service:nth-child(3n + 1):nth-last-child(2) ~ .service {
  grid-column: span 6;
}
@media (max-width: 980px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service,
  .service:nth-child(3n + 1):nth-last-child(4),
  .service:nth-child(3n + 1):nth-last-child(4) ~ .service,
  .service:nth-child(3n + 1):nth-last-child(2),
  .service:nth-child(3n + 1):nth-last-child(2) ~ .service {
    grid-column: span 1;
  }
  .services .service:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .services {
    grid-template-columns: 1fr;
  }
  .services .service:last-child:nth-child(odd) {
    grid-column: span 1;
  }
}
.service {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding-top: 1.4rem;
  border-top: 3px solid var(--ink);
  min-width: 0;
}
.service-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
}
.service h3 {
  font-size: var(--step-1);
  font-weight: 750;
}
.service p {
  color: var(--muted);
}
.service a {
  font-weight: 600;
  text-decoration: none;
}
.service a:hover {
  text-decoration: underline;
}

/* ---------- Wi-Fi spotlight ---------- */
.spotlight {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--spot-bg);
  color: var(--spot-ink);
}
.spotlight-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 920px) {
  .spotlight-inner {
    grid-template-columns: 1fr;
  }
}
.spotlight-copy {
  display: grid;
  justify-items: start;
  gap: 1.35rem;
}
.spotlight .eyebrow {
  color: var(--spot-muted);
}
.spotlight .eyebrow::before {
  background: var(--signal);
}
.spotlight-title {
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.75rem);
  font-weight: 900;
  font-stretch: 122%;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.spotlight .lede {
  color: var(--spot-muted);
}
.checks {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 34rem;
}
.checks li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.8rem;
}
.checks li::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.45rem;
  border: 2px solid var(--good);
  border-radius: 50%;
}

.networks {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.networks-head {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
  padding-top: clamp(2.25rem, 5vw, 3rem);
  border-top: 1px solid var(--spot-line);
}
.networks-title {
  font-size: var(--step-3);
  font-weight: 800;
}
.network-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 980px) {
  .network-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .network-cards {
    grid-template-columns: 1fr;
  }
}
.network-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.4rem 1.3rem 1.5rem;
  overflow: hidden;
  border: 1px solid var(--spot-line);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--spot-room), var(--spot-bg) 85%);
  min-width: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.network-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}
.network-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--spot-line));
  box-shadow: 0 14px 30px -18px var(--accent);
}
.network-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.network-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}
.network-logo {
  display: block;
  height: 3.25rem;
  width: auto;
  max-width: 10rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: #ffffff;
  object-fit: contain;
}
.network-name {
  display: grid;
  gap: 0.2rem;
}
.network-name h4 {
  margin: 0;
  color: var(--spot-ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  font-stretch: 118%;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.network-tag {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.network-desc {
  color: var(--spot-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.floorplan {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: clamp(0.85rem, 2vw, 1.25rem);
  border: 1px solid var(--spot-line);
  border-radius: 12px;
  min-width: 0;
}
.fp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.fp-label {
  color: var(--spot-muted);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fp-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--spot-line);
  border-radius: 999px;
}
.fp-toggle button {
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--spot-muted);
  font: 600 0.9rem var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.fp-toggle button:hover {
  color: var(--spot-ink);
}
.fp-toggle button[aria-pressed="true"] {
  background: var(--spot-ink);
  color: var(--spot-bg);
}
.fp-toggle button:focus-visible {
  outline-color: var(--signal);
}

.fp-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  grid-template-areas:
    "bed2   bed1   office"
    "garage living kitchen";
  gap: 4px;
  padding: 4px;
  border-radius: 6px;
  background: var(--spot-line);
}
@media (max-width: 520px) {
  .fp-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "bed2   bed1"
      "garage office"
      "living kitchen";
  }
}
.room {
  --tier: var(--good);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  min-height: 8.75rem;
  padding: 0.8rem;
  background: var(--spot-room);
  transition: background-color 0.4s ease;
}
.room[data-tier="weak"] {
  --tier: var(--weak);
}
.room[data-tier="dead"] {
  --tier: var(--dead);
  background: repeating-linear-gradient(
    135deg,
    color-mix(in srgb, var(--dead) 15%, var(--spot-room)) 0 6px,
    var(--spot-room) 6px 14px
  );
}
.room-name {
  color: var(--spot-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}
.room-device {
  align-self: flex-start;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--signal);
  border-radius: 4px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.meter {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  margin-top: auto;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 1.35rem;
}
.bars i {
  width: 6px;
  border-radius: 1px;
  background: color-mix(in srgb, var(--spot-ink) 16%, transparent);
  transition: background-color 0.35s ease;
}
.bars i:nth-child(1) {
  height: 25%;
}
.bars i:nth-child(2) {
  height: 50%;
}
.bars i:nth-child(3) {
  height: 75%;
}
.bars i:nth-child(4) {
  height: 100%;
}
.room[data-bars="1"] .bars i:nth-child(-n + 1),
.room[data-bars="2"] .bars i:nth-child(-n + 2),
.room[data-bars="3"] .bars i:nth-child(-n + 3),
.room[data-bars="4"] .bars i {
  background: var(--tier);
}
.dbm {
  color: var(--spot-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dbm b {
  color: var(--tier);
  font-size: 1.05rem;
  font-weight: 600;
}
.room-status {
  color: var(--tier);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fp-summary {
  color: var(--spot-ink);
  font-size: 0.95rem;
}
.fp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--spot-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.fp-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.fp-legend li::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background: var(--swatch);
}
.fp-legend .good {
  --swatch: var(--good);
}
.fp-legend .weak {
  --swatch: var(--weak);
}
.fp-legend .dead {
  --swatch: var(--dead);
}

/* ---------- Why me ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
}
@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
}
.about-copy {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1rem;
}
.about-copy p {
  max-width: 34rem;
  color: var(--muted);
}
.promises {
  display: grid;
  align-content: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 520px) {
  .promises {
    grid-template-columns: 1fr;
  }
}
.promises li {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.promises h3 {
  font-size: 1.1rem;
  font-weight: 700;
  font-stretch: 106%;
}
.promises p {
  color: var(--muted);
  font-size: 0.98rem;
}

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}
.certs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}
.certs li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--good);
}

/* ---------- Contact band (home page) ---------- */
.contact-band {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 820px) {
  .contact-band-inner {
    grid-template-columns: 1fr;
  }
}
.contact-main {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  min-width: 0;
}
.big-phone {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem);
}
.facts {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}
.facts > div {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.facts dt,
.label-tag {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.facts dd {
  margin: 0;
}
.note {
  color: var(--muted);
  font-size: 0.95rem;
}
.card-link {
  font-family: var(--font-mono);
  font-weight: 600;
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}
.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1.5rem;
  font-variant-numeric: tabular-nums;
}
.hours span:nth-child(odd) {
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.social-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.social-links--footer .social-link {
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.footer-inner a {
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* ---------- Contact page ---------- */
.page-head {
  padding-block: clamp(2.75rem, 7vw, 4.5rem) 0;
}
.page-head .wrap {
  display: grid;
  justify-items: start;
  gap: 1rem;
}
.page-title {
  font-size: var(--step-4);
  font-weight: 900;
  font-stretch: 124%;
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.contact-section {
  padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(3.5rem, 8vw, 6rem);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.form {
  position: relative;
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  min-width: 0;
}
.form-title {
  font-size: var(--step-2);
  font-weight: 800;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-width: 0;
}
fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}
.field label,
.field legend {
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.field legend {
  margin-bottom: 0.4rem;
}
.hint {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.form textarea {
  min-height: 9rem;
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field[data-invalid] input,
.field[data-invalid] textarea {
  border-color: var(--error);
}
.error {
  color: var(--error);
  font-size: 0.875rem;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice span {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.95rem;
  cursor: pointer;
}
.choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.choice input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.form-foot .note {
  font-size: 0.9rem;
}
.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 6px;
  background: var(--bg);
  font-size: 0.95rem;
}
.form-status.is-info {
  border-left-color: var(--signal);
}
.form-status.is-success {
  border-left-color: var(--success);
}
.form-status.is-error {
  border-left-color: var(--error);
}

.contact-aside {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}
.aside-block {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.aside-value {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
a.aside-value:hover {
  color: var(--accent);
}
.value-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.remote-note {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--accent-soft);
}
.remote-note h2 {
  font-size: 1.2rem;
  font-weight: 800;
}
.remote-note p {
  font-size: 0.98rem;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  width: min(46rem, calc(100% - 32px));
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
  animation: cookie-in 0.35s ease both;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-banner.is-leaving {
  opacity: 0;
  transform: translate(-50%, 12px);
}
@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.cookie-text {
  flex: 1 1 18rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}
.cookie-text strong {
  color: var(--ink);
}
.cookie-actions {
  display: flex;
  gap: 0.6rem;
}
.cookie-actions .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Shop page ---------- */
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}
.pay-methods li {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.invoice-section {
  padding-block: clamp(2rem, 5vw, 3rem) 0;
}
.invoice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2.5rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: 12px;
  background: var(--spot-bg);
  color: var(--spot-ink);
}
@media (max-width: 720px) {
  .invoice {
    grid-template-columns: 1fr;
  }
}
.invoice-copy {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}
.invoice h2 {
  font-size: var(--step-2);
  font-weight: 800;
}
.invoice-copy p {
  color: var(--spot-muted);
}
.invoice-action {
  display: grid;
  justify-items: start;
  max-width: 24rem;
}
.invoice .note {
  color: var(--spot-muted);
}
.invoice .note a {
  color: var(--signal);
  font-weight: 600;
  white-space: nowrap;
}

.shop-section {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 8vw, 6rem);
}
.shop-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.shop-bar h2 {
  font-size: var(--step-2);
}
.filter {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.filter button {
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.9rem var(--font-body);
  cursor: pointer;
}
.filter button:hover {
  color: var(--ink);
}
.filter button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.25rem;
}
.item {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  min-width: 0;
}
.item-media {
  aspect-ratio: 16 / 10;
  max-width: 100%;
  background: var(--accent-soft);
}
.item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-media.is-icon {
  display: grid;
  place-items: center;
  color: var(--accent);
}
.item-media.is-icon svg {
  width: 3rem;
  height: 3rem;
}
.item-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.15rem 1.2rem;
  min-width: 0;
}
.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.item-type,
.item-example {
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.item-type {
  border: 1px solid var(--line);
  color: var(--muted);
}
.item-example {
  border: 1px dashed var(--signal);
  color: var(--ink);
}
.item-name {
  font-size: 1.15rem;
  font-weight: 750;
  font-stretch: 106%;
}
.item-desc {
  color: var(--muted);
  font-size: 0.95rem;
}
.item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.6rem;
}
.item-price {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.item-buy {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}
.item-unavailable {
  color: var(--muted);
  font-size: 0.85rem;
}
.shop-empty {
  color: var(--muted);
}
.secure-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 44rem;
  margin-top: 2.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.secure-note svg {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.15rem;
  color: var(--accent);
}
