/* SkyHouse Agency — Shared Stylesheet v1.0
   Design: dark #050810, cyan #06D6DF, orange #FF9500
   Typography: DM Sans (heads), Inter (body), Space Mono (data)
   Mobile-first. No external deps beyond system fonts. */

/* === TOKENS === */
:root {
  --cyan: #06d6df;
  --orange: #ff9500;
  --bg-dark: #050810;
  --bg-mid: #0a1018;
  --bg-card: #111827;
  --bg-light: #f8f9fa;
  --ink: #0a0a0a;
  --ink-light: #f1f5f9;
  --muted: #6b7280;
  --border-dark: #1a2035;
  --border-light: #e5e7eb;
  --white: #ffffff;
  --font-head: -apple-system, 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --radius: 8px;
  --max-w: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--ink-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* === LAYOUT === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* === REVIEW CHIP === */
.review-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,149,0,0.12);
  border: 1px solid rgba(255,149,0,0.3);
  color: #ffb84d;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin: 0 2px;
}

/* === NAV === */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 16, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  text-decoration: none;
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: rgba(6,214,223,0.08); color: var(--white) !important; }
.nav-cta {
  background: var(--cyan);
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: 0.2s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid var(--border-dark);
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu .mobile-cta {
  display: block;
  margin-top: 24px;
  background: var(--cyan);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--cyan);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
  min-height: 44px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 13px 24px;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
  min-height: 44px;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--white); }
.btn-dark {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  color: var(--ink-light);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-dark);
  padding: 11px 20px;
  border-radius: 4px;
  transition: border-color 0.2s;
  min-height: 44px;
}
.btn-dark:hover { border-color: var(--cyan); }

/* === HERO (dark pages) === */
.hero {
  background: var(--bg-dark);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,214,223,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em {
  color: var(--cyan);
  font-style: normal;
}
.hero p, .hero-body {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(241,245,249,0.75);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
}
.proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.proof-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(241,245,249,0.55);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 5px 12px;
}

/* === SECTION LABELS + HEADLINES === */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-label.muted { color: var(--muted); }
.section-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 20px;
}

/* === STATS SECTION === */
.stats-section {
  background: var(--bg-mid);
  padding: 60px 24px;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.stats-inner { max-width: var(--max-w); margin: 0 auto; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--border-dark);
}
.stat-item:last-child { border-right: none; }
.stat-item:nth-child(3) { border-right: none; }
@media (max-width: 640px) {
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border-dark); }
  .stat-item:nth-child(even) { border-right: none; }
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* === PILLARS / 3-COL GRID === */
.pillars-section {
  background: var(--bg-light);
  padding: 80px 24px;
}
.pillars-section .section-label { color: var(--muted); }
.pillars-section .section-headline { color: var(--ink); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 24px; }
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.pillar-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pillar-card p { font-size: 14px; color: #374151; line-height: 1.65; }

/* === OWNERSHIP BLOCK === */
.ownership-block {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 80px 24px;
}
.ownership-inner { max-width: 720px; margin: 0 auto; }
.ownership-block .eyebrow { margin-bottom: 16px; }
.ownership-block h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--white);
  margin-bottom: 24px;
}
.ownership-block p {
  font-size: 16px;
  color: rgba(241,245,249,0.75);
  line-height: 1.75;
  margin-bottom: 16px;
}
.ownership-block a { color: var(--cyan); text-decoration: none; }

