/* LP Corporate — dark ops-board theme. No dependencies. */

:root {
  --bg: #0a0e14;
  --bg2: #0e141d;
  --card: #111927;
  --card2: #141d2e;
  --line: #1e2a3f;
  --text: #dbe4f0;
  --muted: #8b98ad;
  --accent: #00e5a0;
  --accent2: #35c8ff;
  --warn: #ffb454;
  --radius: 10px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Subtle circuit-board trace pattern (inline SVG, no external images). */
:root {
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%231a2740' stroke-width='1.5'%3E%3Cpath d='M0 40h58l22 22h80'/%3E%3Cpath d='M0 120h38l22-22h100'/%3E%3Cpath d='M80 0v48l22 22v90'/%3E%3Cpath d='M130 0v28l-22 22v110'/%3E%3Ccircle cx='130' cy='120' r='14'/%3E%3C/g%3E%3Cg fill='%231a2740'%3E%3Ccircle cx='58' cy='40' r='4.5'/%3E%3Ccircle cx='38' cy='120' r='4.5'/%3E%3Ccircle cx='80' cy='70' r='4.5'/%3E%3Ccircle cx='108' cy='50' r='4.5'/%3E%3C/g%3E%3Cg fill='%2300e5a0' fill-opacity='0.16'%3E%3Ccircle cx='58' cy='40' r='1.8'/%3E%3Ccircle cx='38' cy='120' r='1.8'/%3E%3Ccircle cx='80' cy='70' r='1.8'/%3E%3Ccircle cx='108' cy='50' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
}

body {
  margin: 0;
  background: var(--bg);
  background-image: var(--circuit);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.brand-mark {
  display: inline-block; margin-right: 10px;
  font-family: var(--mono); font-size: 0.8rem;
  color: #04120c; background: var(--accent);
  border-radius: 6px; padding: 3px 8px;
}
.nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 0.95rem; }
.nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 84px 0 0;
  background-image: var(--circuit), radial-gradient(1200px 500px at 50% -10%, #12233a 0%, var(--bg) 60%);
  background-color: var(--bg);
}
.kicker { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; margin: 0 0 20px; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--accent); }
.lede { max-width: 640px; color: var(--muted); font-size: 1.15rem; margin: 0 0 40px; }

/* Division chips (hero) */
.div-chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 44px; }
.div-chip {
  font-size: 0.9rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 16px; background: var(--bg2);
}
.div-chip strong { color: var(--accent); font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.06em; margin-right: 8px; }

/* Division cards */
.div-tag {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px !important;
}

/* Ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); max-width: 1100px; margin: 24px auto 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 8px; }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-run { display: flex; flex-shrink: 0; }
.ticker-item { display: inline-flex; align-items: center; padding: 12px 28px; white-space: nowrap; font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.tick-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 12px; flex-shrink: 0; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 1.9rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-sub { color: var(--muted); margin: 0 0 36px; max-width: 680px; }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.service-tag { color: var(--text) !important; margin-bottom: 14px !important; }
.service ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 0.95rem; }
.service li { margin-bottom: 6px; }
.service li::marker { color: var(--accent); }
.service-links { margin: 16px 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.service-links a {
  color: var(--accent); text-decoration: none; font-size: 0.88rem; font-weight: 600;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.service-links a:hover { border-color: var(--accent); background: rgba(0, 229, 160, 0.06); }

/* The Wire */
.wire-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wire-head .section-sub { margin-bottom: 0; }
.freshness {
  font-family: var(--mono); font-size: 0.8rem; color: var(--accent);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 6px 14px; margin: 0; white-space: nowrap;
  background: rgba(0, 229, 160, 0.06);
  animation: pulse-soft 2.6s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .freshness { animation: none; }
}
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 26px; }
.filter {
  font-family: var(--mono); font-size: 0.82rem;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 7px 16px; cursor: pointer;
}
.filter:hover { color: var(--text); border-color: var(--accent); }
.filter.active { color: #04120c; background: var(--accent); border-color: var(--accent); font-weight: 600; }
.wire-card { display: flex; flex-direction: column; }
.wire-card.hidden { display: none; }
.wire-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px !important; }
.src { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent2); }
.topic { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 2px 10px; }
.wire-card h3 a { color: var(--text); text-decoration: none; }
.wire-card h3 a:hover { color: var(--accent); }
.excerpt { margin-top: 10px !important; font-size: 0.9rem !important; }
.wire-date { margin-top: 14px !important; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.wire-empty { color: var(--warn); }
.wire-note { margin-top: 26px; font-size: 0.82rem; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.88rem; }
.footer p { margin: 0; }
.footer-divs { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; margin-top: 6px !important; color: var(--accent); }

@media (max-width: 900px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav a { margin-left: 14px; }
  .hero { padding-top: 60px; }
  .section { padding: 52px 0; }
}

/* Legacy timeline */
.timeline { list-style: none; margin: 0 0 28px; padding: 0; max-width: 760px; }
.timeline-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); white-space: nowrap; }
.timeline-item p { margin: 0; color: var(--text); font-size: 0.98rem; }
.legacy-note { max-width: 680px; color: var(--muted); font-size: 0.92rem; font-style: italic; }

