/* ==========================================================================
   LECCY INDUSTRY SERVICES — Design system
   Dark industrial · safety yellow accents · subtle blue circuit linework
   ========================================================================== */

/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Saira"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/saira-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/saira-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/saira-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/saira-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Core palette (from brand logo + brief) */
  --black: #0b0c0e;
  --ink: #111214;
  --charcoal: #1a1d21;
  --charcoal-2: #292d32;
  --steel: #777e85;
  --text: #eceef0;
  --muted: #a4abb3;
  --dim: #6b7178;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --yellow: #f4c430;
  --amber: #f59e0b;
  --yellow-glow: rgba(244, 196, 48, 0.35);

  /* Tech accent — circuit linework */
  --blue: #3fb6f2;
  --blue-soft: rgba(63, 182, 242, 0.22);
  --blue-faint: rgba(63, 182, 242, 0.09);
  --green: #4ade80;

  --font-head: "Saira", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--black); }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--black); padding: 10px 16px;
  font-weight: 700; border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--ink { background: var(--ink); }
.section--line { border-top: 1px solid var(--line); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15; }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.accent { color: var(--yellow); }
.blue { color: var(--blue); }
.grad {
  background: linear-gradient(100deg, var(--yellow) 0%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-blue {
  background: linear-gradient(100deg, #9be3ff 0%, var(--blue) 60%, #2a7fd4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.eyebrow--blue { color: var(--blue); }
.eyebrow--plain::before { display: none; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 680px; }

.spec {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dim);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  --bg: var(--yellow); --fg: #121212; --bd: var(--yellow);
  box-shadow: 0 0 0 0 var(--yellow-glow), 0 8px 30px -10px var(--yellow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(244,196,48,.12), 0 14px 40px -10px var(--yellow-glow); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--blue { --bg: transparent; --fg: var(--blue); --bd: rgba(63,182,242,.45); }
.btn--blue:hover { --bg: rgba(63,182,242,.08); box-shadow: 0 0 30px -8px var(--blue-soft); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: .85rem; color: var(--yellow);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(11, 12, 14, 0.82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s, background .2s; white-space: nowrap;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop:focus-within > button { color: var(--text); background: rgba(255,255,255,.04); }
.nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--yellow); }
.nav .tag-future {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: .1em; padding: 2px 6px; border-radius: 4px;
  color: var(--blue); border: 1px solid rgba(63,182,242,.4); line-height: 1.4;
}
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-drop:hover > button svg, .nav-drop:focus-within > button svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 560px; padding: 14px; border-radius: var(--radius);
  background: rgba(17,18,20,.97); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.drop-panel::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-panel a {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; transition: background .2s;
}
.drop-panel a:hover { background: rgba(255,255,255,.05); }
.drop-panel .di { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(244,196,48,.1); color: var(--yellow); }
.drop-panel .di svg { width: 18px; height: 18px; }
.drop-panel strong { display: block; font-family: var(--font-head); font-size: .95rem; letter-spacing: .02em; }
.drop-panel small { display: block; color: var(--dim); font-size: .8rem; line-height: 1.35; }
.drop-panel .all { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; color: var(--yellow); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .85rem; color: var(--muted);
  padding: 8px 10px; border-radius: 999px; transition: color .2s;
}
.header-phone svg { width: 16px; height: 16px; color: var(--yellow); }
.header-phone:hover { color: var(--text); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); cursor: pointer; place-items: center;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: rgba(11,12,14,.98);
  padding: 24px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.mm-link {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em;
}
.mobile-menu a.mm-link[aria-current="page"] { color: var(--yellow); }
.mobile-menu .mm-sub { padding: 6px 0 10px 14px; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-sub a { display: block; padding: 8px 0; color: var(--muted); font-size: 1rem; }
.mobile-menu .btn { width: 100%; margin-top: 28px; }
.mobile-menu .mm-contact { margin-top: 20px; display: grid; gap: 10px; font-family: var(--font-mono); font-size: .9rem; color: var(--muted); }

/* ---------- Circuit linework ---------- */
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.circuit svg { position: absolute; width: 100%; height: 100%; }
.circuit .trace { fill: none; stroke: var(--blue); stroke-width: 1.2; opacity: .26; }
.circuit .node { fill: var(--black); stroke: var(--blue); stroke-width: 1.2; opacity: .5; }
.circuit .pulse {
  fill: none; stroke: #9be3ff; stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 28 1000; stroke-dashoffset: 1028; opacity: .9;
  filter: drop-shadow(0 0 4px var(--blue));
  animation: pulse-run 7s linear infinite;
}
.circuit .pulse.p2 { animation-duration: 9s; animation-delay: -3s; }
.circuit .pulse.p3 { animation-duration: 11s; animation-delay: -6s; }
.circuit .pulse.y { stroke: var(--yellow); filter: drop-shadow(0 0 4px var(--yellow)); }
@keyframes pulse-run { to { stroke-dashoffset: 0; } }
.circuit-fade { mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); }
.circuit-fade-l { mask-image: radial-gradient(ellipse 70% 80% at 15% 50%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 15% 50%, #000 25%, transparent 75%); }

.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.gear-watermark { position: absolute; pointer-events: none; z-index: 0; color: rgba(255,255,255,.035); }
.gear-watermark svg { width: 100%; height: 100%; }
.dots {
  position: absolute; pointer-events: none; width: 220px; height: 140px; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.2px, transparent 1.4px); background-size: 14px 14px;
  mask-image: linear-gradient(135deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(135deg, #000, transparent 80%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 940px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px; overflow: hidden; isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: 0;
  background: linear-gradient(180deg, transparent, var(--black));
}
.hero-glow {
  position: absolute; z-index: 0; width: 900px; height: 900px; border-radius: 50%;
  right: -260px; top: -200px; filter: blur(30px);
  background: radial-gradient(circle, rgba(244,196,48,.13) 0%, rgba(244,196,48,.04) 35%, transparent 65%);
}
.hero-glow--blue { background: radial-gradient(circle, rgba(63,182,242,.16) 0%, rgba(63,182,242,.05) 35%, transparent 65%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .line { display: block; }
.hero .lead { margin-top: 22px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.025);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.chip--blue i { background: var(--blue); box-shadow: 0 0 8px var(--blue); }

/* Page hero (interior pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(56px, 7vw, 90px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-hidden] { color: var(--charcoal-2); }

/* ---------- Switchboard visual (home hero) ---------- */
.board {
  position: relative; border-radius: 18px; padding: 22px;
  background: linear-gradient(160deg, #1d2024 0%, #121417 60%);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 8px rgba(255,255,255,.015);
}
.board::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(244,196,48,.5), transparent 35%, transparent 65%, rgba(63,182,242,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.board-top .spec { color: var(--muted); }
.board-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .7rem; color: var(--green); letter-spacing: .12em; }
.board-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.board-rail {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; padding: 12px; border-radius: 10px;
  background: #0d0f11; border: 1px solid var(--line); position: relative; margin-bottom: 10px;
}
.board-rail::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 10px; transform: translateY(-50%); background: linear-gradient(#2c3035, #1a1d20); border-radius: 2px; z-index: 0; }
.breaker {
  position: relative; z-index: 1; height: 86px; border-radius: 5px; background: linear-gradient(180deg, #e9ebed, #c7cbcf);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), 0 2px 0 rgba(0,0,0,.4);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 7px 0;
}
.breaker .led { width: 7px; height: 7px; border-radius: 50%; background: #3a3f45; transition: background .3s, box-shadow .3s; }
.breaker.on .led { background: var(--yellow); box-shadow: 0 0 8px var(--yellow), 0 0 2px #fff; }
.breaker .tog { width: 58%; height: 30px; border-radius: 3px; background: #2a2e33; position: relative; }
.breaker .tog::after { content: ""; position: absolute; left: 10%; right: 10%; height: 45%; top: 8%; border-radius: 2px; background: #555b62; transition: top .35s var(--ease), background .3s; }
.breaker.on .tog::after { background: var(--yellow); top: 47%; }
.breaker.rcd { background: linear-gradient(180deg, #f2f3f4, #d4d7da); }
.breaker.rcd .tog::after { background: #3a7bd5; }
.breaker.rcd.on .tog::after { background: var(--blue); }
.breaker small { font-family: var(--font-mono); font-size: 7.5px; color: #4b5057; letter-spacing: .04em; }
.board-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.board-label {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: rgba(255,255,255,.02);
  display: flex; flex-direction: column; gap: 6px;
}
.board-label .spec { font-size: .62rem; }
.board-label strong { font-family: var(--font-head); font-size: 1rem; letter-spacing: .03em; }
.board-label .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.board-label .bar i { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg, var(--yellow), var(--amber)); border-radius: inherit; animation: barflow 3.2s var(--ease) infinite alternate; }
.board-label:nth-child(2) .bar i { animation-delay: -1s; }
.board-label:nth-child(3) .bar i { background: linear-gradient(90deg, var(--blue), #9be3ff); animation-delay: -2s; }
@keyframes barflow { from { transform: scaleX(.55); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.board-float {
  position: absolute; left: -34px; bottom: -34px; padding: 12px 16px; border-radius: 12px;
  background: rgba(17,18,20,.92); border: 1px solid rgba(63,182,242,.35); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.8), 0 0 30px -12px var(--blue-soft);
  display: flex; align-items: center; gap: 12px; animation: floaty 6s ease-in-out infinite;
}
.board-float svg { width: 26px; height: 26px; color: var(--blue); }
.board-float strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.board-float span { display: block; font-family: var(--font-mono); font-size: .64rem; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- Ticker / trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--ink); position: relative; z-index: 3; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 22px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .ti { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--yellow); background: rgba(244,196,48,.08); border: 1px solid rgba(244,196,48,.2); }
.trust-item .ti svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .02em; line-height: 1.2; }
.trust-item span { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  position: relative; border-radius: var(--radius); padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.card::after {
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%;
  left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244,196,48,.10), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.card:hover::after { opacity: 1; }
a.card:hover, .card--hover:hover { border-color: rgba(244,196,48,.35); transform: translateY(-4px); }
.card .num { position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: .72rem; color: var(--dim); letter-spacing: .1em; }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .link-arrow { margin-top: 8px; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--yellow);
  background: linear-gradient(160deg, rgba(244,196,48,.16), rgba(244,196,48,.04));
  border: 1px solid rgba(244,196,48,.25);
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box--blue { color: var(--blue); background: linear-gradient(160deg, rgba(63,182,242,.16), rgba(63,182,242,.03)); border-color: rgba(63,182,242,.3); }
.card--blue::after { background: radial-gradient(circle, rgba(63,182,242,.12), transparent 60%); }
a.card--blue:hover { border-color: rgba(63,182,242,.45); }

/* Sector cards */
.sector {
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(26px, 3vw, 36px);
}
.sector .sector-art { position: absolute; inset: 0; z-index: -2; }
.sector .sector-art svg { width: 100%; height: 100%; }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, rgba(11,12,14,.6) 50%, rgba(11,12,14,.95)); }
.sector .tagline { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.sector h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 12px; }
.sector ul { margin: 6px 0 20px; display: grid; gap: 6px; }
.sector li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .95rem; }
.sector li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--yellow); flex: none; }

/* Service list (home) */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 70px 1.1fr 1.4fr 40px; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); position: relative; transition: background .3s, padding .3s var(--ease);
}
.svc-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: linear-gradient(90deg, var(--yellow), transparent); transition: width .5s var(--ease); }
.svc-row:hover { background: rgba(255,255,255,.02); padding-left: 18px; }
.svc-row:hover::before { width: 100%; }
.svc-row .n { font-family: var(--font-mono); color: var(--dim); font-size: .8rem; letter-spacing: .1em; }
.svc-row h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.svc-row p { margin: 0; color: var(--muted); font-size: .96rem; }
.svc-row .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s, transform .3s; }
.svc-row .go svg { width: 16px; height: 16px; }
.svc-row:hover .go { background: var(--yellow); border-color: var(--yellow); color: var(--black); transform: rotate(-45deg); }
.svc-row .pill { display: inline-block; margin-left: 10px; vertical-align: middle; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; padding: 3px 7px; border-radius: 4px; border: 1px solid rgba(63,182,242,.45); color: var(--blue); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--wide-l { grid-template-columns: 1.15fr .85fr; }
.check-list { display: grid; gap: 14px; margin: 24px 0; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); }
.check-list li strong { color: var(--text); font-weight: 700; }
.check-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px; background: rgba(244,196,48,.1) center/14px no-repeat;
  border: 1px solid rgba(244,196,48,.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4C430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.check-list--blue li::before {
  background-color: rgba(63,182,242,.1); border-color: rgba(63,182,242,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233FB6F2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.warn-list li::before {
  background-color: rgba(245,158,11,.1); border-color: rgba(245,158,11,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F59E0B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E");
}

/* Panel with frame */
.frame {
  position: relative; border-radius: 20px; border: 1px solid var(--line-2); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #16191c, #0e1012);
  min-height: 420px;
}
.frame .corner { position: absolute; width: 22px; height: 22px; border-color: var(--yellow); border-style: solid; z-index: 3; }
.frame .corner.tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; }
.frame .corner.tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; }
.frame .corner.bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; }
.frame .corner.br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; }
.frame--blue .corner { border-color: var(--blue); }

/* Photo placeholder */
.ph {
  position: relative; width: 100%; height: 100%; min-height: inherit; display: grid; place-items: center; text-align: center; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(244,196,48,.06), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    #111316;
}
.ph-inner { position: relative; z-index: 2; padding: 20px; display: grid; justify-items: center; gap: 8px; }
.ph-inner svg { width: 34px; height: 34px; color: var(--steel); }
.ph-inner strong { font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; color: var(--muted); }
.ph-inner span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--yellow), var(--blue)); opacity: .35; }
.step { position: relative; padding: 0 20px 0 0; }
.step .dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; position: relative; z-index: 1;
  background: var(--black); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .85rem; color: var(--yellow);
}
.step:nth-child(4) .dot { color: var(--blue); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Future band (home) ---------- */
.future {
  position: relative; border-radius: 24px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(63,182,242,.28);
  background: radial-gradient(ellipse at 80% 20%, rgba(63,182,242,.16), transparent 55%), linear-gradient(160deg, #0f1418, #0b0d10);
  padding: clamp(36px, 6vw, 80px);
}
.future .split { position: relative; z-index: 2; }
.future h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.soon-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(63,182,242,.1); border: 1px solid rgba(63,182,242,.4); color: var(--blue);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.soon-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: blink 1.8s infinite; }

/* ---------- Energy flow diagram ---------- */
.flow { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; }
.flow svg { width: 100%; height: 100%; overflow: visible; }
.flow .wire { fill: none; stroke: rgba(63,182,242,.25); stroke-width: 2; }
.flow .wire-live { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 14; animation: wire 1.6s linear infinite; filter: drop-shadow(0 0 4px rgba(63,182,242,.8)); }
.flow .wire-live.y { stroke: var(--yellow); filter: drop-shadow(0 0 4px rgba(244,196,48,.8)); }
.flow .wire-live.rev { animation-direction: reverse; }
@keyframes wire { to { stroke-dashoffset: -40; } }
.flow .hub { fill: #0e1317; stroke: var(--blue); stroke-width: 1.5; }
.flow .hub-ring { fill: none; stroke: rgba(63,182,242,.35); stroke-width: 1; stroke-dasharray: 2 6; transform-origin: 260px 260px; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow .node-c { fill: #11161a; stroke: rgba(255,255,255,.14); stroke-width: 1; }
.flow text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; fill: var(--muted); text-transform: uppercase; }
.flow .val { font-family: var(--font-head); font-size: 17px; font-weight: 700; fill: var(--text); letter-spacing: 0; }
.flow .ic { stroke: var(--text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Phone mockup (smart home) ---------- */
.phone {
  width: 320px; max-width: 100%; margin-inline: auto; border-radius: 46px; padding: 12px; position: relative;
  background: linear-gradient(160deg, #2a2e33, #121417); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 80px -30px rgba(63,182,242,.4), inset 0 0 0 2px #0b0c0e;
}
.phone-screen { border-radius: 36px; overflow: hidden; background: #0a0e12; padding: 18px 18px 22px; position: relative; min-height: 600px; }
.phone-notch { width: 110px; height: 28px; border-radius: 20px; background: #000; margin: -6px auto 14px; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.app-top strong { font-family: var(--font-head); font-size: 1.1rem; }
.app-top span { font-family: var(--font-mono); font-size: .62rem; color: var(--green); letter-spacing: .1em; display: inline-flex; gap: 6px; align-items: center; }
.app-top span i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.app-gauge { position: relative; width: 190px; height: 190px; margin: 4px auto 14px; }
.app-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.app-gauge .g-bg { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 12; }
.app-gauge .g-fg { fill: none; stroke: url(#gGrad); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 471; stroke-dashoffset: 120; transition: stroke-dashoffset 1s var(--ease); }
.app-gauge .g-c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.app-gauge .g-c b { display: block; font-family: var(--font-head); font-size: 2.3rem; line-height: 1; }
.app-gauge .g-c small { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; margin-top: 4px; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.app-stat { border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 10px 8px; text-align: center; }
.app-stat b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.app-stat small { display: block; font-family: var(--font-mono); font-size: .54rem; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.app-stat:nth-child(1) b { color: var(--yellow); } .app-stat:nth-child(2) b { color: var(--green); } .app-stat:nth-child(3) b { color: var(--blue); }
.app-circuits { display: grid; gap: 7px; }
.circuit-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); cursor: pointer; text-align: left; width: 100%;
  transition: border-color .2s, background .2s;
}
.circuit-row:hover { border-color: rgba(63,182,242,.35); }
.circuit-row .cr-l { display: flex; flex-direction: column; }
.circuit-row .cr-l b { font-size: .84rem; font-weight: 700; }
.circuit-row .cr-l small { font-family: var(--font-mono); font-size: .6rem; color: var(--dim); letter-spacing: .06em; }
.switch { width: 38px; height: 22px; border-radius: 999px; background: #2b3036; position: relative; flex: none; transition: background .25s; }
.switch::after { content: ""; position: absolute; width: 16px; height: 16px; top: 3px; left: 3px; border-radius: 50%; background: #8a9098; transition: transform .25s var(--ease), background .25s; }
.circuit-row[aria-pressed="true"] .switch { background: rgba(63,182,242,.35); }
.circuit-row[aria-pressed="true"] .switch::after { transform: translateX(16px); background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.mock-note { text-align: center; margin-top: 18px; }

/* ---------- Feature tiles (smart home) ---------- */
.feature { padding: 28px; }
.feature h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.feature p { margin: 0; }

/* ---------- Showcase coming soon ---------- */
.showcase {
  position: relative; border-radius: 24px; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, #13171b, #0b0d10);
}
.showcase-grid { display: grid; grid-template-columns: 1.1fr .9fr; }
.showcase-media { position: relative; min-height: 460px; border-right: 1px solid var(--line); overflow: hidden; }
.showcase-media .ph { position: absolute; inset: 0; }
.showcase-media .scan { position: absolute; left: 0; right: 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(63,182,242,.12), transparent); animation: scan 4.5s ease-in-out infinite; z-index: 1; }
@keyframes scan { 0% { top: -120px; } 100% { top: 100%; } }
.showcase-body { padding: clamp(28px, 4vw, 48px); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: all .2s;
}
.filter:hover { color: var(--text); border-color: var(--steel); }
.filter[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; grid-auto-flow: dense; }
.g-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #111316; }
.g-item.tall { grid-row: span 2; aspect-ratio: auto; }
.g-item.wide { grid-column: span 2; aspect-ratio: auto; }
.g-item button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-item button:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item .ph { position: absolute; inset: 0; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); display: flex; justify-content: space-between; align-items: end; gap: 10px;
}
.g-item figcaption strong { font-family: var(--font-head); font-size: 1rem; letter-spacing: .02em; }
.g-item figcaption span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.g-item.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(5,6,7,.94); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox .lb-media { width: 100%; max-height: 78vh; display: grid; place-items: center; }
.lightbox .lb-media img { max-height: 78vh; width: auto; border-radius: 10px; }
.lightbox .lb-media .ph { width: min(900px, 100%); aspect-ratio: 16/10; border-radius: 12px; border: 1px solid var(--line-2); }
.lightbox figcaption { font-family: var(--font-head); text-align: center; color: var(--muted); }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(17,18,20,.8); cursor: pointer; display: grid; place-items: center; color: var(--text); transition: border-color .2s, color .2s; }
.lb-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--text); }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card .card + .card { margin-top: 16px; }
.aside-card h4 { margin-bottom: 14px; color: var(--yellow); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; transition: color .2s, padding .2s; }
.aside-links a:last-child { border-bottom: 0; }
.aside-links a:hover { color: var(--text); padding-left: 4px; }
.aside-links a[aria-current="page"] { color: var(--yellow); }
.aside-links svg { width: 14px; height: 14px; opacity: .6; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 8px; }
.who { border-radius: 12px; border: 1px solid var(--line); padding: 20px; background: rgba(255,255,255,.02); }
.who .spec { color: var(--yellow); }
.who h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.who p { font-size: .92rem; margin: 0; }

/* ---------- Credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cred { border-radius: 12px; border: 1px solid var(--line); padding: 20px; background: rgba(255,255,255,.02); }
.cred .spec { display: block; margin-bottom: 8px; }
.cred strong { font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: .04em; }
.cred.pending strong { color: var(--dim); }
.placeholder {
  display: inline-block; padding: 1px 8px; border-radius: 4px; border: 1px dashed rgba(245,158,11,.6); color: var(--amber);
  font-family: var(--font-mono); font-size: .78em; letter-spacing: .04em; background: rgba(245,158,11,.06);
}

/* ---------- Forms ---------- */
.form-shell { border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #14171a, #0f1113); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text); padding: 0; }
.field .req { color: var(--yellow); margin-left: 2px; }
.field .hint { font-size: .82rem; color: var(--dim); margin-top: -2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #0b0d0f; color: var(--text); transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4ABB3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(244,196,48,.12); }
.field input[type="date"] { color-scheme: dark; }
.field input[type="file"] { padding: 12px; min-height: auto; cursor: pointer; color: var(--muted); }
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--charcoal-2); color: var(--text);
  font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; cursor: pointer;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #f87171; }
.field .error { color: #fca5a5; font-size: .85rem; display: none; }
.field.has-error .error { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer;
  font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--muted);
}
.radio-row input { accent-color: var(--yellow); width: 16px; height: 16px; min-height: 0; }
.radio-row label:has(input:checked) { border-color: var(--yellow); color: var(--text); background: rgba(244,196,48,.06); }
.field label.consent { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .92rem; cursor: pointer; }
.field label.consent input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; flex: none; accent-color: var(--yellow); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 10px; background: rgba(63,182,242,.06); border: 1px solid rgba(63,182,242,.25); font-size: .9rem; color: var(--muted); }
.notice svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.notice--y { background: rgba(244,196,48,.05); border-color: rgba(244,196,48,.25); }
.notice--y svg { color: var(--yellow); }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot p { margin: 0; font-size: .85rem; color: var(--dim); max-width: 52ch; }
.form-foot a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.form-summary { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(248,113,113,.5); background: rgba(248,113,113,.08); color: #fecaca; font-size: .92rem; }
.form-summary.is-visible { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .25s, transform .25s var(--ease); }
a.contact-card:hover { border-color: rgba(244,196,48,.4); transform: translateY(-2px); }
.contact-card .spec { display: block; }
.contact-card strong { display: block; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .02em; }
.area-card { padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); position: relative; overflow: hidden; }
.area-card h3 { font-size: 1.6rem; margin: 8px 0 10px; }
.area-card .pin { position: absolute; right: 22px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(244,196,48,.15), 0 0 0 14px rgba(244,196,48,.06); animation: ping 2.6s infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 10px rgba(244,196,48,.08), 0 0 0 22px rgba(244,196,48,.02); } }
.qld-map { width: 100%; max-width: 380px; margin-inline: auto; }
.qld-map .coast { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 1.4; }
.qld-map .land { fill: rgba(255,255,255,.025); }
.qld-map .city { fill: var(--yellow); }
.qld-map .city-ring { fill: none; stroke: var(--yellow); opacity: .4; }
.qld-map text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; fill: var(--text); text-transform: uppercase; }
.qld-map .link { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .7; animation: wire 2s linear infinite; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta-inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: clamp(56px, 8vw, 100px) 0;
}
.cta-inner h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin: 0; max-width: 16ch; }
.cta-inner p { color: var(--muted); margin: 16px 0 0; max-width: 54ch; }
.cta-actions { display: grid; gap: 12px; justify-items: stretch; min-width: 280px; }
.cta-phone { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-mono); color: var(--muted); font-size: .95rem; padding: 8px; transition: color .2s; }
.cta-phone:hover { color: var(--yellow); }
.cta-phone svg { width: 18px; height: 18px; color: var(--yellow); }
.bolt-bg { position: absolute; right: -40px; bottom: -40px; width: 520px; opacity: .08; z-index: 0; color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: #08090a; border-top: 1px solid var(--line); padding: 72px 0 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; z-index: 2; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--dim); font-size: .92rem; max-width: 34ch; }
.site-footer h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--yellow); margin-bottom: 18px; font-weight: 500; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a, .footer-contact span { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .95rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--yellow); flex: none; }
.footer-contact a:hover { color: var(--text); }
.footer-legal { position: relative; z-index: 2; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
.footer-legal .reg { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.footer-legal .reg b { color: var(--yellow); font-weight: 500; }
.footer-legal small { color: var(--dim); font-size: .8rem; }
.footer-legal small a:hover { color: var(--text); }
.social { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); align-items: center; justify-content: center; margin-top: 8px; transition: border-color .2s, color .2s; }
.social:hover { border-color: var(--yellow); color: var(--yellow); }
.social svg { width: 18px; height: 18px; }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.hero-in > * { animation: rise .9s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; } .hero-in > *:nth-child(3) { animation-delay: .16s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; } .hero-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }
.divider { height: 1px; background: var(--line); margin: 48px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Comparison table (smart-home page) */
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; font-size: .96rem; }
.compare thead th { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.03); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--text); }
.compare td svg { width: 20px; height: 20px; margin: 0 auto; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td:last-child { background: rgba(63,182,242,.04); }

/* Tech theme modifier (smart-home page) */
.theme-tech .eyebrow { color: var(--blue); }
.theme-tech .page-hero h1, .theme-tech .hero h1 { letter-spacing: -0.025em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .header-phone { display: none; }
  .nav > a, .nav-drop > button { padding: 10px 11px; }
}
@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .creds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid, .split, .split--wide-l, .detail-grid, .showcase-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { max-width: 560px; }
  .board-float { left: auto; right: 12px; bottom: -22px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .steps::before { display: none; }
  .svc-row { grid-template-columns: 48px 1fr 40px; }
  .svc-row p { grid-column: 2 / 3; }
  .svc-row .go { grid-row: 1 / 3; grid-column: 3; }
  .aside-card { position: static; }
  .showcase-media { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { min-width: 0; justify-items: start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .header-cta .btn { display: none; }
  .grid-3, .grid-2, .grid-4, .creds { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .board { padding: 14px; }
  .board-rail { grid-template-columns: repeat(6, 1fr); }
  .board-rail .breaker:nth-child(n+7) { display: none; }
  .breaker { height: 70px; }
  .board-labels { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .board-label { padding: 9px; }
  .board-label strong { font-size: .85rem; }
  .board-float { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .g-item.wide { grid-column: auto; aspect-ratio: 4/3; }
  .g-item.tall { grid-row: auto; aspect-ratio: 4/3; }
  .sector { min-height: 360px; }
  .svc-row { padding: 22px 0; }
  .svc-row:hover { padding-left: 0; }
  .lightbox { padding: 70px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .phone { width: 300px; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(11,12,14,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .call-bar .btn { min-height: 48px; width: 100%; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .circuit .pulse { display: none; }
}