/* === PROCESS SECTION === */
.process-section {
  background: var(--bg-light);
  padding: 80px 24px;
}
.process-section .section-label { color: var(--muted); }
.process-section .section-headline { color: var(--ink); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
}
.process-step {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: rgba(6,214,223,0.25);
  margin-bottom: 8px;
}
.process-step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.process-step p { font-size: 14px; color: #374151; line-height: 1.65; }

/* === PROOF SECTION (dark) === */
.proof-section {
  background: var(--bg-dark);
  padding: 80px 24px;
  border-top: 1px solid var(--border-dark);
}
.proof-inner { max-width: var(--max-w); margin: 0 auto; }
.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .proof-cards { grid-template-columns: 1fr; }
}
.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.proof-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.proof-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 8px;
}
.proof-card .proof-services {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.proof-card .proof-metric {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.5;
}

/* === TESTIMONIALS === */
.testimonials-section {
  background: var(--bg-light);
  padding: 80px 24px;
}
.testimonials-section .section-label { color: var(--muted); }
.testimonials-section .section-headline { color: var(--ink); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.testimonial-card blockquote {
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 18px;
  font-style: normal;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* === CTA SECTION (dark close) === */
.cta-section {
  background: var(--bg-dark);
  padding: 100px 24px;
  text-align: center;
  border-top: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(6,214,223,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 640px; margin: 0 auto; position: relative; }
.cta-section h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 5vw, 42px);
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
}
.cta-section p {
  font-size: 16px;
  color: rgba(241,245,249,0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-bullets {
  text-align: left;
  margin: 0 auto 32px;
  max-width: 400px;
}
.cta-bullets li {
  font-size: 14px;
  color: rgba(241,245,249,0.75);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cta-bullets li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.cta-fine {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* === FOOTER === */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 60px 24px 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
.footer-brand .footer-wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand .footer-wordmark span { color: var(--cyan); }
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 240px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241,245,249,0.4);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(241,245,249,0.6);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-col .footer-address {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
}
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(241,245,249,0.3);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(241,245,249,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(241,245,249,0.55); }

/* === FORM STYLES === */
.form-section { background: var(--bg-light); padding: 80px 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s;
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,214,223,0.12);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { margin-top: 8px; }
.form-submit .btn-primary { width: 100%; justify-content: center; font-size: 12px; padding: 16px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.6; }

/* === TWO-COL AUDIT LAYOUT === */
.audit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  align-items: start;
}
@media (max-width: 820px) {
  .audit-layout { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
}
.audit-copy h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 48px);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 20px;
}
.audit-copy p {
  font-size: 16px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 20px;
}
.audit-bullets { margin-bottom: 28px; }
.audit-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #374151;
  padding: 6px 0;
}
.audit-bullets li .check { color: #059669; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.audit-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.audit-stat { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.audit-form-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.audit-form-box h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}
.audit-form-box .form-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.audit-bg { background: var(--bg-light); }

/* === SERVICE PAGE === */
.service-hero { background: var(--bg-dark); padding: 80px 24px 60px; }
.service-hero-inner { max-width: 760px; margin: 0 auto; }
.capability-block { padding: 80px 24px; }
.capability-block.dark { background: var(--bg-mid); }
.capability-block.light { background: var(--bg-light); }
.capability-inner { max-width: var(--max-w); margin: 0 auto; }
.capability-inner h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 3.5vw, 34px);
  margin-bottom: 20px;
  line-height: 1.2;
}
.capability-inner.dark-text h2, .capability-block.light .capability-inner h2 { color: var(--ink); }
.capability-inner p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.capability-block.light .capability-inner p { color: #374151; }
.rule-list { margin-top: 20px; }
.rule-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 14px;
  line-height: 1.6;
}
.capability-block.light .rule-list li { border-bottom-color: var(--border-light); color: #374151; }
.rule-list li::before {
  content: '→';
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 640px) { .format-grid { grid-template-columns: 1fr; } }
.format-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.capability-block.light .format-card {
  background: var(--white);
  border-color: var(--border-light);
}
.format-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.capability-block.light .format-card h4 { color: var(--ink); }
.format-card p { font-size: 13px; line-height: 1.6; }
.capability-block.light .format-card p { color: #4b5563; }

/* === PIPELINE (How We Work) === */
.pipeline-section { background: var(--bg-dark); padding: 80px 24px; }
.pipeline-inner { max-width: 860px; margin: 0 auto; }
.tranche {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.tranche-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.tranche-header:hover { background: rgba(6,214,223,0.04); }
.tranche-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  min-width: 32px;
}
.tranche-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  flex: 1;
}
.tranche-sub {
  font-size: 12px;
  color: var(--muted);
}
.tranche-body {
  padding: 0 24px 20px 72px;
  display: none;
}
.tranche-body.open { display: block; }
.tranche-body p, .tranche-body li {
  font-size: 14px;
  color: rgba(241,245,249,0.7);
  line-height: 1.7;
  margin-bottom: 6px;
}
.tranche-body ul { padding-left: 4px; }
.tranche-body li { display: flex; gap: 8px; }
.tranche-body li::before { content: '·'; color: var(--cyan); }

/* === RESULTS / CASE STUDY PAGE === */
.results-hero { background: var(--bg-dark); padding: 80px 24px 60px; }
.case-study-page { background: var(--bg-light); padding: 60px 24px; }
.cs-inner { max-width: 800px; margin: 0 auto; }
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.cs-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 4px;
}
.cs-results-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}
.cs-results-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-dark);
  background: var(--bg-card);
}
.cs-results-table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(26,32,53,0.4);
  color: var(--ink-light);
  vertical-align: top;
}
.cs-results-table td:first-child { font-weight: 600; }
.cs-results-table td:nth-child(2) {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}
.cs-body {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px 36px;
  margin-bottom: 40px;
}
@media (max-width: 640px) { .cs-body { padding: 24px 20px; } }
.cs-body h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin: 28px 0 12px;
}
.cs-body h2:first-child { margin-top: 0; }
.cs-body p {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 14px;
}
.cs-body ul {
  margin-bottom: 14px;
  padding-left: 4px;
}
.cs-body ul li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  padding: 4px 0;
}
.cs-body ul li::before { content: '→'; color: var(--cyan); flex-shrink: 0; }
.cs-note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  border-left: 2px solid var(--border-dark);
  padding-left: 12px;
  margin-top: 24px;
}

