/* ==========================================================
   Shared subpage stylesheet — CM v2 industrial-dark
   Used by: wireless.html, engineering.html, cybersecurity.html,
            monitoring.html, ot-network.html, echo-backup.html,
            cabling.html, custom-dev.html, ai-consulting.html
   ========================================================== */

:root {
  --black: #080808;
  --off-white: #F4F1EC;
  --mid-dark: #121418;
  --panel: #161B24;
  --panel-2: #1B2230;
  --orange: #D4500A;
  --orange-light: #E8824A;
  --teal: #1AA98A;
  --teal-deep: #0E7C64;
  --lan-blue: #3b82f6;
  --rule: rgba(244, 241, 236, 0.08);
  --rule-strong: rgba(244, 241, 236, 0.16);
  --muted: rgba(244, 241, 236, 0.6);
  --muted-2: rgba(244, 241, 236, 0.42);

  /* Aliases used by the shared chatbot snippet (partials/chatbot.html) */
  --border: rgba(244, 241, 236, 0.10);
  --border-bright: rgba(244, 241, 236, 0.22);
  --mono: "DM Mono", ui-monospace, monospace;
  --sans: "Instrument Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--off-white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,241,236,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,236,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }

/* LANAWARE inline wordmark — blue LAN, white AWARE */
.lw { font-weight: 700; letter-spacing: 0.02em; }
.lw .b { color: var(--lan-blue); }
.lw .w { color: var(--off-white); }
.tm {
  font-size: 0.4em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 0.05em;
  color: rgba(244,241,236,0.7);
  font-family: "Instrument Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
}

/* NAV */
nav.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--off-white);
}
.nav-brand .cm-mark { color: var(--orange); }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange-light); }

/* prominent Home button that lives in the nav-links list */
.nav-home {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--off-white) !important;
  letter-spacing: 0.12em !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-home svg { width: 13px; height: 13px; stroke: currentColor; }
.nav-home:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff !important;
  transform: translateX(-2px);
}

/* HERO */
.sp-hero { padding: 110px 0 60px; position: relative; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-light);
  padding: 8px 14px;
  border: 1px solid rgba(232,130,74,0.35);
  border-radius: 999px;
  background: rgba(212,80,10,0.06);
  margin-bottom: 30px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212,80,10,0.18);
}
.sp-hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--off-white);
  margin-bottom: 26px;
  max-width: 18ch;
}
.sp-hero h1 em { font-style: italic; color: var(--orange-light); }
.hero-lede {
  font-family: "Instrument Sans", sans-serif;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(244,241,236,0.74);
  max-width: 64ch;
  margin-bottom: 44px;
}
.hero-lede strong { color: var(--off-white); font-weight: 600; }

/* STAT STRIP */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 30px;
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 26px 22px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: "DM Serif Display", serif;
  font-size: 44px;
  line-height: 1;
  color: var(--orange-light);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.stat-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.55;
}

/* BUTTONS */
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--off-white);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-light); border-color: var(--orange-light); transform: translateX(2px); }
.btn-ghost:hover { border-color: var(--orange-light); color: var(--orange-light); }
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* SECTION */
.s { padding: 100px 0; border-top: 1px solid var(--rule); }
.s.alt { background: linear-gradient(180deg, var(--mid-dark) 0%, var(--black) 100%); }
.section-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.section-eyebrow .num { color: var(--orange-light); margin-right: 12px; }
.section-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  max-width: 22ch;
  margin-bottom: 24px;
  color: var(--off-white);
}
.section-title em { font-style: italic; color: var(--orange-light); }
.section-lede {
  font-family: "Instrument Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(244,241,236,0.7);
  max-width: 68ch;
  margin-bottom: 54px;
}
.section-lede em { color: var(--off-white); font-style: normal; font-weight: 600; }

/* CAPABILITY / CONTENT BLOCKS */
.cap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 36px;
}
@media (max-width: 820px) { .cap-list { grid-template-columns: 1fr; } }
.cap-item {
  background: var(--mid-dark);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  align-items: start;
}
.cap-num {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  color: var(--orange-light);
  letter-spacing: 0.12em;
}
.cap-h {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--off-white);
}
.cap-b {
  font-family: "Instrument Sans", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(244,241,236,0.7);
}
.cap-b strong { color: var(--off-white); font-weight: 600; }

