/* ==========================================================================
   Innerspace Networks LLC — inetworks.us
   Static site, no build step. Edit tokens below to retheme.
   ========================================================================== */

/* ---- Fonts (self-hosted, latin subset only) ---- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/archivo-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/archivo-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

/* ---- Tokens ---- */
:root {
  --paper: #f4f7f5;        /* page background */
  --panel: #ffffff;        /* card / panel surface */
  --ink: #101c23;          /* primary text */
  --slate: #495a63;        /* secondary text */
  --line: #d6dedb;         /* hairline borders */
  --signal: #0e7c52;       /* operational green — accent */
  --signal-ink: #0a5c3d;   /* darker green for text on light */
  --signal-tint: #e4f1ea;  /* green tint fill */
  --focus: #0e7c52;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --radius: 6px;
  --maxw: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--signal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--slate); max-width: 56ch; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
section + section { border-top: 1px solid var(--line); }

/* ---- Mono eyebrow with status dot — recurring motif ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-ink);
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 1.1rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  flex: none;
}
.dot--pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 124, 82, 0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(14, 124, 82, 0); }
}

/* ---- Header ---- */
.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.brand .dot { width: 10px; height: 10px; }
.brand small {
  font-family: var(--font-mono); font-weight: 400; font-size: 0.7rem;
  color: var(--slate); letter-spacing: 0.08em; margin-left: 0.15rem;
}
.site-nav { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.site-nav a:hover { color: var(--signal-ink); }
.site-nav a[aria-current="page"] {
  color: var(--signal-ink);
  border-bottom: 2px solid var(--signal);
  padding-bottom: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.72rem 1.35rem; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--signal-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--signal-ink); color: var(--signal-ink); }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---- Hero ---- */
.hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---- Signature: ops status board ---- */
.board {
  background: var(--ink); color: #dfe8e4;
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  font-family: var(--font-mono); font-size: 0.82rem;
  box-shadow: 0 20px 50px -24px rgba(16, 28, 35, 0.55);
}
.board__title {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8ba39a; padding-bottom: 0.8rem; border-bottom: 1px solid #24343d;
  margin-bottom: 0.4rem;
}
.board__row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.62rem 0; border-bottom: 1px solid #1b2a32;
}
.board__row:last-child { border-bottom: 0; padding-bottom: 0; }
.board__label { color: #dfe8e4; }
.board__status {
  display: flex; align-items: center; gap: 0.5em;
  color: #5fd39e; font-weight: 500; white-space: nowrap;
}
.board__status .dot { background: #35b47c; width: 7px; height: 7px; }

/* ---- Cards ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.2rem; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.card h3 { margin-top: 0.9rem; }
.card p { color: var(--slate); font-size: 0.98rem; margin-bottom: 0; }
.card .eyebrow { margin-bottom: 0; }
.card ul { color: var(--slate); font-size: 0.98rem; padding-left: 1.1rem; margin: 0.8rem 0 0; }
.card ul li { margin-bottom: 0.35rem; }
.card--link { text-decoration: none; color: inherit; display: block; transition: border-color 0.15s ease; }
.card--link:hover { border-color: var(--signal); }
.card--link .more {
  font-weight: 600; color: var(--signal-ink); font-size: 0.95rem;
  display: inline-block; margin-top: 1rem;
}

/* ---- Split layout for content pages ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---- Checklist ---- */
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.checklist li {
  padding: 0.55rem 0 0.55rem 1.7rem; position: relative; color: var(--slate);
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
}
.checklist strong { color: var(--ink); }

/* ---- Band (dark CTA strip) ---- */
.band { background: var(--ink); color: #eef4f1; }
.band h2 { color: #fff; }
.band p { color: #b8c7c0; max-width: 58ch; }
.band .btn--primary { background: var(--signal); color: #fff; }
.band .btn--primary:hover { background: #12915f; }
.band .eyebrow { color: #5fd39e; }

/* ---- Footer ---- */
.site-footer {
  background: var(--panel); border-top: 1px solid var(--line);
  padding: 2.5rem 0; font-size: 0.92rem; color: var(--slate);
}
.site-footer .wrap {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { color: var(--slate); }
.site-footer .legal { font-family: var(--font-mono); font-size: 0.78rem; }

/* ---- Contact page ---- */
.contact-block {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; margin-bottom: 1.25rem;
}
.contact-block h3 { margin-top: 0; }
.contact-block .mono { font-family: var(--font-mono); font-size: 0.95rem; }

/* ---- Page hero (interior pages) ---- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.page-hero .lede { margin-top: 0.4rem; }

/* ---- Mobile nav fallback (no JS): nav wraps ---- */
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .site-nav { gap: 1rem; }
}
