:root {
  --bg: #0a0a0b;
  --bg-alt: #151517;
  --text: #f0f0f2;
  --text-muted: #96979d;
  --border: #27272b;
  --navy: #000000;
  --navy-alt: #0c0c0e;
  --accent: #2f6fed;
  --accent-strong: #5b8ff9;
  --accent-contrast: #eaf1ff;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5);
  --radius: 10px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0 0 1rem; }

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo-dot { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff !important;
}

.nav-cta:hover {
  background: var(--accent-strong);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-alt) 100%);
  color: #f4f6f8;
  padding: 96px 0 88px;
}

.hero-inner { max-width: 760px; }

.eyebrow {
  color: var(--accent-strong);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-lede {
  font-size: 1.1rem;
  color: #c3cad4;
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #f4f6f8;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.contact .btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.contact .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

/* Sections */

.section { padding: 88px 0; }

.section-label {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 640px;
}

.section-intro {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.02rem;
}

/* About */

.about { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.about-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p { color: var(--text-muted); }
.about-text p:first-of-type { color: var(--text); }

.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.about-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-card h3:not(:first-child) { margin-top: 26px; }

.credential-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.credential-name {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.credential-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.linkedin-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--card-shadow);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

/* Contact */

.contact { background: var(--bg-alt); border-top: 1px solid var(--border); }

.contact-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 800px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }

  .nav.open { display: flex; }

  .nav-cta { align-self: flex-start; }

  .section { padding: 64px 0; }

  .hero { padding: 72px 0 64px; }
}

/* Blog */

.nav a.active {
  color: var(--text);
}

.blog-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-alt) 100%);
  padding: 80px 0 56px;
}

.blog-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.blog-hero .section-intro { color: #b7bcc4; }

.blog-list-section { padding-top: 56px; }

.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.post-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.post-date {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.post-card h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 10px;
}

.post-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.post-readmore {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-strong);
}

/* Individual post */

.post-container {
  max-width: 700px;
}

.post-back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.post-back:hover { color: var(--text); }

.post h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.post-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.post p {
  color: #d5d6da;
  font-size: 1.03rem;
  margin-bottom: 1.2rem;
}

.post-signoff {
  color: var(--text-muted);
  font-style: italic;
}

/* Wired Future landing page */

.wf-why { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.wf-who-inner p {
  color: var(--text-muted);
  max-width: 620px;
}

.footer-inner a { color: var(--text-muted); font-weight: 500; }
.footer-inner a:hover { color: var(--text); }