/* Discreet inquire button */
.inquire-wrap { margin: 34px 0 0; text-align: center; }
.inquire {
  display: inline-block; font-size: 0.9rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 26px; text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.inquire:hover { color: var(--accent); border-color: var(--accent); }

/* Subscribe form */
.subscribe {
  margin-top: 40px; padding: 30px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); max-width: 640px;
}
.subscribe h3 { margin: 0 0 6px; }
.subscribe p { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; }
.sub-form { display: flex; gap: 10px; flex-wrap: wrap; }
.sub-form input[type="email"] {
  flex: 1 1 240px; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 16px;
}
.sub-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.sub-form button {
  font-size: 1rem; font-weight: 600; cursor: pointer;
  color: #04120c; background: var(--accent);
  border: none; border-radius: var(--radius); padding: 12px 28px;
}
.sub-form button:hover { filter: brightness(1.1); }
.sub-fineprint { margin: 12px 0 0 !important; font-size: 0.82rem !important; }
.sub-result { max-width: 640px; margin: 40px auto; }
.sub-result h1 { font-size: 1.8rem; margin: 0 0 14px; }
.sub-ok { color: var(--accent); }
.sub-err { color: var(--warn); }
.sub-back { margin-top: 24px; }
.sub-back a { color: var(--accent2); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.footer-sub { margin-top: 10px !important; font-size: 0.8rem; }
.footer-sub a { color: var(--muted); }
.footer-sub a:hover { color: var(--accent); }

/* Affiliate "Related" boxes under Wire article cards */
.aff-box {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(0, 229, 160, 0.04);
}
.aff-head {
  margin: 0 0 6px !important;
  font-family: var(--mono);
  font-size: 0.68rem !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.aff-link { margin: 4px 0 !important; font-size: 0.9rem !important; }
.aff-link a { color: var(--accent2); text-decoration: none; }
.aff-link a:hover { color: var(--accent); text-decoration: underline; }
.aff-disclosure {
  margin: 8px 0 0 !important;
  font-size: 0.7rem !important;
  color: var(--muted);
  font-style: italic;
}
.footer-aff { margin-top: 8px !important; font-size: 0.75rem; color: var(--muted); font-style: italic; }

/* Today sections: On This Day + Quote of the Day */
.today-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.today-list li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg2); }
.today-src { margin-top: 16px; }
.today-src a { color: var(--accent2); text-decoration: none; }
.today-src a:hover { text-decoration: underline; }
.today-quote { margin: 0; padding: 24px 28px; border-left: 4px solid var(--accent); background: var(--bg2); border-radius: 0 8px 8px 0; }
.today-quote p { margin: 0; font-size: 1.35rem; line-height: 1.5; }
.today-quote footer { margin-top: 12px; color: var(--muted); font-style: italic; }

/* Full-width breaks inside the wire grid: On This Day + Quote of the Day. */
.wire-break { grid-column: 1 / -1; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.wire-break h3 { margin: 0 0 6px; }
.wire-break .section-sub { margin: 0 0 14px; }

/* Get Connected Event sale banner (limited run — remove after Dec 31, 2026) */
.promo-band {
  padding: 28px 0; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent);
  background: linear-gradient(90deg, rgba(0, 229, 160, 0.10), rgba(53, 200, 255, 0.06));
}
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.promo-name { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }
.promo-line { margin: 4px 0 0 !important; color: var(--text) !important; }
.promo-btn {
  display: inline-block; font-weight: 700; font-size: 0.95rem; color: #04150d;
  background: var(--accent); border-radius: var(--radius); padding: 12px 26px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.promo-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }

/* Get Connected band between What we do and Services */
.connect-band { padding: 40px 0; }
.connect-band .inquire-wrap { margin: 0; }

/* Quote request form */
.quote-form { max-width: 640px; }
.quote-form label { display: block; font-weight: 600; margin: 18px 0 6px; }
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--text); font: inherit;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { outline: none; border-color: var(--accent); }
.quote-form textarea { min-height: 140px; resize: vertical; }
.quote-form button {
  margin-top: 22px; padding: 12px 26px;
  border: 0; border-radius: var(--radius);
  color: #04120c; background: var(--accent);
  font-weight: 700; font-size: 1rem; cursor: pointer;
}
.quote-form button:hover { filter: brightness(1.1); }
.quote-ok { color: var(--accent); font-weight: 600; }
.quote-err { color: var(--warn); font-weight: 600; }

/* ---------- Polish pass (pure CSS, no external assets) ---------- */

/* Smoother type rendering on all platforms. */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Depth under the sticky bar so it reads as a layer, not a line. */
.topbar { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }

/* Cards gain depth and a hover lift. */
.card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #2a3d5c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

/* Wire headlines underline on hover for affordance. */
.wire-card h3 a:hover { text-decoration: underline; }

/* Buttons gain depth and press feedback. */
.inquire {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s, border-color 0.2s, background-color 0.2s;
}
.inquire:hover { transform: translateY(-1px); background: rgba(0, 229, 160, 0.06); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }
.inquire:active { transform: translateY(0); }
.quote-form button, .sub-form button {
  box-shadow: 0 2px 10px rgba(0, 229, 160, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s;
}
.quote-form button:hover, .sub-form button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 229, 160, 0.35); }
.quote-form button:active, .sub-form button:active { transform: translateY(0); }

/* Visible keyboard focus on links, buttons, and pills. */
a:focus-visible, button:focus-visible, .filter:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Filter pills animate like the rest. */
.filter { transition: color 0.2s, border-color 0.2s, background-color 0.2s; }

/* Soft edge fade on the ticker so headlines glide out of view. */
.ticker {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

/* Hero glow sits a touch deeper for contrast against the cards below. */
.hero {
  background-image: var(--circuit), radial-gradient(1200px 500px at 50% -10%, #16283f 0%, var(--bg) 60%);
}

/* Respect reduced motion: no lifts, no ticker, no pulse. */
@media (prefers-reduced-motion: reduce) {
  .card, .card:hover, .inquire, .inquire:hover,
  .quote-form button, .sub-form button { transform: none; transition: none; }
  .ticker-track { animation: none; }
}
