/* ============================================================
   MQ ELECTRIC — "server room at midnight"
   Black void / bone white / one ember orange. 0px radius everywhere,
   hairline borders instead of shadows, mono labels, light display type.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Nippo';
  src: url('fonts/Nippo-Extralight.woff2') format('woff2');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nippo';
  src: url('fonts/Nippo-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nippo';
  src: url('fonts/Nippo-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nippo';
  src: url('fonts/Nippo-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Array';
  src: url('fonts/Array-Wide.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ember: #ff7448;
  --void: #000000;
  --carbon: #1a1a1a;
  --graphite: #3c3c3c;
  --steel: #737373;
  --fog: #bfbfbf;
  --bone: #f5f5f5;

  --font-display: 'Nippo', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Chivo Mono', ui-monospace, 'JetBrains Mono', Consolas, monospace;

  --page-max: 1280px;
  --nav-h: 76px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta { transition: none; }
}
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  background: #050505;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img, svg, video, canvas { max-width: 100%; }
input, select, textarea, button { font-family: inherit; }
::selection { background: var(--ember); color: var(--void); }

.container { max-width: var(--page-max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.container-narrow { max-width: 880px; }

/* Every dark surface: NEVER a flat fill. Two-stop gradient + the .noise
   overlay below defeat a spatial-dithering artifact (diagonal hairline)
   that flat dark colors trigger on some display pipelines. */
.dark-section {
  position: relative;
  background: linear-gradient(180deg, #030303 0%, #0a0a0a 55%, #040404 100%);
}
.noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* Circuit-trace pattern behind the dark content sections — deliberately
   visible ("electric" texture), with dim ember pads at the trace ends. */
.circuit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  background-size: 260px 260px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><g fill='none' stroke='%23272e37' stroke-width='1.5'><path d='M22 32h88v64h92'/><path d='M42 214v-58h86v-34'/><path d='M218 152h-46v46h-24'/><path d='M70 18v46h-44'/><path d='M150 22v34h58'/><circle cx='22' cy='32' r='3.5'/><circle cx='42' cy='214' r='3.5'/><circle cx='218' cy='152' r='3.5'/><circle cx='70' cy='18' r='3.5'/></g><rect x='124' y='118' width='8' height='8' fill='%23272e37'/><rect x='204' y='52' width='8' height='8' fill='%23272e37'/><circle cx='202' cy='96' r='3' fill='%23ff7448' opacity='0.5'/><circle cx='26' cy='64' r='3' fill='%23ff7448' opacity='0.45'/><circle cx='148' cy='198' r='3' fill='%23ff7448' opacity='0.4'/></svg>");
}
.ambient-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.section { padding: 96px 0 104px; scroll-margin-top: calc(var(--nav-h) + 14px); }
.section-hairline-top { border-top: 1px solid #161616; }

[data-reveal] { will-change: opacity, transform; }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fog);
}
.eyebrow-tick { color: var(--ember); }

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--graphite);
}
.section-label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.011em;
  color: var(--bone);
}
.section-sub {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fog);
}
.section-counter {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--steel);
  flex-shrink: 0;
  padding-top: 6px;
}
.section-counter::before { content: '/ '; color: var(--graphite); }

/* ---------- Buttons (terminal rectangles, 0 radius) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-fill { background: var(--ember); color: var(--void); border-color: var(--ember); }
.btn-fill:hover { background: var(--bone); border-color: var(--bone); color: var(--void); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--bone); }
.btn-ghost:hover { background: var(--bone); color: var(--void); }
.btn-lg { padding: 16px 28px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.nav.nav-solid {
  background: rgba(3, 3, 3, 0.94);
  border-bottom-color: #1e1e1e;
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--ember);
  color: var(--void);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.nav-brand-word {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--bone);
}
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--ember); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-decoration: none;
  padding: 11px 16px;
  border: 1px solid var(--graphite);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-phone:hover { border-color: var(--ember); color: var(--ember); }
.power-dot {
  width: 7px; height: 7px;
  background: var(--ember);
  display: inline-block;
  animation: powerPulse 2.2s ease-in-out infinite;
}
@keyframes powerPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.nav-cta { padding: 12px 20px; }
.hamburger-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--graphite);
  border-radius: 0;
  color: var(--bone);
  cursor: pointer;
  padding: 0;
}

.nav-mobile-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(180deg, #050505, #0a0a0a);
  border-bottom: 1px solid #1e1e1e;
  padding: 10px 24px 20px;
}
.nav-mobile-panel.is-open { display: flex; }
.nav-mobile-panel a {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid #181818;
}
.nav-mobile-panel a:last-child { border-bottom: none; }
.nav-mobile-panel .nav-mobile-phone { color: var(--ember); }
.nav-mobile-panel .nav-mobile-cta {
  margin-top: 10px;
  background: var(--ember);
  color: var(--void);
  text-align: center;
  padding: 15px;
  border-bottom: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #020202, #070707);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: brightness(1.35) contrast(1.02);
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.87) 0%, rgba(2,2,2,0.68) 40%, rgba(3,3,3,0.16) 100%);
}
.hero-shade-bottom {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 24%);
}
.hero-sparks { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 70px;
  /* fill the fold exactly — the orange statement band must not peek in */
  min-height: 100vh;
  min-height: 100svh;
}

.hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(3.1rem, 6.4vw, 5.9rem);
  line-height: 0.99;
  letter-spacing: -0.011em;
  color: var(--bone);
  text-wrap: balance;
}
.hero-title-em { font-weight: 400; }

/* The Array action word — electric blue, with a yellow current gliding
   through it once per ~4.2s cycle */
.surge {
  font-family: 'Array', var(--font-display);
  font-weight: 400;
  font-size: 0.92em;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #4da9ff;
  /* blue -> pale blue -> yellow -> pale blue: skips the muddy green midpoints
     a direct blue/yellow blend would produce */
  background-image: linear-gradient(105deg,
    #4da9ff 0%, #4da9ff 41%,
    #cfe6ff 45.5%, #fff8c4 48%, #ffe14d 50%, #fff8c4 52%, #cfe6ff 54.5%,
    #4da9ff 59%, #4da9ff 100%);
  background-size: 320% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: surgeSweep 4.2s ease-in-out infinite;
}
@keyframes surgeSweep {
  0%   { background-position: 130% 0; }
  52%  { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .surge { animation: none; background: none; -webkit-text-fill-color: currentColor; color: #4da9ff; }
  .power-dot { animation: none; }
}

.hero-sub {
  margin: 0 0 30px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fog);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 28px;
  row-gap: 14px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  max-width: 640px;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
}
.hero-badges img { height: 46px; width: 46px; flex-shrink: 0; }
.badge-square { width: 7px; height: 7px; background: var(--ember); flex-shrink: 0; display: inline-block; }

.hero-ctas { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; flex-wrap: wrap; }

/* Google rating card — solid white, real "G", gold stars (Simple Cut pattern) */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 12px 18px;
}
.hero-trust-g { height: 38px; width: 38px; flex-shrink: 0; }
.hero-trust-divider { width: 1px; height: 38px; background: rgba(10, 10, 10, 0.12); flex-shrink: 0; }
.hero-trust-meta { display: flex; flex-direction: column; gap: 2px; }
.hero-trust-row { display: flex; align-items: center; gap: 8px; }
.hero-trust-stars { color: #f5c13c; font-size: 16px; letter-spacing: 2px; line-height: 1; }
.hero-trust-score { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: #111; }
.hero-trust-copy { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: #5a6572; }

/* Quote form card (Ori dark-input spec) */
.hero-form-col { scroll-margin-top: calc(var(--nav-h) + 20px); }
.quote-card {
  background: linear-gradient(180deg, #0d0d0d, #070707);
  border: 1px solid var(--graphite);
  border-top: 2px solid var(--ember);
  padding: 28px 28px 24px;
}
.quote-card-tag {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.quote-card-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.1;
  color: var(--bone);
}
.quote-card-sub { margin: 0 0 20px; font-size: 14.5px; color: var(--steel); }

.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}
.label-optional { display: inline; text-transform: none; letter-spacing: 0.04em; color: var(--steel); }
.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 12px 14px;
  background: var(--carbon);
  border: 1px solid var(--graphite);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--bone);
  outline: none;
  resize: vertical;
  transition: border-color 0.18s ease;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: var(--steel); }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { border-color: var(--ember); }
.quote-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fog) 50%), linear-gradient(135deg, var(--fog) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.quote-form-note {
  margin: 2px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.quote-thanks {
  border: 1px solid var(--ember);
  background: rgba(255, 116, 72, 0.08);
  padding: 22px;
  text-align: center;
}
.quote-thanks-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--bone);
}
.quote-thanks-copy { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fog); }
.quote-thanks-copy a { color: var(--ember); text-decoration: none; }

