/* ===================================================
   ExpandUp — Shared Stylesheet
   Design System: Navy-black, grid overlay, Sora + DM Sans
   =================================================== */

/* --- Google Fonts imported in each HTML head --- */

/* --- CSS Custom Properties --- */
:root {
  --bg: #111827;
  --green: #2ECC8A;
  --amber: #E8B84B;
  --danger: #E53935;
  --white: #FFFFFF;
  --white-60: rgba(255,255,255,0.6);
  --white-45: rgba(255,255,255,0.45);
  --white-35: rgba(255,255,255,0.35);
  --white-15: rgba(255,255,255,0.15);
  --white-08: rgba(255,255,255,0.08);
  --white-05: rgba(255,255,255,0.05);
  --white-03: rgba(255,255,255,0.03);
  --card-bg: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.1);
  --nav-height: 68px;
  --grid-overlay:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.045) 0px,
      rgba(255,255,255,0.045) 1px,
      transparent 1px,
      transparent 130px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 1px,
      transparent 130px
    );
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --section-pad: 96px 0;
  --section-pad-mobile: 64px 0;
  --content-max: 1100px;
  --content-pad: 0 32px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  background-image: var(--grid-overlay);
  color: var(--white-60);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.15;
}

.hero-h1 {
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

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

.section-h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.eyebrow-green { color: var(--green); }
.eyebrow-amber { color: var(--amber); }

.subhead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--white-60);
  max-width: 640px;
}

/* --- Layout --- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--content-pad);
}

.section {
  padding: var(--section-pad);
  border-top: 0.5px solid var(--white-08);
}

.section:first-of-type { border-top: none; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(17,24,39,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--white-08);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo .up { color: var(--green); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 14px;
  color: var(--white-60);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: var(--white-05);
}

.nav-link .chevron {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link .chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdowns */
.nav-dropdown {
  position: absolute;
  top: 100%; /* flush to nav-item bottom — no gap */
  left: 0;
  min-width: 240px;
  background: rgba(17,24,39,0.99);
  border: 0.5px solid var(--white-15);
  border-radius: 0 0 10px 10px;
  padding: 8px 8px 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.18s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Invisible padding-top bridge fills the gap so cursor never leaves */
  padding-top: 12px;
  margin-top: 0;
}

/* Invisible bridge above dropdown so cursor path from nav link stays hot */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Open via JS .open class OR CSS hover as fallback */
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
}

/* Chevron rotation when open */
.nav-item.open .nav-link .chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--white-60);
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  line-height: 1.4;
}

.nav-dropdown a:hover {
  color: var(--white);
  background: var(--white-08);
}

.nav-dropdown .drop-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-35);
  padding: 8px 12px 4px;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white-60);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 32px;
  overflow-y: auto;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 16px;
  color: var(--white-60);
  padding: 14px 0;
  border-bottom: 0.5px solid var(--white-08);
  transition: color 0.2s ease;
}
.nav-mobile a:hover { color: var(--white); }

.nav-mobile .mobile-section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-35);
  margin-top: 20px;
  margin-bottom: 4px;
}

.nav-mobile .mobile-ctas {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Buttons --- */
.btn-primary {
  background: var(--green);
  color: #0a1f14;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: filter 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-primary-amber {
  background: var(--amber);
  color: #2a1e06;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: filter 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary-amber:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--white-08);
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--white-15);
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white-35);
  transform: translateY(-1px);
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border: 0.5px solid var(--card-border);
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}

.card-green {
  border-left: 2px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--card-bg);
  border-top: 0.5px solid var(--card-border);
  border-right: 0.5px solid var(--card-border);
  border-bottom: 0.5px solid var(--card-border);
}

.card-amber {
  border-left: 2px solid var(--amber);
  border-radius: 0 8px 8px 0;
  background: var(--card-bg);
  border-top: 0.5px solid var(--card-border);
  border-right: 0.5px solid var(--card-border);
  border-bottom: 0.5px solid var(--card-border);
}

