/* ───────── Homepage — VivaMed Biopharma ───────── */
@import url("technology.css?v=29");

/* Hard override: ensure the mobile hamburger is NEVER visible on desktop.
   (Prevents a stray native button pill from leaking below the nav.) */
.nav-hamburger{ display:none !important }
@media (max-width: 900px){
  .nav-hamburger{ display:flex !important }
}

/* Overrides & new homepage-only styles.
   The homepage uses the same design tokens (navy / primary / mono / etc.) defined in technology.css */

/* ============== Home Hero — DNA video overlay ============== */
.home-hero{
  position:relative;
  background: #0A2B5C;
  color:#fff;
  overflow:hidden;
  min-height: 88vh;
  display: block;
}
.home-hero-canvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  z-index:2;
  pointer-events:none;
}
.home-hero-tint{
  position:absolute; inset:0;
  background:
    radial-gradient(60% 70% at 72% 46%, rgba(36,108,200,.28) 0%, transparent 70%),
    linear-gradient(105deg, rgba(0,74,173,.55) 0%, rgba(8,40,86,.35) 45%, rgba(10,43,92,.2) 100%);
  z-index:1;
}
.home-hero-vignette{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,43,92,.5) 100%);
  z-index:1;
}

.home-hero-inner{
  position:relative; z-index:3;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 180px 64px 120px;
  box-sizing: border-box;
}

.home-pill-eyebrow{
  font-size: 12.5px;
  font-weight:600;
  letter-spacing:.18em;
  color:#fff;
  opacity:.95;
  font-family: var(--sans);
  margin-bottom: 28px;
  display: block;
}

.home-h1{
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0 0 28px;
  color:#fff;
  max-width: 900px;
  text-wrap: balance;
}

.home-hero-divider{ display: none }

.home-lede{
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  max-width: 680px;
  margin: 0 0 36px;
}
.home-lede b{ color:#fff; font-weight:600 }

/* Keep hero copy crisp where it overlaps the logo-mark particle backdrop. */
.home-h1{ text-shadow: 0 2px 22px rgba(8,30,64,.55), 0 1px 3px rgba(8,30,64,.4) }
.home-lede{ text-shadow: 0 1px 14px rgba(8,30,64,.6) }

.home-cta-row{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-bottom: 0;
}
.home-cta-primary,
.home-cta-secondary{
  display:inline-flex; align-items:center; gap:8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 500; font-size: 14px;
  letter-spacing:.01em;
  border: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: #fff;
  transition: background .2s, border-color .2s, transform .2s;
}
.home-cta-primary:hover,
.home-cta-secondary:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.9);
}