.quote-card-checks {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
}
.quote-card-checks span { color: var(--ember); }

/* ---------- Orange statement band (the one full-bleed ember moment) ---------- */
.statement {
  background: var(--ember);
  padding: 96px 0;
}
.statement-text {
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.011em;
  color: var(--void);
}
.statement-text strong { font-weight: 500; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0b0b0b, #060606);
  border: 1px solid #242424;
  transition: border-color 0.22s ease;
}
.service-card:hover { border-color: var(--steel); }
.service-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  filter: brightness(0.94);
  transition: filter 0.25s ease;
}
.service-card:hover > img { filter: brightness(1.08); }
.service-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 1px solid #242424;
}
.service-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.2;
  color: var(--bone);
}
.service-card-body p { margin: 0; flex: 1; font-size: 15px; line-height: 1.55; color: var(--fog); }
.service-card-body a {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  text-decoration: none;
}
.service-card-body a:hover { color: var(--bone); }
/* Phones start with 3 services + a reveal button (see 600px media query) */
.services-more { display: none; text-align: center; margin-top: 28px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media > img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border: 1px solid var(--graphite);
}
.about-media-frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--ember);
  z-index: 1;
}
.about-copy > p {
  margin: 0 0 36px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--fog);
}
.about-copy > p strong { color: var(--bone); font-weight: 500; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #242424;
  border: 1px solid #242424;
}
.about-feature {
  background: linear-gradient(180deg, #090909, #050505);
  padding: 22px;
}
.about-feature .badge-square { margin-bottom: 14px; }
.about-feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--bone);
}
.about-feature p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--steel); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}
.gallery-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #1c1c1c;
  filter: brightness(0.96);
  transition: filter 0.25s ease, border-color 0.25s ease;
}
.gallery-slot:hover { filter: brightness(1.1); border-color: var(--steel); }
.gallery-slot.featured { grid-column: span 2; grid-row: span 2; }
.gallery-cta { text-align: center; margin-top: 40px; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, #0b0b0b, #060606);
  border: 1px solid #242424;
  padding: 26px;
}
.review-stars { color: var(--ember); font-size: 15px; letter-spacing: 4px; }
.review-card blockquote {
  margin: 0;
  flex: 1;
  font-size: 15.5px;
  line-height: 1.6;
  font-style: italic;
  color: var(--fog);
}
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #242424;
}
.review-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--ember);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 13px;
}
.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-meta strong { font-size: 14.5px; font-weight: 500; color: var(--bone); }
.review-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: linear-gradient(180deg, #0b0b0b, #060606);
  border: 1px solid #242424;
  padding: 20px 24px;
}
.faq-list summary {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--bone);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ember);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fog);
}
.faq-list details p a { color: var(--ember); text-decoration: none; }

/* ---------- CTA banner — full-bleed image left, fading into copy right ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
}
/* Image bleeds from the left edge and dissolves into the section's dark
   canvas via a mask, so the copy on the right sits on clean black. */
.cta-media {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 62%;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 45%, transparent 97%);
  mask-image: linear-gradient(to right, #000 0%, #000 45%, transparent 97%);
}
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  display: block;
  filter: brightness(1.18);
}
.cta-sparks { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cta-inner {
  display: flex;
  justify-content: flex-end;
  padding-top: 128px;
  padding-bottom: 124px;
}
.cta-copy { width: min(600px, 100%); }
.cta-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.011em;
  color: var(--bone);
}
.cta-title-em { color: var(--ember); font-weight: 400; }
.cta-sub { margin: 0 0 36px; font-size: 18px; line-height: 1.55; color: var(--fog); }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.ft {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #060606, #010101);
  color: var(--fog);
  font-size: 15px;
  scroll-margin-top: var(--nav-h);
  border-top: 1px solid #161616;
}
.ft-cables {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("img/footer-cables.jpg");
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,0.45) 46%, transparent 80%);
  mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,0.45) 46%, transparent 80%);
  opacity: 0.8;
}
.ft-tint { position: absolute; inset: 0; pointer-events: none; background: rgba(0, 0, 0, 0.4); }
.ft-inner { position: relative; z-index: 10; max-width: var(--page-max); margin: 0 auto; padding: 90px 24px 40px; }
.ft-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 0.95fr; gap: 64px; }

