/* ═══════════════════════════════════════════════════════════════════
   TIGHTLINES SMART SOLUTIONS — Design System
   Engineered Luxury · Dark-Dominant · Electric Accent
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --bg-void: #050609;
  --bg-base: #08090F;
  --bg-elev: #0D1018;
  --bg-elev-2: #131722;
  --line: #1B202D;
  --line-bright: #2A3142;
  --steel: #4F5870;
  --steel-light: #8089A0;
  --ice: #B8C0D0;
  --paper: #F4F4F0;
  --paper-warm: #FAFAF7;
  --ink: #07090E;
  --ink-soft: #1E2230;

  /* Electric accents */
  --signal: #2563EB;
  --signal-bright: #3B82F6;
  --signal-glow: rgba(59, 130, 246, 0.35);
  --cyan: #22D3EE;
  --cyan-soft: rgba(34, 211, 238, 0.18);
  --amber: #F5A524;
  --emerald: #10B981;
  --champagne: #C5A87C;

  /* Type */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg-void);
  color: var(--paper);
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--signal); color: var(--paper); }

/* Focus */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--signal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--paper); color: var(--ink);
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600; font-size: 14px;
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   TOP NAV
   ───────────────────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 68px;
  background: rgba(5, 6, 9, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all .25s ease;
}
.topbar.scrolled {
  height: 58px;
  background: rgba(5, 6, 9, 0.92);
  border-bottom-color: rgba(255,255,255,0.09);
}
.topbar-inner {
  max-width: 1320px; height: 100%; margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display); font-weight: 600; font-size: 17px;
  letter-spacing: -0.018em; color: var(--paper);
}
.brand-mark {
  width: 28px; height: 28px; position: relative;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--signal) 0%, #1746A8 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 6px 20px rgba(37,99,235,0.35);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 6px;
  background: var(--bg-void); border-radius: 3px;
}
.brand-mark::before {
  content: ''; position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--cyan); transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--cyan);
  animation: brandPulse 2.4s ease-in-out infinite;
}
@keyframes brandPulse {
  0%, 100% { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.35); }
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand-text small {
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--steel-light);
}

.navlinks { display: flex; align-items: center; gap: 4px; list-style: none; }
.navlinks a {
  padding: 8px 14px; border-radius: 6px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(244,244,240,0.7);
  transition: all .15s ease;
}
.navlinks a:hover { color: var(--paper); background: rgba(255,255,255,0.04); }
.navlinks a.active { color: var(--paper); background: rgba(255,255,255,0.06); }

.nav-cluster { display: flex; align-items: center; gap: 12px; }
.nav-call {
  display: none; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: rgba(244,244,240,0.8);
  padding: 8px 14px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all .15s ease;
}
.nav-call:hover { color: var(--paper); border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.03); }
.nav-call-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.35); }
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--signal); color: var(--paper);
  font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 7px;
  border: 1px solid var(--signal);
  transition: all .18s ease;
}
.nav-cta:hover {
  background: var(--signal-bright); border-color: var(--signal-bright);
  box-shadow: 0 0 32px var(--signal-glow);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none; width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 7px; border: 1px solid rgba(255,255,255,0.1);
}
.menu-toggle span {
  position: relative; width: 16px; height: 1.5px;
  background: var(--paper); display: block;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 1.5px; background: var(--paper);
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* ─────────────────────────────────────────────────────────────
   GENERIC SECTIONS, TYPOGRAPHY, BUTTONS
   ───────────────────────────────────────────────────────────── */
section.block { padding: clamp(80px, 9vw, 140px) 0; position: relative; }
.block.dark { background: var(--bg-base); }
.block.darker { background: var(--bg-void); }
.block.light { background: var(--paper-warm); color: var(--ink); }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(18px, 3vw, 40px); }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 0 clamp(18px, 3vw, 40px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ice);
  padding: 6px 13px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  background: rgba(255,255,255,0.025);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 2s ease-in-out infinite;
}

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--signal-bright);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: ''; width: 18px; height: 1px;
  background: var(--signal-bright);
}
.light .section-eyebrow { color: var(--signal); }
.light .section-eyebrow::before { background: var(--signal); }

.section-h {
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--paper);
  max-width: 920px;
  margin-bottom: 18px;
}
.light .section-h { color: var(--ink); }
.section-h em { font-style: italic; font-weight: 400; color: var(--ice); }
.light .section-h em { color: var(--steel); }