/* GRID / TRACK CARDS */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 24px;
}
@media (max-width: 980px) { .track-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .track-grid { grid-template-columns: 1fr; } }
.track {
  background: var(--mid-dark);
  padding: 28px 26px;
}
.track-tag {
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  color: var(--orange-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.track-h {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--off-white);
}
.track-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.track-list { list-style: none; }
.track-list li {
  padding: 6px 0 6px 16px;
  position: relative;
  font-size: 13px;
  color: rgba(244,241,236,0.7);
  border-bottom: 1px dashed var(--rule);
}
.track-list li:last-child { border-bottom: none; }
.track-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange-light);
}

/* PLACEHOLDER IMAGE FRAME */
.ph-frame {
  position: relative;
  aspect-ratio: 16/9;
  background:
    repeating-linear-gradient(135deg,
      rgba(244,241,236,0.02) 0px,
      rgba(244,241,236,0.02) 12px,
      rgba(244,241,236,0.04) 12px,
      rgba(244,241,236,0.04) 24px),
    var(--mid-dark);
  border: 1px dashed var(--rule-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  overflow: hidden;
}
.ph-frame::before, .ph-frame::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
.ph-frame::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--orange);
  border-left: 1px solid var(--orange);
}
.ph-frame::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--orange);
  border-right: 1px solid var(--orange);
}
.ph-frame .ph-label {
  text-align: center;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 18px 28px;
  background: rgba(8,8,8,0.6);
  border: 1px dashed var(--rule);
  backdrop-filter: blur(4px);
  line-height: 1.7;
}
.ph-frame .ph-label strong {
  display: block;
  color: var(--orange-light);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.ph-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* PHOTO GRID — for use-case / deployment photo strips */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.photo-grid .ph-frame {
  margin: 0;
  aspect-ratio: 4/3;
}

/* PARTNERS / TAGS STRIP */
.tag-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.tag {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--off-white);
  padding: 10px 18px;
  border: 1px solid var(--rule-strong);
  background: var(--mid-dark);
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--orange); color: var(--orange-light); }
.tag .cls {
  font-family: "DM Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-right: 8px;
}

/* SPLIT BLOCK (two-column with image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 36px;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h3 {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--off-white);
}
.split p { color: rgba(244,241,236,0.7); margin-bottom: 14px; line-height: 1.65; }

/* SPECS ACCORDION (shared with mve.html) */
.specs-stack { margin-top: 36px; border-top: 1px solid var(--rule-strong); }
details.spec { border-bottom: 1px solid var(--rule-strong); transition: background 0.2s; }
details.spec[open] { background: var(--mid-dark); }
details.spec summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 22px;
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--off-white);
}
details.spec summary::-webkit-details-marker { display: none; }
details.spec[open] summary { padding: 26px 24px; }
.spec-num {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--orange-light);
  letter-spacing: 0.14em;
}
.spec-icon {
  font-family: "DM Mono", monospace;
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.3s, color 0.3s;
}
details.spec[open] .spec-icon { transform: rotate(45deg); color: var(--orange-light); }
.spec-body {
  padding: 0 24px 30px 122px;
  color: rgba(244,241,236,0.7);
  font-size: 15px;
  line-height: 1.7;
}
.spec-body p { margin-bottom: 14px; }
.spec-body strong { color: var(--off-white); font-weight: 600; }
.spec-body ul { list-style: none; margin-top: 12px; }
.spec-body ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px dashed var(--rule);
}
.spec-body ul li:last-child { border-bottom: none; }
.spec-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--orange-light); }

/* FINAL CTA */
.final { padding: 110px 0; text-align: center; border-top: 1px solid var(--rule); }
.final h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--off-white);
}
.final h2 em { color: var(--orange-light); font-style: italic; }
.final p { color: var(--muted); max-width: 60ch; margin: 0 auto 36px; font-size: 17px; line-height: 1.6; }

/* PAGE FOOTER */
footer.page-foot {
  border-top: 1px solid var(--rule);
  padding: 36px 0 28px;
  background: var(--black);
}
.foot-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr; } }
.foot-brand {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.foot-brand .cm-mark { color: var(--orange); }
.foot-right {
  text-align: right;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
@media (max-width: 760px) { .foot-right { text-align: left; } }
.foot-right a { color: var(--off-white); }
.foot-right a:hover { color: var(--orange-light); }

/* COMING SOON banner (for placeholder pages) */
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(26,169,138,0.35);
  background: rgba(26,169,138,0.06);
  color: var(--teal);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.coming-soon .dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(26,169,138,0.18);
}