.card-red-tint {
  background: rgba(229,57,53,0.08);
  border: 0.5px solid rgba(229,57,53,0.25);
  border-radius: 8px;
}

.card-green-tint {
  background: rgba(46,204,138,0.08);
  border: 0.5px solid rgba(46,204,138,0.25);
  border-radius: 8px;
}

.card-amber-tint {
  background: rgba(232,184,75,0.06);
  border: 0.5px solid rgba(232,184,75,0.2);
  border-radius: 8px;
}

.card-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.card-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--white-45);
}

.card-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.card-number-green { color: var(--green); }
.card-number-amber { color: var(--amber); }

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

/* --- Hero Section --- */
.hero {
  padding: calc(var(--nav-height) + 80px) 0 88px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .subhead {
  margin-bottom: 36px;
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 48px;
}

.section-header .section-h2 {
  margin-top: 8px;
  margin-bottom: 16px;
}

.section-header p {
  max-width: 580px;
  color: var(--white-60);
}

/* --- Sequence Comparison (Homepage) — THE hero visual --- */
.sequence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
}

.sequence-card {
  border-radius: 8px;
  padding: 36px 32px;
  position: relative;
}

.sequence-card .seq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.sequence-card .seq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.sequence-card .seq-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sequence-card .seq-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.sequence-card .seq-step:last-of-type { border-bottom: none; }

.sequence-card .seq-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  letter-spacing: 0;
}

.sequence-card .seq-step-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.sequence-card .seq-step-sub {
  font-size: 13px;
  color: var(--white-45);
  line-height: 1.55;
}

/* Red card — wrong sequence */
.seq-red {
  background: rgba(229,57,53,0.07);
  border: 1px solid rgba(229,57,53,0.35);
  border-top: 3px solid var(--danger);
}
.seq-red .seq-icon { background: rgba(229,57,53,0.2); color: var(--danger); }
.seq-red .seq-label { color: var(--danger); }
.seq-red .seq-num { background: rgba(229,57,53,0.15); color: var(--danger); }
.seq-red .seq-step-title { color: rgba(255,255,255,0.75); }

/* Green card — right sequence */
.seq-green {
  background: rgba(46,204,138,0.06);
  border: 1px solid rgba(46,204,138,0.35);
  border-top: 3px solid var(--green);
}
.seq-green .seq-icon { background: rgba(46,204,138,0.2); color: var(--green); }
.seq-green .seq-label { color: var(--green); }
.seq-green .seq-num { background: rgba(46,204,138,0.15); color: var(--green); }
.seq-green .seq-caption {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--white-35);
  border-top: 0.5px solid rgba(46,204,138,0.2);
  padding-top: 18px;
  font-style: italic;
}

@media (max-width: 640px) {
  .sequence-grid { grid-template-columns: 1fr; }
}

/* --- Three Layer Diagram --- */
.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 800px;
  margin: 0 auto;
}

.layer-card {
  padding: 24px 32px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.layer-card .layer-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 3px;
  min-width: 80px;
}

.layer-card .layer-content {}
.layer-card .layer-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.layer-card .layer-desc {
  font-size: 12px;
  color: var(--white-45);
  line-height: 1.55;
}

.layer-top, .layer-bottom {
  background: var(--card-bg);
  border: 0.5px solid var(--card-border);
}
.layer-top .layer-tag, .layer-bottom .layer-tag { color: var(--white-35); }

.layer-middle {
  background: rgba(46,204,138,0.08);
  border: 1px solid rgba(46,204,138,0.35);
}
.layer-middle .layer-tag { color: var(--green); }
.layer-middle .layer-title { color: var(--green); }

.layer-caption {
  text-align: center;
  font-size: 13px;
  color: var(--white-45);
  margin-top: 20px;
  font-style: italic;
}