.section-sub {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.65;
  color: rgba(244,244,240,0.6);
  max-width: 620px;
}
.light .section-sub { color: var(--steel); }

.section-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 60px; align-items: end;
  margin-bottom: 64px;
}
.section-head-cta { justify-self: end; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--paper);
}
.btn-primary:hover {
  background: var(--paper-warm);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(244,244,240,0.18);
}
.btn-primary svg { transition: transform .2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}
.btn-electric {
  background: var(--signal); color: var(--paper);
  border: 1px solid var(--signal);
}
.btn-electric:hover {
  background: var(--signal-bright); border-color: var(--signal-bright);
  box-shadow: 0 0 36px var(--signal-glow);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────
   HERO — used on index
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 0 80px;
  overflow: hidden;
  background: var(--bg-void);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 78% 35%, rgba(37,99,235,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 600px 500px at 8% 80%, rgba(34,211,238,0.06) 0%, transparent 70%);
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 40px);
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 22px 0 24px;
  font-variation-settings: "wdth" 95;
}
.hero h1 .em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(180deg, var(--paper) 0%, var(--signal-bright) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .underline {
  position: relative; display: inline-block; white-space: nowrap;
}
.hero h1 .underline::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--signal-bright), var(--cyan));
  border-radius: 2px;
  transform-origin: left;
  animation: drawLine 1.3s cubic-bezier(.7,.1,.3,.95) .4s both;
}
@keyframes drawLine {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.hero-lead {
  font-size: clamp(16px, 1.25vw, 19px);
  color: rgba(244,244,240,0.65);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 38px;
  font-weight: 400;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex; align-items: center; gap: 32px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: 540px;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta-num {
  font-family: var(--display);
  font-size: 28px; font-weight: 500;
  color: var(--paper); letter-spacing: -0.02em;
  line-height: 1;
}
.hero-meta-label {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-light);
}

/* Hero right — live topology card */
.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20,24,38,0.7) 0%, rgba(11,14,24,0.85) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 0%, rgba(37,99,235,0.18), transparent 60%);
  border-radius: inherit;
}
.card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; position: relative; z-index: 1;
}
.card-header-left { display: flex; align-items: center; gap: 10px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.card-status {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ice);
}
.card-id {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--steel-light); letter-spacing: 0.08em;
}

.topology {
  position: relative; z-index: 1;
  height: 280px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  margin-bottom: 20px;
}
.topology-svg { width: 100%; height: 100%; }

.ecosystem-row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.eco-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px;
  transition: all .25s ease;
}
.eco-tile:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-1px);
}
.eco-tile-label {
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 6px;
}
.eco-tile-val {
  font-size: 13px; font-weight: 600;
  color: var(--paper); letter-spacing: -0.01em;
}
.eco-tile-val .signal-dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  margin-right: 6px; vertical-align: middle;
}

/* ─────────────────────────────────────────────────────────────
   PAGE HEADER — for non-home pages
   ───────────────────────────────────────────────────────────── */
.page-header {
  position: relative; overflow: hidden;
  padding: 160px 0 90px;
  background: var(--bg-void);
}
.page-header::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 400px at 70% 0%, rgba(37,99,235,0.16) 0%, transparent 70%);
}
.page-header-inner {
  position: relative; z-index: 1;
  max-width: 1320px; margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 40px);
}
.page-h {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--paper);
  margin: 22px 0 22px;
  max-width: 900px;
}
.page-h em { font-style: italic; font-weight: 400; color: var(--ice); }
.page-lead {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: rgba(244,244,240,0.65);
  max-width: 680px;
  margin-bottom: 38px;
}
.page-header-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────────
   TRUST STRIP
   ───────────────────────────────────────────────────────────── */
.trust-strip {
  position: relative; z-index: 2;
  background: var(--bg-base);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
}
.trust-marquee {
  display: flex; gap: 60px; align-items: center;
  animation: marquee 38s linear infinite;
  white-space: nowrap; width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--steel-light);
}
.trust-item::before {
  content: ''; width: 4px; height: 4px;
  background: var(--signal); border-radius: 50%;
}
.trust-item.bright { color: var(--paper); }

/* ─────────────────────────────────────────────────────────────
   SERVICES GRID
   ───────────────────────────────────────────────────────────── */