/* Stats strip — absolute bottom of hero, full-width */
.home-hero-metrics{
  position:absolute;
  left:0; right:0; bottom:0;
  z-index:3;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(8,20,36,.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.home-hero-metrics-inner{
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 24px 64px;
  box-sizing: border-box;
}
.home-hero-metric{
  padding: 4px 24px 4px 0;
  border-right: 1px solid rgba(255,255,255,.12);
}
.home-hero-metric + .home-hero-metric{ padding-left: 24px }
.home-hero-metric:last-child{ border-right: none }
.home-hero-metric .v{
  font-size: 30px;
  font-weight: 700;
  color:#fff;
  letter-spacing:-.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.home-hero-metric .l{
  font-size: 11px;
  color: rgba(255,255,255,.6);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-family: var(--mono);
}

/* ============== Pillars strip ============== */
.home-pillars{
  background:#fff;
  padding:100px 24px;
}
.home-pillars-inner{
  max-width:1240px; margin:0 auto;
}
.home-pillars-eyebrow{
  font-family:var(--mono); font-size:12px;
  color:var(--primary); letter-spacing:.14em;
  text-transform:uppercase; margin-bottom:14px;
  display:flex; align-items:center; gap:10px;
}
.home-pillars-eyebrow::before{
  content:""; width:28px; height:1px; background:var(--primary);
}
.home-pillars-lead{
  font-size:clamp(30px, 3vw, 44px);
  font-weight:600; letter-spacing:-.025em;
  color:var(--navy);
  max-width:980px; margin:0 0 56px;
  line-height:1.18;
  text-wrap:balance;
}
.home-pillars-lead em{
  font-style:italic; color:var(--primary); font-weight:500;
}
.pillars-grid{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:20px;
}
.pillar-card{
  position:relative;
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:18px;
  padding:34px 32px 160px;
  min-height:420px;
  transition: transform .3s, box-shadow .3s, background .3s;
  overflow:hidden;
  text-decoration:none; color:inherit;
  display:block;
}
.pillar-card:hover{
  transform: translateY(-4px);
  background:#fff;
  box-shadow: 0 30px 60px -30px rgba(21,49,69,.2);
}
.pillar-num{
  font-family:var(--mono); font-size:11.5px;
  color:var(--muted); letter-spacing:.14em;
  margin-bottom:18px;
}
.pillar-title{
  font-size:28px; font-weight:600; letter-spacing:-.015em;
  color:var(--navy); margin:0 0 14px;
}
.pillar-desc{
  font-size:15.5px; color:var(--muted); line-height:1.6;
  margin:0 0 20px;
}
.pillar-stats{
  display:flex; gap:20px; margin-top:20px;
}
.pillar-stats > div{
  font-family:var(--mono); font-size:11.5px; color:var(--muted);
}
.pillar-stats b{
  display:block; font-family:var(--sans); color:var(--navy);
  font-size:22px; font-weight:700; letter-spacing:-.02em;
  margin-bottom:4px;
}
.pillar-cta{
  position:absolute; left:32px; bottom:28px;
  display:inline-flex; align-items:center; gap:8px;
  color:var(--primary); font-weight:600; font-size:14px;
  transition: gap .2s;
}
.pillar-card:hover .pillar-cta{ gap:14px }

/* illustrative badges top-right */
.pillar-illo{
  position:absolute; top:22px; right:22px;
  width:46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  color:var(--primary);
  border-radius:50%;
  background:rgba(0,74,173,.08);
}

/* ============== BioAtlas Platform section (centerpiece) ============== */
.home-atlas{
  background: #fff;
  color: var(--navy);
  padding:120px 24px;
  position:relative; overflow:hidden;
}
.home-atlas::before{
  content:""; position:absolute; inset:0;
  background-image:
    radial-gradient(600px 400px at 15% 25%, rgba(0,74,173,.04) 0%, transparent 60%),
    radial-gradient(500px 400px at 85% 80%, rgba(51,147,240,.03) 0%, transparent 60%);
  pointer-events:none;
}
.atlas-inner{ position:relative; max-width:1240px; margin:0 auto; }

.atlas-heading{
  display:grid; grid-template-columns: 1.2fr 1fr;
  gap:60px; align-items:end;
  margin-bottom:56px;
}
.atlas-heading h2{
  font-size:clamp(40px, 4.5vw, 64px);
  font-weight:700; letter-spacing:-.025em;
  margin:18px 0 0; line-height:1.05;
  color:var(--navy); text-wrap:balance;
}
.atlas-heading h2 .hl{
  color:var(--primary);
  font-style:italic; font-weight:600;
}
.atlas-heading p{
  font-size:17px; line-height:1.6; color:var(--muted);
  margin:0; max-width:460px;
}
.atlas-eyebrow{
  font-family:var(--mono); font-size:12.5px;
  color:var(--primary); letter-spacing:.14em;
  text-transform:uppercase;
  display:flex; align-items:center; gap:10px;
}
.atlas-eyebrow::before{ content:""; width:28px; height:1px; background:var(--primary); }

/* ============== BioAtlas — radial instrument ============== */
.atlas-viz{
  display:grid; grid-template-columns: 280px 1fr 320px;
  gap:48px; align-items:stretch;
  min-height:780px;
}

/* LEFT rail — live-demo card + platform CTA */
.atlas-rail{
  display:flex; flex-direction:column;
  padding:4px 0;
}
.atlas-rail-eyebrow{
  display:flex; justify-content:space-between; align-items:baseline;
  font-family:var(--mono); font-size:10.5px;
  letter-spacing:.18em; text-transform:uppercase;
  color:#6A7686;
  padding-bottom:14px; border-bottom:1px solid #E5EAF1;
  margin-bottom:24px;
}
.atlas-rail-count{ color:var(--primary); font-weight:600 }

.atlas-demo-card{
  background:#fff;
  border:1px solid #D9E2EC;
  border-top:3px solid var(--primary);
  padding:22px 22px 24px;
  box-shadow:0 30px 60px -40px rgba(11,28,44,.18);
  display:flex; flex-direction:column;
}
.atlas-demo-status{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--mono); font-size:10.5px;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--primary); font-weight:600;
  margin-bottom:14px;
  align-self:flex-start;
}
.atlas-demo-status-dot{
  width:6px; height:6px; border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 0 3px rgba(0,74,173,.18);
}
.atlas-demo-mondo{
  font-family:var(--mono); font-size:10.5px;
  color:#6A7686; letter-spacing:.08em;
  margin-bottom:6px;
}
.atlas-demo-name{
  font-size:17px; font-weight:700; color:#0B1C2C;
  line-height:1.3; letter-spacing:-.005em;
  margin-bottom:10px;
}
.atlas-demo-sub{
  font-family:var(--mono); font-size:11px;
  color:#5C6773; letter-spacing:.02em;
  line-height:1.5;
}

.atlas-rail-cta{
  margin-top:20px;
  display:inline-flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  background:transparent;
  border:1px solid #CFD6DF;
  border-radius:6px;
  font-size:13.5px; font-weight:600; color:var(--primary);
  text-decoration:none;
  transition: border-color .15s, background .15s, color .15s;
}
.atlas-rail-cta:hover{
  border-color:var(--primary);
  background:rgba(0,74,173,.04);
}
.atlas-rail-cta svg{ flex-shrink:0; transition: transform .15s }
.atlas-rail-cta:hover svg{ transform: translateX(2px) }

.atlas-rail-footnote{
  font-size:12px; color:#6A7686; line-height:1.55;
  padding:24px 0 0; max-width:280px;
}

/* RIGHT canvas */
.atlas-canvas{
  position:relative;
  background:
    radial-gradient(ellipse at 50% 45%, #F7FAFD 0%, #EEF3F8 60%, #E7EDF3 100%);
  border:1px solid #D9E2EC;
  border-radius:2px;
  overflow:hidden;
  min-height:760px;
  box-shadow: 0 40px 100px -50px rgba(0,74,173,.22), inset 0 1px 0 rgba(255,255,255,.8);
}
/* fine graph paper */
.atlas-canvas::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(0,74,173,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,74,173,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  pointer-events:none;
}

.atlas-svg{ position:relative; z-index:1; width:100%; height:760px; display:block; }

/* Corner annotation blocks (4-up coord labels) */
.atlas-corner{
  position:absolute; z-index:2;
  font-family:var(--mono); font-size:9.5px;
  letter-spacing:.14em; text-transform:uppercase;
  color:#6A7686; line-height:1.6;
  padding:14px 18px;
}
.atlas-corner.tl{ top:0; left:0 }
.atlas-corner.tr{ top:0; right:0; text-align:right }
.atlas-corner.bl{ bottom:0; left:0 }
.atlas-corner.br{ bottom:0; right:0; text-align:right }
.atlas-corner-label{ color:#8A94A3 }
.atlas-corner-val{ color:var(--primary); font-weight:600; margin-top:2px }

/* Rings / ticks (SVG classes) */
.atlas-ring{ fill:none; stroke:#C8D2DE; stroke-width:1 }
.atlas-ring.outer{ stroke:#B9C5D3 }
.atlas-tick{ stroke:#AEB8C6; stroke-width:1 }
.atlas-tick.major{ stroke:#7A8695; stroke-width:1.2 }
.atlas-coord-lbl{
  font-family:var(--mono); font-size:9px;
  letter-spacing:.15em; fill:#6A7686;
}

/* Outer coordinate ring — static. */
.atlas-rotor{ }

/* Edges */
.atlas-edge{ fill:none; stroke:#004AAD; stroke-linecap:round; }
.atlas-edge.edge-inner{
  stroke-width:1;
  stroke-dasharray: 3 5;
  opacity:.35;
}
.atlas-edge.edge-inner.on{
  opacity:1; stroke-width:1.6; stroke-dasharray: 4 3;
  animation: atlas-flow 2.2s linear infinite;
}
.atlas-edge.edge-outer{
  stroke-dasharray: 5 4;
}
/* Flow only animates when an edge is selected (state, not idle). */
@keyframes atlas-flow{ to { stroke-dashoffset: -24; } }

/* Endotype nodes */
.atlas-endo-node{
  fill:#ffffff;
  stroke:#004AAD;
  stroke-width:1.6;
  transition: all 240ms cubic-bezier(.2,.8,.2,1);
}
.atlas-endo-node.on{
  fill:#004AAD;
  stroke:#ffffff;
  stroke-width:2;
  filter: drop-shadow(0 6px 16px rgba(0,74,173,.45));
}
.atlas-endo-g:hover .atlas-endo-node{ stroke-width:2.2 }
.atlas-endo-id{
  font-family:var(--mono); font-size:10px; font-weight:700;
  fill:#004AAD; letter-spacing:.04em;
  pointer-events:none;
}
.atlas-endo-g.on .atlas-endo-id{ fill:#fff; font-size:11px; }
.atlas-endo-cap{
  font-family:var(--mono); font-size:9.5px; letter-spacing:.14em;
  fill:#0B1C2C; font-weight:600;
  pointer-events:none;
}
.atlas-endo-cap.dim{ fill:#6A7686; font-weight:500; letter-spacing:.1em; }

/* Drug nodes */
.atlas-drug-node{
  fill:#ffffff; stroke:#004AAD; stroke-width:1.4;
}
.atlas-drug-node.top{
  fill:#004AAD; stroke:#ffffff; stroke-width:2;
  filter: drop-shadow(0 4px 10px rgba(0,74,173,.35));
}
.atlas-drug-halo{
  fill:none; stroke:#004AAD; stroke-width:1;
  opacity:.25;
  transform-origin: center;
}
.atlas-drug-lbl{
  font-size:11.5px; font-weight:600;
  fill:#0B1C2C;
  pointer-events:none;
}
.atlas-drug-lbl.top{ fill:#004AAD; font-weight:700; font-size:13px; }
.atlas-drug-score-lbl{
  font-family:var(--mono); font-size:10.5px;
  fill:#6A7686; letter-spacing:.04em;
  font-weight:500;
  pointer-events:none;
}

/* Center disease node labels */
.atlas-c-mondo{
  font-family:var(--mono); font-size:9.5px;
  fill:rgba(255,255,255,.7);
  letter-spacing:.22em;
}
.atlas-c-id{
  font-family:var(--mono); font-size:15px; font-weight:700;
  fill:#ffffff; letter-spacing:.06em;
}
.atlas-c-cap{
  font-family:var(--mono); font-size:8.5px;
  fill:rgba(255,255,255,.55);
  letter-spacing:.22em;
}

/* Annotation card (right gutter column) */
.atlas-annot{
  position:relative;
  align-self:start;
  background:#ffffff;
  border:1px solid #D9E2EC;
  border-top:3px solid var(--primary);
  padding:26px 24px 22px;
  box-shadow:0 30px 60px -40px rgba(11,28,44,.18);
}
.atlas-annot-eyebrow{
  display:flex; align-items:center; gap:8px;
  font-family:var(--mono); font-size:10px;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--primary); font-weight:600;
  margin-bottom:10px;
}
.atlas-annot-dot{
  width:6px; height:6px; border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 0 3px rgba(0,74,173,.18);
}
.atlas-annot-title{
  font-size:16px; font-weight:700;
  color:#0B1C2C; line-height:1.3;
  margin-bottom:10px;
}
.atlas-annot-def{
  font-size:12.5px; color:#4B5563;
  line-height:1.55; margin-bottom:14px;
}
.atlas-annot-genes{
  display:flex; gap:5px; flex-wrap:wrap;
  margin-bottom:16px;
}
.atlas-annot-gene{
  font-family:var(--mono); font-size:10px; font-weight:600;
  color:var(--primary); letter-spacing:.06em;
  padding:3px 8px;
  background:rgba(0,74,173,.08);
  border:1px solid rgba(0,74,173,.18);
  border-radius:2px;
}
.atlas-annot-drug{
  padding-top:14px; border-top:1px solid #E5EAF1;
}
.atlas-annot-drug-head{
  display:flex; justify-content:space-between; align-items:baseline;
  font-family:var(--mono); font-size:10.5px;
  letter-spacing:.1em; color:#6A7686;
  margin-bottom:4px;
}
.atlas-annot-drug-rank{ text-transform:uppercase }
.atlas-annot-drug-score{
  color:var(--primary); font-weight:700; font-size:12px;
}
.atlas-annot-drug-name{
  font-size:18px; font-weight:800;
  color:#0B1C2C; letter-spacing:-.01em;
  line-height:1.2;
}
.atlas-annot-drug-mech{
  font-size:11.5px; color:#4B5563;
  line-height:1.5; margin-top:6px;
}
.atlas-annot-bar{
  height:2px; background:#E5EAF1;
  margin-top:12px; overflow:hidden;
}
.atlas-annot-bar span{
  display:block; height:100%;
  background: linear-gradient(90deg, #004AAD, #3393F0);
  transition: width .4s ease;
}

/* Footer row */
.atlas-footer-row{
  margin-top:36px;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:20px;
  padding-top:24px; border-top:1px solid #E5EAF1;
}
.atlas-meta-chips{
  display:flex; gap:16px; flex-wrap:wrap; align-items:center;
  font-family:var(--mono); font-size:11px;
  color:#6A7686; letter-spacing:.04em;
}
.atlas-meta-chips b{ color:var(--primary); font-weight:700 }
.atlas-meta-chips .sep{
  width:1px; height:12px; background:#D4DDE8;
}

/* Mobile */
@media (max-width: 980px){
  .atlas-viz{ grid-template-columns: 1fr; min-height:unset; }
  .atlas-canvas{ min-height:620px }
  .atlas-svg{ height:620px }
  .atlas-corner.tr, .atlas-corner.br{ display:none }
}

/* ============== Pipeline snapshot ============== */
.home-pipeline{
  background:#fff;
  padding:120px 24px;
}
.home-pipeline-inner{ max-width:1240px; margin:0 auto; }
.home-pipeline-head{
  display:grid; grid-template-columns: 1.4fr 1fr;
  gap:40px; align-items:end;
  margin-bottom:52px;
}
.home-pipeline-head h2{
  font-size:clamp(36px, 4vw, 56px);
  font-weight:600; letter-spacing:-.025em;
  color:var(--navy); margin:14px 0 0;
  line-height:1.08;
}
.home-pipeline-head h2 em{
  font-style:italic; color:var(--primary); font-weight:500;
}
.home-pipeline-head .right{
  color:var(--muted); font-size:15.5px; line-height:1.6;
  max-width:420px;
}

.home-programs{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:20px;
}

/* Therapeutic-area cards (5 across) */
.home-areas{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.home-area{
  display:flex; flex-direction:column;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding: 26px 24px 22px;
  text-decoration:none;
  color: inherit;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.home-area:hover{
  box-shadow: 0 20px 40px -20px rgba(21,49,69,.18);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.home-area-top{
  display:flex; align-items:center; gap:10px;
  margin-bottom: 14px;
}
.home-area-dot{
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}
.home-area-name{
  font-size: 17px; font-weight: 700; color: var(--navy);
  letter-spacing: -.01em;
}
.home-area-desc{
  font-size: 13.5px; line-height: 1.55;
  color: var(--muted);
  margin: 0 0 22px;
  flex: 1;
}
/* Lead-program phase indicator. The bar fills as the card scrolls into view
   via animation-timeline: view(). Static fallback covers older browsers. */
.home-area-phase{
  margin: 0 0 18px;
}
.home-area-phase-row{
  display:flex; justify-content:space-between; align-items:baseline;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.home-area-phase-val{
  color: var(--navy); font-weight: 600;
}
.home-area-phase-bar{
  position:relative;
  width: 100%; height: 3px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.home-area-phase-bar > span{
  display:block;
  height: 100%;
  background: var(--phase-color, var(--primary));
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(var(--phase-fill, 0));
}
@supports (animation-timeline: view()){
  .home-area-phase-bar > span{
    transform: scaleX(0);
    animation: phase-fill linear both;
    animation-timeline: view();
    animation-range: entry 30% cover 50%;
  }
  @keyframes phase-fill{
    to { transform: scaleX(var(--phase-fill, 1)); }
  }
}
@media (prefers-reduced-motion: reduce){
  .home-area-phase-bar > span{
    transform: scaleX(var(--phase-fill, 0));
    animation: none;
  }
}

.home-area-meta{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11.5px; color: var(--primary);
  letter-spacing: .02em;
  font-weight: 600;
}
.home-area:hover .home-area-meta svg{ transform: translateX(3px) }
.home-area-meta svg{ transition: transform .2s }

@media (max-width: 1100px){
  .home-areas{ grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 760px){
  .home-areas{ grid-template-columns: 1fr 1fr }
}

.home-program{
  border:1px solid var(--border);
  border-radius:16px;
  padding:28px 28px 24px;
  background:#fff;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.home-program:hover{
  box-shadow: 0 20px 40px -20px rgba(21,49,69,.15);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.home-prog-top{
  display:flex; justify-content:space-between; align-items:flex-start;
  margin-bottom:14px;
}
.home-prog-code{
  font-family:var(--mono); font-size:11px;
  color:var(--muted); letter-spacing:.1em;
}
.home-prog-area{
  font-family:var(--mono); font-size:10.5px;
  letter-spacing:.1em; text-transform:uppercase;
  padding:4px 9px; border-radius:999px;
  background: var(--tint); color: var(--primary);
}
.home-prog-name{
  font-size:19px; font-weight:600; color:var(--navy);
  margin:0 0 6px; letter-spacing:-.01em;
}
.home-prog-mech{
  font-size:13.5px; color:var(--muted); line-height:1.5;
  margin:0 0 20px;
}
.home-prog-phases{
  display:grid; grid-template-columns: repeat(5, 1fr);
  gap:4px; margin-bottom:12px;
}
.home-prog-phase{
  height:6px; border-radius:3px;
  background: var(--border);
}
.home-prog-phase.active{ background: var(--primary) }
.home-prog-phase.current{
  background: linear-gradient(90deg, var(--primary) 65%, rgba(0,74,173,.3) 100%);
  box-shadow: 0 0 12px rgba(0,74,173,.3);
}
.home-prog-phaselbls{
  display:flex; justify-content:space-between;
  font-family:var(--mono); font-size:10px;
  color:var(--muted); letter-spacing:.05em;
}
.home-prog-phaselbls .cur{ color:var(--primary); font-weight:600 }

.home-pipeline-cta{
  margin-top:48px;
  display:flex; justify-content:center;
}

/* ============== Numbers band ============== */
.home-numbers{
  background: #EAEEF3;
  color: var(--navy);
  padding:100px 24px;
  position:relative; overflow:hidden;
}
.home-numbers::before{ display:none; }
.home-numbers-inner{ position:relative; max-width:1240px; margin:0 auto; }
.home-numbers h3{
  font-size:14px; color:var(--primary);
  font-family:var(--mono); letter-spacing:.14em;
  text-transform:uppercase; margin:0 0 12px;
  text-align:center;
}
.home-numbers h2{
  font-size:clamp(32px, 3vw, 44px);
  text-align:center; font-weight:700; letter-spacing:-.02em;
  max-width:760px; margin:0 auto 64px;
  color:var(--navy); line-height:1.2; text-wrap:balance;
}
.numbers-grid{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap:0;
  border:1px solid #D4DDE8;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.num-cell{
  padding:48px 36px;
  border-right:1px solid #EAEEF3;
}
.num-cell:last-child{ border-right:none }
.num-v{
  font-size:56px; font-weight:800; letter-spacing:-.03em;
  color:var(--primary); line-height:1; margin-bottom:10px;
}
.num-v .u{ font-size:28px; color:var(--primary); font-weight:700; opacity:.8 }
.num-l{
  font-size:13.5px; color:var(--navy); line-height:1.5;
}
.num-sub{
  font-family:var(--mono); font-size:11px;
  color:var(--muted); margin-top:10px; letter-spacing:.05em;
}

/* ============== Responsive ============== */
@media (max-width: 1100px){
  .home-hero{ padding: 140px 24px 0; min-height:auto }
  .home-hero-inner{ padding-left: 0 }
  .home-hero-metrics-inner{ grid-template-columns: repeat(2, 1fr); padding: 20px 24px }
  .home-hero-metric{ padding: 16px 20px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.08) }
  .home-hero-metric:nth-child(even){ border-right: none }
  .atlas-heading{ grid-template-columns: 1fr; gap:20px; align-items:start }
  .home-pipeline-head{ grid-template-columns: 1fr; gap:16px }
  .pillars-grid,.home-programs{ grid-template-columns: 1fr; }
  .numbers-grid{ grid-template-columns: repeat(2, 1fr) }
  .num-cell:nth-child(2){ border-right:none }
  .num-cell:nth-child(1),.num-cell:nth-child(2){ border-bottom:1px solid rgba(255,255,255,.08) }
}


/* ─────────────── Mobile optimization (≤640px) ─────────────── */
@media (max-width: 640px){
  /* Hero top spacing: the section padding clears the nav; keep the inner
     padding small so the copy sits close to the top (was stacking ~250px). */
  .home-hero{ padding: 96px 20px 0; min-height:auto; }
  .home-hero-inner{ padding: 16px 20px 72px; }
  .home-h1{ font-size: clamp(32px, 8.4vw, 46px); line-height:1.06; margin:0 0 20px; }
  .home-lede{ font-size: 15px; }
  .home-cta-row{ gap:10px; }
  .home-cta-primary, .home-cta-secondary{ flex:1 1 auto; justify-content:center; }

  /* Metrics flow below the hero copy (was an absolute overlay) and wrap to 2 cols. */
  .home-hero-metrics{ position:static; }
  .home-hero-metrics-inner{ grid-template-columns:repeat(2,1fr); padding:16px 20px; }
  .home-hero-metric{ padding:10px 8px; }
  .home-hero-metric + .home-hero-metric{ padding-left:8px; }
  .home-hero-metric:nth-child(2n){ border-right:none; }
  .home-hero-metric .v{ font-size:22px; }

  /* Multi-column home grids collapse. */
  .home-programs{ grid-template-columns:1fr; }
  .home-pipeline-head{ grid-template-columns:1fr; gap:16px; }
  .home-pipeline{ padding:64px 20px; }

  /* "By the numbers" 2×2 grid: shrink padding + figures so they fit the
     narrow cells (the 56px numbers were overflowing on the right). */
  .home-numbers{ padding:64px 20px; }
  .num-cell{ padding:28px 16px; }
  .num-v{ font-size:38px; }
  .num-l{ font-size:12.5px; }
}