/* --- Monetization Callout Block --- */
.monetization-callout {
  background: rgba(232,184,75,0.04);
  border-top: 1.5px solid rgba(232,184,75,0.35);
  border-bottom: 0.5px solid rgba(232,184,75,0.15);
  padding: 72px 0;
}

/* --- CTA Section --- */
.cta-section {
  padding: 96px 0;
  text-align: center;
  border-top: 0.5px solid var(--white-08);
}

.cta-section .section-h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--white-60);
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-section .cta-group {
  justify-content: center;
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--card-bg);
  border: 0.5px solid var(--card-border);
  border-radius: 8px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}

.blog-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  line-height: 1.4;
}
.tag-arch { background: rgba(46,204,138,0.12); color: var(--green); }
.tag-b2b { background: rgba(46,204,138,0.12); color: var(--green); }
.tag-mono { background: rgba(232,184,75,0.12); color: var(--amber); }
.tag-card { background: rgba(255,255,255,0.08); color: var(--white-60); }
.tag-comp { background: rgba(255,255,255,0.08); color: var(--white-60); }

.blog-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.blog-card-excerpt {
  font-size: 13px;
  color: var(--white-45);
  line-height: 1.6;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--white-35);
  margin-top: auto;
  padding-top: 12px;
  border-top: 0.5px solid var(--white-08);
}

.blog-card-meta .read-link {
  color: var(--green);
  font-weight: 500;
  font-size: 12px;
  transition: opacity 0.2s ease;
}
.blog-card-meta .read-link:hover { opacity: 0.8; }

/* --- Blog Article --- */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white-45);
  margin-bottom: 32px;
  transition: color 0.2s ease;
}
.article-back:hover { color: var(--white-60); }

.article-header {
  margin-bottom: 48px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--white-35);
  margin-top: 20px;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: var(--white);
}

.article-body h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 28px 0 12px;
  color: var(--white);
}

.article-body p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--white-60);
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 0;
  padding-left: 0;
}

.article-body ul li, .article-body ol li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--white-60);
  padding: 6px 0 6px 20px;
  position: relative;
  list-style: none;
}
.article-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 14px;
}
.article-body ol { counter-reset: article-counter; }
.article-body ol li { counter-increment: article-counter; }
.article-body ol li::before {
  content: counter(article-counter) '.';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
}

.pull-quote {
  border-left: 2px solid var(--green);
  padding: 20px 24px;
  margin: 36px 0;
  background: rgba(46,204,138,0.04);
  border-radius: 0 8px 8px 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
}

.inline-cta {
  background: rgba(232,184,75,0.06);
  border: 0.5px solid rgba(232,184,75,0.25);
  border-radius: 8px;
  padding: 24px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.inline-cta p {
  margin: 0;
  font-size: 15px;
  color: var(--white-60);
}

/* --- Differentiator callout --- */
.differentiator-block {
  background: rgba(46,204,138,0.06);
  border: 0.5px solid rgba(46,204,138,0.2);
  border-radius: 8px;
  padding: 28px 32px;
  margin-top: 32px;
}

.differentiator-block p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--white-60);
  margin: 0;
}

.differentiator-block strong {
  color: var(--white);
  font-weight: 500;
}

/* --- Engagement Timeline --- */
.engagement-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.engagement-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 0.5px;
  background: var(--white-15);
  z-index: 0;
}

.timeline-phase {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.timeline-phase .phase-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.timeline-phase .phase-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-phase .phase-desc {
  font-size: 12px;
  color: var(--white-45);
  line-height: 1.5;
}

/* --- Footer --- */
.footer {
  background: rgba(0,0,0,0.3);
  border-top: 0.5px solid var(--white-08);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-logo-wrap .up { color: var(--green); }
.footer-brand .footer-tagline {
  font-size: 12px;
  color: var(--white-35);
  line-height: 1.5;
  margin-bottom: 16px;
}
.footer-brand .footer-email {
  font-size: 12px;
  color: var(--white-45);
  transition: color 0.2s ease;
}
.footer-brand .footer-email:hover { color: var(--green); }



.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-35);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--white-45);
  padding: 5px 0;
  transition: color 0.2s ease;
  line-height: 1.4;
}
.footer-col a:hover { color: var(--white-60); }

