﻿:root {
  --bg-deep: #0A0F1A;
  --bg-dark: #0F1623;
  --bg-card: #141C2E;
  --bg-elevated: #1A2438;
  --teal: #2DD4BF;
  --teal-dim: #14B8A6;
  --teal-glow: rgba(45, 212, 191, 0.15);
  --accent: #F43F5E;
  --accent-glow: rgba(244, 63, 94, 0.2);
  --text: #F8FAFC;
  --text-dim: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(45, 212, 191, 0.25);
  --display: 'Helvetica Thin', sans-serif;
  --body: 'Montserrat', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

/* Atmospheric background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--teal-glow), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(244, 63, 94, 0.04), transparent 60%),
    radial-gradient(ellipse 40% 30% at 0% 80%, var(--teal-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

main, .site-header, footer { position: relative; z-index: 2; }

/* ==================== NAVIGATION ==================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(10, 15, 26, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: transparent !important;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 53px;
  width: auto;
  max-width: 200px;
  background: transparent !important;
}

.site-nav ul,
nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 901px) {
  .site-nav .nav-mobile-cta {
    display: none !important;
  }
}

nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

nav a:hover { color: var(--text); }
nav a.active { color: var(--teal); }
nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--border-bright);
}

.btn-secondary:hover {
  background: var(--teal-glow);
  border-color: var(--teal);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Page containers */
.page { display: block; }
.page.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== SHARED COMPONENTS ==================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}

h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

.lead {
  font-size: 1.2rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 700px;
}

/* ==================== HERO (Homepage) ==================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 4rem 0;
}

.hero-content { max-width: 900px; }

.hero h1 {
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.hero h1 .accent {
  font-style: italic;
  color: var(--teal);
  font-weight: 500;
}

.hero-sub {
  font-size: 1.35rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 700px;
  line-height: 1.5;
}

.hero-pills {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  opacity: 0.6;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin 40s linear infinite;
}

.orbit:nth-child(2) { inset: 50px; animation-duration: 30s; animation-direction: reverse; }
.orbit:nth-child(3) { inset: 100px; animation-duration: 20s; }
.orbit:nth-child(4) { inset: 150px; animation-duration: 15s; animation-direction: reverse; border-color: var(--border-bright); }

@keyframes spin { to { transform: rotate(360deg); } }

.orbit::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--teal);
}

.orbit:nth-child(2)::before { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.orbit:nth-child(3)::before { background: #FFA94D; box-shadow: 0 0 12px #FFA94D; }

/* Trust strip */
.trust-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(20, 28, 46, 0.4);
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.trust-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Problem section */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.problem-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 1.05rem;
  color: var(--text-dim);
}

.problem-list li::before {
  content: '\2715';
  color: var(--accent);
  font-weight: 700;
}

/* Three pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.pillar {
  padding: 2.5rem;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-deep));
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.pillar:hover {
  transform: translateY(-8px);
  border-color: var(--border-bright);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.pillar:hover::before { opacity: 1; }

.pillar-num {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}

.pillar h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.pillar p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pillar-link {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.pillar-link::after {
  content: none;
  transition: transform 0.2s;
}

.pillar-link:hover::after { transform: translateX(4px); }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.why-check {
  width: 40px;
  height: 40px;
  background: var(--teal-glow);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.why-card h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.why-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Process preview */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}

.process-row::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 60px;
  height: 60px;
  background: var(--bg-elevated);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 24px var(--teal-glow);
}

.process-step h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Industries */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.industry {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s;
  cursor: default;
}

.industry:hover {
  background: var(--bg-elevated);
  border-color: var(--border-bright);
}

.industry-icon {
  width: 36px;
  height: 36px;
  background: var(--teal-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.industry h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.industry p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Partnership pills (scaled down) */
.partner-strip {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.partner-pill {
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  transition: all 0.2s;
}

.partner-pill:hover {
  border-color: var(--border-bright);
  color: var(--text);
}

/* Lead magnet */
.lead-magnet {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-bright);
  border-radius: 24px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.lead-magnet::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--teal-glow), transparent 60%);
  pointer-events: none;
}