.svc-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc {
  background: var(--bg-base);
  padding: 36px 30px 32px;
  position: relative;
  transition: all .3s ease;
  display: flex; flex-direction: column;
}
/* Row 1: services 1-2 each span 3 cols = 6 */
.svc:nth-child(1), .svc:nth-child(2) { grid-column: span 3; }
/* Row 2: services 3-4-5 each span 2 cols = 6 */
.svc:nth-child(3), .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 2; }
/* Row 3: services 6-7-8 — force new row, each span 2 cols = 6 */
.svc:nth-child(6) { grid-column: 1 / span 2; }
.svc:nth-child(7) { grid-column: 3 / span 2; }
.svc:nth-child(8) { grid-column: 5 / span 2; }
.svc:hover { background: var(--bg-elev); }
.svc::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal-bright), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.7,.1,.3,.95);
}
.svc:hover::after { transform: scaleX(1); }

.svc-num {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 500;
  color: var(--steel-light);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.svc-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--bg-elev-2), var(--signal));
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.svc-icon svg {
  width: 19px; height: 19px;
  stroke: var(--paper); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.svc h3 {
  font-family: var(--display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 9px;
  line-height: 1.15;
}
.svc p {
  font-size: 14.5px; line-height: 1.6;
  color: rgba(244,244,240,0.6);
  margin-bottom: 18px;
  flex-grow: 1;
}
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 18px;
}
.svc-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(244,244,240,0.7);
  padding: 4px 9px;
  border-radius: 4px;
}
.svc-tag.unifi {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.3);
  color: #93C5FD;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: color .2s ease;
}
.svc-link svg { transition: transform .2s ease; }
.svc:hover .svc-link { color: var(--signal-bright); }
.svc:hover .svc-link svg { transform: translateX(4px); }

/* ─────────────────────────────────────────────────────────────
   UNIFI DEEP DIVE
   ───────────────────────────────────────────────────────────── */
.unifi-block {
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
}
.unifi-block::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 75% 30%, rgba(37,99,235,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 15% 70%, rgba(34,211,238,0.05) 0%, transparent 70%);
}
.unifi-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative; z-index: 1;
}
.unifi-left .badge-row {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 100px;
  margin-bottom: 22px;
}
.badge-row svg { width: 16px; height: 16px; }
.badge-row-text {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #93C5FD;
}
.unifi-feats {
  display: grid; gap: 12px; margin-top: 28px;
}
.feat {
  display: flex; gap: 16px;
  padding: 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  transition: all .25s ease;
}
.feat:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.25);
}
.feat-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(37,99,235,0.05));
  border: 1px solid rgba(37,99,235,0.3);
  display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 16px; height: 16px; stroke: var(--signal-bright); fill: none; stroke-width: 1.6; }
.feat h4 {
  font-family: var(--display); font-size: 15.5px; font-weight: 500;
  color: var(--paper); margin-bottom: 4px; letter-spacing: -0.01em;
}
.feat p { font-size: 13.5px; line-height: 1.55; color: rgba(244,244,240,0.55); }

.unifi-right { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.uni-tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: all .3s ease;
}
.uni-tile:hover {
  background: linear-gradient(180deg, rgba(37,99,235,0.1) 0%, rgba(37,99,235,0.02) 100%);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-2px);
}
.uni-tile-cat {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 14px;
}
.uni-tile h4 {
  font-family: var(--display); font-size: 17px; font-weight: 500;
  color: var(--paper); letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.uni-tile-models {
  font-size: 12px; line-height: 1.7;
  color: rgba(244,244,240,0.5);
  font-family: var(--mono);
}

/* ─────────────────────────────────────────────────────────────
   PROCESS — 4-step
   ───────────────────────────────────────────────────────────── */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--bg-base);
  padding: 36px 28px;
  position: relative;
  min-height: 240px;
  display: flex; flex-direction: column;
}
.step-num {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--steel-light);
  margin-bottom: 24px;
}
.step-num .signal { color: var(--signal-bright); }
.step h4 {
  font-family: var(--display); font-size: 22px; font-weight: 500;
  color: var(--paper); letter-spacing: -0.02em;
  margin-bottom: 12px; line-height: 1.15;
}
.step p {
  font-size: 14px; line-height: 1.6;
  color: rgba(244,244,240,0.55);
}
.step-icon {
  position: absolute; top: 36px; right: 28px;
  width: 22px; height: 22px;
  opacity: 0.4;
}
.step-icon svg { width: 100%; height: 100%; stroke: var(--ice); fill: none; stroke-width: 1.4; }