.footer-bottom {
  border-top: 0.5px solid var(--white-08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--white-35);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-hero {
  opacity: 1; /* visible by default — JS overrides */
}

.js-loaded .animate-hero {
  opacity: 0;
  animation: fadeInUp 0.65s ease forwards;
}
.js-loaded .animate-hero:nth-child(1) { animation-delay: 0.05s; }
.js-loaded .animate-hero:nth-child(2) { animation-delay: 0.15s; }
.js-loaded .animate-hero:nth-child(3) { animation-delay: 0.25s; }
.js-loaded .animate-hero:nth-child(4) { animation-delay: 0.35s; }

.reveal {
  opacity: 1;
  transform: none;
}

/* Animations only when JS has initialised */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility --- */
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--white-45); }
.text-white { color: var(--white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }


/* ============================================================
   SECONDARY NAV — Our Method pages
   ============================================================ */
.secondary-nav {
  position: sticky;
  top: var(--nav-height);
  z-index: 900;
  background: rgba(13, 18, 30, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--white-08);
}

.secondary-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.secondary-nav-inner::-webkit-scrollbar { display: none; }

.secondary-nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--white-45);
  padding: 14px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  display: block;
}

.secondary-nav-link:hover {
  color: var(--white-60);
}

.secondary-nav-link.active {
  color: var(--white);
  border-bottom-color: var(--green);
  font-weight: 500;
}

@media (max-width: 768px) {
  .secondary-nav-inner {
    padding: 0 16px;
    gap: 0;
  }
  .secondary-nav-link {
    font-size: 12px;
    padding: 12px 12px;
  }
}


/* ============================================================
   SECONDARY / INLINE CTA VARIANTS
   ============================================================ */

/* Inline text CTA — used within content, not at section ends */
.cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(46,204,138,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cta-inline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

/* Diagnostic CTA strip — appears mid-page between content sections */
.cta-diagnostic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: rgba(46,204,138,0.04);
  border: 0.5px solid rgba(46,204,138,0.18);
  border-radius: 8px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.cta-diagnostic-text {
  font-size: 14px;
  color: var(--white-60);
  line-height: 1.5;
  max-width: 520px;
}

.cta-diagnostic-text strong {
  color: var(--white);
  font-weight: 500;
}

@media (max-width: 640px) {
  .cta-diagnostic { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   RECOGNITION / SCENARIO GRID
   ============================================================ */
.recognition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.recognition-card {
  padding: 28px 28px 28px 24px;
}

.rec-headline {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.45;
}

.rec-body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--white-45);
  margin: 0;
}

/* Bottom row — 3 cards spanning full width */
.recognition-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .recognition-grid-bottom { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .recognition-grid { grid-template-columns: 1fr; }
  .recognition-grid-bottom { grid-template-columns: 1fr; }
}



/* ============================================================
   PROOF STRIP
   ============================================================ */
.proof-strip {
  padding: 48px 0;
  border-top: 0.5px solid var(--white-08);
  border-bottom: 0.5px solid var(--white-08);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.proof-item {
  padding: 20px 24px;
  border-right: 0.5px solid var(--white-08);
  text-align: center;
}

.proof-item:last-child {
  border-right: none;
}

.proof-number {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.proof-number .proof-accent {
  color: var(--green);
}

.proof-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--white-45);
  max-width: 140px;
  margin: 0 auto;
}

.proof-patent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-35);
  border: 0.5px solid var(--white-08);
  border-radius: 100px;
  padding: 4px 12px;
  margin-top: 10px;
}