.ft-tag {
  display: inline-flex;
  align-items: center;
  margin: 0;
  background: var(--ember);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 6px 14px;
}
.ft-heading {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.011em;
  color: var(--bone);
}
.ft-copy { margin: 16px 0 0; max-width: 420px; line-height: 1.6; color: var(--fog); }

.ft-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  background: var(--ember);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 8px 8px 22px;
  transition: background 0.2s ease;
}
.ft-cta:hover { background: var(--bone); }
.ft-cta-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px; width: 36px;
  background: var(--void);
  color: var(--bone);
  transition: transform 0.2s ease;
}
.ft-cta-box svg { height: 18px; width: 18px; }
.ft-cta:hover .ft-cta-box { transform: rotate(45deg); }

.ft-nav { display: block; margin-top: 40px; max-width: 420px; border-top: 1px solid #222; }
.ft-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #222;
  color: var(--bone);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.ft-nav-row svg {
  height: 18px; width: 18px;
  flex-shrink: 0;
  color: var(--steel);
  transition: transform 0.2s ease, color 0.2s ease;
}
.ft-nav-row:hover { color: var(--ember); }
.ft-nav-row:hover svg { color: var(--ember); transform: translate(2px, -2px); }

.ft-col-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
}
.ft-col-title-gap { margin-top: 34px; }
.ft-copy-col { max-width: 300px; font-size: 14.5px; }
.ft-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ft-links a { color: var(--fog); text-decoration: none; transition: color 0.2s ease; }
.ft-links a:hover { color: var(--ember); }

.ft-contact { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; }
.ft-contact li, .ft-contact a { display: inline-flex; align-items: flex-start; gap: 9px; color: var(--fog); }
.ft-contact a { text-decoration: none; transition: color 0.2s ease; }
.ft-contact a:hover { color: var(--ember); }
.ft-ico { display: inline-flex; flex-shrink: 0; margin-top: 1px; color: var(--ember); }
.ft-ico svg { height: 16px; width: 16px; }