/* ─────────────────────────────────────────────────────────────
   WHY US — 30 yrs statement
   ───────────────────────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.why-left .big {
  font-family: var(--display);
  font-size: clamp(120px, 14vw, 220px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--ink);
  font-variation-settings: "wdth" 75;
}
.why-left .big sup {
  font-size: 0.4em;
  color: var(--signal);
  font-weight: 500;
  vertical-align: top;
  margin-left: 8px;
  line-height: 1;
  font-variation-settings: "wdth" 100;
}
.why-left p {
  font-size: 14.5px;
  color: var(--steel);
  margin-top: 24px;
  max-width: 320px;
  line-height: 1.6;
}
.why-list { display: grid; gap: 8px; }
.why-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #E2E2DA;
  align-items: start;
}
.why-row:last-child { border-bottom: none; }
.why-row-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--signal); font-weight: 600;
  letter-spacing: 0.05em;
  padding-top: 4px;
}
.why-row h4 {
  font-family: var(--display);
  font-size: 19px; font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.why-row p {
  font-size: 14.5px; line-height: 1.6;
  color: var(--steel);
}

/* ─────────────────────────────────────────────────────────────
   CLIENT TYPES GRID + TESTIMONY
   ───────────────────────────────────────────────────────────── */
.trusted-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.client {
  background: var(--bg-base);
  padding: 30px 24px;
  transition: background .25s ease;
}
.client:hover { background: var(--bg-elev); }
.client-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.client-icon svg { width: 16px; height: 16px; stroke: var(--signal-bright); fill: none; stroke-width: 1.5; }
.client h4 {
  font-family: var(--display); font-size: 16px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--paper);
  margin-bottom: 6px;
}
.client p {
  font-size: 13px; line-height: 1.55;
  color: rgba(244,244,240,0.5);
}

.testimony-block {
  margin-top: 60px;
  padding: 50px clamp(30px, 5vw, 70px);
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-base) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.testimony-block::before {
  content: ''; position: absolute;
  top: 30px; left: clamp(30px, 5vw, 70px);
  width: 28px; height: 22px;
  background: var(--signal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 22'%3E%3Cpath d='M0 22V12C0 5.4 5.4 0 12 0v4c-4.4 0-8 3.6-8 8h6v10H0zm16 0V12c0-6.6 5.4-12 12-12v4c-4.4 0-8 3.6-8 8h6v10H16z'/%3E%3C/svg%3E") no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 22'%3E%3Cpath d='M0 22V12C0 5.4 5.4 0 12 0v4c-4.4 0-8 3.6-8 8h6v10H0zm16 0V12c0-6.6 5.4-12 12-12v4c-4.4 0-8 3.6-8 8h6v10H16z'/%3E%3C/svg%3E") no-repeat;
  opacity: 0.6;
}
.testimony-block p {
  margin-top: 30px;
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.4;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.015em;
  max-width: 880px;
}
.testimony-block p em { font-style: italic; color: var(--ice); }
.testimony-meta {
  margin-top: 28px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel-light);
}
.testimony-meta::before {
  content: ''; width: 28px; height: 1px;
  background: var(--steel);
}

/* ─────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.faq-item:hover { background: rgba(255,255,255,0.015); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  cursor: pointer;
}
.faq-q-text {
  font-family: var(--display);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--paper);
  line-height: 1.3;
}
.faq-plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  position: relative;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all .3s ease;
}
.faq-plus::before, .faq-plus::after {
  content: ''; position: absolute;
  background: var(--paper);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.faq-plus::before { width: 11px; height: 1.5px; }
.faq-plus::after { width: 1.5px; height: 11px; }

.faq-item.open .faq-plus {
  border-color: var(--signal-bright);
  background: var(--signal);
}
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.7,.1,.3,.95);
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 0 28px 0;
  max-width: 760px;
  font-size: 15px; line-height: 1.65;
  color: rgba(244,244,240,0.65);
}

/* ─────────────────────────────────────────────────────────────
   SERVICE AREA MAP
   ───────────────────────────────────────────────────────────── */
.area-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.area-text p {
  font-size: 16px; line-height: 1.7;
  color: rgba(244,244,240,0.62);
  margin-bottom: 20px;
}
.region-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 28px 0 32px;
}
.region-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--ice);
  padding: 7px 14px;
  border-radius: 100px;
  transition: all .2s ease;
}
.region-tag:hover {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.3);
  color: #93C5FD;
}
.region-tag.primary {
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.35);
  color: #93C5FD;
}

