/*
  Landing page (v2) — vertical-rail hero + values + segue + capabilities.
  Loaded after ivm-theme.css. Owns ALL landing-page styling.

  Hero classes (.eyebrow, .h1, .lede, .rail, etc.) are scoped under .hero
  so they don't collide with anything else on the site.
*/

:root {
  --sans:  "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
  --serif: "Fraunces", "Newsreader", Georgia, serif;
}

/* Page resets — landing pages don't inherit Tabler's app shell */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body.landing-page {
  background: var(--ivm-paper);
  color: var(--ivm-ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.landing-page a { color: inherit; text-decoration: none; }

/* ---------- Top nav (overlaid on hero) ---------- */
.landing-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  padding: 26px 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.landing-nav .nav-brand {
  display: flex; align-items: center; gap: 12px;
  font: 600 17px/1 var(--sans);
  color: var(--ivm-cream);
  letter-spacing: -0.005em;
}
.landing-nav .nav-links {
  display: flex; gap: 36px;
  font: 500 13.5px/1 var(--sans);
  color: rgba(243,234,210,0.75);
}
.landing-nav .nav-links a:hover { color: var(--ivm-cream); }
.landing-nav .nav-actions { display: flex; gap: 18px; align-items: center; }
.landing-nav .signin {
  font: 500 13.5px/1 var(--sans);
  color: rgba(243,234,210,0.75);
}
.landing-nav .signin:hover { color: var(--ivm-cream); }
.landing-nav .btn-cream {
  background: var(--ivm-cream); color: var(--ivm-forest);
  padding: 10px 18px; border-radius: 4px;
  font: 500 13px/1 var(--sans);
  transition: background 0.15s ease;
}
.landing-nav .btn-cream:hover { background: #ede1bf; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ivm-forest);
  color: var(--ivm-cream);
  position: relative; overflow: hidden;
  padding: 120px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 88% 0%, rgba(200,162,91,0.10), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(31,92,61,0.45), transparent 60%);
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: 200px 1fr 1fr; gap: 48px;
  position: relative; z-index: 2; align-items: stretch;
}

/* ---------- Vertical pillar rail ---------- */
.hero .rail {
  display: flex; flex-direction: column; gap: 0;
  border-left: 1px solid rgba(243,234,210,0.18);
  align-self: start; padding-left: 0;
}
.hero .rail-head {
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em;
  color: var(--ivm-gold); text-transform: uppercase;
  padding: 0 0 22px 18px;
}
.hero .rail-item {
  position: relative; padding: 18px 16px 18px 18px;
  border-top: 1px solid rgba(243,234,210,0.18);
  cursor: pointer; transition: background 0.18s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.hero .rail-item:last-child { border-bottom: 1px solid rgba(243,234,210,0.18); }
.hero .rail-item:hover { background: rgba(243,234,210,0.04); }
.hero .rail-item .num {
  font: 500 10px/1 var(--mono); letter-spacing: 0.16em;
  color: rgba(243,234,210,0.5); text-transform: uppercase;
}
.hero .rail-item .ttl {
  font: 500 14px/1.3 var(--sans); color: rgba(243,234,210,0.85);
  letter-spacing: -0.005em;
}
.hero .rail-item .ttl em { font-style: normal; color: var(--ivm-cream); }

.hero .rail-item.active { background: rgba(200,162,91,0.08); }
.hero .rail-item.active::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0;
  width: 2px; background: var(--ivm-gold);
}
.hero .rail-item.active .num { color: var(--ivm-gold); }
.hero .rail-item.active .ttl {
  color: var(--ivm-cream); font-weight: 600;
}

.hero .rail-item .arrow {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font: 500 14px/1 var(--sans); color: rgba(243,234,210,0.4);
  opacity: 0; transition: opacity 0.18s ease, transform 0.18s ease;
}
.hero .rail-item:hover .arrow,
.hero .rail-item.active .arrow {
  opacity: 1; color: var(--ivm-gold);
}
.hero .rail-item.active .arrow {
  transform: translateY(-50%) translateX(2px);
}

/* ---------- Thesis column ---------- */
.hero .thesis {
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: 8px;
}
.hero .eyebrow {
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em;
  color: var(--ivm-gold); text-transform: uppercase;
  margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero .eyebrow .rule { width: 28px; height: 1px; background: var(--ivm-gold); }

.hero .h1 {
  font: 600 76px/1.0 var(--sans); letter-spacing: -0.03em;
  margin: 0; color: var(--ivm-cream); min-height: 228px;
}
.hero .h1 .role {
  position: relative; display: inline-block;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.hero .h1 .role.swapping { opacity: 0; filter: blur(4px); }
.hero .h1 .figure {
  font: 400 italic 76px/1.0 var(--serif); letter-spacing: -0.015em;
  display: inline-block;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.hero .h1 .figure.swapping { opacity: 0; filter: blur(4px); }

.hero .lede {
  font: 400 18px/1.6 var(--sans);
  color: rgba(243,234,210,0.78);
  margin: 32px 0 0; max-width: 480px; min-height: 90px;
  transition: opacity 0.25s ease;
}
.hero .lede.swapping { opacity: 0; }

.hero .ctas {
  display: flex; gap: 18px; margin-top: 36px; align-items: center;
}
.hero .btn-primary-cta {
  background: var(--ivm-cream); color: var(--ivm-forest);
  padding: 14px 24px; border-radius: 4px;
  font: 600 13.5px/1 var(--sans);
  transition: background 0.15s ease;
}
.hero .btn-primary-cta:hover { background: #ede1bf; }
.hero .btn-link-gold {
  padding: 14px 8px; font: 500 13.5px/1 var(--sans);
  color: var(--ivm-gold);
  border-bottom: 1px solid var(--ivm-gold);
}

/* ---------- Photo column ---------- */
.hero .visual {
  position: relative;
  align-self: stretch;
  display: flex; align-items: stretch;
}
.hero .photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 680px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.hero .photo.swapping { opacity: 0; filter: blur(6px); }
.hero .photo .corner {
  position: absolute; top: 16px; right: 18px;
  font: 500 10px/1 var(--mono); letter-spacing: 0.14em;
  color: rgba(243,234,210,0.55); text-transform: uppercase; z-index: 2;
}
.hero .photo .tag {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  font: 400 11px/1.5 var(--mono); color: rgba(243,234,210,0.55);
  text-transform: uppercase; letter-spacing: 0.06em; z-index: 2;
}

/* Real default photo — only shown when no pillar is active.
   The pillar-specific states fall back to striped placeholders below
   until each has its own real photo. */
.hero .photo .photo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero .photo:not([data-pillar="default"]) .photo-img {
  display: none;
}

/* Production pillar shows its own photo (growth room aisle) instead of an
   interactive SVG viewer. Same object-fit/positioning as photo-img. */
.hero .photo .photo-production {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
}
.hero .photo[data-pillar="production"] .photo-production { display: block; }

/* The "data" pillar replaces the placeholder with an interactive
   read-only network plot (see static/js/network-viewer.js). The SVG is
   hidden until data-pillar="data" so d3 isn't loaded on page entry. */
.hero .photo .photo-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: none;
  background: var(--ivm-paper);
  cursor: grab;
}
.hero .photo .photo-svg:active { cursor: grabbing; }
.hero .photo[data-pillar="data"] .photo-svg { display: block; }
/* Hide the corner/tag overlays for the data pillar — the network plot
   speaks for itself, and the cream bg makes the cream-on-cream labels
   unreadable anyway. */
.hero .photo[data-pillar="data"] .corner,
.hero .photo[data-pillar="data"] .tag { display: none; }

/* The "experimentation" pillar replaces the placeholder with an
   interactive 3-factor rotatable CCD (see static/js/ccd-viewer.js).
   Hidden until activated so we don't pay rendering cost on entry. */
.hero .photo .photo-ccd {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: none;
  background: radial-gradient(circle at 50% 38%, #faf6e8 0%, #ede8d2 60%, #d8d2b8 100%);
  cursor: grab;
}
.hero .photo .photo-ccd.ccd-dragging { cursor: grabbing; }
.hero .photo[data-pillar="experimentation"] .photo-ccd { display: block; }
.hero .photo[data-pillar="experimentation"] .corner,
.hero .photo[data-pillar="experimentation"] .tag { display: none; }

/* CCD viewer — element styling. Class names are emitted by ccd-viewer.js. */
.hero .photo .photo-ccd .ccd-edge {
  stroke: var(--ivm-accent);
  stroke-width: 1.1;
  opacity: 0.65;
  fill: none;
}
.hero .photo .photo-ccd .ccd-edge--behind {
  opacity: 0.22;
  stroke-dasharray: 3 4;
}
.hero .photo .photo-ccd .ccd-axis {
  stroke: var(--ivm-gold);
  stroke-width: 1.1;
  opacity: 0.55;
}
.hero .photo .photo-ccd .ccd-axis--behind {
  opacity: 0.20;
  stroke-dasharray: 2 3;
}
.hero .photo .photo-ccd .ccd-axis-label {
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.02em;
  fill: var(--ivm-accent);
}
.hero .photo .photo-ccd .ccd-iso-shell {
  stroke: var(--ivm-gold);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 2 4;
  opacity: 0.18;
}
.hero .photo .photo-ccd .ccd-iso-shell--bright { opacity: 0.28; }
.hero .photo .photo-ccd .ccd-pt-factorial {
  fill: var(--ivm-accent);
  stroke: var(--ivm-forest);
  stroke-width: 1;
}
.hero .photo .photo-ccd .ccd-pt-axial {
  fill: var(--ivm-gold);
  stroke: #8a6a3b;
  stroke-width: 1;
}
.hero .photo .photo-ccd .ccd-pt-center-ring {
  fill: var(--ivm-cream);
  stroke: var(--ivm-accent);
  stroke-width: 1.5;
}
.hero .photo .photo-ccd .ccd-pt-center-dot {
  fill: var(--ivm-accent);
  stroke: none;
}

/* The "transfer" pillar replaces the placeholder with a tech-transfer
   diagram showing a scoped instance shipping from a Spoke (originator)
   to a Hub (partner lab) — see static/js/transfer-viewer.js. */
.hero .photo .photo-transfer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: none;
  background: radial-gradient(circle at 50% 40%, #faf6e8 0%, #ede8d2 60%, #d8d2b8 100%);
  cursor: default;
}
.hero .photo .photo-transfer.tv-dragging { cursor: grabbing; }
.hero .photo[data-pillar="transfer"] .photo-transfer { display: block; }
.hero .photo[data-pillar="transfer"] .corner,
.hero .photo[data-pillar="transfer"] .tag { display: none; }

.hero .photo .photo-transfer text {
  font-family: var(--sans);
}

/* Panels */
.hero .photo .photo-transfer .tv-panel {
  fill: var(--ivm-card);
  stroke: var(--ivm-rule);
  stroke-width: 1;
}
.hero .photo .photo-transfer .tv-panel--spoke { fill: var(--ivm-card-tint); }
.hero .photo .photo-transfer .tv-panel-title {
  font: 600 13px/1 var(--sans);
  fill: var(--ivm-accent);
  letter-spacing: 0.02em;
}
.hero .photo .photo-transfer .tv-panel-subtitle {
  font: 500 9px/1 var(--sans);
  fill: var(--ivm-ink-4);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* Divider line below each panel title */
.hero .photo .photo-transfer .tv-panel-divider {
  stroke: var(--ivm-rule);
  stroke-width: 0.6;
  opacity: 0.55;
}

/* IP boundary line between panels (horizontal in row layout) */
.hero .photo .photo-transfer .tv-boundary {
  stroke: var(--ivm-gold);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.35;
}

/* Hatch pattern fill for redacted Hub nodes */
.hero .photo .photo-transfer .tv-hatch-bg { fill: var(--ivm-paper-2); }
.hero .photo .photo-transfer .tv-hatch-stripe { stroke: var(--ivm-ink-4); stroke-width: 0.7; opacity: 0.5; }

/* Network nodes */
.hero .photo .photo-transfer .tv-node {
  fill: var(--ivm-accent);
  stroke: var(--ivm-forest-2);
  stroke-width: 0.8;
}
.hero .photo .photo-transfer .tv-node--proprietary {
  stroke: var(--ivm-gold);
  stroke-width: 1.3;
}
.hero .photo .photo-transfer .tv-node--redacted {
  fill: url(#tv-hatch);
  stroke: var(--ivm-rule);
  stroke-width: 0.8;
}
.hero .photo .photo-transfer .tv-node-label {
  font: 600 9px/1 var(--sans);
  fill: var(--ivm-cream);
  letter-spacing: 0.02em;
  pointer-events: none;
}
.hero .photo .photo-transfer .tv-node-prop-dot {
  fill: var(--ivm-gold);
  stroke: var(--ivm-forest-2);
  stroke-width: 0.3;
}
.hero .photo .photo-transfer .tv-lock {
  fill: var(--ivm-ink-3);
  stroke: var(--ivm-ink-3);
  stroke-width: 0.6;
}
.hero .photo .photo-transfer .tv-lock path { fill: none; }

/* Network edges */
.hero .photo .photo-transfer .tv-edge {
  stroke: var(--ivm-accent);
  stroke-width: 1.1;
  opacity: 0.65;
  fill: none;
}
.hero .photo .photo-transfer .tv-edge--redacted {
  stroke: var(--ivm-ink-4);
  opacity: 0.35;
  stroke-dasharray: 3 3;
}

/* Ship arrow (Spoke → Hub) */
.hero .photo .photo-transfer .tv-ship-line {
  stroke: var(--ivm-gold);
  stroke-width: 1.7;
  fill: none;
  transition: stroke-width 120ms ease;
}
.hero .photo .photo-transfer .tv-ship-line--active { stroke-width: 2.5; }
.hero .photo .photo-transfer .tv-ship-label {
  font: 500 9px/1 var(--mono);
  fill: var(--ivm-gold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.hero .photo .photo-transfer .tv-ship-head { fill: var(--ivm-gold); }

/* Data return arrow (Hub → Spoke) */
.hero .photo .photo-transfer .tv-data-line {
  stroke: var(--ivm-cool);
  stroke-width: 1.0;
  stroke-dasharray: 4 3;
  fill: none;
  opacity: 0.6;
}
.hero .photo .photo-transfer .tv-data-head { fill: var(--ivm-cool); }
.hero .photo .photo-transfer .tv-data-label {
  font: 500 9px/1 var(--mono);
  fill: var(--ivm-cool);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* Scope dial — circular, draggable vertically along the ship arrow */
.hero .photo .photo-transfer .tv-dial {
  fill: var(--ivm-cream);
  stroke: var(--ivm-accent);
  stroke-width: 1.4;
  cursor: grab;
  transition: stroke-width 120ms ease;
}
.hero .photo .photo-transfer .tv-dial--hover { stroke-width: 2.0; }
.hero .photo .photo-transfer .tv-dial--dragging {
  stroke-width: 2.4;
  cursor: grabbing;
}
.hero .photo .photo-transfer .tv-dial-text {
  font: 600 9px/1 var(--mono);
  fill: var(--ivm-accent);
  letter-spacing: 0.02em;
  pointer-events: none;
}
.hero .photo .photo-transfer .tv-dial-side-label {
  font: 500 8px/1 var(--mono);
  fill: var(--ivm-ink-4);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Shipped expertise particles — gold dots traveling Spoke → Hub */
.hero .photo .photo-transfer .tv-particle {
  fill: var(--ivm-gold);
  stroke: var(--ivm-forest-2);
  stroke-width: 0.4;
}
.hero .photo .photo-transfer .tv-particle-trail {
  stroke: var(--ivm-gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.35;
}

/* Arrival pulse — expanding gold ring on the destination Hub node */
.hero .photo .photo-transfer .tv-arrival-pulse {
  fill: none;
  stroke: var(--ivm-gold);
  stroke-width: 1.4;
  pointer-events: none;
}

/* Royalty pill — ticks up while the pillar is visible */
.hero .photo .photo-transfer .tv-royalty-pill {
  fill: var(--ivm-cream);
  stroke: var(--ivm-gold);
  stroke-width: 1.0;
}
.hero .photo .photo-transfer .tv-royalty-text {
  font: 600 11px/1 var(--mono);
  fill: var(--ivm-accent);
  font-variant-numeric: tabular-nums;
}

/* Flywheel reveal — Hub graduates to its own Spoke after ~12s */
.hero .photo .photo-transfer .tv-flywheel {
  animation: tv-fade-in 700ms ease-out;
}
@keyframes tv-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero .photo .photo-transfer .tv-flywheel-line {
  stroke: var(--ivm-ink-4);
  stroke-width: 1.0;
  stroke-dasharray: 2 2;
  fill: none;
  opacity: 0.55;
}
.hero .photo .photo-transfer .tv-flywheel-mini {
  fill: var(--ivm-card);
  stroke: var(--ivm-gold);
  stroke-width: 1.0;
}
.hero .photo .photo-transfer .tv-flywheel-label {
  font: 600 10px/1 var(--sans);
  fill: var(--ivm-accent);
  letter-spacing: 0.02em;
}
.hero .photo .photo-transfer .tv-graduate-tag {
  font: italic 500 10px/1 var(--sans);
  fill: var(--ivm-gold);
  letter-spacing: 0.02em;
}

/* The "bespoke" pillar replaces the placeholder with an auto-morphing
   dashboard wireframe (see static/js/bespoke-viewer.js). The shell
   stays still; the textual content cross-fades through three plant-
   production operations to show "same platform, your operation." */
.hero .photo .photo-bespoke {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: none;
  background: radial-gradient(circle at 50% 40%, #faf6e8 0%, #ede8d2 60%, #d8d2b8 100%);
}
.hero .photo[data-pillar="bespoke"] .photo-bespoke { display: block; }
.hero .photo[data-pillar="bespoke"] .corner,
.hero .photo[data-pillar="bespoke"] .tag { display: none; }

.hero .photo .photo-bespoke text { font-family: var(--sans); }

.hero .photo .photo-bespoke .bv-card {
  fill: var(--ivm-card);
  stroke: var(--ivm-rule);
  stroke-width: 1;
}
.hero .photo .photo-bespoke .bv-topbar { fill: var(--ivm-forest); }
.hero .photo .photo-bespoke .bv-dot { fill: rgba(243, 234, 210, 0.45); }
.hero .photo .photo-bespoke .bv-rail {
  fill: var(--ivm-card-tint);
  stroke: var(--ivm-rule);
  stroke-width: 1;
}
.hero .photo .photo-bespoke .bv-content-bg {
  fill: var(--ivm-card);
}
.hero .photo .photo-bespoke .bv-nav-icon {
  fill: none;
  stroke: var(--ivm-accent);
  stroke-width: 1;
  opacity: 0.55;
}
.hero .photo .photo-bespoke .bv-rule {
  stroke: var(--ivm-rule);
  stroke-width: 1;
}
.hero .photo .photo-bespoke .bv-rule--soft { opacity: 0.45; }

/* Layers that morph between operations — CSS handles the cross-fade. */
.hero .photo .photo-bespoke .bv-layer {
  transition: opacity 600ms ease-in-out;
}

.hero .photo .photo-bespoke .bv-brand {
  font: 600 11px/1 var(--mono);
  fill: var(--ivm-cream);
  letter-spacing: 0.04em;
}
.hero .photo .photo-bespoke .bv-nav-label {
  font: 500 11.5px/1 var(--sans);
  fill: var(--ivm-forest);
  letter-spacing: -0.005em;
}
.hero .photo .photo-bespoke .bv-section-label {
  font: 700 15px/1 var(--sans);
  fill: var(--ivm-forest);
  letter-spacing: -0.012em;
}
.hero .photo .photo-bespoke .bv-col-header {
  font: 600 9.5px/1 var(--mono);
  fill: var(--ivm-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .photo .photo-bespoke .bv-row-cell {
  font: 500 12.5px/1 var(--sans);
  fill: var(--ivm-forest);
}
.hero .photo .photo-bespoke .bv-row-cell--strong { font-weight: 600; }
.hero .photo .photo-bespoke .bv-row-cell--muted {
  fill: var(--ivm-accent);
  opacity: 0.85;
}
.hero .photo .photo-bespoke .bv-row-cell--mono {
  font-family: var(--mono);
  font-weight: 500;
}

/* Gold-accented custom-extension panel — only appears in operations
   that have customizations layered onto the base platform. */
.hero .photo .photo-bespoke .bv-custom-panel {
  fill: rgba(200, 162, 91, 0.08);
  stroke: var(--ivm-gold);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.hero .photo .photo-bespoke .bv-custom-label {
  font: 700 9.5px/1 var(--mono);
  fill: var(--ivm-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .photo .photo-bespoke .bv-custom-value {
  font: 600 13px/1 var(--sans);
  fill: var(--ivm-forest);
}

/* SVG label typography for the network viewer. */
.hero .photo .photo-svg .nv-stage-label {
  font: 600 12px/1 var(--sans);
  letter-spacing: -0.005em;
}
.hero .photo .photo-svg .nv-stage-meta {
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero .photo .photo-svg .nv-edge-rate {
  font: 500 10px/1 var(--mono);
  font-weight: 600;
}
.hero .photo .photo-svg .nv-stage-node { cursor: grab; }
.hero .photo .photo-svg .nv-stage-node.nv-dragging { cursor: grabbing; }
.hero .photo .photo-svg .nv-stage-node:hover rect {
  filter: brightness(1.1);
  stroke-width: 3;
}
.hero .photo .photo-svg .nv-edge:hover path[stroke]:not([stroke="transparent"]) {
  stroke-width: 3;
  opacity: 1;
}

/* Tooltip — HTML element, lives in the .photo container next to the SVG. */
.hero .photo .network-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--ivm-forest);
  color: var(--ivm-cream);
  border: 1px solid var(--ivm-rule);
  border-left: 2px solid var(--ivm-gold);
  border-radius: 3px;
  padding: 10px 14px;
  font: 400 12px/1.45 var(--sans);
  max-width: 240px;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
}
.hero .photo .network-tooltip.visible { opacity: 1; visibility: visible; }
.hero .photo .network-tooltip strong {
  display: block; margin-bottom: 6px;
  font: 600 13px/1.3 var(--sans); color: var(--ivm-cream);
  letter-spacing: -0.005em;
}
.hero .photo .network-tooltip .nv-meta {
  display: block;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.04em;
  color: rgba(243,234,210,0.75);
  margin-top: 3px;
}

/* Per-pillar photo placeholders — until real photography lands.
   Each pillar gets a different stripe + tone so the swap reads visually. */
.hero .photo[data-pillar="data"] {
  background:
    repeating-linear-gradient(135deg, #2a3a2f 0 12px, rgba(0,0,0,0.18) 12px 13px),
    linear-gradient(135deg, #4a5e4f 0%, #1a2a1f 100%);
}
.hero .photo[data-pillar="experimentation"] {
  background:
    repeating-linear-gradient(45deg, #3a3023 0 14px, rgba(0,0,0,0.18) 14px 15px),
    linear-gradient(135deg, #6a5a3d 0%, #2a2118 100%);
}
.hero .photo[data-pillar="bespoke"] {
  background:
    repeating-linear-gradient(90deg, #2a3540 0 12px, rgba(0,0,0,0.20) 12px 13px),
    linear-gradient(135deg, #4a5e72 0%, #1c2630 100%);
}
.hero .photo[data-pillar="transfer"] {
  background:
    repeating-linear-gradient(0deg, #3a2a3a 0 14px, rgba(0,0,0,0.20) 14px 15px),
    linear-gradient(135deg, #5e4a6a 0%, #221830 100%);
}

/* ---------- Values band ---------- */
.values {
  background: var(--ivm-paper);
  border-top: 1px solid var(--ivm-rule);
  border-bottom: 1px solid var(--ivm-rule);
  padding: 64px 0;
}
.values-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: 240px 1fr; gap: 64px;
  align-items: start;
}
.values-head { position: sticky; top: 24px; }
.values-head .kicker {
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em;
  color: var(--ivm-accent); text-transform: uppercase; margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 12px;
}
.values-head .kicker .rule { width: 28px; height: 1px; background: var(--ivm-accent); }
.values-head h2 {
  font: 400 italic 44px/1.05 var(--serif); letter-spacing: -0.02em;
  color: var(--ivm-ink); margin: 0 0 16px;
}
.values-head p {
  font: 400 14px/1.55 var(--sans); color: var(--ivm-ink-3);
  margin: 0; max-width: 220px;
}

.values-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--ivm-rule);
  border-left: 1px solid var(--ivm-rule);
}
.value {
  padding: 32px 28px;
  border-right: 1px solid var(--ivm-rule);
  border-bottom: 1px solid var(--ivm-rule);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 200px;
  position: relative;
  background: var(--ivm-paper);
}
.value .vnum {
  font: 400 italic 56px/0.9 var(--serif);
  color: var(--ivm-gold);
  letter-spacing: -0.02em;
}
.value .vttl {
  font: 600 18px/1.3 var(--sans); letter-spacing: -0.01em;
  color: var(--ivm-ink);
}
.value .vdesc {
  font: 400 14px/1.55 var(--sans); color: var(--ivm-ink-3);
  font-style: italic; opacity: 0.65;
}
.value .vplaceholder {
  position: absolute; top: 14px; right: 16px;
  font: 500 9px/1 var(--mono); letter-spacing: 0.14em;
  color: var(--ivm-gold); text-transform: uppercase; opacity: 0.7;
}

/* ---------- Photo segue band ---------- */
.segue {
  width: 100%; max-width: 1320px; margin: 0 auto;
  height: 480px; position: relative; overflow: hidden;
  background: #1a1a18;
}
.segue img { width: 100%; height: 100%; object-fit: cover; display: block; }
.segue.placeholder {
  background:
    repeating-linear-gradient(135deg, #1f3328 0 18px, #1a2a20 18px 19px),
    linear-gradient(135deg, #2a4030 0%, #0f1c14 100%);
}
.segue .seg-caption {
  position: absolute; left: 32px; bottom: 24px;
  font: 400 11px/1.5 var(--mono); color: rgba(243,234,210,0.55);
  letter-spacing: 0.06em; text-transform: uppercase; z-index: 2;
}
.segue .seg-spec {
  position: absolute; right: 32px; bottom: 24px;
  font: 500 10px/1 var(--mono); color: rgba(243,234,210,0.4);
  letter-spacing: 0.14em; text-transform: uppercase; z-index: 2;
}
.segue .seg-center {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(243,234,210,0.35);
  font: 500 11px/1.6 var(--mono); letter-spacing: 0.16em;
  text-transform: uppercase; text-align: center;
}
.segue .seg-center .big {
  font: 400 italic 32px/1 var(--serif);
  color: rgba(243,234,210,0.55); letter-spacing: -0.01em;
  text-transform: none; display: block; margin-bottom: 12px;
}

/* ---------- Capabilities (annotated screenshot) ---------- */
.caps {
  padding: 96px 0 120px;
  background: var(--ivm-paper-2);
  border-top: 1px solid var(--ivm-rule);
}
.caps-inner { max-width: 1280px; margin: 0 auto; padding: 0 56px; }

.caps-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-bottom: 64px; align-items: end;
}
.caps-head .left .kicker {
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em;
  color: var(--ivm-accent); text-transform: uppercase; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.caps-head .left .kicker .rule { width: 28px; height: 1px; background: var(--ivm-accent); }
.caps-head h2 {
  font: 600 56px/1.0 var(--sans); letter-spacing: -0.025em;
  color: var(--ivm-ink); margin: 0; max-width: 480px;
}
.caps-head h2 em {
  font: 400 italic 56px/1.0 var(--serif);
  letter-spacing: -0.015em; color: var(--ivm-ink);
}
.caps-head .right p {
  font: 400 17px/1.55 var(--sans); color: var(--ivm-ink-2);
  margin: 0; max-width: 440px;
}

.stage {
  position: relative;
  padding: 60px 220px 60px 60px;
  display: grid; grid-template-columns: 200px 1fr;
  gap: 48px; align-items: start;
}

/* ---------- Capabilities mini-rail (green-accent variant of hero rail) ---------- */
.caps-rail {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--ivm-rule);
}
.caps-rail-head {
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em;
  color: var(--ivm-accent); text-transform: uppercase;
  padding: 0 0 22px 18px;
}
.caps-rail-item {
  position: relative; padding: 18px 16px 18px 18px;
  border-top: 1px solid var(--ivm-rule);
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex; flex-direction: column; gap: 4px;
  color: inherit;
}
.caps-rail-item:last-child { border-bottom: 1px solid var(--ivm-rule); }
.caps-rail-item:hover { background: rgba(31, 92, 61, 0.04); }
.caps-rail-item .num {
  font: 500 10px/1 var(--mono); letter-spacing: 0.16em;
  color: var(--ivm-ink-3); text-transform: uppercase;
}
.caps-rail-item .ttl {
  font: 500 14px/1.3 var(--sans); color: var(--ivm-ink-2);
  letter-spacing: -0.005em;
}
.caps-rail-item.active { background: rgba(31, 92, 61, 0.06); }
.caps-rail-item.active::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0;
  width: 2px; background: var(--ivm-accent);
}
.caps-rail-item.active .num { color: var(--ivm-accent); }
.caps-rail-item.active .ttl { color: var(--ivm-ink); font-weight: 600; }
.caps-rail-item .arrow {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  font: 500 14px/1 var(--sans);
  color: var(--ivm-ink-4); opacity: 0;
  transition: opacity 0.15s ease;
}
.caps-rail-item:hover .arrow,
.caps-rail-item.active .arrow {
  opacity: 1; color: var(--ivm-accent);
}

/* Stage right wraps the screenshot so annotations have padding around it */
.stage-right { position: relative; padding: 20px 0; min-height: 480px; }

.screenshot {
  position: relative; background: #fff; border-radius: 6px;
  box-shadow: 0 40px 80px -40px rgba(15,42,28,0.30), 0 0 0 1px var(--ivm-rule);
  overflow: hidden; min-height: 560px; max-width: 580px; margin: 0 auto;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.screenshot.swapping { opacity: 0; filter: blur(6px); }
.ss-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--ivm-paper-2); border-bottom: 1px solid var(--ivm-rule);
  height: 36px;
}
.ss-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d8d4cb; }
.ss-body { display: grid; grid-template-columns: 160px 1fr; height: calc(100% - 36px); }

/* Screenshot mode — when a view supplies a real screenshot image. The
   fake sidebar + grid go away; the .screenshot container shrinks to
   the image's natural rendered height. */
.screenshot:has(.ss-body--shot) { min-height: 0; }
.ss-body--shot {
  display: block;
  height: auto;
}
.ss-screenshot {
  display: block;
  width: 100%;
  height: auto;
  background: var(--ivm-card);
}

/* Legacy mock cell styles (.ss-side / .ss-main / .ss-h / .ss-kpis /
   .ss-chart / .ss-table) were removed when every capabilities view
   became screenshot-backed. See git history if you need them back. */

/* Annotation pins + cards */
.ann-pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ivm-gold); border: 2px solid var(--ivm-paper-2); z-index: 3;
  box-shadow: 0 0 0 2px var(--ivm-gold), 0 4px 8px rgba(0,0,0,0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.ann-line {
  position: absolute; height: 1px; background: var(--ivm-gold);
  transform-origin: left center; z-index: 2; opacity: 0.7;
}
.ann {
  position: absolute; max-width: 200px; z-index: 4;
  font: 400 12px/1.45 var(--sans); color: var(--ivm-ink-2);
}
.ann .num {
  font: 500 9px/1 var(--mono); letter-spacing: 0.14em;
  color: var(--ivm-gold); text-transform: uppercase;
  display: block; margin-bottom: 6px;
}
.ann .ttl {
  font: 600 13px/1.2 var(--sans); color: var(--ivm-ink);
  letter-spacing: -0.005em; display: block; margin-bottom: 4px;
}

/* ---------- Closer (forest band that bookends the hero) ---------- */
.closer {
  background: var(--ivm-forest); color: var(--ivm-cream);
  position: relative; overflow: hidden;
  padding: 140px 0 96px;
}
.closer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(200,162,91,0.10), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(31,92,61,0.45), transparent 60%);
}
.closer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  position: relative; z-index: 2;
}
.closer-eyebrow {
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em;
  color: var(--ivm-gold); text-transform: uppercase; margin-bottom: 36px;
  display: inline-flex; align-items: center; gap: 12px;
}
.closer-eyebrow .rule { width: 28px; height: 1px; background: var(--ivm-gold); }
.closer h2 {
  font: 600 92px/1.0 var(--sans); letter-spacing: -0.035em;
  margin: 0; color: var(--ivm-cream); max-width: 1100px;
}
.closer h2 .it {
  font: 400 italic 92px/1.0 var(--serif);
  letter-spacing: -0.02em; color: var(--ivm-gold);
}
.closer .sub {
  font: 400 18px/1.6 var(--sans); color: rgba(243,234,210,0.72);
  max-width: 520px; margin: 32px 0 64px;
}
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  border-top: 1px solid rgba(243,234,210,0.18); padding-top: 48px;
}
.contact-col h3 {
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em;
  color: var(--ivm-gold); text-transform: uppercase; margin: 0 0 24px;
}
.contact-line {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 28px;
}
.contact-line .label {
  font: 500 10px/1 var(--mono); letter-spacing: 0.14em;
  color: rgba(243,234,210,0.45); text-transform: uppercase;
}
.contact-line .val {
  font: 500 22px/1.3 var(--sans); color: var(--ivm-cream);
  letter-spacing: -0.01em;
}
.contact-line a.val:hover { color: var(--ivm-gold); }
.contact-line .val.serif {
  font: 400 italic 26px/1.3 var(--serif); letter-spacing: -0.01em;
}
.availability {
  font: 400 14px/1.55 var(--sans); color: rgba(243,234,210,0.72);
  max-width: 380px; margin: 0;
}
.availability .dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--ivm-gold); margin-right: 10px;
  transform: translateY(-1px);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- Site footer (slim forest-2 strip) ---------- */
.foot {
  background: var(--ivm-forest-2); color: rgba(243,234,210,0.55);
  padding: 32px 0; border-top: 1px solid rgba(243,234,210,0.10);
}
.foot-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.foot-brand {
  display: flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--sans); color: var(--ivm-cream);
  letter-spacing: -0.005em;
}
.foot-brand .mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ivm-cream); color: var(--ivm-forest);
  display: grid; place-items: center;
  font: 600 10px/1 var(--mono); letter-spacing: -0.02em;
}
.foot-meta {
  font: 400 12px/1.5 var(--mono); color: rgba(243,234,210,0.4);
  letter-spacing: 0.04em;
}
.foot-links {
  display: flex; gap: 28px; font: 500 12px/1 var(--sans);
  color: rgba(243,234,210,0.55);
}
.foot-links a:hover { color: var(--ivm-cream); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .stage { padding: 40px 24px; gap: 24px; }
  .ann, .ann-pin, .ann-line { display: none; }
}
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 180px 1fr 1fr; gap: 32px; }
  .hero .h1, .hero .h1 .figure { font-size: 60px; }
  .caps-head h2, .caps-head h2 em { font-size: 42px; }
  .closer h2, .closer h2 .it { font-size: 64px; }
}
@media (max-width: 1024px) {
  .landing-nav { padding: 20px 24px; flex-wrap: wrap; gap: 16px; }
  .landing-nav .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 0 24px; gap: 32px; }
  .hero .rail {
    border-left: none;
    border-top: 1px solid rgba(243,234,210,0.18);
  }
  .hero .h1, .hero .h1 .figure { font-size: 44px; }
  .hero { padding: 100px 0 64px; }

  .values-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
  .values-head { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .values-head h2 { font-size: 34px; }

  .segue { height: 300px; }
  .caps-head { grid-template-columns: 1fr; gap: 24px; }
  .caps-head h2, .caps-head h2 em { font-size: 34px; }
  .stage { grid-template-columns: 1fr; padding: 24px 16px; gap: 24px; }
  .caps-rail { border-left: none; border-top: 1px solid var(--ivm-rule); }

  .closer { padding: 96px 0 72px; }
  .closer h2, .closer h2 .it { font-size: 44px; }
  .contact { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 0 24px; }
}

/* ============================================================
   Pillar deep-dive pages (.pillar-page)
   Lives in the same design language as the landing page: forest
   hero, cream sections, gold rules, Inter Tight + Fraunces italic
   moments. Reuses .landing-nav, .closer, .foot from the landing
   page; the layout below is pillar-page specific.
   ============================================================ */

/* Pillar hero — like the landing hero but text-only (no rail, no
   photo), and centered. */
.pillar-page .pillar-hero {
  background: var(--ivm-forest);
  color: var(--ivm-cream);
  position: relative; overflow: hidden;
  padding: 120px 0 120px;
}
.pillar-page .pillar-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 88% 0%, rgba(200,162,91,0.10), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(31,92,61,0.45), transparent 60%);
}
.pillar-page .pillar-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  align-items: center;
}
.pillar-page .pillar-hero-text {
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 640px;
}

/* Hero-side photo column. 4:5 portrait, mirrors the landing hero's
   .photo container — replace placeholder markup with <img> when a real
   image is available. */
.pillar-page .pillar-hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.pillar-page .pillar-hero-photo .hp-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pillar-page .pillar-hero-photo.placeholder {
  background:
    repeating-linear-gradient(135deg, #2a3a2f 0 12px, rgba(0,0,0,0.18) 12px 13px),
    linear-gradient(135deg, #4a5e4f 0%, #1a2a1f 100%);
}
.pillar-page .pillar-hero-photo .hp-corner {
  position: absolute; top: 16px; right: 18px;
  font: 500 10px/1 var(--mono); letter-spacing: 0.14em;
  color: rgba(243,234,210,0.55); text-transform: uppercase; z-index: 2;
}
.pillar-page .pillar-hero-photo .hp-tag {
  position: absolute; bottom: 22px; left: 22px; right: 80px;
  font: 400 11px/1.5 var(--mono); color: rgba(243,234,210,0.55);
  text-transform: uppercase; letter-spacing: 0.06em; z-index: 2;
}
.pillar-page .pillar-hero-photo .hp-spec {
  position: absolute; bottom: 22px; right: 22px;
  font: 500 10px/1 var(--mono); color: rgba(243,234,210,0.4);
  letter-spacing: 0.14em; text-transform: uppercase; z-index: 2;
}

/* Ternary mixture-plot hero figure (experimentation pillar).
   The SVG is rendered by static/js/ternary-viewer.js. */
.pillar-page .pillar-hero-photo.figure-ternary {
  background: radial-gradient(circle at 50% 38%, #faf6e8 0%, #ede8d2 60%, #d8d2b8 100%);
}
.pillar-page .pillar-hero-photo.figure-ternary .hp-corner,
.pillar-page .pillar-hero-photo.figure-ternary .hp-tag {
  color: rgba(20, 40, 25, 0.55);
}
.pillar-page .pillar-hero-photo .hp-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* Heatmap cells are styled per-element via inline fill (color-mix into
   --ivm-gold). Stroke/grid/axis/optimum classes live here. */
.pillar-page .pillar-hero-photo .hp-svg .tv-grid {
  stroke: rgba(20, 40, 25, 0.10);
  stroke-width: 0.6;
  fill: none;
}
.pillar-page .pillar-hero-photo .hp-svg .tv-outline {
  stroke: var(--ivm-forest);
  stroke-width: 1.4;
  fill: none;
}
.pillar-page .pillar-hero-photo .hp-svg .tv-axis-label {
  font: 600 22px/1 var(--sans);
  fill: var(--ivm-forest);
  letter-spacing: -0.01em;
}
.pillar-page .pillar-hero-photo .hp-svg .tv-opt-ring {
  fill: rgba(255, 255, 255, 0.75);
  stroke: var(--ivm-forest);
  stroke-width: 1.4;
}
.pillar-page .pillar-hero-photo .hp-svg .tv-opt-dot {
  fill: var(--ivm-forest);
  stroke: none;
}
.pillar-page .pillar-hero-photo .hp-svg .tv-opt-leader {
  stroke: var(--ivm-forest);
  stroke-width: 1;
  fill: none;
}
.pillar-page .pillar-hero-photo .hp-svg .tv-opt-kicker {
  font: 700 10.5px/1 var(--mono);
  fill: var(--ivm-forest);
  letter-spacing: 0.14em;
}
.pillar-page .pillar-hero-photo .hp-svg .tv-opt-coords {
  font: 600 14px/1 var(--sans);
  fill: var(--ivm-forest);
  letter-spacing: 0.01em;
}

/* Flywheel hero figure (thesis pillar). SVG rendered by
   static/js/flywheel-viewer.js. */
.pillar-page .pillar-hero-photo.figure-flywheel {
  background: radial-gradient(circle at 50% 38%, #faf6e8 0%, #ede8d2 60%, #d8d2b8 100%);
}
.pillar-page .pillar-hero-photo.figure-flywheel .hp-corner,
.pillar-page .pillar-hero-photo.figure-flywheel .hp-tag {
  color: rgba(20, 40, 25, 0.55);
}

.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-ring {
  fill: none;
  stroke: var(--ivm-gold);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  opacity: 0.55;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-ring--inner {
  opacity: 0.22;
  stroke-width: 1;
  stroke-dasharray: 2 5;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-rotating-dot {
  fill: var(--ivm-gold);
  opacity: 0.75;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-edge {
  stroke: var(--ivm-forest);
  stroke-width: 1;
  opacity: 0.32;
  fill: none;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-edge--major {
  stroke-width: 1.6;
  opacity: 0.55;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-hub {
  fill: var(--ivm-forest);
  stroke: var(--ivm-gold);
  stroke-width: 1.4;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-hub-pulse {
  fill: none;
  stroke: var(--ivm-gold);
  stroke-width: 2;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-spoke {
  fill: var(--ivm-card-tint);
  stroke: var(--ivm-forest);
  stroke-width: 1;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-spoke--major {
  stroke-width: 1.4;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-hub-label {
  font: 700 12px/1 var(--sans);
  fill: var(--ivm-cream);
  letter-spacing: 0.01em;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-percent {
  font: 600 10px/1 var(--mono);
  fill: var(--ivm-forest);
  letter-spacing: 0.02em;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-percent--major {
  font-size: 12px;
  font-weight: 700;
}
.pillar-page .pillar-hero-photo .hp-svg.flywheel-svg .fw-particle {
  fill: var(--ivm-gold);
}

/* Segue band — reuses the landing's .segue rules; this wrapper gives it
   air above/below since pillar pages don't have surrounding sections
   tightly stacked the way the landing does. */
.pillar-page .pillar-segue {
  margin: 64px auto;
}

/* Real-photo segue: base + optional crossfade overlay (computer-vision
   reveal etc.) The base image is always visible; the top image fades
   in over it on an 8-second cycle. */
.pillar-page .pillar-segue .seg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pillar-page .pillar-segue--cf .seg-img--top {
  animation: pillar-segue-cf 8s ease-in-out infinite;
}
@keyframes pillar-segue-cf {
  0%, 22%   { opacity: 0; }
  38%, 72%  { opacity: 1; }
  88%, 100% { opacity: 0; }
}
.pillar-page .pillar-h1 {
  font: 600 64px/1.05 var(--sans);
  letter-spacing: -0.025em;
  color: var(--ivm-cream);
  margin: 24px 0 0;
}
.pillar-page .pillar-h1 em {
  font: 400 italic 64px/1.05 var(--serif);
  letter-spacing: -0.012em;
  font-style: italic;
}
.pillar-page .pillar-lede {
  font: 400 19px/1.6 var(--sans);
  color: rgba(243,234,210,0.82);
  margin: 28px 0 0; max-width: 640px;
}
.pillar-page .pillar-hero .ctas {
  display: flex; gap: 18px; margin-top: 36px; align-items: center;
}

/* Approach / People — paper-tone band with centered-left content. */
.pillar-page .pillar-approach,
.pillar-page .pillar-people {
  background: var(--ivm-paper);
  padding: 96px 0;
  border-bottom: 1px solid var(--ivm-rule);
}
.pillar-page .pillar-people {
  background: var(--ivm-paper-2);
}
.pillar-page .pillar-approach-inner,
.pillar-page .pillar-people-inner {
  max-width: 880px; margin: 0 auto; padding: 0 56px;
}
.pillar-page .pillar-approach .kicker,
.pillar-page .pillar-people .kicker,
.pillar-page .pillar-examples .kicker {
  font: 500 11px/1 var(--mono); letter-spacing: 0.18em;
  color: var(--ivm-gold); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
}
.pillar-page .pillar-approach .kicker .rule,
.pillar-page .pillar-people .kicker .rule,
.pillar-page .pillar-examples .kicker .rule {
  width: 28px; height: 1px; background: var(--ivm-gold);
}
.pillar-page .pillar-approach h2,
.pillar-page .pillar-people h2 {
  font: 600 44px/1.1 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ivm-ink);
  margin: 18px 0 28px;
}
.pillar-page .pillar-approach h2 em,
.pillar-page .pillar-people h2 em {
  font: 400 italic 44px/1.1 var(--serif);
  letter-spacing: -0.005em;
  color: var(--ivm-ink);
}
.pillar-page .pillar-approach p,
.pillar-page .pillar-people p {
  font: 400 17px/1.65 var(--sans);
  color: var(--ivm-ink-2);
  margin: 0; max-width: 720px;
}

/* Examples — kicker + heading + 2-col editorial grid (3 rows × 2 cols). */
.pillar-page .pillar-examples {
  background: var(--ivm-paper);
  padding: 96px 0;
}
.pillar-page .pillar-examples-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 56px;
}
.pillar-page .pillar-examples-head {
  margin-bottom: 56px;
}
.pillar-page .pillar-examples-head h2 {
  font: 600 44px/1.1 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ivm-ink);
  margin: 18px 0 0;
}
.pillar-page .pillar-examples-head h2 em {
  font: 400 italic 44px/1.1 var(--serif);
  letter-spacing: -0.005em;
}
.pillar-page .pillar-examples-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--ivm-rule);
  border-left: 1px solid var(--ivm-rule);
}
.pillar-page .pillar-example {
  padding: 36px 32px;
  border-right: 1px solid var(--ivm-rule);
  border-bottom: 1px solid var(--ivm-rule);
  display: flex; flex-direction: column; gap: 14px;
  background: var(--ivm-card);
}
.pillar-page .pillar-example .ex-num {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--ivm-gold);
  text-transform: uppercase;
}
.pillar-page .pillar-example .ex-ttl {
  font: 600 22px/1.2 var(--sans);
  letter-spacing: -0.012em;
  color: var(--ivm-ink);
}
.pillar-page .pillar-example .ex-desc {
  font: 400 15.5px/1.6 var(--sans);
  color: var(--ivm-ink-3);
}

/* Mobile — collapse to single column, tighten typography. */
@media (max-width: 900px) {
  .pillar-page .pillar-hero { padding: 88px 0 72px; }
  .pillar-page .pillar-hero-inner {
    padding: 0 24px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pillar-page .pillar-hero-photo { max-height: 480px; }
  .pillar-page .pillar-segue { margin: 40px auto; }
  .pillar-page .pillar-h1,
  .pillar-page .pillar-h1 em { font-size: 40px; }
  .pillar-page .pillar-lede { font-size: 17px; }
  .pillar-page .pillar-approach,
  .pillar-page .pillar-examples,
  .pillar-page .pillar-people { padding: 64px 0; }
  .pillar-page .pillar-approach-inner,
  .pillar-page .pillar-people-inner,
  .pillar-page .pillar-examples-inner { padding: 0 24px; }
  .pillar-page .pillar-approach h2,
  .pillar-page .pillar-people h2,
  .pillar-page .pillar-examples-head h2,
  .pillar-page .pillar-approach h2 em,
  .pillar-page .pillar-people h2 em,
  .pillar-page .pillar-examples-head h2 em { font-size: 30px; }
  .pillar-page .pillar-examples-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Cookie consent banner — shown on first visit only, fixed to
   bottom-right of the viewport. Used on landing + pillar pages
   where GA loads. See templates/main/_cookie_banner.html.
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1000;
  max-width: 420px;
  background: var(--ivm-card);
  color: var(--ivm-ink);
  border: 1px solid var(--ivm-rule);
  border-left: 3px solid var(--ivm-accent);
  border-radius: 6px;
  box-shadow: 0 20px 40px -20px rgba(15,42,28,0.30), 0 0 0 1px var(--ivm-rule);
  font-family: var(--sans);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.cookie-banner-text {
  margin: 0;
  font: 400 13.5px/1.55 var(--sans);
  color: var(--ivm-ink-2);
}
.cookie-banner-text a {
  color: var(--ivm-accent);
  border-bottom: 1px solid var(--ivm-accent);
}
.cookie-banner-text a:hover { color: var(--ivm-forest-2); }
.cookie-banner-actions {
  display: flex; gap: 10px; justify-content: flex-end;
}
.cookie-btn {
  font: 600 13px/1 var(--sans);
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.12s ease, color 0.12s ease;
}
.cookie-btn--accept {
  background: var(--ivm-accent);
  color: var(--ivm-cream);
}
.cookie-btn--accept:hover { background: var(--ivm-forest-2); }
.cookie-btn--decline {
  background: transparent;
  color: var(--ivm-ink-3);
  border-color: var(--ivm-rule);
}
.cookie-btn--decline:hover {
  color: var(--ivm-ink);
  background: var(--ivm-paper-2);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 0; right: 0; left: 0;
    max-width: none;
    border-radius: 0;
    border-left: none;
    border-top: 3px solid var(--ivm-accent);
  }
}

/* ============================================================
   PILLAR TOUR — numbered step rail + screenshot + annotations
   Used only when a pillar dict has a `tour` key (currently
   production-management). Scoped to .pillar-tour to avoid
   colliding with the landing's own capabilities tour.
   ============================================================ */
.pillar-tour {
  background: var(--ivm-paper-2, #f4f2ec);
  padding: 80px 24px;
  border-top: 1px solid var(--ivm-rule, #e6e4dc);
  border-bottom: 1px solid var(--ivm-rule, #e6e4dc);
}
.pillar-tour-inner { max-width: 1280px; margin: 0 auto; }
.pillar-tour-head { max-width: 720px; margin-bottom: 48px; }
.pillar-tour-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 8px 0 16px;
}
.pillar-tour-head p {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 1.0625rem;
  color: var(--ivm-ink-3, #5a605c);
  margin: 0;
}
.pillar-tour-stage {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .pillar-tour-stage { grid-template-columns: 1fr; }
  .pillar-tour-rail { position: static !important; }
}
.pillar-tour-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 24px;
}
.pillar-tour-rail .tour-rail-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivm-ink-4, #8a8f8b);
  margin-bottom: 16px;
  line-height: 1.4;
}
.tour-rail-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--ivm-rule, #e6e4dc);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
}
.tour-rail-item:hover { border-left-color: var(--ivm-gold, #c8a25b); }
.tour-rail-item.active { border-left-color: var(--ivm-ink, #0e1410); }
.tour-rail-item .tnum {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ivm-gold, #c8a25b);
  margin-bottom: 4px;
}
.tour-rail-item .ttitle {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ivm-ink, #0e1410);
  line-height: 1.25;
}
.tour-rail-item .tsubtitle {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--ivm-ink-3, #5a605c);
  margin-top: 4px;
  line-height: 1.4;
}
.pillar-tour-screens { position: relative; }
.tour-step { display: none; }
.tour-step.active { display: block; }
.tour-screenshot-wrap {
  position: relative;
  background: white;
  border: 1px solid var(--ivm-rule, #e6e4dc);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.tour-screenshot { display: block; width: 100%; height: auto; }
.tour-screenshot-placeholder {
  aspect-ratio: 1.74 / 1;
  background: var(--ivm-paper, #faf7f1);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}
.tour-screenshot-placeholder .ph-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--ivm-gold, #c8a25b);
  margin-bottom: 12px;
}
.tour-screenshot-placeholder .ph-title {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivm-ink, #0e1410);
  margin-bottom: 8px;
}
.tour-screenshot-placeholder .ph-subtitle {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivm-ink-4, #8a8f8b);
}
.tour-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ivm-ink, #0e1410);
  color: var(--ivm-paper, #faf7f1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.28);
  pointer-events: none;
}
.tour-annotations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 700px) {
  .tour-annotations { grid-template-columns: 1fr; }
}
.tour-ann-card {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--ivm-rule, #e6e4dc);
  border-radius: 4px;
}
.tour-ann-card .ann-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--ivm-gold, #c8a25b);
  flex-shrink: 0;
  padding-top: 2px;
}
.tour-ann-card .ann-title {
  display: block;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ivm-ink, #0e1410);
  margin-bottom: 4px;
}
.tour-ann-card p {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ivm-ink-3, #5a605c);
  margin: 0;
}
