/* LOCAL-REFINEMENT-89-STATIC · reviewed HTML companion layer
   Applies the approved graphite / industrial network visual mother to the
   existing reviewed release HTML. It preserves the copy, routes and evidence
   already present in that release. */
:root {
  --r89s-carbon: #090f12;
  --r89s-carbon-2: #101a1e;
  --r89s-ink: #eaf0ed;
  --r89s-muted: #9cacaa;
  --r89s-line: rgba(213, 231, 214, .18);
  --r89s-signal: #d8e99a;
  --r89s-teal: #72aeb1;
  --r89s-oxide: #c77c5f;
}
body.r89-static { background: var(--r89s-carbon); color: var(--r89s-ink); }
body.r89-static header.site-header,
body.r89-static header[class*="header"] {
  background: rgba(9, 15, 18, .94) !important;
  border-bottom: 1px solid rgba(216, 233, 154, .25) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
body.r89-static header.site-header::after,
body.r89-static header[class*="header"]::after {
  content: ""; display: block; height: 1px; opacity: .6;
  background: linear-gradient(90deg, transparent, var(--r89s-teal), var(--r89s-signal), transparent);
}
body.r89-static header a:hover,
body.r89-static header summary:hover { color: var(--r89s-signal) !important; }
body.r89-static .hero-v2-scene {
  isolation: isolate;
  background: #0a1114;
  border: 1px solid rgba(114,174,177,.24);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.06);
}
body.r89-static .hero-v2-scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(9,15,18,.88), rgba(9,15,18,.52) 46%, rgba(9,15,18,.8));
  opacity: .9;
  animation: r89s-drift 24s ease-in-out infinite alternate;
}
body.r89-static .hero-v2-scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at 50% 28%, rgba(216,233,154,.12), transparent 25%),
    linear-gradient(115deg, transparent 0 45%, rgba(114,174,177,.08) 49%, transparent 52%);
  opacity: .8; animation: r89s-scan 9s ease-in-out infinite;
}
/* Keep the atmosphere and platform network as full-bleed layers. Turning
   these absolute layers into normal-flow blocks collapses them to zero
   height and removes the visual mother from the first viewport. */
body.r89-static .hero-v2-environment,
body.r89-static .hero-platform-network { position: absolute; inset: 0; pointer-events: none; }
body.r89-static .hero-v2-environment { z-index: 0; opacity: .82; }
body.r89-static .hero-platform-network { z-index: 1; opacity: .7; mix-blend-mode: screen; }
body.r89-static .hero-v2-stage,
body.r89-static .hero-content,
body.r89-static .hero-growth-route-v54 { position: relative; z-index: 3; }
body.r89-static .hero-content { max-width: 980px; }
body.r89-static .hero-content .eyebrow { color: var(--r89s-signal); letter-spacing: .16em; }
body.r89-static .hero-weight-v43 { text-shadow: 0 4px 28px rgba(0,0,0,.45); }
body.r89-static .hero-description { color: rgba(234,240,237,.82); max-width: 760px; }
body.r89-static .hero-growth-route-v54 { border-color: rgba(114,174,177,.32); }
body.r89-static .hero-growth-route-v54 a:hover strong { color: var(--r89s-signal); }
body.r89-static .home-v38 > :not(.hero) { position: relative; }
body.r89-static .home-v38 > :not(.hero)::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(114,174,177,.45), transparent);
}
body.r89-static .footer48 { background: #090f12 !important; color: var(--r89s-ink); border-top: 1px solid rgba(114,174,177,.3); }
body.r89-static .footer48-directory { background: linear-gradient(180deg, #101a1e, #090f12) !important; }
body.r89-static .footer48-finale { background: radial-gradient(circle at 50% 0, rgba(114,174,177,.18), transparent 38%), #090f12 !important; }
body.r89-static .footer48-name,
body.r89-static .footer48-column h2 { color: var(--r89s-signal) !important; }
body.r89-static .footer48 a:hover { color: var(--r89s-signal) !important; }
body.r89-static .footer54-type-link { color: var(--r89s-ink) !important; text-shadow: none; }
body.r89-static .footer54-type-face { font-size: clamp(42px, 7.4vw, 108px); background: none; color: var(--r89s-ink); -webkit-text-fill-color: currentColor; text-shadow: 0 12px 42px rgba(114,174,177,.18); }
body.r89-static .footer54-static-copy { background: none; color: var(--r89s-ink); -webkit-text-fill-color: currentColor; }
body.r89-static .footer54-baseline { color: var(--r89s-teal) !important; }
body.r89-static .footer54-baseline i { color: var(--r89s-signal); }
body.r89-static .r83-wordmark { background: none; border-radius: 0; }
body.r89-static .r83-wordmark-text { color: var(--r89s-ink) !important; text-shadow: 0 12px 42px rgba(114,174,177,.18); }
/* The generic reviewed-shell canvas applies to editorial/service pages. Case
   collections own their alternating light reading surfaces and must keep
   their original section contrast. */
body.r89-static:not(.r86-cases) main > :not(.home-v38) { background-color: var(--r89s-carbon); }
/* Case collections use a light reading surface. The generic reviewed-shell
   background above must not turn the collection hero into dark text on dark
   graphite. */
body.r89-static.r86-cases main > .case84-hero,
body.r89-static.r86-cases .case84-hero { background: #f3f5f1 !important; color: #111416 !important; }
body.r89-static :is(.page-shell, .research-layout, .cases-page, .case-detail) { background: var(--r89s-carbon); }
body.r89-static :is(.card, .case-card, .article-card, .research-card) { border-color: var(--r89s-line); }
body.r89-static .case84-industry-visual { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-height: 96px; padding: 18px; border: 1px solid rgba(114,174,177,.3); border-radius: 12px; background: radial-gradient(circle at 80% 20%, rgba(216,233,154,.18), transparent 50%), linear-gradient(135deg, rgba(114,174,177,.16), rgba(9,15,18,.86)); color: var(--r89s-ink); }
body.r89-static .case84-industry-visual span { color: var(--r89s-signal); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
body.r89-static .case84-industry-visual strong { font-size: clamp(16px, 2vw, 24px); line-height: 1.35; }
body.r89-static .case84-industry-visual-detail { width: min(260px, 100%); margin-bottom: 18px; }
@keyframes r89s-drift { from { transform: scale(1.02) translate3d(-.6%,0,0); } to { transform: scale(1.08) translate3d(.6%,-.5%,0); } }
@keyframes r89s-scan { 0%,100% { transform: translateX(-4%); opacity: .35; } 50% { transform: translateX(4%); opacity: .85; } }
@media (prefers-reduced-motion: reduce) {
  body.r89-static .hero-v2-scene::before,
  body.r89-static .hero-v2-scene::after { animation: none; }
}
@media (max-width: 760px) {
  body.r89-static .hero-v2-scene { border-radius: 18px; }
  body.r89-static .hero-v2-environment { opacity: .56; }
  body.r89-static .hero-platform-network { opacity: .42; }
  body.r89-static .footer54-type-face { font-size: 11vw; text-shadow: 0 8px 24px rgba(114,174,177,.16); }
}