.area-visual {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-base) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  overflow: hidden;
}
.area-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.area-visual svg { position: relative; z-index: 1; }
.area-cap {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.area-cap-left {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-light);
}
.area-cap-right {
  font-size: 13.5px; color: var(--paper); font-weight: 500;
}
.area-cap-right .pulse {
  display: inline-block; width: 6px; height: 6px;
  background: var(--emerald); border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald); margin-right: 6px;
  animation: pulseDot 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT FORM
   ───────────────────────────────────────────────────────────── */
.contact-block {
  background: var(--bg-void);
  position: relative; overflow: hidden;
}
.contact-block::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 800px 600px at 50% 0%, rgba(37,99,235,0.13) 0%, transparent 70%);
}
.contact-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 70px);
  position: relative; z-index: 1;
}
.contact-left h3 {
  font-family: var(--display); font-size: 14px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ice);
  margin-bottom: 20px;
}
.contact-channels { display: grid; gap: 10px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  transition: all .2s ease;
}
.channel:hover {
  background: rgba(37,99,235,0.06);
  border-color: rgba(37,99,235,0.25);
  transform: translateX(2px);
}
.channel-icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--signal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.15);
}
.channel-icon svg { width: 18px; height: 18px; stroke: var(--paper); fill: none; stroke-width: 1.7; }
.channel-info { flex: 1; min-width: 0; }
.channel-label {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--steel-light); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 3px;
}
.channel-val {
  font-size: 15px; font-weight: 500; color: var(--paper);
  letter-spacing: -0.005em;
  word-break: break-word;
}
.channel.emergency .channel-icon { background: #E11D48; }
.channel.emergency .channel-label { color: #F87171; }

.contact-form-card {
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-base) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  position: relative; overflow: hidden;
}
.contact-form-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--signal-bright), var(--cyan));
}
.form-head {
  display: flex; justify-content: space-between; align-items: start;
  margin-bottom: 30px; gap: 20px;
}
.form-head h3 {
  font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500; color: var(--paper);
  letter-spacing: -0.02em; line-height: 1.2;
}
.form-head-id {
  font-family: var(--mono); font-size: 10px;
  color: var(--steel-light); letter-spacing: 0.1em;
  flex-shrink: 0; padding-top: 8px;
}

form .row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 14px;
}
form .field { display: flex; flex-direction: column; }
form label {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--steel-light); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px;
}
form input, form select, form textarea {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--paper);
  font-family: var(--body);
  font-size: 14px;
  transition: all .2s ease;
  width: 100%;
}
form input::placeholder, form textarea::placeholder { color: rgba(244,244,240,0.3); }
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: rgba(37,99,235,0.04);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
form select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238089A0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px;
}
form textarea { min-height: 110px; resize: vertical; font-family: var(--body); line-height: 1.5; }
form .field-full { margin-bottom: 14px; }

.form-submit {
  margin-top: 8px;
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--paper);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em;
  padding: 16px 26px; border-radius: 9px;
  transition: all .2s ease;
  cursor: pointer;
}
.form-submit:hover {
  background: var(--paper-warm);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(244,244,240,0.18);
}
.form-submit svg { transition: transform .2s ease; }
.form-submit:hover svg { transform: translateX(4px); }

.form-disclaim {
  margin-top: 14px;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--steel-light); letter-spacing: 0.04em;
  text-align: center;
}

.form-success { text-align: center; padding: 40px 10px; }
.form-success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.4);
  display: flex; align-items: center; justify-content: center;
}
.form-success-icon svg { width: 24px; height: 24px; stroke: var(--emerald); stroke-width: 2; fill: none; }
.form-success h4 {
  font-family: var(--display); font-size: 24px; font-weight: 500;
  color: var(--paper); margin-bottom: 10px; letter-spacing: -0.02em;
}
.form-success p {
  font-size: 15px; line-height: 1.6;
  color: rgba(244,244,240,0.6);
}
.form-success p a { color: var(--signal-bright); font-weight: 500; }

/* ─────────────────────────────────────────────────────────────
   PROJECTS GALLERY
   ───────────────────────────────────────────────────────────── */
.projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.project-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: all .3s ease;
}
.project-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.4);
}
.project-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  background:
    radial-gradient(ellipse at center, rgba(37,99,235,0.08) 0%, transparent 70%),
    var(--bg-elev);
}
.project-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}
.project-placeholder-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.3);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.project-placeholder-icon svg {
  width: 26px; height: 26px;
  stroke: var(--signal-bright); fill: none; stroke-width: 1.4;
}
.project-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(5,6,9,0.92) 100%);
  z-index: 2;
}
.project-cat {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.project-info h4 {
  font-family: var(--display); font-size: 18px; font-weight: 500;
  color: var(--paper); letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.project-info p {
  font-family: var(--mono); font-size: 11px;
  color: rgba(244,244,240,0.55);
}

/* ─────────────────────────────────────────────────────────────
   ABOUT / RICHARD PORTRAIT
   ───────────────────────────────────────────────────────────── */
.portrait-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.portrait-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.portrait-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  background:
    radial-gradient(ellipse at top, rgba(37,99,235,0.15) 0%, transparent 70%),
    var(--bg-elev);
}
.portrait-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 28px 28px;
}
.portrait-monogram {
  font-family: var(--display);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 400;
  color: var(--paper);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 75;
  position: relative; z-index: 1;
}
.portrait-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel-light);
  position: relative; z-index: 1;
}

.about-bio h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 22px;
}
.about-bio h2 em { font-style: italic; font-weight: 400; color: var(--ice); }
.about-bio p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244,244,240,0.7);
  margin-bottom: 20px;
}
.about-bio p strong { color: var(--paper); font-weight: 500; }

.about-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 80px;
}
.pillar {
  background: var(--bg-base);
  padding: 36px 30px;
}
.pillar-num {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--signal-bright);
  margin-bottom: 18px;
}
.pillar h4 {
  font-family: var(--display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--paper);
  margin-bottom: 12px; line-height: 1.15;
}
.pillar p {
  font-size: 14.5px; line-height: 1.65;
  color: rgba(244,244,240,0.6);
}

/* ─────────────────────────────────────────────────────────────
   SERVICES PAGE — deep dive sections
   ───────────────────────────────────────────────────────────── */
.svc-detail {
  padding: clamp(80px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.svc-detail-left .svc-detail-num {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--signal-bright);
  margin-bottom: 16px;
}
.svc-detail-left h2 {
  font-family: var(--display);
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 22px;
}
.svc-detail-left h2 em { font-style: italic; font-weight: 400; color: var(--ice); }
.svc-detail-left p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244,244,240,0.62);
  margin-bottom: 18px;
}
.svc-detail-includes {
  display: grid; gap: 12px;
}
.includes-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  align-items: start;
}
.includes-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.includes-check svg { width: 9px; height: 9px; stroke: var(--emerald); stroke-width: 2.5; fill: none; }
.includes-row h5 {
  font-family: var(--display); font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--paper);
  margin-bottom: 3px;
}
.includes-row p {
  margin: 0;
  font-size: 13px; line-height: 1.55;
  color: rgba(244,244,240,0.55);
}

/* ─────────────────────────────────────────────────────────────
   FLOATING + MOBILE STICKY CTAs
   ───────────────────────────────────────────────────────────── */
.float-panel {
  position: fixed; z-index: 90;
  right: 24px; bottom: 32px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(20px);
  transition: all .4s ease;
  pointer-events: none;
}
.float-panel.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line-bright);
  border-radius: 100px;
  color: var(--paper);
  font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: all .2s ease;
  backdrop-filter: blur(12px);
}
.float-btn:hover {
  transform: translateY(-2px);
  background: var(--bg-elev-2);
  border-color: var(--signal);
}
.float-btn.primary {
  background: var(--signal); border-color: var(--signal);
}
.float-btn.primary:hover {
  background: var(--signal-bright); border-color: var(--signal-bright);
  box-shadow: 0 14px 36px var(--signal-glow);
}
.float-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: 10px clamp(10px, 3vw, 16px);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(5,6,9,0.9);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 8px;
}
.mobile-bar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 8px;
  border-radius: 9px;
  font-size: 13px; font-weight: 600;
}
.mobile-bar a.primary { background: var(--signal); color: var(--paper); }
.mobile-bar a.secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--paper);
}
.mobile-bar svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ─────────────────────────────────────────────────────────────
   EXIT INTENT MODAL — "Before You Go"
   ───────────────────────────────────────────────────────────── */