.proof-patent::before {
  content: '◈';
  color: var(--green);
  font-size: 10px;
}

/* Contextual proof callout — used on segment pages */
.proof-callout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(46,204,138,0.04);
  border: 0.5px solid rgba(46,204,138,0.15);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  margin: 32px 0;
}

.proof-callout-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.proof-callout-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--white-45);
}

.proof-callout-text strong {
  color: var(--white);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-item:nth-child(3) { border-right: none; }
  .proof-item:nth-child(4) { border-top: 0.5px solid var(--white-08); }
  .proof-item:nth-child(5) { border-top: 0.5px solid var(--white-08); border-right: none; }
}

@media (max-width: 600px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { border-right: 0.5px solid var(--white-08) !important; border-top: 0.5px solid var(--white-08) !important; }
  .proof-item:nth-child(odd):last-child { grid-column: span 2; border-right: none !important; }
}



/* ============================================================
   PROOF STRIP & CONTEXTUAL PROOF CALLOUTS
   ============================================================ */
.proof-strip {
  padding: 56px 0;
  border-top: 0.5px solid var(--white-08);
  border-bottom: 0.5px solid var(--white-08);
  background: rgba(255,255,255,0.01);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.proof-item {
  padding: 24px 28px;
  border-right: 0.5px solid var(--white-08);
  text-align: center;
}

.proof-item:last-child { border-right: none; }

.proof-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.proof-number .proof-accent { color: var(--green); }

.proof-label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--white-45);
  max-width: 160px;
  margin: 0 auto;
}

/* Contextual proof callout — single stat on segment pages */
.proof-callout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  background: rgba(46,204,138,0.04);
  border: 0.5px solid rgba(46,204,138,0.15);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  margin: 40px 0;
}

.proof-callout-stat {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.proof-callout-body { flex: 1; }

.proof-callout-headline {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.35;
}

.proof-callout-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--white-45);
  margin: 0;
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(3),
  .proof-item:nth-child(4) { border-top: 0.5px solid var(--white-08); }
  .proof-item:nth-child(4) { border-right: none; }
}

@media (max-width: 560px) {
  .proof-callout { flex-direction: column; gap: 12px; }
}



/* ============================================================
   ABOUT PAGE — TEAM & CONTACT GRIDS
   ============================================================ */

/* Team grid — 2 columns desktop, stacked mobile */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
}

/* Tablet: 2x2 grid */
@media (max-width: 1100px) and (min-width: 641px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* Engineering & Architecture Partners (4th card) spans full width on tablet */
  .team-grid > .card:nth-child(4) {
    grid-column: 1 / -1;
  }
}

/* Engineering partners card SVG illustration */
.partners-illustration {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(46,204,138,0.25);
  background: rgba(46,204,138,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Contact grid — 3 columns desktop, stacked mobile */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  max-width: 760px;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Add dividers between stacked contact items */
  .contact-grid > div {
    border-bottom: 0.5px solid rgba(255,255,255,0.06) !important;
  }

  .contact-grid > div:last-child {
    border-bottom: none !important;
  }
}



/* ============================================================
   SYSTEM DIAGRAM — Homepage three-layer architecture visual
   ============================================================ */
.system-diagram {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

/* Layer boxes */
.sd-layer {
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  position: relative;
}

.sd-layer-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-45);
  text-align: center;
  margin-bottom: 4px;
}

.sd-layer-sublabel {
  font-size: 11px;
  color: var(--white-35);
  text-align: center;
  margin-bottom: 16px;
}

/* Pill tags inside layers */
.sd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.sd-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--white-60);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.04);
}

/* Arrow connector */
.sd-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  color: rgba(255,255,255,0.2);
}

.sd-arrow svg {
  width: 20px;
  height: 20px;
}