/* === SERVICES GRID PAGE === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 820px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.service-card .service-icon {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--cyan);
  margin-bottom: 12px;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.service-card p {
  font-size: 13px;
  color: rgba(241,245,249,0.6);
  line-height: 1.6;
  margin-bottom: 14px;
}
.service-card .learn-more {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 0.08em;
}

/* === JOBS PAGE === */
.jobs-section { background: var(--bg-dark); padding: 60px 24px; }
.jobs-inner { max-width: 860px; margin: 0 auto; }
.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.role-card:hover { border-color: var(--cyan); }
.role-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.role-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}
.role-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.role-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  background: rgba(6,214,223,0.1);
  border: 1px solid rgba(6,214,223,0.2);
  color: var(--cyan);
  padding: 4px 8px;
  border-radius: 4px;
}
.role-desc { font-size: 14px; color: rgba(241,245,249,0.65); line-height: 1.7; margin-bottom: 16px; }
.role-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(6,214,223,0.3);
  padding: 9px 16px;
  border-radius: 4px;
  transition: background 0.2s;
  min-height: 44px;
}
.role-apply:hover { background: rgba(6,214,223,0.08); }

/* === ABOUT PAGE === */
.about-story { background: var(--bg-light); padding: 80px 24px; }
.about-story-inner { max-width: 760px; margin: 0 auto; }
.about-story h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 3.5vw, 34px);
  color: var(--ink);
  margin-bottom: 20px;
}
.about-story p {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 680px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.team-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.team-card .team-role { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.team-card p { font-size: 13px; color: #4b5563; line-height: 1.6; }

/* === INSIGHTS PAGE === */
.insights-coming { background: var(--bg-light); padding: 80px 24px; text-align: center; }
.insights-coming .ic-inner { max-width: 500px; margin: 0 auto; }
.insights-coming h2 { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--ink); margin-bottom: 14px; }
.insights-coming p { font-size: 15px; color: #4b5563; line-height: 1.7; margin-bottom: 28px; }
.email-capture { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.email-capture input { flex: 1; padding: 12px 14px; border: 1px solid var(--border-light); border-radius: var(--radius); font-size: 14px; min-height: 44px; }
.email-capture .btn-primary { white-space: nowrap; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 820px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .articles-grid { grid-template-columns: 1fr; } }
.article-teaser {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 18px;
  opacity: 0.6;
}
.article-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--cyan); margin-bottom: 8px; }
.article-teaser h4 { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.4; }
.article-teaser p { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* === LEGAL PAGES === */
.legal-section { background: var(--bg-light); padding: 80px 24px; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-inner h2 { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); margin: 32px 0 12px; }
.legal-inner h2:first-child { margin-top: 0; }
.legal-inner p { font-size: 14px; color: #374151; line-height: 1.75; margin-bottom: 14px; }
.legal-inner ul { padding-left: 20px; margin-bottom: 14px; }
.legal-inner ul li { font-size: 14px; color: #374151; line-height: 1.7; margin-bottom: 6px; list-style: disc; }

/* === 404 PAGE === */
.error-page { background: var(--bg-dark); min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error-inner h1 { font-family: var(--font-mono); font-size: 80px; color: var(--cyan); line-height: 1; margin-bottom: 16px; }
.error-inner h2 { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--white); margin-bottom: 14px; }
.error-inner p { font-size: 16px; color: var(--muted); margin-bottom: 32px; }

/* === RESULTS INDEX CARDS === */
.results-index { background: var(--bg-dark); padding: 60px 24px; }
.results-index-inner { max-width: var(--max-w); margin: 0 auto; }
.cs-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 720px) { .cs-cards { grid-template-columns: 1fr; } }
.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s;
}
.cs-card:hover { border-color: var(--cyan); }
.cs-card .cs-card-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--cyan); margin-bottom: 10px; }
.cs-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--white); margin-bottom: 8px; }
.cs-card .cs-card-services { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.cs-card .cs-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
}
.cs-metric { text-align: center; }
.cs-metric .cs-mval { font-family: var(--font-mono); font-size: 18px; color: var(--cyan); display: block; }
.cs-metric .cs-mlabel { font-size: 11px; color: var(--muted); }

/* UTILITY */
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