.exit-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,6,9,0.82);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.exit-modal.open { opacity: 1; pointer-events: auto; }
.exit-modal-inner {
  position: relative;
  max-width: 520px; width: 100%;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-base) 100%);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform .35s cubic-bezier(.7,.1,.3,.95);
}
.exit-modal-inner::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--signal-bright), var(--cyan));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.exit-modal.open .exit-modal-inner { transform: translateY(0) scale(1); }
.exit-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.exit-modal h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 14px;
}
.exit-modal h3 em { font-style: italic; font-weight: 400; color: var(--ice); }
.exit-modal p {
  font-size: 15.5px; line-height: 1.6;
  color: rgba(244,244,240,0.7);
  margin-bottom: 24px;
}
.exit-channels {
  display: grid; gap: 8px; margin-bottom: 6px;
}
.exit-channels a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--paper);
  font-size: 14.5px; font-weight: 500;
  transition: all .2s ease;
}
.exit-channels a:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.3);
  transform: translateX(2px);
}
.exit-channels a.primary {
  background: var(--signal); border-color: var(--signal);
}
.exit-channels a.primary:hover {
  background: var(--signal-bright); border-color: var(--signal-bright);
  box-shadow: 0 0 28px var(--signal-glow);
}
.exit-channels svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.exit-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--ice);
  transition: all .2s ease;
}
.exit-close:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: var(--paper);
}
.exit-close svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.exit-disclaim {
  margin-top: 16px;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--steel-light); letter-spacing: 0.04em;
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
footer {
  background: var(--bg-void);
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}
.foot-brand p {
  font-size: 13.5px; line-height: 1.7;
  color: rgba(244,244,240,0.5);
  margin: 18px 0;
  max-width: 320px;
}
.foot-license {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-light);
  padding: 6px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
}
.foot-license svg { width: 12px; height: 12px; stroke: var(--signal-bright); fill: none; stroke-width: 1.7; }

.foot-col h5 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 18px;
}
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a {
  font-size: 13.5px; color: rgba(244,244,240,0.65);
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--paper); }

.foot-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-family: var(--mono); font-size: 11px;
  color: var(--steel-light); letter-spacing: 0.04em;
}

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .nav-call { display: inline-flex; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .unifi-grid, .area-grid, .why-grid, .contact-grid, .portrait-grid, .svc-detail-grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head-cta { justify-self: start; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(n) { grid-column: span 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trusted-grid { grid-template-columns: repeat(2, 1fr); }
  .unifi-right { grid-template-columns: repeat(2, 1fr); }
  .about-pillars { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  body { padding-bottom: 80px; }
  .topbar { height: 60px; }
  .topbar.scrolled { height: 54px; }
  .navlinks {
    display: none;
    position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px; background: rgba(5,6,9,0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 14px 16px; font-size: 15px; }
  .menu-toggle { display: inline-flex; }
  .nav-call { display: none; }
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: clamp(36px, 9vw, 50px); }
  .hero-meta { gap: 22px; flex-wrap: wrap; }
  .hero-card { display: none; }
  form .row { grid-template-columns: 1fr; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-panel { display: none; }
  .mobile-bar { display: flex; }
  .section-head { margin-bottom: 40px; }
  .testimony-block p { font-size: 18px; }
  .page-header { padding: 120px 0 70px; }
  .exit-modal-inner { padding: 32px 24px; }
}
@media (max-width: 540px) {
  .svc-grid, .process-grid, .trusted-grid, .unifi-right, .about-pillars { grid-template-columns: 1fr; }
  .form-head { flex-direction: column; gap: 8px; }
  .form-head-id { padding-top: 0; }
}

/* ── Solo service blocks (07 Smart Home, 08 Repairs) ── */
.svc-grid-solo {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 640px;
}
.svc.svc-solo {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 14px);
  background: var(--bg-elev);
  padding: 36px 32px;
}
.svc.svc-solo h3 {
  font-size: 24px;
}
.svc.svc-solo p {
  font-size: 14px;
  max-width: 520px;
}

/* ── About page: real photo ── */
.portrait-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
  background: var(--bg-elev);
  aspect-ratio: 4 / 5;
  max-width: 420px;
}
.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.92) saturate(1.05);
  transition: filter 0.4s ease, transform 0.5s ease;
}
.portrait-photo-wrap:hover .portrait-photo {
  filter: brightness(1) saturate(1.1);
  transform: scale(1.02);
}
.portrait-photo-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(5,6,9,0.88) 100%);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,244,240,0.8);
}