/* Middle layer — ExpandUp — highlighted green */
.sd-layer-expandup {
  border: 1px solid rgba(46,204,138,0.4);
  background: rgba(46,204,138,0.05);
  padding: 24px 28px;
}

.sd-expandup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(46,204,138,0.12);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.sd-expandup-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.sd-expandup-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 4px;
}

.sd-expandup-sub {
  font-size: 12px;
  color: var(--white-45);
  text-align: center;
  margin-bottom: 20px;
}

/* Four decision cards inside ExpandUp layer */
.sd-decisions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sd-decision-card {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}

.sd-decision-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.sd-decision-sub {
  font-size: 11px;
  color: var(--white-35);
}

/* Bottom layer — two-column split */
.sd-infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}

.sd-infra-col-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-35);
  margin-bottom: 10px;
}

/* Caption line */
.sd-caption {
  text-align: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 0.5px solid var(--white-08);
}

.sd-caption p {
  font-size: 14px;
  color: var(--white-45);
  line-height: 1.6;
  margin: 0;
}

.sd-caption strong {
  color: var(--white-60);
}

@media (max-width: 768px) {
  .sd-decisions { grid-template-columns: repeat(2, 1fr); }
  .sd-infra-grid { grid-template-columns: 1fr; gap: 16px; }
  .sd-pills { gap: 6px; }
  .sd-pill { font-size: 11px; padding: 4px 10px; }
}

