/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover,
.nav-link--active {
  color: var(--fg);
  background: var(--accent-dim);
}

.nav-link--active {
  color: var(--accent);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 4px;
  margin-left: 8px;
  transition: opacity 0.15s;
}

.nav-cta:hover {
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

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

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

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

  .nav-links--open {
    display: flex;
  }

  .nav-link,
  .nav-cta {
    display: block;
    padding: 10px 12px;
    margin-left: 0;
    border-radius: 4px;
  }
}

/* ===== FOOTER NAV ===== */
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav-link:hover {
  color: var(--fg);
}

@media (max-width: 768px) {
  .footer-nav {
    display: none;
  }
}

/* ===== INNER PAGE SHARED ===== */
.inner-hero {
  padding: 80px 24px 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.inner-hero .page-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.inner-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 760px;
}

.inner-hero h1 .accent {
  color: var(--accent);
}

.inner-hero .hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 640px;
}

/* ===== SERVICE OVERVIEW CARDS ===== */
.service-overview {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 48px;
}

.service-card {
  background: var(--bg-card);
  padding: 36px;
}

.service-card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ===== ENGAGEMENT SHAPE ===== */
.engagement {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.engagement-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.engagement-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
}

.timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== PITFALLS ===== */
.pitfalls {
  padding: 80px 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.pitfall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pitfall-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.pitfall-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pitfall-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.pitfall-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pitfall-label--problem {
  color: #f87171;
}

.pitfall-label--solution {
  color: #4ade80;
}

/* ===== METHODOLOGY PAGE ===== */
.method-phases {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.phase {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.phase:last-child {
  border-bottom: none;
}

.phase-label {
  padding-top: 4px;
}

.phase-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.phase-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.phase-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deliverables li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.deliverables li::before {
  content: '→';
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== ABOUT PAGE ===== */
.about-layout {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
  border-bottom: 1px solid var(--border);
}

.about-bio {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-bio strong {
  color: var(--fg);
  font-weight: 600;
}

.about-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.sidebar-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 20px;
}

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

.credential-list li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
  padding-left: 14px;
  border-left: 2px solid var(--accent-dim);
}

.credential-list li strong {
  color: var(--fg);
  display: block;
  font-size: 0.92rem;
}

/* ===== INNER CTA ===== */
.inner-cta {
  padding: 100px 0;
  text-align: center;
}

.inner-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.inner-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.inner-cta p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Shared section heading */
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subhead {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 580px;
}

/* ===== SIGNUP FORM (inner pages) ===== */
.inner-signup-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.inner-signup-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s;
}

.inner-signup-form input[type="email"]:focus {
  border-color: var(--accent);
}

.inner-signup-form button {
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity 0.15s;
}

.inner-signup-form button:hover {
  opacity: 0.85;
}

.form-message {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 20px;
}

/* ===== INSIGHTS LIST ===== */
.insights-list {
  padding: 80px 0;
}

.insights-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 48px;
}

.insight-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.insight-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--bg-elevated);
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.insight-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.insight-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.insight-title {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--fg);
}

.insight-excerpt {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 24px;
}

.insight-readmore {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ===== ARTICLE BODY ===== */
.article-body {
  padding: 0 0 100px;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 0 80px;
}

.article-lead {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.85;
  margin-bottom: 32px;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.article-content p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.85;
  margin-bottom: 24px;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.article-content strong {
  color: var(--fg);
  font-weight: 600;
}

.article-cta {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px;
  text-align: center;
}

.article-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.article-cta p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .insight-card {
    padding: 28px 20px;
  }

  .article-content {
    padding: 48px 0 64px;
  }

  .article-cta {
    padding: 32px 20px;
  }

  .article-content h2 {
    margin-top: 40px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .engagement-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pitfall-grid {
    grid-template-columns: 1fr;
  }

  .phase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .inner-hero {
    padding: 56px 20px 56px;
  }

  .service-overview,
  .engagement,
  .pitfalls,
  .method-phases,
  .inner-cta {
    padding: 56px 0;
  }
}