.ft-cred { display: inline-flex; align-items: center; gap: 9px; margin: 24px 0 0; font-size: 14px; color: var(--fog); }
.ft-pay-label {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}
.ft-pay { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.ft-pay li {
  border: 1px solid #2c2c2c;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  font-family: var(--font-mono);
  color: var(--fog);
}

.ft-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.ft-bottom p { margin: 0; }
.ft-bottom-right { display: flex; align-items: center; gap: 14px; }
.ft-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px; width: 36px;
  border: 1px solid #2c2c2c;
  color: var(--fog);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.ft-social svg { height: 15px; width: 15px; }
.ft-social:hover { background: var(--ember); border-color: var(--ember); color: var(--void); }
.ft-legal { margin-left: 4px; display: flex; align-items: center; gap: 12px; }
.ft-legal a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.ft-legal a:hover { color: var(--ember); }

/* Giant brand watermark. Mobile: full-width band under the footer content.
   Desktop (>=901px): two lines parked in the open space to the right of the
   stacked nav rows, brighter so it reads as the brand moment. */
.ft-wm-wrap { pointer-events: none; position: relative; z-index: 0; overflow: hidden; }
.footer-watermark {
  display: block;
  user-select: none;
  white-space: nowrap;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.78;
  letter-spacing: 0.01em;
  transform: translateY(16%);
  font-size: clamp(3.4rem, 12.5vw, 11rem);
  color: rgba(245, 245, 245, 0.09);
}
.footer-watermark .fw-mq { color: rgba(255, 116, 72, 0.3); }
.ft-wm-gap { display: inline-block; width: 0.24em; }
.ft-wm-br { display: none; }
.fw-letter { display: inline-block; }
@media (min-width: 901px) {
  /* .ft-wm-wrap lives inside .ft-inner (the centered 1280px container), so
     left: 460px lands the wordmark right beside the 420px-wide nav rows. */
  .ft-wm-wrap { position: absolute; inset: 0; overflow: visible; }
  .footer-watermark {
    position: absolute;
    left: 460px;
    bottom: 170px;
    transform: none;
    text-align: left;
    line-height: 0.84;
    font-size: clamp(4rem, 8vw, 7.5rem);
    color: rgba(245, 245, 245, 0.32);
  }
  .footer-watermark .fw-mq { color: rgba(255, 116, 72, 0.85); }
  .ft-wm-br { display: block; }
  .ft-wm-gap { display: none; }
}

/* Footer entrance animation — hidden states gated behind .footer-anim-ready
   (added by JS) so the footer stays fully visible with JS disabled. */
.footer-anim-ready .foot-rise {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.06s);
}
.footer-anim-ready .fw-letter {
  opacity: 0;
  transform: translateY(110px) scale(0.5);
  transition: opacity 0.9s cubic-bezier(0.34, 1.4, 0.5, 1), transform 0.9s cubic-bezier(0.34, 1.4, 0.5, 1);
  transition-delay: calc(var(--i, 0) * 0.05s);
  will-change: transform, opacity;
}
.footer-anim-ready.footer-in .foot-rise { opacity: 1; transform: none; }
.footer-anim-ready .wm-in .fw-letter { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .footer-anim-ready .foot-rise,
  .footer-anim-ready .fw-letter { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Mobile sticky CTA bar ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 14px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.sticky-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sticky-cta-inner { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.sticky-cta-btn {
  flex: 1;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 18px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.sticky-cta-btn svg { height: 18px; width: 18px; flex-shrink: 0; }
.sticky-cta-btn:active { transform: scale(0.97); }
.sticky-cta-call { background: #0c0c0c; color: var(--bone); border: 1px solid var(--graphite); }
.sticky-cta-quote { background: var(--ember); color: var(--void); border: 1px solid var(--ember); }
@media (min-width: 1024px) {
  .sticky-cta { display: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet and below (<=900px) */
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none !important; }
  .hamburger-btn { display: flex !important; }
  .nav-actions { margin-left: auto; }

  .hero-grid,
  .services-grid,
  .about-grid,
  .gallery-grid,
  .reviews-grid { grid-template-columns: 1fr !important; }

  .gallery-slot.featured { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery-grid { grid-auto-rows: 230px; }

  .hero-grid { padding-top: 120px; padding-bottom: 76px; gap: 40px; }
  .hero-title { font-size: clamp(2.5rem, 9vw, 3.6rem); }
  .hero-sub { font-size: 16.5px; }
  .hero-trust { gap: 10px; padding: 12px 14px; }
  .hero-trust-copy { font-size: 10.5px; }

  .section { padding: 64px 0 76px; }
  .section-head { flex-direction: row; margin-bottom: 40px; }

  .about-grid { gap: 48px; }
  .about-media > img { height: 340px; }
  .about-media-frame { inset: 12px -10px -10px 12px; }

  .statement { padding: 72px 0; }
  /* CTA stacks: image becomes a dimmed full-bleed backdrop behind the copy */
  .cta-media {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .cta-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 3, 3, 0.78);
  }
  .cta-inner { justify-content: flex-start; padding-top: 88px; padding-bottom: 88px; }

  input, select, textarea { font-size: 16px !important; }

  .ft-inner { padding-left: 20px; padding-right: 20px; }
  .ft-grid { grid-template-columns: 1fr; gap: 44px; }
  /* watermark is a desktop-only brand moment */
  .ft-wm-wrap { display: none; }
}

/* Tablet only (601-900px): 2-up card grids */
@media (min-width: 601px) and (max-width: 900px) {
  .services-grid, .reviews-grid, .gallery-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Phones (<=600px) */
@media (max-width: 600px) {
  .nav-cta { display: none !important; }
  .hero-title { font-size: clamp(2.15rem, 10.5vw, 2.9rem); }
  .hero-badges { column-gap: 18px; row-gap: 12px; }
  .hero-badges li { font-size: 11.5px; }
  .hero-badges img { height: 40px; width: 40px; }
  .hero-ctas .btn-lg { padding: 15px 20px; font-size: 13px; }
  .about-features { grid-template-columns: 1fr !important; }
  .quote-card { padding: 22px 18px 20px; }
  .gallery-grid { grid-auto-rows: 200px; }
  /* 3 services first, the rest behind "See All" */
  #services:not(.services-open) .svc-extra { display: none; }
  #services:not(.services-open) .services-more { display: block; }
}

/* Small phones (<=400px) */
@media (max-width: 400px) {
  .container, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .ft-inner { padding-left: 16px; padding-right: 16px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn-lg { width: 100%; }
}