@media (max-width: 480px) {
  .sd-decisions { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   WHO WE WORK WITH — Three-buyer panel
   ============================================================ */
/* ============================================================
   WHO WE WORK WITH — Three-column panel
   ============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  width: 100%;
}

.who-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-top: 3px solid #2ECC8A;
  border-radius: 8px;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.who-card:hover {
  background: rgba(46,204,138,0.04);
  border-color: rgba(46,204,138,0.3);
  border-top-color: #2ECC8A;
}

.who-number {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2ECC8A;
  opacity: 0.7;
  margin-bottom: 14px;
}

.who-title {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.who-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  flex: 1;
}

.who-example {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  line-height: 1.6;
  padding: 14px 0;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  margin-bottom: 20px;
}

.who-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #2ECC8A;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(46,204,138,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
  width: fit-content;
}

.who-cta:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}

/* Recognition grid group labels */
.rec-group-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 20px 0 10px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}

.rec-group-label:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* Amber tint for infrastructure partner card */
.who-card.who-infra {
  background: rgba(232,184,75,0.03);
  border-top-color: #E8B84B;
}

.who-card.who-infra:hover {
  background: rgba(232,184,75,0.05);
  border-color: rgba(232,184,75,0.3);
  border-top-color: #E8B84B;
}

.who-card.who-infra .who-number { color: #E8B84B; }
.who-card.who-infra .who-cta { color: #E8B84B; border-color: rgba(232,184,75,0.3); }
.who-card.who-infra .who-cta:hover { color: #ffffff; border-color: rgba(255,255,255,0.4); }

@media (max-width: 860px) {
  .who-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .who-card.who-infra {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
  .who-card.who-infra {
    grid-column: auto;
  }
}



/* ============================================================
   HERO PATH SELECTOR — Three buyer entry points
   Pure CSS, no SVG, no icon wrap — Chrome & Safari safe
   ============================================================ */
.hero-paths {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  max-width: 460px;
}

.hero-path-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 0.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.hero-path-btn:hover {
  border-color: rgba(46,204,138,0.45);
  background: rgba(46,204,138,0.06);
}

/* Pure CSS dot — no SVG, no sizing issues */
.path-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.path-dot-green { background: #2ECC8A; opacity: 0.75; }
.path-dot-amber  { background: #E8B84B; opacity: 0.75; }

.hero-path-btn:hover .path-dot { opacity: 1; }

.hero-path-btn .path-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.2;
  flex: 1;
  transition: color 0.2s ease;
}

.hero-path-btn:hover .path-text { color: #fff; }

.hero-path-btn .path-arrow {
  font-size: 13px;
  color: #2ECC8A;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-path-btn .path-arrow-amber { color: #E8B84B; }

.hero-path-btn:hover .path-arrow,
.hero-path-btn:hover .path-arrow-amber {
  opacity: 1;
  transform: translateX(2px);
}

.hero-path-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
  display: block;
}

.hero-path-btn.path-infra:hover {
  border-color: rgba(232,184,75,0.4);
  background: rgba(232,184,75,0.05);
}

@media (max-width: 640px) {
  .hero-paths { max-width: 100%; }
}


/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .engagement-timeline { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .engagement-timeline::before { display: none; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
    --content-pad: 0 20px;
    --nav-height: 60px;
  }

  .nav-links, .nav-ctas { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { gap: 0; }

  .hero {
    padding: calc(var(--nav-height) + 56px) 0 64px;
  }

  .hero-h1 {
    font-size: clamp(30px, 7vw, 44px);
  }

  .subhead { font-size: 16px; }

  .sequence-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .engagement-timeline { grid-template-columns: 1fr 1fr; gap: 24px; }
  .engagement-timeline::before { display: none; }

  .layer-card { flex-direction: column; gap: 8px; }

  .article-wrap { padding: 0 20px; }

  .inline-cta { flex-direction: column; }

  .cta-section { padding: 64px 0; }

  .section-header { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .engagement-timeline { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; align-items: flex-start; }
  .cta-section .cta-group { align-items: center; }
}

/* ============================================================
   ARTICLE / BLOG POST LAYOUT
   ============================================================ */

.article-layout {
  padding-top: 100px;
  padding-bottom: 80px;
}

.article-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--white-45);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.2s ease;
}

.article-back:hover {
  color: var(--green);
}

.article-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--white-08);
}

.article-topic {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--white-35);
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--white-20);
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-60);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body strong {
  color: var(--white);
  font-weight: 500;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
  letter-spacing: -0.02em;
  border-left: 3px solid var(--green);
  padding: 20px 24px;
  margin: 36px 0;
  background: rgba(46, 204, 138, 0.04);
  border-radius: 0 8px 8px 0;
}

/* Inline CTA card (amber, appears ~60% through) */
.article-cta-card {
  background: rgba(232, 184, 75, 0.06);
  border: 0.5px solid rgba(232, 184, 75, 0.2);
  border-radius: 8px;
  padding: 28px 32px;
  margin: 48px 0;
}

.article-cta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.article-cta-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.article-cta-body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--white-45);
  margin-bottom: 20px;
}

/* End CTA */
.article-end-cta {
  background: rgba(255,255,255,0.02);
  border: 0.5px solid var(--card-border);
  border-radius: 8px;
  padding: 40px;
  margin-top: 56px;
  text-align: center;
}

.article-end-cta h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.article-end-cta p {
  font-size: 14px;
  color: var(--white-45);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Related posts */
.article-related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 0.5px solid var(--white-08);
}

.related-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-35);
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.related-card {
  padding: 20px 22px;
  text-decoration: none;
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-card:hover {
  border-color: rgba(255,255,255,0.18);
}

.related-card .post-topic {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.related-card .post-read-more {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  margin-top: 4px;
}

/* Card number green utility */
.card-number-green {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

/* Card green tint */
.card-green-tint {
  background: rgba(46, 204, 138, 0.04);
  border-color: rgba(46, 204, 138, 0.2);
}

/* Utility classes */
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }

@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-end-cta { padding: 28px 20px; }
  .article-cta-card { padding: 22px 20px; }
}

/* ============================================================
   AUTHOR AVATARS — BLOG POST META
   ============================================================ */
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1.5px solid rgba(46,204,138,0.3);
  flex-shrink: 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--white-35);
}

.author-name {
  color: var(--white-60);
  font-weight: 500;
}