.lead-magnet > * { position: relative; z-index: 1; }

.lead-magnet h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.guide-visual {
  position: relative;
  perspective: 1000px;
}

.guide-cover {
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-elevated));
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 2rem;
  transform: rotate(-3deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  font-family: var(--display);
}

.guide-cover .label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--teal);
  margin-bottom: 1rem;
  font-family: var(--body);
  font-weight: 600;
}

.guide-cover h4 {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.guide-cover .footer-text {
  margin-top: 2rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--body);
  letter-spacing: 0.1em;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 8rem 0;
  background: radial-gradient(ellipse at center, var(--bg-card), var(--bg-deep));
  border-top: 1px solid var(--border);
  position: relative;
  isolation: isolate;
  z-index: 2;
  overflow: visible;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
}

.final-cta__heading,
.final-cta h2 {
  display: block;
  visibility: visible;
  opacity: 1;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.final-cta__lead,
.final-cta .lead {
  display: block;
  visibility: visible;
  opacity: 1;
  color: var(--text-dim);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.final-cta__footnote {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.final-cta__btn {
  position: relative;
  z-index: 1;
}

/* ==================== SERVICES PAGE ==================== */
.page-header {
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-header h1,
.page-header__title {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 700;
}

.page-header .lead,
.page-header__lead {
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  font-weight: 600;
}

.tier {
  margin-bottom: 5rem;
}

.tier-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.tier-num {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  opacity: 0.4;
}

.tier-meta { flex: 1; }

.tier-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tier-title {
  font-family: var(--display);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tier-desc {
  color: var(--text-dim);
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--teal-glow);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.service-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, var(--teal-glow), transparent 70%);
  pointer-events: none;
}

.service-headline {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.service-name {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-meta {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

.service-meta-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.service-meta-item strong {
  color: var(--text-dim);
  font-weight: 500;
}

/* Services tier 3 - 2 cards centered */
.tier-support .services-grid {
  max-width: 900px;
  margin: 0 auto;
}

/* ==================== ABOUT PAGE ==================== */
.about-story {
  max-width: 800px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-story p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 4rem;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  color: var(--teal);
  font-weight: 700;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.mv-card {
  padding: 3rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.mv-mission {
  background: linear-gradient(135deg, var(--teal-dim), #0F766E);
}

.mv-vision {
  background: linear-gradient(135deg, #1E293B, var(--bg-deep));
  border: 1px solid var(--border-bright);
}

.mv-card .label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  font-weight: 600;
}

.mv-mission .label { color: rgba(255,255,255,0.85); }

.mv-card h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.3;
  color: white;
}

/* Leadership */
.leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.leader-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
}

.leader-portrait {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-deep);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px var(--teal-glow);
}

.leader-card h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.leader-role {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.leader-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Comparison table */
.comparison {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 3rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child { border-bottom: none; }

.comparison-cell {
  padding: 1.5rem;
  font-size: 0.95rem;
}

.comparison-header {
  background: var(--bg-elevated);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.comparison-cell.us {
  background: linear-gradient(180deg, var(--teal-glow), transparent);
  color: var(--text);
  font-weight: 500;
  border-left: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
}

.comparison-header.us {
  background: var(--teal);
  color: var(--bg-deep);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.comparison-cell:not(.us) { color: var(--text-dim); }

/* Capabilities */
.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.capability {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cap-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-glow);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}

.capability h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.capability p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==================== HOW WE WORK PAGE ==================== */
.stages {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
}

.stage {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

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

.stage-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 120px;
}

.stage-num {
  font-family: var(--display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.stage-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--teal);
  font-weight: 700;
}

.stage-content h3 {
  font-family: var(--display);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.stage-content > p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.stage-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.stage-detail {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stage-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stage-detail p {
  font-size: 0.9rem;
  color: var(--text);
}

/* What makes different */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.diff-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 3px solid var(--teal);
}

.diff-check {
  color: var(--teal);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.diff-item h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.diff-item p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Paths */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.path-card {
  padding: 3rem;
  border-radius: 20px;
  position: relative;
}

.path-1 {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.path-2 {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-deep));
  border: 1px solid var(--border-bright);
  box-shadow: 0 0 40px var(--teal-glow);
}

.path-num {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--teal-glow);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.path-card h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.path-card p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-option {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
  cursor: pointer;
}

.contact-option:hover {
  border-color: var(--border-bright);
  transform: translateX(4px);
}

.contact-option-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-glow);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-option h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-option p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  padding-left: 60px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 60px;
}

/* Form */
.contact-form {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.form-intro {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-style: italic;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group label .req { color: var(--accent); }

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-footer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
  font-style: italic;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: var(--border-bright);
}

.faq-q {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-family: var(--display);
  font-size: 1.05rem;
  user-select: none;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 600;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.faq-a p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 1.5rem 0;
  max-width: 360px;
}

.footer-tagline {
  font-family: var(--display);
  font-style: italic;
  color: var(--teal);
  font-weight: 500;
}

.footer-col h5 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}

.social-icon:hover {
  background: var(--teal-glow);
  border-color: var(--border-bright);
  color: var(--teal);
}

/* ==================== INSIGHTS / BLOG ==================== */
.insights-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.insight-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-deep));
}

.insight-thumb-1 {
  background:
    radial-gradient(circle at 30% 40%, var(--teal-glow), transparent 60%),
    linear-gradient(135deg, #0F766E, var(--bg-deep));
}

.insight-thumb-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(244, 63, 94, 0.2), transparent 60%),
    linear-gradient(135deg, #1E293B, var(--bg-deep));
}

.insight-thumb-3 {
  background:
    radial-gradient(circle at 50% 60%, rgba(251, 146, 60, 0.2), transparent 60%),
    linear-gradient(135deg, #422006, var(--bg-deep));
}

.insight-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.insight-thumb-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  z-index: 1;
}

.insight-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.insight-meta span:not(:last-child)::after {
  content: '\00b7';
  margin-left: 1rem;
  color: var(--text-muted);
}

.insight-body h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.insight-body p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.insight-read {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.insight-read::after {
  content: none;
  transition: transform 0.2s;
}

.insight-card:hover .insight-read::after {
  transform: translateX(4px);
}

/* Featured insight (single, larger) */
.insight-featured {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 3rem;
  cursor: pointer;
  transition: all 0.3s;
}

.insight-featured:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.insight-featured .insight-thumb {
  height: 100%;
  min-height: 320px;
}

.insight-featured .insight-body {
  padding: 3rem;
  justify-content: center;
}

.insight-featured h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.insight-featured p {
  font-size: 1.05rem;
}

/* Blog post page */
.post-header {
  position: relative;
  top: auto;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  text-align: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  z-index: auto;
}

.post-header .post-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.post-header .post-meta span:not(:last-child)::after {
  content: '\00b7';
  margin-left: 1rem;
}

.post-header h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.post-header .lead {
  font-weight: 600;
}

.post-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--bg-deep);
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-hero-image {
  height: 400px;
  margin: 3rem auto;
  max-width: 1100px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, var(--teal-glow), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(244, 63, 94, 0.15), transparent 60%),
    linear-gradient(135deg, var(--bg-elevated), var(--bg-deep));
}

.post-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.post-body p, .post-body ul, .post-body ol {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.post-body h2 {
  font-size: 1.75rem;
  margin: 3rem 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.post-body h3 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.post-body strong {
  color: var(--text);
  font-weight: 600;
}

.post-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--teal);
  line-height: 1.4;
}

.post-body ul {
  padding-left: 1.5rem;
}

.post-body ul li {
  margin-bottom: 0.75rem;
}

.post-body ul li::marker {
  color: var(--teal);
}

/* Blog / insight post tables (classic HTML + Gutenberg) */
.post-body .wp-block-table,
.post-body figure.wp-block-table {
  margin: 2rem 0;
  overflow-x: auto;
  max-width: 100%;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
  color: var(--text-dim);
  margin: 2rem 0;
}

.post-body .wp-block-table table {
  margin: 0;
}

.post-body th,
.post-body td {
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.post-body thead th,
.post-body th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.post-body tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.post-body tbody tr:hover {
  background: var(--teal-glow);
}

.post-body .wp-block-table figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.post-body .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background: transparent;
}

.post-body .wp-block-table.is-style-stripes tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}

.post-cta {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}

.post-cta h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.post-cta p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.back-to-insights {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

/* Filter pills for insights page */
.filter-pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-pill {
  padding: 0.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill.active, .filter-pill:hover {
  background: var(--teal-glow);
  border-color: var(--border-bright);
  color: var(--teal);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Mockup banner - removed in WP theme */ .mockup-banner { display: none !important; position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  z-index: 200;
  max-width: 280px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.mockup-banner strong {
  color: var(--teal);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.mockup-banner .close-banner {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

/* Mobile layout */
@media (max-width: 900px) {
  .nav-wrap { padding: 1rem; }
  .container, .container-narrow { padding: 0 1.25rem; }
  section { padding: 4rem 0; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero { min-height: auto; padding: 3rem 0; }
  .hero-visual { display: none; }
  .pillars, .why-grid, .industries, .partners, .services-grid,
  .mission-vision, .leaders, .capabilities, .diff-grid, .paths,
  .contact-grid, .process-row, .insights-strip, .insights-grid { grid-template-columns: 1fr; }
  .insight-featured { grid-template-columns: 1fr; }
  .insight-featured .insight-body { padding: 2rem; }
  .process-row::before { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stage { grid-template-columns: 1fr; gap: 1.5rem; }
  .stage-marker { position: static; flex-direction: row; align-items: baseline; gap: 1rem; }
  .stage-num { font-size: 3rem; }
  .stage-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-cell.us { border: 2px solid var(--teal); border-bottom: none; }
  .lead-magnet { grid-template-columns: 1fr; padding: 2rem; }
  .trust-items { gap: 1.5rem; }
  .mockup-banner { display: none; }
}
/* Mobile navigation */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0.6rem;
  color: var(--text);
  flex-shrink: 0;
  margin-left: auto;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-wrap.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-wrap.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-wrap.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.header-cta-desktop { display: inline-flex; }
.nav-mobile-cta { display: none; }

@media (max-width: 900px) {
  .site-header {
    background: var(--bg-deep) !important;
    border-bottom: 1px solid var(--border);
  }

  .nav-wrap {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header-cta-desktop { display: none !important; }

  /* Full-screen mobile menu overlay */
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: var(--bg-deep);
    display: flex;
    flex-direction: column;
    padding: 5.5rem 1.5rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-wrap.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .site-nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .site-nav ul li:last-child {
    border-bottom: none;
  }

  .site-nav a {
    display: block;
    padding: 1rem 0.25rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text) !important;
  }

  .site-nav a:hover,
  .site-nav a.active {
    color: var(--teal) !important;
  }

  .site-nav a.active::after {
    display: none;
  }

  .site-nav .nav-mobile-cta {
    display: inline-flex !important;
    width: 100%;
    margin-top: 1.5rem;
    justify-content: center;
    flex-shrink: 0;
  }

  body.skyetech-nav-open {
    overflow: hidden;
  }

  body.skyetech-nav-open .site-header {
    z-index: 120;
  }
}

/* WordPress / form plugin overrides */
.fluentform .ff-el-form-control,
.fluentform input, .fluentform select, .fluentform textarea,
.wpforms-container input, .wpforms-container select, .wpforms-container textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-deep) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--text) !important;
  font-family: var(--body) !important;
}
.fluentform .ff-btn-submit, .wpforms-submit {
  background: var(--accent) !important;
  color: white !important;
  border-radius: 100px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  border: none !important;
  width: 100%;
}
.insight-card.is-hidden { display: none; }
.post-body img { max-width: 100%; border-radius: 12px; }

/* ==================== RESPONSIVE OPTIMIZATION ==================== */

/* Anchor scroll offset below sticky nav */
[id] { scroll-margin-top: 5rem; }

/* Tablet */
@media (max-width: 1200px) {
  .hero-visual { width: 450px; height: 450px; right: -60px; opacity: 0.45; }
  .post-hero-image { height: 320px; margin: 2rem auto; }
}

/* Mobile landscape / large phones */
@media (max-width: 900px) {
  body::after { opacity: 0.25; }
  .page-header { padding: 4rem 0 2.5rem; }
  .post-header { padding: 2rem 1.25rem 1.5rem; }
  .post-header h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .post-header .post-meta {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
  }
  .post-header .post-meta span:not(:last-child)::after { margin-left: 0.5rem; }
  .post-hero-image { height: 220px; margin: 1.5rem auto; border-radius: 14px; }
  .post-body { padding: 0 1.25rem 3rem; }
  .post-body p, .post-body ul, .post-body ol { font-size: 1rem; }
  .post-body h2 { font-size: 1.45rem; margin: 2rem 0 0.75rem; }
  .post-body blockquote { font-size: 1.15rem; }
  .post-body table { font-size: 0.85rem; }
  .post-body th,
  .post-body td { padding: 0.7rem 0.85rem; }
  .post-body .wp-block-table { -webkit-overflow-scrolling: touch; }
  .post-cta { padding: 1.75rem 1.25rem; }
  .back-to-insights { margin-bottom: 0.5rem; }
  .final-cta { padding: 5rem 0; }
  .final-cta__heading, .final-cta h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .final-cta__lead, .final-cta .lead { font-size: 1.05rem; margin-bottom: 2rem; }
  .filter-pills { gap: 0.5rem; margin-bottom: 2rem; }
  .filter-pill { padding: 0.45rem 1rem; font-size: 0.8rem; }
  .contact-option p,
  .contact-link { padding-left: 0; margin-left: 0; }
  .contact-form { padding: 1.5rem; }
  .btn-large { padding: 0.9rem 1.5rem; font-size: 0.95rem; white-space: normal; text-align: center; }
  .insight-featured h3 { font-size: 1.5rem; }
  .tier-title { font-size: 1.75rem; }
  .stage-content h3 { font-size: 1.75rem; }
}

/* Small phones */
@media (max-width: 600px) {
  .site-header .nav-wrap { padding: 0.85rem 1rem; }
  .logo-img { height: 43px; }
  .hero-pills { gap: 0.5rem; }
  .pill { font-size: 0.7rem; padding: 0.4rem 0.75rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; width: 100%; }
  .trust-items { flex-direction: column; gap: 1.25rem; }
  .post-author { flex-direction: column; text-align: center; }
  .author-info { text-align: center; }
  .post-meta { font-size: 0.75rem !important; }
  .insight-thumb { height: 150px; }
  .comparison-cell { padding: 1rem; font-size: 0.85rem; }
  .path-card, .service-card, .pillar { padding: 1.75rem; }
  .footer-bottom > div:last-child { flex-direction: column; gap: 0.75rem; align-items: center; }
}

/* Safe areas for notched devices */
@supports (padding: max(0px)) {
  .site-header .nav-wrap {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .container, .container-narrow {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit, .pill-dot { animation: none; }
  .btn-primary:hover, .pillar:hover, .insight-card:hover { transform: none; }
}

/* Force theme fonts over plugin/block defaults */
body,
button,
input,
select,
textarea,
.fluentform,
.wpforms-container {
  font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.hero h1,
.page-header h1,
.page-header__title,
.final-cta h2,
.final-cta__heading,
.tier-title,
.stage-content h3,
.insight-featured h3,
.post-header h1,
[class*="eyebrow"],
.logo-text {
  font-family: 'Helvetica Thin', sans-serif !important;
  font-weight: 300 !important;
}
