/* TEKconnect PRO — dark tech theme, sky-blue splatter accent from the business card */
/* Fonts (bundled locally, OFL licensed) */
@font-face{font-family:'Permanent Marker';src:url('../fonts/permanent-marker-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Space Grotesk';src:url('../fonts/space-grotesk-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Space Grotesk';src:url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Space Grotesk';src:url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Space Grotesk';src:url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'JetBrains Mono';src:url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'JetBrains Mono';src:url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;}

:root {
  --bg: #0a0d12;
  --bg-2: #0f141b;
  --panel: #131a23;
  --line: #1f2a36;
  --text: #e8eef5;
  --muted: #94a3b4;
  --accent: #4fb6e6;
  --accent-2: #8fd3f4;
  --accent-ink: #04121b;
  --ok: #3ddc97;
  --warn: #f5c451;
  --radius: 14px;
  --max: 1160px;
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
  --marker: 'Permanent Marker', 'Comic Sans MS', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font-family: var(--mono);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 10px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px -8px rgba(79,182,230,.6); }
.btn-primary:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,13,18,.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(10,13,18,.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { max-height: 44px; width: auto; }
.brand-text { font-family: var(--marker); font-size: 1.55rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.brand-text em { font-style: normal; color: var(--accent); }
.brand-tag { display: block; font-family: var(--marker); color: var(--muted); font-size: .95rem; margin-top: .35rem; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav-list a { color: var(--muted); font-weight: 500; font-size: .98rem; }
.nav-list a:hover, .nav-list .current-menu-item a { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* Splatter accents */
.splatter {
  position: absolute; pointer-events: none; z-index: 0;
  background: url('../img/splatter.svg') no-repeat center / contain;
  opacity: .85;
}
.splatter-a { width: 620px; height: 420px; top: -80px; right: -160px; transform: rotate(8deg); }
.splatter-b { width: 460px; height: 300px; bottom: -190px; left: -220px; transform: rotate(190deg); opacity: .6; }
.splatter-c { width: 520px; height: 340px; top: -60px; left: -200px; transform: rotate(-12deg); opacity: .45; }
.splatter-d { width: 560px; height: 380px; bottom: -140px; right: -200px; transform: rotate(160deg); opacity: .5; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 span, .hero h1 em { color: var(--accent); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-panel {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(79,182,230,.35);
  font-family: var(--mono); font-size: .85rem; overflow: hidden;
}
.panel-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.panel-title { margin-left: 10px; color: var(--muted); font-size: .78rem; }
.panel-body { padding: 18px 18px 14px; }
.panel-body p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.panel-body .k { color: var(--muted); }
.panel-body .v.ok { color: var(--ok); }
.panel-body .v.run { color: var(--warn); }
.panel-body .prompt { color: var(--accent); justify-content: flex-start; margin-top: 14px; }
.cursor { display: inline-block; width: 8px; height: 1.05em; background: var(--accent); margin-left: 4px; vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 26px 22px; border-left: 1px solid var(--line); }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.strip span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { position: relative; overflow: hidden; padding: 100px 0; }
.section > .container { position: relative; z-index: 1; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(79,182,230,.55); transform: translateY(-3px); }
.card-featured { border-color: rgba(79,182,230,.45); box-shadow: 0 20px 60px -30px rgba(79,182,230,.5); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(79,182,230,.12); margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card > p { color: var(--muted); }
.card ul, .checks { list-style: none; margin: 0; padding: 0; }
.card li, .checks li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: .96rem; }
.card li::before, .checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.checks { margin: 22px 0 30px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  font-family: var(--mono); font-size: .82rem; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
}
.chips span:nth-child(3n+1) { border-color: rgba(79,182,230,.5); color: var(--accent-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step-num { font-family: var(--marker); font-size: 1.9rem; color: var(--accent); display: block; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .96rem; }

.about-points { display: grid; gap: 16px; }
.about-points > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.about-points p { margin: 0; }

/* Contact */
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li span { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); min-width: 70px; padding-top: 3px; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 30px 80px -40px rgba(79,182,230,.45); }
.quote-form label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .98rem;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,182,230,.18); }
.notice { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: .95rem; }
.notice.ok { background: rgba(61,220,151,.12); color: var(--ok); }
.notice.err { background: rgba(255,95,87,.12); color: #ff8a84; }

/* Pages / posts */
.page-wrap { min-height: 60vh; }
.page-head { margin-bottom: 32px; }
.meta { color: var(--muted); font-family: var(--mono); font-size: .82rem; }
.entry { color: #cdd6e0; }
.entry a { text-decoration: underline; }
.post-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.5rem; }
.post-item h2 a { color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 26em; margin-top: 14px; }
.site-footer h4 { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; color: var(--muted); font-size: .95rem; }
.site-footer li a { color: var(--text); }
.site-footer li a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.to-top { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { margin-top: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 60px; }
  .section { padding: 72px 0; }
  .steps, .strip-grid, .quote-form .row, .footer-grid { grid-template-columns: 1fr; }
  .strip-grid > div { border-left: 0 !important; padding-left: 0; border-top: 1px solid var(--line); }
  .strip-grid > div:first-child { border-top: 0; }
  .form-card { padding: 22px; }
  .brand-text { font-size: 1.3rem; }
  .splatter-a { width: 360px; height: 240px; right: -170px; top: -90px; opacity: .45; }
  .splatter-b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
  .btn, .card { transition: none; }
}

/* Mouse paint splatter overlay */
.tcp-splatter-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 40; }
