     :root { --base-font-size: 18px; --hud-max-w: 1180px; }
     html { font-size: var(--base-font-size); }
     body { font-size: 1rem; }

     /* Guardrail for ultra-wide / zoomed-out desktop views */
     @media (min-width: 1680px) {
       :root { --hud-max-w: 1140px; }
     }

     /* Shared section frame + consistent section heading rhythm */
     .site-scope .hud-section__inner {
       width: min(100%, var(--hud-max-w));
       max-width: var(--hud-max-w);
       margin-left: 0;
       margin-right: auto;
       padding-left: clamp(28px, 5.2vw, 76px);
       padding-right: clamp(28px, 5.2vw, 76px);
     }

     .site-scope .container.hud-section__inner {
       margin-left: 0;
       margin-right: auto;
     }

     /* Keep nav aligned to the same left rail as sections (no centering on zoom-out) */
     #navbar .container {
       width: 100%;
       max-width: 100%;
       margin-left: auto !important;
       margin-right: auto !important;
     }

     /* Capabilities + Facilities deterministic layout */
     #motors .capabilities-layout {
       display: grid;
       grid-template-columns: minmax(0, 1fr);
       gap: 24px;
       align-items: stretch;
     }
     #motors .capabilities-media {
       position: relative;
       min-height: clamp(300px, 56vw, 620px);
     }
     #motors .capabilities-media video {
       object-position: center 52%;
     }
     #motors .capabilities-metrics {
       display: flex;
       flex-direction: column;
       gap: 24px;
       position: relative;
       z-index: 2;
     }
     #motors .capabilities-metrics > .hud-panel {
       min-height: 0;
     }

     @media (min-width: 900px) {
       #motors .capabilities-layout {
         grid-template-columns: minmax(0, 1.72fr) minmax(300px, 0.68fr);
         align-items: stretch;
       }
       #motors .capabilities-media {
         min-height: 0;
         height: 100%;
         aspect-ratio: auto;
       }
       #motors .capabilities-metrics {
         height: 100%;
       }
     }

     /* Preserve wide media framing for these two sections while keeping left alignment */
     @media (min-width: 1024px) {
       #motors .hud-section__inner,
       #facility-editorial .hud-section__inner,
       #res-non-verba .hud-section__inner {
         width: min(100%, 1640px);
         max-width: 1640px;
         margin-left: 0;
         margin-right: auto;
         padding-left: clamp(28px, 5.2vw, 76px) !important;
       }

       /* Keep facilities on the same horizontal gutter as other sections */
       #facility-editorial .hud-section__inner {
         width: min(100%, var(--hud-max-w)) !important;
         max-width: var(--hud-max-w) !important;
         margin-left: 0 !important;
         margin-right: auto !important;
         padding-left: clamp(28px, 5.2vw, 76px) !important;
         padding-right: clamp(28px, 5.2vw, 76px) !important;
         box-sizing: border-box;
       }

       /* Facilities: stable, cinematic framing with less aggressive crop */
       #facility-editorial .facility-img-wrap {
         height: auto;
         aspect-ratio: 3 / 2;
         min-height: clamp(430px, 36vw, 700px);
         max-height: none;
       }
       #facility-editorial .facility-img-wrap img {
         object-position: center center;
       }
     }

     .site-scope .section-frame {
       position: relative;
       padding-top: clamp(14px, 2vw, 24px);
       padding-bottom: clamp(14px, 2vw, 24px);
     }

     .site-scope .hud-kicker {
       position: relative;
       display: block;
       padding-top: 14px;
       margin-bottom: 18px;
     }

     .site-scope .hud-kicker::before {
       content: none;
     }

     .site-scope .hud-kicker__rule {
       display: none !important;
     }

     .site-scope .hud-kicker__label {
       display: inline-block;
       font-size: 12px;
       letter-spacing: 0.34em;
       color: rgba(255, 255, 255, 0.55);
       transition: color 220ms ease;
     }

     /* Keep section-tag variants at the same size as other section kickers */
     .site-scope .section-tag.hud-kicker__label {
       font-size: 12px;
       letter-spacing: 0.34em;
     }

     .site-scope .hud-section:hover .hud-kicker__label,
     .site-scope .hud-section:focus-within .hud-kicker__label {
       color: #BE2940 !important;
     }

     .site-scope .hud-title {
       font-family: var(--hud-sans) !important;
       font-weight: 700 !important;
       color: #f4f7ff !important;
       letter-spacing: -0.03em !important;
       margin-top: 0;
       margin-bottom: 18px;
       font-size: clamp(26px, 3.2vw, 44px);
       line-height: 1.06;
       white-space: nowrap;
     }

     .site-scope .hud-section .hud-title {
       color: #f4f7ff !important;
     }

     @media (max-width: 640px) {
       .site-scope .hud-section__inner {
         padding-left: 20px;
         padding-right: 20px;
       }

       .site-scope .section-frame {
         padding-top: 10px;
         padding-bottom: 10px;
       }

      .site-scope .hud-kicker__label {
        font-size: 11px;
        letter-spacing: 0.24em;
      }

      .site-scope .section-tag.hud-kicker__label {
        font-size: 11px;
        letter-spacing: 0.24em;
      }

       .site-scope .hud-title {
         font-size: clamp(21px, 6.4vw, 30px);
         line-height: 1.08;
         margin-bottom: 14px;
         letter-spacing: -0.02em !important;
       }
     }

     /* --- DARK THEME OVERRIDES --- */
     body, .bg-slate-950 {
       background: #121820 !important;
     }
    
     /* Darken secondary panels slightly */
     .bg-slate-900 {
       background-color: #071221 !important;
     }

     /* Adjust border opacity to be subtler on the darker background */
     .border-white\/10 {
       border-color: rgba(255, 255, 255, 0.06) !important;
     }
     .border-white\/5 {
       border-color: rgba(255, 255, 255, 0.03) !important;
     }
     .border-white\/20 {
       border-color: rgba(255, 255, 255, 0.12) !important;
     }

     /* Ensure inputs blend into the deeper background */
     input, textarea {
       background-color: rgba(18, 24, 32, 0.6) !important;
     }
     /* ---------------------------- */

     body {
       font-family: "Roboto", sans-serif;
       color: #ffffff;
       -webkit-font-smoothing: antialiased;
     }

     /* Premium glass navigation */
     .glass-nav {
       background: rgba(18, 24, 32, 0.58);
       backdrop-filter: blur(12px) saturate(145%);
       -webkit-backdrop-filter: blur(12px) saturate(145%);
       border-bottom-color: rgba(255, 255, 255, 0.1) !important;
       box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
       transition: background 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
     }
     .glass-nav::before {
       content: "";
       position: absolute;
       inset: 0;
       pointer-events: none;
       background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015) 35%, rgba(255, 255, 255, 0) 100%);
       opacity: 0.5;
     }
     .glass-nav.is-scrolled {
       background: rgba(18, 24, 32, 0.74);
       backdrop-filter: blur(16px) saturate(165%);
       -webkit-backdrop-filter: blur(16px) saturate(165%);
       border-bottom-color: rgba(255, 255, 255, 0.14) !important;
       box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
     }
     .mobile-menu-toggle {
       display: none;
       width: 38px;
       height: 38px;
       border: 1px solid rgba(255, 255, 255, 0.14);
       background: rgba(255, 255, 255, 0.04);
       align-items: center;
       justify-content: center;
       flex-direction: column;
       gap: 4px;
       border-radius: 10px;
       transition: border-color 180ms ease, background 180ms ease;
     }
     .mobile-menu-toggle__bar {
       display: block;
       width: 15px;
       height: 1px;
       background: rgba(255, 255, 255, 0.9);
       transition: transform 200ms ease, opacity 200ms ease;
     }
     .mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(1) {
       transform: translateY(5px) rotate(45deg);
     }
     .mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(2) {
       opacity: 0;
     }
     .mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(3) {
       transform: translateY(-5px) rotate(-45deg);
     }
     @media (min-width: 901px) {
       #navbar .nav-shell {
         display: grid !important;
         grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
         align-items: center;
         column-gap: 16px;
       }

       #navbar .nav-brand {
         justify-self: start;
       }

       #navbar .nav-center {
         position: static;
         transform: none;
         justify-self: center;
         justify-content: center;
         max-width: none;
         overflow: visible;
       }

       #navbar .nav-actions {
         justify-self: end;
         margin-left: 0;
       }
     }
     .mobile-menu-panel {
       position: absolute;
       top: calc(100% + 1px);
       left: 10px;
       right: 10px;
       background: rgba(18, 24, 32, 0.92);
       border: 1px solid rgba(255, 255, 255, 0.12);
       border-radius: 12px;
       backdrop-filter: blur(14px) saturate(150%);
       -webkit-backdrop-filter: blur(14px) saturate(150%);
       box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
       padding: 8px;
       z-index: 60;
     }
     .mobile-menu-panel[hidden] {
       display: none !important;
     }
     .mobile-menu-panel a {
       display: block;
       padding: 10px 12px;
       font-family: "Roboto Mono", monospace;
       font-size: 10px;
       letter-spacing: 0.14em;
       text-transform: uppercase;
       color: rgba(255, 255, 255, 0.82);
       border: 1px solid transparent;
       border-radius: 8px;
       transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
     }
     .mobile-menu-panel a:hover {
       color: #ffffff;
       border-color: rgba(190, 41, 64, 0.4);
       background: rgba(190, 41, 64, 0.08);
     }
     body.mobile-menu-open {
       overflow: hidden;
     }

     /* Improve initial desktop load by deferring below-the-fold rendering work */
     #motors,
     #rd,
     .res-ethos-scope,
     #facility-editorial,
     #contact {
       content-visibility: auto;
       contain-intrinsic-size: 900px;
     }

     /* Hover highlight for body copy */
     p {
       background-image: linear-gradient(rgba(190,41,64,0.92), rgba(190,41,64,0.92));
       background-size: 0% 100%;
       background-repeat: no-repeat;
       background-position: 0 0;
       transition: background-size 200ms ease, color 200ms ease;
     }
     p:hover {
       background-size: 100% 100%;
       color: #ffffff;
     }
    
     .font-mono {
       font-family: "Roboto Mono", monospace;
     }


     /* Custom Scrollbar */
     ::-webkit-scrollbar {
       width: 6px;
     }
     ::-webkit-scrollbar-track {
       background: #121820;
     }
     ::-webkit-scrollbar-thumb {
       background: #333;
       border-radius: 3px;
     }
     ::-webkit-scrollbar-thumb:hover {
       background: #be2940;
     }


     /* Animation Utilities */
     .fade-up-element {
       transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
     }
     .fade-up-element.js-hidden {
       opacity: 0;
       transform: translateY(20px);
     }
     .fade-up-element.visible {
       opacity: 1;
       transform: translateY(0);
     }


     .line-draw {
       transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
     }
     .line-draw.js-hidden {
       width: 0;
     }
     .line-draw.visible {
       width: 100%;
     }


     /* Grid Lines */
.grid-bg {
      background-image: none;
      background: transparent;
    }

    /* Capabilities + Specs merged section */
    #motors .bg-grid-pattern { background-image: none; }
    #motors .scanline {
      width: 100%;
      height: 100px;
      z-index: 10;
      background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0,0,0,0) 100%);
      opacity: 0.1;
      position: absolute;
      bottom: 100%;
      animation: motorsScanline 10s linear infinite;
      pointer-events: none;
    }
    @keyframes motorsScanline {
      0% { bottom: 100%; }
      100% { bottom: -100px; }
    }
    @keyframes iconPulse {
      0%, 100% { filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.3)); }
      50% { filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8)); }
    }
    #motors .icon-pulse {
      animation: iconPulse 3s ease-in-out infinite;
    }

    /* Capabilities graph module */
    #motors .cap-scene {
      position: relative;
      width: 100%;
      min-height: clamp(430px, 58vh, 620px);
      overflow: hidden;
      isolation: isolate;
    }

    #motors .cap-core {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
      z-index: 2;
    }

    #motors .cap-core__bloom {
      width: 140px;
      height: 140px;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(190,41,64,0.18) 0%, rgba(190,41,64,0.06) 42%, transparent 72%);
      filter: blur(10px);
      animation: capCoreBloom 4s ease-in-out infinite;
    }

    #motors .cap-core__dot {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #BE2940;
      box-shadow: 0 0 16px rgba(190,41,64,0.65);
    }

    #motors .cap-core__ring {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      border: 1px solid rgba(190,41,64,0.12);
      pointer-events: none;
    }

    #motors .cap-core__ring--1 {
      width: 92px;
      height: 92px;
      animation: capRingPulse 4.6s ease-in-out infinite;
    }

    #motors .cap-core__ring--2 {
      width: 190px;
      height: 190px;
      border-color: rgba(190,41,64,0.07);
      animation: capRingPulse 7s ease-in-out infinite 1.2s;
    }

    #motors .cap-veins {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    #motors .cap-vein {
      stroke: rgba(255,255,255,0.13);
      stroke-width: 1;
      fill: none;
      stroke-dasharray: 5 8;
      transition: stroke 240ms ease, stroke-width 240ms ease;
    }

    #motors .cap-vein.is-hot {
      stroke: rgba(190,41,64,0.72);
      stroke-width: 1.5;
      stroke-dasharray: 1 0;
      filter: drop-shadow(0 0 4px rgba(190,41,64,0.35));
    }

    #motors .cap-node {
      position: absolute;
      transform: translate(-50%, -50%);
      z-index: 3;
      width: min(260px, 32vw);
      max-width: 260px;
      text-align: center;
      cursor: pointer;
      outline: none;
      opacity: 0.9;
      transition: opacity 220ms ease, transform 220ms ease;
    }

    #motors .cap-node__heat {
      position: absolute;
      width: 180px;
      height: 180px;
      top: 34px;
      left: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(190,41,64,0.15) 0%, rgba(190,41,64,0.04) 45%, transparent 70%);
      filter: blur(16px);
      opacity: 0.38;
      pointer-events: none;
      animation: capNodeHeat 3.6s ease-in-out infinite;
    }

    #motors .cap-node__ring {
      width: 56px;
      height: 56px;
      margin: 0 auto;
      border: 1px solid rgba(255,255,255,0.34);
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(8,10,10,0.35);
      backdrop-filter: blur(3px);
      transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
      animation: capNodeIdle 3.2s ease-in-out infinite;
    }

    #motors .cap-node__dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(255,255,255,0.82);
      box-shadow: 0 0 8px rgba(255,255,255,0.25);
      transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
    }

    #motors .cap-node__label {
      display: block;
      margin-top: 12px;
      font-size: 16px;
      line-height: 1.25;
      color: rgba(255,255,255,0.82);
      font-weight: 600;
      letter-spacing: -0.01em;
      transition: color 220ms ease, transform 220ms ease;
      text-shadow: 0 4px 18px rgba(0,0,0,0.45);
    }

    #motors .cap-node__content {
      margin-top: 10px;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 260ms ease, opacity 220ms ease;
    }

    #motors .cap-node__dash {
      width: 18px;
      height: 1px;
      margin: 6px auto 10px;
      background: #BE2940;
      opacity: 0.85;
    }

    #motors .cap-node__desc {
      font-family: "Roboto Mono", monospace;
      font-size: 11px;
      line-height: 1.65;
      color: rgba(255,255,255,0.72);
    }

    #motors .cap-node.is-engaged {
      opacity: 1;
      z-index: 5;
    }

    #motors .cap-node.is-engaged .cap-node__ring {
      border-color: rgba(190,41,64,0.9);
      transform: scale(1.14);
      box-shadow: 0 0 0 1px rgba(190,41,64,0.1), 0 0 30px rgba(190,41,64,0.2);
      animation: none;
    }

    #motors .cap-node.is-engaged .cap-node__dot {
      transform: scale(1.35);
      background: #BE2940;
      box-shadow: 0 0 14px rgba(190,41,64,0.65);
    }

    #motors .cap-node.is-engaged .cap-node__label {
      color: #ffffff;
      transform: translateY(-1px);
    }

    #motors .cap-node.is-engaged .cap-node__content {
      max-height: 180px;
      opacity: 1;
    }

    #motors .cap-node.is-dimmed {
      opacity: 0.64;
    }

    #motors .cap-node.is-dimmed .cap-node__label {
      color: rgba(255,255,255,0.62);
    }

    @keyframes capCoreBloom {
      0%, 100% { transform: scale(1); opacity: 0.75; }
      50% { transform: scale(1.14); opacity: 1; }
    }

    @keyframes capRingPulse {
      0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
      50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.45; }
    }

    @keyframes capNodeIdle {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.06); }
    }

    @keyframes capNodeHeat {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 0.6; }
    }

    @media (max-width: 1023px) {
      #motors .cap-scene {
        min-height: 540px;
      }
      #motors .cap-node {
        width: min(220px, 44vw);
      }
      #motors .cap-node__desc {
        font-size: 10px;
      }
    }

    @media (max-width: 680px) {
      #motors .cap-scene {
        min-height: 620px;
      }
      #motors .cap-node {
        width: min(180px, 46vw);
      }
      #motors .cap-node__label {
        font-size: 14px;
      }
      #motors .cap-node__content {
        display: none;
      }
    }

    /* Positioning (Mission Control) */
    #why .bg-grid-pattern { background-image: none; }
    #why .scanline {
      width: 100%;
      height: 100px;
      z-index: 10;
      background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0,0,0,0) 100%);
      opacity: 0.1;
      position: absolute;
      bottom: 100%;
      animation: whyScanline 8s linear infinite;
      pointer-events: none;
    }
    @keyframes whyScanline {
      0% { bottom: 100%; }
      100% { bottom: -100px; }
    }
    @keyframes whyBlink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }
    #why .animate-blink {
      animation: whyBlink 2s infinite;
    }
    #why .text-shimmer {
      background: linear-gradient(
        to right,
        #ffffff 20%,
        #ef4444 40%,
        #ef4444 60%,
        #ffffff 80%
      );
      background-size: 200% auto;
      color: #fff;
      background-clip: text;
      text-fill-color: transparent;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: shimmer 5s linear infinite;
    }
    @keyframes shimmer {
      to { background-position: 200% center; }
    }
    #why .hud-corner {
      position: absolute;
      width: 8px;
      height: 8px;
      border-color: rgba(255, 255, 255, 0.3);
      border-style: solid;
      transition: all 0.3s ease;
    }
    #why .group:hover .hud-corner {
      border-color: rgba(239, 68, 68, 0.8);
      width: 12px;
      height: 12px;
    }
    #why .bg-noise {
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    }
    #why .why-outline {
      color: transparent;
      -webkit-text-stroke: 2px rgba(255,255,255,0.9);
      text-stroke: 2px rgba(255,255,255,0.9);
      transition: color 200ms ease, -webkit-text-stroke 200ms ease;
    }
    #why .why-integrated:hover .why-outline {
      color: #BE2940;
      -webkit-text-stroke: 2px rgba(190,41,64,0.9);
      text-stroke: 2px rgba(190,41,64,0.9);
    }
    
    /* R&D Scanline */
     @keyframes scanline {
       0% { transform: translateY(-100%); }
       100% { transform: translateY(500%); }
     }
     .animate-scanline {
       animation: scanline 8s linear infinite;
     }
    
     .rd-media {
       opacity: 0;
       transition: opacity 0.5s ease;
       position: absolute;
       inset: 0;
       object-fit: cover;
       width: 100%;
       height: 100%;
     }
     .rd-media.active {
       opacity: 1;
     }


     .rd-tab {
       border-left: 2px solid transparent;
       transition: all 0.3s ease;
     }
     .rd-tab.active {
       border-left-color: #BE2940;
       background: rgba(255,255,255,0.03);
     }
     .rd-tab.active h3 {
       color: white;
     }
     .rd-tab.active p {
       color: rgba(255,255,255,0.8);
     }


     /* Marquee Animation */
     @keyframes scroll {
       from { transform: translateX(0); }
       to { transform: translateX(-50%); }
     }
     .animate-scroll {
       animation: scroll 40s linear infinite;
     }


     /* Dashboard Staggered Animation */
     .dash-card {
       opacity: 0;
       transform: translateY(15px);
       transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
     }
     .dash-card.visible {
       opacity: 1;
       transform: translateY(0);
     }

     /* Typewriter Animation */
    .typewriter{
      display:inline-block;
      overflow:hidden;
      white-space:nowrap;
      width:0;
      color:#BE2940; /* red */
      font-family: "Roboto Mono", monospace;
      border-right:1px solid rgba(190,41,64,0.75);
      /* match the existing tracking so spacing stays the same */
      letter-spacing:0.3em;
      animation: typingLoop 7s steps(12, end) infinite, caret 1s step-end infinite;
    }
    
    /* Looping Keyframes */
    @keyframes typingLoop {
      0%   { width: 0; }
      15%  { width: 0; }                        /* pause before typing */
      45%  { width: calc(12ch + 3.3em); }       /* type to full */
      70%  { width: calc(12ch + 3.3em); }       /* hold completed text */
      100% { width: 0; }                        /* erase back to start */
    }
    
    @keyframes caret { 50% { border-color: transparent; } }
     @media (prefers-reduced-motion: reduce) { .typewriter { width:auto; border-right:none; animation:none; } }

     /* --- Premium Reveal System (added) --- */
     .reveal {
       opacity: 0;
       transform: translateY(12px) scale(1.02);
       transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
       will-change: transform, opacity;
     }
     .reveal.is-inview {
       opacity: 1;
       transform: translateY(0) scale(1);
     }
     .reveal-child {
       opacity: 0;
       transform: translateY(12px) scale(1.02);
       transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
       transition-delay: var(--stagger, 0ms);
       will-change: transform, opacity;
     }
     .reveal-group.is-inview .reveal-child {
       opacity: 1;
       transform: translateY(0) scale(1);
     }
     @media (prefers-reduced-motion: reduce) {
       .reveal, .reveal-child {
         transition: none !important;
         transform: none !important;
         opacity: 1 !important;
       }
     }

     /* Hover micro-interactions (added) */
     .hover-lift {
       transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
     }
     .hover-lift:hover { transform: translateY(-2px) scale(1.01); }

     /* R&D parallax layers (added) */
     #rd .rd-layer {
       transform: translateY(0) rotate(0deg) scale(1);
       will-change: transform;
       transition: transform 0.2s linear;
     }
     @media (prefers-reduced-motion: reduce) {
       #rd .rd-layer { transform: none !important; transition: none !important; }
     }

     /* Philosophy path draw + step highlight (added) */
     .protocols-wrap { position: relative; }
     .protocol-path {
       position: absolute;
       inset: -10px 0 0 0;
       pointer-events: none;
       opacity: 0.35;
     }
     .protocol-path path {
       stroke: rgba(190,41,64,0.6);
       stroke-width: 1.5;
       fill: none;
       stroke-dasharray: 1;
       stroke-dashoffset: 1;
       transition: stroke-dashoffset 0.6s ease;
     }
     .protocol-card.is-step-active {
       border-color: rgba(190,41,64,0.7);
       box-shadow: 0 18px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
     }

     /* Facility "last section wow" (added) */
     #facility .facility-wow .dash-card {
       transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 600ms ease;
     }
     #facility.is-wow .facility-wow .dash-card {
       transform: translateY(-4px) scale(1.01);
       opacity: 0.95;
     }

    /* R&D scroll chapter */
    #rd .rd-scroll-chapter { height: 180vh; position: relative; }
    #rd .rd-scroll-frame { position: sticky; top: 72px; min-height: calc(100vh - 72px); display: flex; align-items: flex-start; padding-top: 16px; }

    /* R&D cards grid (4-up on desktop) */
    #rd .rd-cards { width: 100%; display: grid; grid-template-columns: 1fr; gap: 18px; }
    @media (min-width: 768px) { #rd .rd-cards { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1280px) { #rd .rd-cards { grid-template-columns: repeat(4, 1fr); } }

    #rd .rd-card { border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.02); overflow: hidden; transition: transform 650ms cubic-bezier(0.16,1,0.3,1), border-color 650ms ease, box-shadow 650ms ease; }
    #rd .rd-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: filter 750ms ease, transform 900ms cubic-bezier(0.16,1,0.3,1); filter: grayscale(1) contrast(1.05) brightness(0.78); }
    #rd .rd-meta { padding: 18px 18px 20px; }
    #rd .rd-label { font-family: "Roboto Mono", monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
    #rd .rd-title { font-size: 18px; font-weight: 500; margin-top: 10px; }
    #rd .rd-desc { font-size: 13px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,0.55); margin-top: 10px; }

    /* Inactive state */
    #rd .rd-card.is-inactive .rd-img { filter: grayscale(1) contrast(1.05) brightness(0.78); }
    #rd .rd-card.is-inactive .rd-title { color: rgba(255,255,255,0.40); }
    #rd .rd-card.is-inactive .rd-label { color: rgba(255,255,255,0.35); }
    /* Active + Hover state */
    #rd .rd-card.is-active { border-color: rgba(190,41,64,0.55); box-shadow: 0 0 0 1px rgba(190,41,64,0.10), 0 24px 80px rgba(0,0,0,0.45); transform: translateY(-6px); }
    #rd .rd-card.is-active .rd-img { filter: grayscale(0) contrast(1.02) brightness(0.96) saturate(1.08); transform: scale(1.03); }
    #rd .rd-card.is-active .rd-label { color: #BE2940; }
    #rd .rd-card.is-active .rd-title { color: rgba(255,255,255,0.92); }
    #rd .rd-card:hover .rd-img { filter: grayscale(0) contrast(1.02) brightness(0.96) saturate(1.08); transform: scale(1.03); }

    /* Small technical progress bar on the active card */
    #rd .rd-card::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background:#BE2940; opacity:0; }
    #rd .rd-card.is-active::after { opacity:1; animation: rdFill 900ms ease-out forwards; }
    @keyframes rdFill { from { width:0%; } to { width:100%; } }

    @media (prefers-reduced-motion: reduce) {
      #rd .rd-card, #rd .rd-img { transition: none !important; transform: none !important; animation: none !important; }
    }

    /* WHY easter egg (only for 03. Clarity) */
    #why-clarity { position: relative; }
    #why-clarity .easter-egg{
      position:absolute;
      right: 16px;
      top: 62%;
      transform: translateY(-50%) translateY(8px) scale(0.48);
      width: min(360px, 36vw);
      opacity:0;
      pointer-events:none;
      transition: opacity 320ms ease, transform 420ms cubic-bezier(0.16,1,0.3,1);
      z-index: 20;
    }
    #why-clarity:hover .easter-egg{
      opacity:1;
      transform: translateY(-50%) translateY(0) scale(0.5);
    }
    #why-clarity .easter-egg__label{
      font-size: 10px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #BE2940;
      margin-bottom: 8px;
      opacity: 0.9;
    }
    #why-clarity .easter-egg__frame{
      position:relative;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(0,0,0,0.35);
      overflow:hidden;
      box-shadow: 0 24px 80px rgba(0,0,0,0.55);
    }
    #why-clarity .easter-egg__img{
      width:100%;
      height: 220px;
      object-fit: cover;
      display:block;
      filter: contrast(1.05) brightness(0.95) saturate(1.05);
    }
    #why-clarity .easter-egg__scan{
      position:absolute;
      inset:0;
      pointer-events:none;
      opacity:0.22;
      background:
        linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.20) 50%),
        linear-gradient(90deg, rgba(255,0,0,0.05), rgba(0,255,0,0.02), rgba(0,0,255,0.05));
      background-size: 100% 2px, 3px 100%;
      mix-blend-mode: screen;
    }
    #why-clarity .easter-egg__vignette{
      position:absolute;
      inset:0;
      pointer-events:none;
      background: radial-gradient(circle at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
    }

    @media (hover: none) {
      #why-clarity .easter-egg { display:none; }
    }

    /* --- SURGICAL OVERRIDES FOR EASTER EGG (TRANSPARENT PNG REVEAL) --- */
    #why-clarity .easter-egg__label { display:none !important; }
    #why-clarity .easter-egg__frame { background:transparent !important; border:none !important; box-shadow:none !important; overflow:visible !important; }
    #why-clarity .easter-egg__scan, #why-clarity .easter-egg__vignette { display:none !important; }
    #why-clarity .easter-egg__img { background:transparent !important; height:auto !important; object-fit:contain !important; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)) !important; }

    /* Capabilities easter egg */
    #motors {
      position: relative;
      background: #121820 !important;
      overflow: hidden;
    }

    /* Hero -> Capabilities transition bridge */
    #hero {
      position: relative;
      isolation: isolate;
    }

    #hero::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: clamp(160px, 22vh, 260px);
      pointer-events: none;
      z-index: 18;
      background: linear-gradient(
        180deg,
        rgba(18, 24, 32, 0) 0%,
        rgba(18, 24, 32, 0.62) 58%,
        rgba(18, 24, 32, 0.94) 100%
      );
    }

    #motors::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: clamp(130px, 18vh, 210px);
      pointer-events: none;
      z-index: 1;
      background: linear-gradient(
        180deg,
        rgba(18, 24, 32, 0.9) 0%,
        rgba(18, 24, 32, 0.45) 42%,
        rgba(18, 24, 32, 0) 100%
      );
    }

    #motors::after {
      content: none;
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 1;
    }

    /* Hover egg reveals (targeted cards only) */
    .hover-egg-trigger {
      position: relative;
      overflow: visible !important;
      isolation: isolate;
    }

    .hover-egg {
      position: absolute;
      width: min(240px, 26vw);
      opacity: 0;
      transform: translateY(6px) scale(0.98);
      transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: none;
      z-index: 35;
    }

    .hover-egg img {
      width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
      opacity: 0.38;
      filter: blur(0.4px) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
    }

    .hover-egg-trigger:hover .hover-egg {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .hover-egg--tr {
      top: -188px;
      right: -18px;
    }

    .hover-egg--tl {
      top: -178px;
      left: -14px;
    }

    @media (max-width: 1023px) {
      .hover-egg {
        display: none;
      }
    }

    /* --- Easter Egg: Glitch + Scanline Ghost Reveal (premium) --- */
    .console-module.cap-trigger { position: relative; overflow: hidden; }

    .egg-ghost{
      position:absolute;
      right:-12px;
      top:-60px;
      width:min(520px,46vw);
      opacity:0;
      transform:translateY(6px) scale(0.9);
      transform-origin:top right;
      pointer-events:none;
      z-index:3;
      filter:drop-shadow(0 22px 50px rgba(0,0,0,0.55));
    }

    @media (max-width:1023px){
      .egg-ghost{ display:none; }
    }

    .egg-ghost img{
      width:100%;
      height:auto;
      display:block;
      opacity:0.28;               /* keep it ghosted */
      mix-blend-mode:screen;      /* feels like UI artifact */
      filter:contrast(1.05) saturate(1.02) blur(0.2px);
    }

    .egg-ghost__scanline{
      position:absolute;
      inset:0;
      opacity:0;
      background:linear-gradient(90deg,
        rgba(190,41,64,0.0),
        rgba(190,41,64,0.55),
        rgba(190,41,64,0.0)
      );
      height:1px;
      top:20%;
    }

    #motors.egg-on .egg-ghost{
      opacity:1;
      animation:eggIn 120ms ease-out both;
    }

    #motors.egg-on .egg-ghost img{
      animation:eggGlitch 700ms ease-out both;
    }

    #motors.egg-on .egg-ghost__scanline{
      opacity:0.75;
      animation:eggScan 650ms ease-out both;
    }


    @keyframes eggIn{
      from{ opacity:0; transform:translateY(10px) scale(0.55); }
      to{ opacity:1; transform:translateY(0) scale(0.55); }
    }

    @keyframes eggScan{
      0%{ transform:translateY(-120%); }
      55%{ transform:translateY(380%); }
      100%{ transform:translateY(520%); opacity:0; }
    }

    @keyframes eggGlitch{
      0%{ transform:translate(0,0); filter:contrast(1.05) saturate(1.02) blur(0.2px); }
      18%{ transform:translate(2px,-1px); filter:contrast(1.1) saturate(1.08) blur(0.4px); }
      32%{ transform:translate(-2px,1px); filter:contrast(1.06) saturate(1.04) blur(0.2px); }
      52%{ transform:translate(1px,0); }
      100%{ transform:translate(0,0); opacity:0.12; }
    }

    @media (prefers-reduced-motion: reduce){
      #motors.egg-on .egg-ghost,
      #motors.egg-on .egg-ghost img,
      #motors.egg-on .egg-ghost__scanline{
        animation:none !important;
      }
      .egg-ghost{ transform:scale(0.9); }
    }

    /* --- HERO CONTRAST SYSTEM --- */
     #hero .hero-video {
       position: absolute;
       inset: 0;
       width: 100%;
       height: 100%;
       object-fit: cover;
       z-index: 0;
       opacity: 0;
       transition: opacity 260ms ease;
     }
     #hero .hero-video.is-ready {
       opacity: 1;
     }

     #hero .hero-scrim {
       position: absolute;
       inset: 0;
       z-index: 10;
       pointer-events: none;
       background:
         linear-gradient(90deg, rgba(18, 24, 32, 0.76) 0%, rgba(18, 24, 32, 0.42) 52%, rgba(18, 24, 32, 0.14) 100%),
         linear-gradient(180deg, rgba(18, 24, 32, 0.52) 0%, rgba(18, 24, 32, 0.28) 40%, rgba(18, 24, 32, 0.7) 100%);
     }

     #hero .hero-metrics-rail {
       width: 100%;
       max-width: none;
       margin-left: 0;
       margin-right: 0;
       padding-left: clamp(28px, 5.2vw, 76px);
       padding-right: clamp(28px, 5.2vw, 76px);
     }
     #hero .hero-metrics-rail .facility-wow {
       display: grid;
       grid-template-columns: repeat(4, minmax(0, 1fr));
       gap: clamp(14px, 1.2vw, 20px);
       align-items: stretch;
     }
     #hero .hero-metrics-rail .facility-wow > .dash-card {
       width: 100%;
       min-width: 0;
       margin: 0;
     }

     #hero h1, #hero p {
       text-shadow: 0 10px 30px rgba(0,0,0,0.55);
     }
     /* Removed #heroCopy hidden/transition states to ensure always visible */

    /* Facility image flip for composition */
    #facility .facility-img {
      transform: scaleX(-1) scale(1.05);
      transition: transform 2s ease-in-out;
    }
    #facility .group:hover .facility-img {
      transform: scaleX(-1) scale(1);
    }
     #facility .facility-editorial {
       max-width: 720px;
     }
     #facility .facility-kicker {
       font-size: 11px;
       letter-spacing: 0.35em;
       text-transform: uppercase;
       color: rgba(255,255,255,0.75);
       border: 1px solid rgba(255,255,255,0.18);
       padding: 6px 12px;
       background: rgba(0,0,0,0.45);
       display: inline-block;
     }
     #facility .facility-title {
       font-size: clamp(48px, 9vw, 120px);
       font-weight: 600;
       letter-spacing: -0.02em;
       line-height: 0.92;
       text-transform: uppercase;
     }
     #facility .facility-rule {
       height: 2px;
       width: 56px;
       background: #ffffff;
       opacity: 0.7;
       margin: 18px 0 24px;
     }
     #facility .facility-deck {
       font-size: 14px;
       letter-spacing: 0.24em;
       text-transform: uppercase;
       color: rgba(255,255,255,0.7);
       margin-bottom: 14px;
     }
     #facility .facility-list {
       font-size: 20px;
       line-height: 1.6;
       color: rgba(255,255,255,0.85);
     }
    #facility .facility-list span {
      display: block;
    }
    @media (max-width: 640px) {
      #facility .facility-title {
        font-size: clamp(38px, 12vw, 64px);
      }
      #facility .facility-deck {
        font-size: 12px;
        letter-spacing: 0.16em;
      }
      #facility .facility-list {
        font-size: 16px;
      }
    }
     #facility .facility-highlight {
       background-image: linear-gradient(rgba(190,41,64,0.92), rgba(190,41,64,0.92));
       background-size: 0% 100%;
       background-repeat: no-repeat;
       background-position: 0 100%;
       transition: background-size 200ms ease, color 200ms ease;
       display: inline;
     }
     #facility .facility-highlight:hover {
       background-size: 100% 100%;
       color: #ffffff;
     }

     /* Dashboard-style sections */
     .section-shell {
       position: relative;
       overflow: hidden;
     }
     .section-shell::before {
       content: none;
     }
     .section-divider {
       height: 2px;
       background: linear-gradient(90deg, rgba(190,41,64,0.0), rgba(190,41,64,0.7), rgba(190,41,64,0.0));
       box-shadow: 0 0 20px rgba(190,41,64,0.25);
     }
     .dashboard-card {
       background: rgba(255,255,255,0.02);
       border: 1px solid rgba(255,255,255,0.10);
       box-shadow: 0 12px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
       backdrop-filter: blur(6px);
     }
     .panel-row {
       background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
       border: 1px solid rgba(255,255,255,0.08);
       box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
     }

     /* R&D + Philosophy Bento HUD */
     .bento-section {
       padding: 96px 0;
     }
     .bento-header {
       display: grid;
       gap: 16px;
       grid-template-columns: 1fr;
       align-items: center;
       margin-bottom: 28px;
     }
     .bento-header__rail {
       height: 2px;
       background: transparent;
       box-shadow: none;
     }
     .bento-header__status {
       display: inline-flex;
       align-items: center;
       gap: 8px;
       letter-spacing: 0.3em;
       text-transform: uppercase;
     }
     #rd .console-tag {
       color: rgba(255,255,255,0.55);
     }
     #rd .console-title {
       color: #ffffff;
       text-shadow: 0 8px 24px rgba(0,0,0,0.45);
     }
     @media (min-width: 1024px) {
       .bento-header {
         grid-template-columns: 1.4fr 1fr auto;
       }
     }

     .bento-grid {
       display: grid;
       gap: 16px;
       grid-template-columns: repeat(1, minmax(0, 1fr));
     }
     @media (min-width: 768px) {
       .bento-grid {
         grid-template-columns: repeat(6, minmax(0, 1fr));
       }
     }
     .bento-grid--rd2 {
       grid-template-columns: repeat(1, minmax(0, 1fr));
     }
     @media (min-width: 768px) {
       .bento-grid--rd2 {
         grid-template-columns: repeat(2, minmax(0, 1fr));
       }
     }
     @media (min-width: 1024px) {
       .bento-grid--rd2 {
         grid-template-columns: repeat(4, minmax(0, 1fr));
       }
     }

     .bento-grid--why {
       grid-template-columns: repeat(1, minmax(0, 1fr));
     }
     @media (min-width: 768px) {
       .bento-grid--why {
         grid-template-columns: repeat(2, minmax(0, 1fr));
       }
     }
     @media (min-width: 1024px) {
       .bento-grid--why {
         grid-template-columns: repeat(3, minmax(0, 1fr));
       }
     }
     .bento-grid--why .bento-card--command,
     .bento-grid--why .bento-card--feed,
     .bento-grid--why .bento-card--protocol {
       grid-column: span 1;
       grid-row: span 1;
     }
     @media (min-width: 1024px) {
       .bento-grid--why .bento-card--creed { grid-column: span 3; }
       .bento-grid--why .bento-card--command { grid-column: span 2; }
       .bento-grid--why .bento-card--feed { grid-column: span 1; }
     }

    .bento-card {
      position: relative;
      padding: 20px 20px 22px;
      background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 16px;
      box-shadow: 0 18px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
      overflow: hidden;
      backdrop-filter: blur(10px);
    }
    @media (max-width: 640px) {
      .bento-card {
        padding: 16px 16px 18px;
      }
      .bento-grid {
        gap: 12px;
      }
    }
    #rd .process-container {
      display: flex;
      width: 100%;
      height: clamp(360px, 60vh, 540px);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 16px;
      background: rgba(255,255,255,0.02);
      box-shadow: 0 18px 45px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
      position: relative;
      overflow: hidden;
      animation: rdFlicker 0.35s infinite;
    }

    /* R&D stage panel: mobile only */
    @media (min-width: 768px) {
      #rd .process-container {
        display: none !important;
      }
    }
    @media (min-width: 768px) {
      #rd {
        display: none !important;
      }
    }
    #rd .process-container::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.06) 50%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.003), rgba(255, 255, 255, 0.012));
      background-size: 100% 2px, 3px 100%;
      pointer-events: none;
      z-index: 5;
      mix-blend-mode: normal;
      opacity: 0.08;
    }
    #rd .process-container::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle, rgba(18, 16, 16, 0) 64%, rgba(0, 0, 0, 0.18) 100%);
      pointer-events: none;
      z-index: 4;
    }
    #rd .stage {
      position: relative;
      flex: 1;
      height: 100%;
      border-right: 1px solid rgba(255,255,255,0.08);
      transition: flex 0.4s steps(4);
      overflow: hidden;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 20px;
      background: rgba(8, 10, 18, 0.12);
    }
    #rd .stage:last-child { border-right: none; }
    #rd .stage:hover {
      flex: 2.25;
      background-color: rgba(255,255,255,0.015);
    }
    #rd .stage-index {
      font-family: "Roboto Mono", monospace;
      font-size: 28px;
      line-height: 0.8;
      position: absolute;
      top: 18px;
      left: 18px;
      opacity: 0.45;
      color: rgba(255,255,255,0.6);
      z-index: 6;
      transition: color 220ms ease, opacity 220ms ease;
    }
    #rd .stage:hover .stage-index {
      color: #BE2940;
      opacity: 1;
    }
    #rd .stage-header {
      position: absolute;
      bottom: 20px;
      left: 20px;
      z-index: 6;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      transition: all 0.4s steps(4);
    }
    #rd .stage-title {
      font-size: 26px;
      text-transform: uppercase;
      line-height: 0.9;
      margin-bottom: 10px;
      display: block;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
      transition: all 0.4s steps(4);
      color: rgba(255,255,255,0.85);
      text-shadow: 0 6px 18px rgba(0,0,0,0.5);
    }
    #rd .stage:hover .stage-title {
      writing-mode: horizontal-tb;
      transform: rotate(0deg);
      font-size: 24px;
      background: rgba(255,255,255,0.08);
      color: #ffffff;
      padding: 0 10px;
      text-shadow: 0 8px 24px rgba(0,0,0,0.55);
    }
    #rd .stage-desc {
      font-family: "Roboto Mono", monospace;
      font-size: 12px;
      line-height: 1.1;
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s steps(3);
      max-width: 420px;
      border-left: 2px solid rgba(190,41,64,0.8);
      padding-left: 12px;
      margin-top: 8px;
      color: rgba(255,255,255,0.7);
      text-transform: uppercase;
      letter-spacing: 0.2em;
    }
    #rd .stage:hover .stage-desc {
      opacity: 1;
      transform: translateX(0);
      color: #BE2940;
    }
    #rd .arrow-indicator {
      font-size: 18px;
      display: inline-block;
      margin-left: 8px;
      color: #BE2940;
      animation: stageBlink 1s infinite steps(1);
    }
    #rd .stage-bg-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.44;
      filter: grayscale(0) contrast(1.03) brightness(1.0);
      transition: opacity 0.4s ease;
      pointer-events: none;
      z-index: 1;
    }
    #rd .stage:hover .stage-bg-image {
      opacity: 0.76;
      filter: grayscale(0) contrast(1.1) brightness(1.2) saturate(1.06);
    }
    #rd .rd-meta-label {
      position: absolute;
      top: 6px;
      right: 6px;
      font-family: "Roboto Mono", monospace;
      font-size: 11px;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.55);
      text-align: right;
      z-index: 6;
    }
    @keyframes stageBlink {
      50% { opacity: 0; }
    }
    @keyframes rdFlicker {
      0% { opacity: 0.98; }
      20% { opacity: 0.96; }
      40% { opacity: 0.99; }
      60% { opacity: 0.95; }
      80% { opacity: 0.98; }
      100% { opacity: 0.97; }
    }
    @media (max-width: 900px) {
      #rd .process-container {
        flex-direction: column;
        height: auto;
      }
      #rd .stage {
        height: 220px;
        border-right: none;
        border-bottom: 1px solid rgba(190,41,64,0.85);
      }
    }
     .bento-card::before {
       content: "";
       position: absolute;
       inset: 0;
       background:
         linear-gradient(120deg, rgba(190,41,64,0.08), transparent 40%),
         radial-gradient(circle at 10% 10%, rgba(255,255,255,0.08), transparent 45%);
       opacity: 0.6;
       pointer-events: none;
       animation: bentoGlow 6s ease-in-out infinite;
     }
     .bento-card::after {
       content: "";
       position: absolute;
       inset: 0;
       border: 1px solid rgba(255,255,255,0.08);
       border-radius: 16px;
       pointer-events: none;
       box-shadow: inset 0 0 0 1px rgba(190,41,64,0.08);
     }


     .bento-hud {
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 12px;
       margin-bottom: 12px;
       text-transform: uppercase;
       font-family: "Roboto Mono", monospace;
       font-size: 11px;
       letter-spacing: 0.28em;
       color: rgba(255,255,255,0.45);
     }
     .bento-kicker { display: inline-flex; align-items: center; gap: 8px; }
     .bento-chip {
       padding: 4px 8px;
       border: 1px solid rgba(190,41,64,0.45);
       color: #BE2940;
       background: rgba(190,41,64,0.08);
     }
     .bento-title {
       font-size: 18px;
       font-weight: 500;
       color: #ffffff;
       margin-bottom: 8px;
     }
     .bento-desc {
       font-size: 13px;
       line-height: 1.6;
       color: rgba(255,255,255,0.6);
     }
     .bento-list {
       margin-top: 14px;
       padding-left: 16px;
       color: rgba(255,255,255,0.55);
       font-size: 12px;
       line-height: 1.6;
       list-style: square;
     }

     .bento-diagram {
       position: absolute;
       right: -40px;
       bottom: -40px;
       width: 200px;
       height: 200px;
       opacity: 0.35;
     }
     .bento-orbit {
       position: absolute;
       inset: 0;
       border-radius: 50%;
       border: 1px dashed rgba(255,255,255,0.25);
       box-shadow: 0 0 40px rgba(190,41,64,0.15);
     }
     .bento-core {
       position: absolute;
       inset: 70px;
       border-radius: 50%;
       background: radial-gradient(circle, rgba(190,41,64,0.45), transparent 70%);
     }

     .bento-gauge {
       position: absolute;
       right: 18px;
       bottom: 18px;
       width: 110px;
       height: 110px;
       display: grid;
       place-items: center;
     }
     .bento-gauge__ring {
       position: absolute;
       inset: 0;
       border-radius: 50%;
       border: 2px solid rgba(190,41,64,0.6);
       box-shadow: 0 0 30px rgba(190,41,64,0.35);
     }
     .bento-gauge__center {
       font-family: "Roboto Mono", monospace;
       font-size: 10px;
       letter-spacing: 0.2em;
       color: rgba(255,255,255,0.7);
       text-transform: uppercase;
     }

     .bento-video {
       margin-top: 12px;
       border-radius: 12px;
       overflow: hidden;
       border: 1px solid rgba(255,255,255,0.12);
       box-shadow: 0 12px 30px rgba(0,0,0,0.45);
     }
    .bento-video video {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }
    .bento-video--placeholder {
      margin-top: 16px;
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(255,255,255,0.03);
    }
    .bento-video__placeholder {
      height: clamp(140px, 18vw, 220px);
      width: 100%;
      background: #585d66;
      border-radius: 24px;
    }
     .bento-video--phase {
       height: 180px;
       position: relative;
     }
     .bento-video--phase video {
       height: 100%;
     }
     .bento-video__overlay {
       position: absolute;
       left: 16px;
       bottom: 12px;
       padding: 6px 12px;
       background: rgba(0,0,0,0.6);
       border: 1px solid rgba(255,255,255,0.15);
       font-family: "Roboto Mono", monospace;
       font-size: 12px;
       letter-spacing: 0.2em;
       text-transform: uppercase;
       color: #f5c542;
     }

     .bento-object {
       position: absolute;
       right: 26px;
       bottom: 10px;
       width: 180px;
       height: 180px;
       transform-style: preserve-3d;
       transition: transform 150ms ease;
     }
     .bento-object__core {
       position: absolute;
       inset: 40px;
       border-radius: 20px;
       background: radial-gradient(circle at 30% 30%, rgba(190,41,64,0.6), rgba(0,0,0,0.1));
       box-shadow: 0 20px 50px rgba(0,0,0,0.5);
       transform: translateZ(12px);
     }
     .bento-object__ring {
       position: absolute;
       inset: 10px;
       border-radius: 24px;
       border: 1px solid rgba(255,255,255,0.25);
       transform: rotateX(18deg) rotateY(-18deg);
       box-shadow: 0 0 25px rgba(190,41,64,0.2);
     }
     .bento-object__ring--inner {
       inset: 28px;
       border-style: dashed;
       opacity: 0.6;
     }

     .bento-image {
       margin-top: 10px;
       border-radius: 12px;
       overflow: hidden;
       border: 1px solid rgba(255,255,255,0.12);
     }
     .bento-image img {
       width: 100%;
       height: 160px;
       object-fit: cover;
       display: block;
       filter: grayscale(0.15) contrast(1.05) brightness(0.9);
     }

     .bento-bars {
       margin-top: 14px;
       display: grid;
       gap: 8px;
     }
    .bento-creed {
      margin: 0;
      font-weight: 700;
      text-transform: uppercase;
      color: #ffffff;
      font-size: clamp(16px, 1.8vw, 24px);
      letter-spacing: 0.24em;
      line-height: 1;
      white-space: nowrap;
    }
    @media (max-width: 640px) {
      .bento-creed {
        font-size: clamp(12px, 3.4vw, 18px);
        letter-spacing: 0.12em;
      }
    }
     .bento-grid--why .bento-card--protocol {
       border-color: rgba(190,41,64,0.35);
       box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 24px rgba(190,41,64,0.12), inset 0 1px 0 rgba(255,255,255,0.04);
       animation: creedPulse 5s ease-in-out infinite;
     }
     @keyframes creedPulse {
       0%, 100% {
         border-color: rgba(190,41,64,0.25);
         box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 18px rgba(190,41,64,0.10), inset 0 1px 0 rgba(255,255,255,0.04);
       }
       50% {
         border-color: rgba(190,41,64,0.55);
         box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 34px rgba(190,41,64,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
       }
     }
     .bento-bar {
       display: grid;
       grid-template-columns: 90px 1fr;
       gap: 10px;
       align-items: center;
       font-size: 11px;
       text-transform: uppercase;
       color: rgba(255,255,255,0.55);
       letter-spacing: 0.18em;
       font-family: "Roboto Mono", monospace;
     }
     .bento-bar__track {
       height: 6px;
       background: rgba(255,255,255,0.1);
       border-radius: 999px;
       overflow: hidden;
     }
     .bento-bar__fill {
       height: 100%;
       background: linear-gradient(90deg, #BE2940, rgba(255,255,255,0.6));
       box-shadow: 0 0 12px rgba(190,41,64,0.6);
     }
     .bento-metrics {
       margin-top: 12px;
       display: flex;
       gap: 18px;
       font-family: "Roboto Mono", monospace;
       text-transform: uppercase;
       letter-spacing: 0.2em;
       color: rgba(255,255,255,0.55);
       font-size: 10px;
     }
     .bento-metrics strong {
       display: block;
       font-size: 20px;
       color: #ffffff;
       letter-spacing: 0.08em;
     }

     .bento-mantra {
       margin-top: 18px;
       display: flex;
       flex-direction: column;
       gap: 6px;
       overflow: hidden;
       max-width: 100%;
     }
     .bento-mantra__line {
       font-weight: 800;
       color: #ffffff;
       letter-spacing: 0.02em;
       line-height: 1.02;
       text-transform: uppercase;
       text-align: left;
       font-size: clamp(40px, 5.2vw, 88px);
       opacity: 0;
       animation: mantraLine 6s infinite;
     }
     .bento-mantra__line--1 { animation-delay: 0s; }
     .bento-mantra__line--2 { animation-delay: 1.4s; }
     .bento-mantra__line--3 { animation-delay: 2.8s; }
     @keyframes mantraLine {
       0% { opacity: 0; transform: translateY(6px); }
       10% { opacity: 1; transform: translateY(0); }
       70% { opacity: 1; transform: translateY(0); }
       100% { opacity: 1; transform: translateY(0); }
     }
     @media (max-width: 640px) {
       .bento-mantra__line {
         font-size: clamp(24px, 6.5vw, 44px);
         letter-spacing: 0.02em;
       }
     }
     @media (prefers-reduced-motion: reduce) {
       .bento-mantra__line {
         opacity: 1;
         animation: none;
       }
     }

     .bento-wave {
       position: absolute;
       right: -20px;
       top: 40%;
       width: 200px;
       height: 80px;
       opacity: 0.3;
       background:
         radial-gradient(circle at 20% 50%, rgba(190,41,64,0.45), transparent 40%),
         radial-gradient(circle at 60% 50%, rgba(190,41,64,0.35), transparent 45%);
       filter: blur(2px);
     }

     @keyframes bentoGlow {
       0%, 100% { opacity: 0.45; }
       50% { opacity: 0.75; }
     }

     /* Systems Console (Capabilities) */
     .console-band {
       position: relative;
       background: #121820;
       border-top: 1px solid rgba(255,255,255,0.08);
       border-bottom: 1px solid rgba(255,255,255,0.08);
     }
    .console-band::after {
      content: none;
    }
    .console-scanline {
      display: none;
    }
     .console-header {
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 24px;
     }
     .console-tag {
       font-size: 10px;
       letter-spacing: 0.35em;
       text-transform: uppercase;
       color: rgba(255,255,255,0.45);
       font-family: "Roboto Mono", monospace;
     }
     .console-title {
       font-size: clamp(24px, 3vw, 40px);
       font-weight: 500;
       letter-spacing: -0.02em;
     }
     .console-rail {
       height: 2px;
       flex: 1;
       background: linear-gradient(90deg, rgba(190,41,64,0.0), rgba(190,41,64,0.7), rgba(190,41,64,0.0));
       box-shadow: 0 0 18px rgba(190,41,64,0.35);
     }
     .console-grid {
       display: grid;
       grid-template-columns: 1fr;
       gap: 16px;
     }
     @media (min-width: 768px) { .console-grid { grid-template-columns: repeat(2, 1fr); } }
     @media (min-width: 1280px) { .console-grid { grid-template-columns: repeat(4, 1fr); } }
     .console-module {
       position: relative;
       padding: 20px 20px 22px;
       background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
       border: 1px solid rgba(255,255,255,0.10);
       box-shadow: 0 16px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
       transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
       overflow: hidden;
     }
     .console-module:hover {
       border-color: rgba(190,41,64,0.6);
       transform: translateY(-4px);
       box-shadow: 0 22px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
     }
     .module-number {
       font-family: "Roboto Mono", monospace;
       font-size: 10px;
       letter-spacing: 0.35em;
       color: rgba(255,255,255,0.35);
     }
     .module-title {
       font-size: 18px;
       font-weight: 500;
       margin-top: 10px;
       transition: color 220ms ease;
     }
     .module-desc {
       font-size: 13px;
       line-height: 1.6;
       color: rgba(255,255,255,0.55);
       margin-top: 10px;
     }
    .hud {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.18);
      display: grid;
      place-items: center;
      background: transparent;
      box-shadow: none;
    }
    .hud::before {
      content: "";
      position: absolute;
      inset: 6px;
      border-radius: 999px;
      border: 1px dashed rgba(255,255,255,0.2);
      animation: hudRotate 12s linear infinite;
    }
    .hud .iconify {
      font-size: 18px;
      line-height: 1;
      animation: hudPulse 2.8s ease-in-out infinite;
    }
    .status-led {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #BE2940;
      box-shadow: 0 0 8px rgba(190,41,64,0.85);
      display: inline-block;
      margin-right: 8px;
      animation: ledPulse 2s ease-in-out infinite;
    }
    .module-number .status-led { margin-right: 10px; }

     /* Philosophy -> Operational Protocols */
     .protocols {
       display: grid;
       gap: 14px;
     }
     .protocol-card {
       position: relative;
       padding: 18px 18px 18px 22px;
       background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
       border: 1px solid rgba(255,255,255,0.08);
       box-shadow: 0 14px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
       transition: border-color 200ms ease, transform 200ms ease;
     }
     .protocol-card::before {
       content: "";
       position: absolute;
       left: 0;
       top: 0;
       bottom: 0;
       width: 3px;
       background: rgba(190,41,64,0.7);
     }
     .protocol-card:hover {
       border-color: rgba(190,41,64,0.5);
       transform: translateY(-3px);
     }
     .protocol-kicker {
       font-family: "Roboto Mono", monospace;
       font-size: 10px;
       letter-spacing: 0.28em;
       text-transform: uppercase;
       color: rgba(255,255,255,0.45);
     }
     .protocol-title {
       font-size: 18px;
       font-weight: 500;
       margin-top: 8px;
       transition: color 220ms ease;
     }
     .protocol-desc {
       font-size: 13px;
       line-height: 1.6;
       color: rgba(255,255,255,0.55);
       margin-top: 8px;
     }
     .protocol-readouts {
       display: grid;
       grid-template-columns: repeat(3, minmax(0, 1fr));
       gap: 10px;
       margin-top: 14px;
     }
     .readout {
       font-family: "Roboto Mono", monospace;
       font-size: 10px;
       letter-spacing: 0.18em;
       text-transform: uppercase;
       color: rgba(255,255,255,0.35);
       border-top: 1px solid rgba(255,255,255,0.08);
       padding-top: 8px;
     }
     .readout strong {
       display: block;
       color: #ffffff;
       font-size: 12px;
       letter-spacing: 0.08em;
       margin-top: 6px;
     }
    .data-strip {
      height: 2px;
      margin-top: 12px;
      background: linear-gradient(90deg, rgba(190,41,64,0.8), rgba(255,255,255,0.2));
      opacity: 0.6;
      background-size: 200% 100%;
      animation: dataFlow 6s linear infinite;
    }
    @keyframes scanlineSweep {
      0% { top: 18%; opacity: 0.2; }
      50% { top: 55%; opacity: 0.6; }
      100% { top: 85%; opacity: 0.2; }
    }
    @keyframes hudRotate {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    @keyframes hudPulse {
      0%, 100% { opacity: 0.7; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.08); }
    }
    @keyframes ledPulse {
      0%, 100% { opacity: 0.5; }
      50% { opacity: 1; }
    }
    @keyframes dataFlow {
      0% { background-position: 0% 0%; }
      100% { background-position: 200% 0%; }
    }

    /* --- RES NON-VERBA + NOBEL ETHOS (Scoped) --- */
    .res-ethos-scope {
      --bg-deep: #050508;
      --bg-panel: #0a0a0f;
      --border-dim: rgba(255,255,255,0.07);
      --border-hover: rgba(255,255,255,0.15);
      --accent: #ef4444;
      --accent-glow: rgba(239,68,68,0.25);
      --text-primary: #f0f0f2;
      --text-secondary: rgba(255,255,255,0.5);
      --text-ghost: rgba(255,255,255,0.2);
      --mono: 'JetBrains Mono', monospace;
      --sans: 'Instrument Sans', sans-serif;
    }

    .res-ethos-scope .container {
      position: relative;
      z-index: 10;
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 clamp(24px, 4vw, 48px);
    }

    .res-ethos-scope .section-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 16px;
    }

    .res-ethos-scope .section-tag {
      font-family: var(--mono);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.2em;
      color: var(--text-secondary);
      text-transform: uppercase;
    }

    .res-ethos-scope .res-latin-label {
      position: relative;
      display: inline-grid;
      white-space: nowrap;
    }

    .res-ethos-scope .res-latin-label .label-latin,
    .res-ethos-scope .res-latin-label .label-english {
      grid-area: 1 / 1;
      transition: opacity 180ms ease;
    }

    .res-ethos-scope .res-latin-label .label-latin {
      opacity: 1;
    }

    .res-ethos-scope .res-latin-label .label-english {
      opacity: 0;
      color: #BE2940;
      pointer-events: none;
    }

    .res-ethos-scope .res-latin-label:hover .label-latin,
    .res-ethos-scope .res-latin-label:focus-visible .label-latin {
      opacity: 0;
    }

    .res-ethos-scope .res-latin-label:hover .label-english,
    .res-ethos-scope .res-latin-label:focus-visible .label-english {
      opacity: 1;
    }

    .res-ethos-scope .section-rule {
      height: 1px;
      flex: 1;
      max-width: 120px;
      background: linear-gradient(90deg, var(--border-dim), transparent);
    }

    .res-ethos-scope .section-title {
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.02em;
      color: var(--text-primary);
      margin-bottom: 48px;
    }

    .res-ethos-scope .noise-layer {
      position: absolute;
      inset: 0;
      opacity: 0.035;
      pointer-events: none;
      z-index: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 128px 128px;
    }

    .res-ethos-scope .cam-bracket {
      position: absolute;
      width: 20px;
      height: 20px;
      z-index: 5;
      transition: all 0.4s ease;
    }
    .res-ethos-scope .cam-bracket--tl { top: 8px; left: 8px; border-top: 1px solid var(--text-ghost); border-left: 1px solid var(--text-ghost); }
    .res-ethos-scope .cam-bracket--tr { top: 8px; right: 8px; border-top: 1px solid var(--text-ghost); border-right: 1px solid var(--text-ghost); }
    .res-ethos-scope .cam-bracket--bl { bottom: 8px; left: 8px; border-bottom: 1px solid var(--text-ghost); border-left: 1px solid var(--text-ghost); }
    .res-ethos-scope .cam-bracket--br { bottom: 8px; right: 8px; border-bottom: 1px solid var(--text-ghost); border-right: 1px solid var(--text-ghost); }

    .res-ethos-scope .cam-hud-top {
      position: absolute;
      top: 14px;
      left: 14px;
      right: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 10;
    }

    .res-ethos-scope .cam-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-dim);
      padding: 4px 10px;
      font-family: var(--mono);
      font-size: 10px;
      color: var(--text-primary);
      letter-spacing: 0.1em;
    }

    .res-ethos-scope .cam-meta { font-family: var(--mono); font-size: 9px; color: var(--text-ghost); }

    .res-ethos-scope .live-dot {
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: pulse-dot 2s ease-in-out infinite;
    }

    .res-ethos-scope .cam-crosshair {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      z-index: 2;
    }

    .res-ethos-scope .crosshair-ring {
      width: 48px;
      height: 48px;
      border: 1px solid rgba(255,255,255,0.1);
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.5s ease;
    }

    .res-ethos-scope .crosshair-dot {
      width: 4px;
      height: 4px;
      background: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 12px var(--accent-glow);
    }

    .res-ethos-scope .crosshair-line { position: absolute; background: rgba(255,255,255,0.05); }
    .res-ethos-scope .crosshair-line--h { width: 100%; height: 1px; top: 50%; }
    .res-ethos-scope .crosshair-line--v { height: 100%; width: 1px; left: 50%; }

    .res-ethos-scope .cam-telemetry {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 10;
      background: linear-gradient(transparent, rgba(0,0,0,0.85));
      padding: 36px 16px 14px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
    }

    .res-ethos-scope .telemetry-group { display: flex; flex-direction: column; gap: 3px; }
    .res-ethos-scope .telemetry-label { font-family: var(--mono); font-size: 9px; color: var(--text-ghost); letter-spacing: 0.1em; }
    .res-ethos-scope .telemetry-value { font-family: var(--mono); font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
    .res-ethos-scope .telemetry-value--accent {
      color: var(--accent);
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.15em;
      animation: pulse-text 2s ease-in-out infinite;
    }
    .res-ethos-scope .telemetry-bar {
      height: 3px;
      width: 80px;
      background: rgba(255,255,255,0.08);
      border-radius: 2px;
      overflow: hidden;
      margin-top: 6px;
    }
    .res-ethos-scope .telemetry-bar-fill {
      height: 100%;
      background: var(--accent);
      border-radius: 2px;
      animation: bar-fill 3s ease-in-out infinite;
    }

    .res-ethos-scope .scanline-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
    .res-ethos-scope .scanline-overlay::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 2px;
      background: rgba(255,255,255,0.03);
      animation: scanline 8s linear infinite;
    }

    .res-ethos-scope .cam-panel-base {
      position: relative;
      background: var(--bg-panel);
      border: 1px solid var(--border-dim);
      overflow: hidden;
      transition: border-color 0.5s ease;
    }
    .res-ethos-scope .cam-panel-base::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px);
      pointer-events: none;
      z-index: 1;
    }
    .res-ethos-scope .cam-panel-base:hover { border-color: var(--border-hover); }
    .res-ethos-scope .cam-panel-base:hover .cam-bracket { width: 28px; height: 28px; border-color: var(--accent-glow); }
    .res-ethos-scope .cam-panel-base:hover .crosshair-ring { transform: scale(0.7); }
    .res-ethos-scope .cam-center-label {
      position: absolute;
      font-family: var(--mono);
      font-size: 11px;
      color: rgba(255,255,255,0.06);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      white-space: nowrap;
      z-index: 3;
      top: 50%;
      left: 50%;
      transform: translate(-50%, calc(-50% + 40px));
      transition: color 0.5s;
    }
    .res-ethos-scope .cam-panel-base:hover .cam-center-label { color: rgba(255,255,255,0.12); }

    .res-ethos-scope .s03 {
      position: relative;
      padding: 100px 0 0;
      overflow: hidden;
    }
    .res-ethos-scope .s03::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 70% 50% at 30% 40%, rgba(239,68,68,0.025) 0%, transparent 70%);
      pointer-events: none;
    }
    .res-ethos-scope .s03-layout {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: 720px;
      gap: clamp(10px, 1.2vw, 16px);
      align-items: stretch;
    }
    @media (max-width: 600px) {
      .res-ethos-scope .s03-layout { display: flex; flex-direction: column; gap: 16px; }
    }
    .res-ethos-scope .s03-cam {
      grid-row: 1;
      min-height: 400px;
      width: 100%;
    }
    .res-ethos-scope .s03-cam--left { grid-column: 1; }
    .res-ethos-scope .s03-cam--right { grid-column: 2; }
    .res-ethos-scope .s03-copy-panel {
      grid-column: 2;
      grid-row: 1;
      min-height: 400px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: clamp(18px, 3vw, 42px);
    }
    .res-ethos-scope .s03-copy-panel .vi-test-kicker {
      margin-bottom: 12px;
    }
    .res-ethos-scope .s03-copy-panel .vi-test-title {
      margin-bottom: 14px;
      line-height: 0.95;
    }
    .res-ethos-scope .s03-copy-panel .vi-test-sub {
      max-width: none;
      white-space: nowrap;
    }
    .res-ethos-scope .s03-cam-media {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }
    @media (max-width: 600px) {
      .res-ethos-scope .s03-copy-panel {
        min-height: auto;
        padding: 12px 0 6px;
      }
      .res-ethos-scope .s03-copy-panel .vi-test-title {
        font-size: clamp(34px, 10vw, 56px);
      }
    }

    .res-ethos-scope .s04 {
      position: relative;
      padding: 100px 0 120px;
      overflow: hidden;
      background: #121820;
    }
    .res-ethos-scope .s04::before {
      content: none;
    }
    .res-ethos-scope .section-divider {
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border-dim), transparent);
    }
    .res-ethos-scope .ethos-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      grid-template-rows: auto auto;
      gap: 16px;
    }
    .res-ethos-scope .ethos-card--01 { grid-column: 1; grid-row: 1; }
    .res-ethos-scope .ethos-card--02 { grid-column: 2; grid-row: 1; }
    .res-ethos-scope .ethos-card--03 { grid-column: 1 / -1; grid-row: 2; }
    @media (max-width: 600px) {
      .res-ethos-scope .ethos-grid { grid-template-columns: 1fr; }
      .res-ethos-scope .ethos-card--01,
      .res-ethos-scope .ethos-card--02,
      .res-ethos-scope .ethos-card--03 { grid-column: 1; grid-row: auto; }
    }
    .res-ethos-scope .ethos-card {
      position: relative;
      background: var(--bg-panel);
      border: 1px solid var(--border-dim);
      overflow: hidden;
      transition: border-color 0.5s ease;
      cursor: default;
    }
    .res-ethos-scope .ethos-card:hover { border-color: var(--border-hover); }
    .res-ethos-scope .ethos-accent-line {
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px; background: var(--accent);
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .res-ethos-scope .ethos-card:hover .ethos-accent-line { transform: scaleX(1); }
    .res-ethos-scope .ethos-chip {
      font-family: var(--mono);
      font-size: 9px;
      font-weight: 500;
      letter-spacing: 0.2em;
      color: var(--text-secondary);
      text-transform: uppercase;
      border: 1px solid var(--border-dim);
      padding: 5px 12px;
      display: inline-block;
      transition: border-color 0.4s;
    }
    .res-ethos-scope .ethos-card:hover .ethos-chip { border-color: var(--accent-glow); }
    .res-ethos-scope .ethos-title {
      font-family: var(--sans);
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.02em;
      transition: color 220ms ease;
    }

    /* Section-card title hover accent */
    .console-module:hover .module-title,
    .protocol-card:hover .protocol-title,
    .res-ethos-scope .ethos-card:hover .ethos-title {
      color: #BE2940;
    }
    .res-ethos-scope .ethos-desc {
      font-family: var(--mono);
      font-size: 14px;
      line-height: 1.8;
      color: var(--text-secondary);
    }
    .res-ethos-scope .ethos-card--01 {
      padding: 48px 44px 44px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 340px;
    }
    .res-ethos-scope .ethos-card--01 .ethos-number {
      font-family: var(--mono);
      font-size: 120px;
      font-weight: 700;
      line-height: 0.85;
      color: rgba(255,255,255,0.03);
      position: absolute;
      top: 20px;
      right: 36px;
      z-index: 0;
      transition: color 0.5s;
      user-select: none;
    }
    .res-ethos-scope .ethos-card--01:hover .ethos-number { color: rgba(239,68,68,0.07); }
    .res-ethos-scope .ethos-top-row { display: flex; align-items: flex-start; justify-content: space-between; position: relative; z-index: 2; }
    .res-ethos-scope .ethos-status { display: flex; align-items: center; gap: 6px; }
    .res-ethos-scope .ethos-status-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; opacity: 0; transition: opacity 0.4s; }
    .res-ethos-scope .ethos-card:hover .ethos-status-dot { opacity: 1; }
    .res-ethos-scope .ethos-status-text {
      font-family: var(--mono);
      font-size: 9px;
      color: var(--text-ghost);
      letter-spacing: 0.1em;
      opacity: 0;
      transition: opacity 0.4s;
    }
    .res-ethos-scope .ethos-card:hover .ethos-status-text { opacity: 1; }
    .res-ethos-scope .ethos-bottom { position: relative; z-index: 2; }
    .res-ethos-scope .ethos-card--01 .ethos-title { font-size: clamp(24px, 2.5vw, 36px); margin-bottom: 12px; }
    .res-ethos-scope .ethos-card--01 .ethos-desc { max-width: 440px; }
    .res-ethos-scope .ethos-card--01 .deco-grid { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
    .res-ethos-scope .ethos-card--01 .deco-grid::before {
      content: '';
      position: absolute;
      top: 0; bottom: 0; left: 50%;
      width: 1px;
      background: linear-gradient(180deg, transparent, rgba(255,255,255,0.03), transparent);
    }
    .res-ethos-scope .ethos-card--01 .deco-grid::after {
      content: '';
      position: absolute;
      left: 0; right: 0; top: 55%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    }
    .res-ethos-scope .ethos-card--02 {
      padding: 44px 36px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      min-height: 340px;
    }
    .res-ethos-scope .ethos-card--02 .ethos-number {
      position: absolute;
      top: 20px;
      left: 28px;
      right: auto;
      font-family: var(--mono);
      font-size: 120px;
      font-weight: 700;
      line-height: 0.85;
      color: rgba(255,255,255,0.03);
      z-index: 0;
      transition: color 0.5s;
      user-select: none;
    }
    .res-ethos-scope .ethos-card--02:hover .ethos-number { color: rgba(239,68,68,0.07); }
    .res-ethos-scope .ethos-card--02 .ethos-number-vertical {
      position: absolute;
      top: 36px;
      right: 32px;
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.15em;
      color: var(--text-ghost);
      writing-mode: vertical-lr;
      text-orientation: mixed;
      z-index: 2;
      transition: color 0.5s;
    }
    .res-ethos-scope .ethos-card--02:hover .ethos-number-vertical { color: var(--accent); }
    .res-ethos-scope .ethos-card--02 .deco-vline {
      position: absolute;
      top: 36px;
      left: 36px;
      bottom: 36px;
      width: 1px;
      background: linear-gradient(180deg, var(--accent), transparent 60%);
      opacity: 0.15;
      z-index: 1;
    }
    .res-ethos-scope .ethos-card--02 .ethos-inner { position: relative; z-index: 2; padding-left: 20px; }
    .res-ethos-scope .ethos-card--02 .ethos-chip { margin-bottom: 14px; }
    .res-ethos-scope .ethos-card--02 .ethos-title { font-size: clamp(20px, 2vw, 28px); margin-bottom: 12px; }
    .res-ethos-scope .ethos-card--03 {
      padding: 36px 44px;
      display: grid;
      grid-template-columns: auto 1px 1fr 1px auto;
      gap: 0;
      align-items: center;
      min-height: 140px;
    }
    @media (max-width: 600px) {
      .res-ethos-scope .ethos-card--03 { display: flex; flex-direction: column; gap: 20px; }
    }
    .res-ethos-scope .ethos-card--03 .strip-left { display: flex; align-items: center; gap: 20px; padding-right: 40px; }
    .res-ethos-scope .strip-number {
      font-family: var(--mono);
      font-size: 56px;
      font-weight: 700;
      color: rgba(255,255,255,0.04);
      line-height: 1;
      transition: color 0.5s;
    }
    .res-ethos-scope .ethos-card--03:hover .strip-number { color: rgba(239,68,68,0.1); }
    .res-ethos-scope .strip-left-text { display: flex; flex-direction: column; gap: 4px; }
    .res-ethos-scope .strip-divider {
      width: 1px;
      height: 60px;
      background: linear-gradient(180deg, transparent, var(--border-dim), transparent);
    }
    .res-ethos-scope .ethos-card--03 .strip-center { padding: 0 40px; flex: 1; }
    .res-ethos-scope .ethos-card--03 .strip-center .ethos-desc {
      display: inline-block;
      width: fit-content;
      max-width: 100%;
    }
    .res-ethos-scope .ethos-card--03 .strip-right { padding-left: 40px; display: flex; align-items: center; gap: 12px; }
    .res-ethos-scope .strip-tag {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: 0.15em;
      color: var(--text-ghost);
      text-transform: uppercase;
    }
    .res-ethos-scope .strip-indicator { display: flex; gap: 3px; }
    .res-ethos-scope .strip-indicator span {
      width: 16px;
      height: 3px;
      background: rgba(255,255,255,0.08);
      border-radius: 1px;
      transition: background 0.4s;
    }
    .res-ethos-scope .strip-indicator span:first-child { width: 24px; }
    .res-ethos-scope .ethos-card--03:hover .strip-indicator span:first-child { background: var(--accent); }
    .res-ethos-scope .ethos-card--03:hover .strip-indicator span:nth-child(2) { background: rgba(239,68,68,0.3); }

    /* Easter-egg clipping/stacking fixes (surgical) */
    .console-module.hover-egg-trigger {
      overflow: visible !important;
      position: relative;
      z-index: 2;
    }
    .console-module.hover-egg-trigger .hover-egg {
      z-index: 2;
    }
    .console-module.hover-egg-trigger .hover-egg--tr {
      top: clamp(-72px, -6vw, -42px);
      right: clamp(8px, 1.2vw, 16px);
      left: auto;
      width: clamp(120px, 14vw, 170px);
      z-index: 1;
    }
    .console-module.hover-egg-trigger > *:not(.hover-egg) {
      position: relative;
      z-index: 3;
    }

    .ethos-card--03.hover-egg-trigger {
      overflow: visible !important;
      position: relative;
    }
    .ethos-card--03.hover-egg-trigger .hover-egg--tl {
      top: 50%;
      right: clamp(22px, 4.2vw, 76px);
      left: auto;
      width: clamp(120px, 13vw, 170px);
      z-index: 2;
      opacity: 0;
      transform: translateY(-50%) scale(0.98);
    }
    .ethos-card--03.hover-egg-trigger:hover .hover-egg--tl {
      opacity: 1;
      transform: translateY(-50%) scale(1);
    }
    .ethos-card--03.hover-egg-trigger .hover-egg--tl img {
      opacity: 0.5;
      mix-blend-mode: normal;
      filter: grayscale(0.08) contrast(1.08) brightness(1.25) blur(0) drop-shadow(0 10px 24px rgba(0,0,0,0.35));
    }
    .ethos-card--03.hover-egg-trigger .strip-left,
    .ethos-card--03.hover-egg-trigger .strip-center,
    .ethos-card--03.hover-egg-trigger .strip-right {
      position: relative;
      z-index: 3;
    }


/* Facility section styles (externalized) */
  #facility-editorial {
    position: relative;
    overflow: hidden;
  }
  #facility-editorial .facility-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
  }
  @media (max-width: 1023px) {
    #facility-editorial .facility-wrap {
      grid-template-columns: 1fr;
    }
  }
  #facility-editorial .facility-card {
    background: rgba(10, 10, 16, 0.65);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
  }
  #facility-editorial .facility-img-wrap {
    position: relative;
    height: clamp(420px, 60vh, 720px);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
  }
  #facility-editorial .facility-img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.16;
    pointer-events: none;
    z-index: 2;
  }
  #facility-editorial .facility-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
    z-index: 3;
  }
  #facility-editorial .facility-noise { display: none; }
  #facility-editorial .facility-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: rgba(255,255,255,0.18);
    border-style: solid;
    z-index: 5;
    pointer-events: none;
  }
  #facility-editorial .facility-corner.tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
  #facility-editorial .facility-corner.tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
  #facility-editorial .facility-corner.bl { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
  #facility-editorial .facility-corner.br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }

  /* Facilities three-line hover highlight */
  .facility-lines span {
    display: inline-block;
    background-image: linear-gradient(rgba(190,41,64,0.92), rgba(190,41,64,0.92));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    transition: background-size 220ms ease, color 220ms ease;
  }
  .facility-lines span:hover {
    background-size: 100% 100%;
    color: #ffffff;
  }
  .facility-locale-line {
    display: inline-block;
    white-space: nowrap;
  }

  /* Premium footer system */
  .footer-shell {
    padding-top: clamp(28px, 4vw, 52px);
    padding-bottom: clamp(20px, 3vw, 34px);
  }

  .footer-rail {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(28px, 2.8vw, 60px);
    padding-right: clamp(28px, 2.8vw, 60px);
  }

  .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  @media (min-width: 1024px) {
    .footer-main {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 40px;
    }
  }

  .footer-brand {
    display: flex;
    align-items: center;
  }

  .footer-logo {
    width: 156px;
    height: 56px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 0.98;
  }

  .footer-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    justify-self: start;
    text-align: left;
  }

  @media (min-width: 1024px) {
    .footer-contact {
      width: fit-content;
      margin-left: auto;
      justify-self: end;
      justify-items: end;
      align-items: end;
      text-align: right;
    }
  }

  .footer-email {
    color: #BE2940;
    font-family: "Roboto Mono", monospace;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: color 180ms ease;
    white-space: nowrap;
  }

  .footer-email:hover {
    color: #ffffff;
  }

  .footer-blurb {
    margin: 0;
    font-family: "Roboto Mono", monospace;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
  }

  .footer-legal {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
  }

  @media (min-width: 768px) {
    .footer-legal {
      flex-direction: row;
      align-items: center;
    }
  }

  .footer-copy {
    margin: 0;
    font-family: "Roboto Mono", monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.33);
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .footer-links a {
    font-family: "Roboto Mono", monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.33);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 180ms ease;
  }

  .footer-links a:hover {
    color: #BE2940;
  }

/* Vertical Integration v2 test section */
.vi-test-section {
  position: relative;
  width: 100%;
  padding: clamp(56px, 8vh, 90px) 0;
  overflow: hidden;
  background: transparent;
}
.vi-test-glow {
  position: absolute;
  top: 52%;
  left: 58%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,41,64,0.028) 0%, rgba(190,41,64,0.012) 42%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.vi-test-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vh, 56px);
}
.vi-test-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #BE2940;
  margin-bottom: 10px;
}
.vi-test-title {
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
}
.vi-test-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.46);
}
.vi-test-sub strong { color: #fff; font-weight: 500; }

.vi-test-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .vi-test-layout { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
}

.vi-test-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.vi-test-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(10,15,24,0.65);
  border: 1px solid rgba(190,41,64,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.vi-test-img__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  filter: grayscale(1) saturate(0.15) contrast(1.02) brightness(0.72);
  transition: filter 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.vi-test-img::before,
.vi-test-img::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(190,41,64,0.2);
  transition: background 0.5s;
}
.vi-test-img::before { top: 8px; left: 8px; }
.vi-test-img::after { bottom: 8px; right: 8px; }
.vi-test-img__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px;
}
.vi-test-img__num {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(190,41,64,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  transition: all 0.5s;
  flex-shrink: 0;
}
.vi-test-img__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.5s;
  padding-top: 6px;
}
.vi-test-img.is-warm { border-color: rgba(190,41,64,0.25); }
.vi-test-img.is-warm .vi-test-img__num { border-color: rgba(190,41,64,0.3); color: rgba(255,255,255,0.6); }
.vi-test-img.is-warm .vi-test-img__label { color: rgba(255,255,255,0.5); }
.vi-test-img.is-active {
  border-color: #BE2940;
  box-shadow: 0 0 40px rgba(190,41,64,0.12);
  background: rgba(190,41,64,0.03);
}
.vi-test-img.is-active .vi-test-img__media {
  filter: grayscale(0) saturate(1) contrast(1) brightness(1);
  transform: scale(1.01);
}
.vi-test-img.is-active::before,
.vi-test-img.is-active::after { background: #BE2940; }
.vi-test-img.is-active .vi-test-img__num {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255,255,255,0.18);
}
.vi-test-img.is-active .vi-test-img__label { color: #ffffff; }
.vi-test-img.is-dimmed { opacity: 0.55; }

.vi-test-orbit-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
  overflow: visible;
}
.vi-test-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.vi-test-orbit-ring--base {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.05;
}
.vi-test-orbit-ring--dash {
  stroke: rgba(190, 41, 64, 0.13);
  stroke-width: 0.9;
  stroke-dasharray: 4 10;
  stroke-linecap: round;
}
.vi-test-orbit-ring--inner {
  stroke: rgba(190, 41, 64, 0.09);
  stroke-width: 0.8;
}
.vi-test-leader {
  stroke: rgba(255,255,255,0.32);
  stroke-width: 0.7;
  opacity: 0.12;
  transition: opacity 260ms ease, stroke-width 260ms ease, stroke 260ms ease;
  pointer-events: none;
}
.vi-test-leader.is-warm {
  opacity: 0.22;
  stroke: rgba(190,41,64,0.55);
}
.vi-test-leader.is-active {
  opacity: 0.35;
  stroke: rgba(190,41,64,0.85);
  stroke-width: 1.2;
}
.vi-test-leader.is-dimmed {
  opacity: 0.08;
}
#vi2-activeArc {
  stroke-width: 2.2;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(190,41,64,0.28));
  transition: opacity 220ms ease;
}
.vi-test-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(244px, 24vw, 286px);
  height: clamp(244px, 24vw, 286px);
  border-radius: 50%;
  background: transparent;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px;
  z-index: 5;
  overflow: hidden;
  transition: border-color 0.6s;
}
.vi-test-center.is-active { border-color: rgba(190,41,64,0.15); }
.vi-test-center__icon {
  width: 66px;
  height: 66px;
  margin-bottom: 6px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 8px rgba(190,41,64,0.2));
}
.vi-test-center__icon svg {
  width: 100%;
  height: 100%;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}
.vi-test-center__icon svg[style*="drop-shadow"] {
  filter: drop-shadow(0 0 10px rgba(190, 41, 64, 0.2)) !important;
}
.vi-test-center.is-active .vi-test-center__icon { opacity: 1; transform: scale(1); }
.vi-test-center__title {
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(15px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  white-space: nowrap;
  color: #ffffff;
  margin-bottom: 12px;
  opacity: 1;
  transition: opacity 0.5s;
}
.vi-test-center.is-active .vi-test-center__title { opacity: 1; }
.vi-test-center__desc {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  line-height: 1.55;
  color: rgba(255,255,255,0.46);
  max-width: 214px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.5s 0.1s;
}
.vi-test-center.is-active .vi-test-center__desc { opacity: 1; transform: translateY(0); }
.vi-test-center.is-active .vi-test-center__icon,
.vi-test-center.is-active .vi-test-center__title,
.vi-test-center.is-active .vi-test-center__desc {
  position: absolute;
  left: 50%;
  width: calc(100% - 70px);
  text-align: center;
}
.vi-test-center.is-active .vi-test-center__icon {
  top: 44px;
  transform: translateX(-50%) scale(1);
}
.vi-test-center.is-active .vi-test-center__title {
  top: 116px;
  margin: 0;
  transform: translateX(-50%);
}
.vi-test-center.is-active .vi-test-center__desc {
  top: 158px;
  margin: 0;
  transform: translateX(-50%);
}
.vi-test-center__desc .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(2px);
  filter: blur(1.5px);
  transition: opacity 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s;
}
.vi-test-center.is-active .vi-test-center__desc .w { opacity: 1; transform: translateY(0); filter: blur(0); }
.vi-test-center__default { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity 0.4s; }
.vi-test-center.is-active .vi-test-center__default { display: none; }
.vi-test-center:not(.is-active) .vi-test-center__icon,
.vi-test-center:not(.is-active) .vi-test-center__desc {
  display: none;
}
.vi-test-center:not(.is-active) .vi-test-center__default {
  margin-bottom: 18px;
}
.vi-test-center:not(.is-active) .vi-test-center__title {
  margin: 0;
  text-align: center;
}
.vi-test-center__default-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #BE2940;
  box-shadow: 0 0 12px rgba(190,41,64,0.35);
  animation: viDefaultPulse 3s ease-in-out infinite;
}
.vi-test-center__default-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.vi-test-onode {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  width: 52px;
  height: 52px;
  transition: opacity 0.5s;
}
.vi-test-onode__ring {
  position: absolute;
  inset: 0;
}
.vi-test-onode__labelWrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(
    calc(-50% + var(--label-dx, 0px)),
    calc(-50% + var(--label-dy, 0px))
  );
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.26);
  transition: border-color 260ms ease, background-color 260ms ease, box-shadow 260ms ease;
}
.vi-test-onode__ring {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(190,41,64,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,15,24,0.9);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  box-shadow: 0 0 20px rgba(190,41,64,0.1), 0 0 8px rgba(190,41,64,0.06);
  animation: viIdlePulse 4s ease-in-out infinite;
}
.vi-test-onode[data-i="0"] .vi-test-onode__ring { animation-delay: 0s; }
.vi-test-onode[data-i="1"] .vi-test-onode__ring { animation-delay: 1s; }
.vi-test-onode[data-i="2"] .vi-test-onode__ring { animation-delay: 2s; }
.vi-test-onode[data-i="3"] .vi-test-onode__ring { animation-delay: 3s; }
.vi-test-onode.is-active .vi-test-onode__ring,
.vi-test-onode.is-dimmed .vi-test-onode__ring,
.vi-test-onode.is-warm .vi-test-onode__ring { animation: none; }
.vi-test-onode__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: color 0.5s;
  z-index: 2;
}
.vi-test-onode__label {
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 0.5s;
}
.vi-test-onode__sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  transition: color 0.5s;
}
.vi-test-onode.is-warm .vi-test-onode__ring { border-color: rgba(190,41,64,0.3); transform: scale(1.1); box-shadow: 0 0 28px rgba(190,41,64,0.18); }
.vi-test-onode.is-warm .vi-test-onode__num { color: rgba(255,255,255,0.7); }
.vi-test-onode.is-warm .vi-test-onode__label { color: #ffffff; }
.vi-test-onode.is-warm .vi-test-onode__sub { color: rgba(255,255,255,0.3); }
.vi-test-onode.is-warm .vi-test-onode__labelWrap {
  border-color: rgba(190,41,64,0.34);
  background: rgba(190,41,64,0.08);
}
.vi-test-onode.is-active .vi-test-onode__ring { border-color: #BE2940; transform: scale(1.15); box-shadow: 0 0 30px rgba(190,41,64,0.1); }
.vi-test-onode.is-active .vi-test-onode__ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(190,41,64,0.06);
  animation: viBreathe 3.5s ease-in-out infinite;
}
.vi-test-onode.is-active .vi-test-onode__num { color: #BE2940; }
.vi-test-onode.is-active .vi-test-onode__label { color: #fff; }
.vi-test-onode.is-active .vi-test-onode__sub { color: #BE2940; }
.vi-test-onode.is-active .vi-test-onode__labelWrap {
  border-color: rgba(190,41,64,0.55);
  background: rgba(190,41,64,0.12);
  box-shadow: 0 16px 36px rgba(0,0,0,0.30), 0 0 22px rgba(190,41,64,0.16);
}
.vi-test-onode__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #BE2940;
  opacity: 0;
  pointer-events: none;
}
.vi-test-onode__ping.fire { animation: viPing 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.vi-test-onode.is-dimmed .vi-test-onode__ring { transform: scale(0.95); box-shadow: 0 0 14px rgba(190,41,64,0.06); opacity: 0.6; }
.vi-test-onode.is-dimmed .vi-test-onode__num { color: rgba(255,255,255,0.38); }
.vi-test-onode.is-dimmed .vi-test-onode__sub { color: rgba(255,255,255,0.2); }
.vi-test-onode.is-dimmed .vi-test-onode__label { color: #ffffff; }
.vi-test-onode.is-dimmed .vi-test-onode__labelWrap {
  opacity: 0.7;
}
.vi-test-onode:focus-visible {
  outline: none;
}
.vi-test-onode:focus-visible .vi-test-onode__ring {
  border-color: rgba(190,41,64,0.65);
  box-shadow: 0 0 0 3px rgba(190,41,64,0.20), 0 0 24px rgba(190,41,64,0.2);
}
.vi-test-onode:focus-visible .vi-test-onode__labelWrap {
  border-color: rgba(190,41,64,0.55);
}

.vi-test-secret-egg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(112px, 11vw, 168px);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.96);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 12;
}

.vi-test-secret-egg img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.5;
  mix-blend-mode: normal;
  filter: grayscale(0.08) contrast(1.08) brightness(1.25) blur(0) drop-shadow(0 10px 24px rgba(0,0,0,0.35));
}

.vi-test-secret-egg.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.vi-test-vein.is-pulsing {
  stroke: rgba(190,41,64,0.62) !important;
  stroke-width: 1.7 !important;
  stroke-dasharray: 6 10 !important;
  animation: viEnergyFlow 0.72s linear infinite;
}

.vi-test-pulse-dot {
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(190,41,64,0.75));
}

.vi-test-pulse-dot.is-live {
  opacity: 1;
}

.vi-test-mobile-detail {
  display: none;
  margin-top: 24px;
  padding: 24px;
  background: rgba(10,15,24,0.65);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 2px solid #BE2940;
}
.vi-test-mobile-detail__phase {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #BE2940;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.vi-test-mobile-detail__title {
  font-family: "Instrument Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.vi-test-mobile-detail__desc {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.46);
}

@media (max-width: 1023px) {
  .vi-test-orbit-wrap { display: none; }
  .vi-test-images { order: -1; }
  .vi-test-mobile-detail { display: block; }
  .vi-test-mobile-detail:not(.is-visible) { display: none; }
  .vi-test-secret-egg { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .vi-test-onode__ring,
  .vi-test-onode__label,
  .vi-test-onode__sub,
  .vi-test-onode__labelWrap,
  .vi-test-leader,
  #vi2-activeArc,
  .vi-test-pulse-dot {
    transition: none !important;
  }
  .vi-test-onode__ring,
  .vi-test-center__default-dot,
  .vi-test-onode.is-active .vi-test-onode__ring::after,
  .vi-test-pulse-dot.is-live,
  .vi-test-vein.is-pulsing,
  .vi-test-onode__ping.fire {
    animation: none !important;
  }
  .vi-test-center__icon * {
    animation: none !important;
  }
}

/* Hide R&D Lifecycle section on mobile/tablet */
@media (max-width: 1023px) {
  #rd,
  #rd .process-container {
    display: none !important;
  }
}

/* Use hamburger nav on smaller screens */
@media (max-width: 900px) {
  #navbar .nav-links {
    display: none !important;
  }

  #navbar .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* Mobile polish pass */
@media (max-width: 900px) {
  #navbar .container {
    height: 58px;
    padding-left: 14px !important;
    padding-right: 14px !important;
    gap: 10px;
  }

  #navbar .nav-logo-mark {
    width: 112px !important;
    height: 40px !important;
    flex-shrink: 0;
  }

  #navbar .nav-contact-btn {
    display: none;
  }

  #hero .section-frame {
    padding-top: 0;
    padding-bottom: 0;
  }

  #hero .hud-section__inner {
    padding-top: 92px;
    padding-bottom: 110px;
  }

  #hero #heroCopy .font-mono {
    margin-bottom: 10px;
  }

  #hero .typewriter {
    font-size: clamp(1.5rem, 8vw, 2.05rem);
    letter-spacing: 0.18em;
  }

  #hero #heroCopy h1 span {
    letter-spacing: 0.2em !important;
    font-size: clamp(0.72rem, 2.8vw, 0.88rem);
    line-height: 1.35;
  }

  #hero #heroCopy p {
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 34ch;
  }

  #hero::after {
    height: clamp(96px, 14vh, 140px);
  }

  #motors::before {
    height: clamp(74px, 10vh, 110px);
  }

  .res-ethos-scope .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .res-ethos-scope .s03 {
    padding-top: 68px;
  }

  .res-ethos-scope .s03-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    grid-template-rows: none;
  }

  .res-ethos-scope .s03-cam {
    min-height: 300px;
  }

  .res-ethos-scope .s03-copy-panel {
    min-height: auto;
    padding: 8px 0 0;
  }

  .res-ethos-scope .s03-copy-panel .vi-test-title {
    font-size: clamp(30px, 10vw, 46px);
  }

  .res-ethos-scope .s03-copy-panel .vi-test-sub {
    white-space: normal;
    font-size: 11px;
    line-height: 1.7;
  }

  .res-ethos-scope .s04 {
    padding: 68px 0 84px;
  }

  .res-ethos-scope .ethos-grid {
    grid-template-columns: 1fr;
  }

  .res-ethos-scope .ethos-card--01,
  .res-ethos-scope .ethos-card--02 {
    min-height: unset;
    padding: 28px 22px;
  }

  .res-ethos-scope .ethos-card--01 .ethos-number,
  .res-ethos-scope .ethos-card--02 .ethos-number {
    font-size: 84px;
    top: 12px;
    right: 16px;
    left: auto;
  }

  .res-ethos-scope .ethos-card--02 .ethos-number-vertical {
    display: none;
  }

  .res-ethos-scope .ethos-card--02 .ethos-inner {
    padding-left: 0;
  }

  .res-ethos-scope .ethos-card--02 .deco-vline {
    display: none;
  }

  .res-ethos-scope .ethos-card--03 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    min-height: unset;
    padding: 24px 22px;
    position: relative;
  }

  .res-ethos-scope .ethos-card--03 .strip-left,
  .res-ethos-scope .ethos-card--03 .strip-center,
  .res-ethos-scope .ethos-card--03 .strip-right {
    padding: 0;
    width: 100%;
  }

  .res-ethos-scope .ethos-card--03 .strip-divider,
  .ethos-card--03.hover-egg-trigger .hover-egg--tl {
    display: none !important;
  }

  .res-ethos-scope .ethos-card--03 .strip-left {
    padding-right: 74px;
  }

  .res-ethos-scope .ethos-card--03 .strip-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 84px;
    line-height: 0.85;
  }

  .res-ethos-scope .ethos-desc {
    font-size: 12px;
    line-height: 1.75;
  }

  #facility-editorial {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  #facility-editorial .facility-card {
    padding: 20px !important;
  }

  #facility-editorial .facility-img-wrap {
    height: clamp(280px, 44vh, 420px);
  }

  .footer-main {
    gap: 18px;
  }

  .footer-email {
    font-size: 13px;
    letter-spacing: 0.01em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-blurb {
    letter-spacing: 0.12em;
    font-size: 10px;
    line-height: 1.65;
  }

  .footer-copy,
  .footer-links a {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 700px) and (max-width: 900px) {
  #navbar .container {
    height: 62px;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #navbar .nav-logo-mark {
    width: 124px !important;
    height: 44px !important;
  }

  #hero .hud-section__inner {
    padding-top: 104px;
    padding-bottom: 118px;
  }

  .res-ethos-scope .s03-cam {
    min-height: 360px;
  }

  .res-ethos-scope .ethos-card--01,
  .res-ethos-scope .ethos-card--02 {
    padding: 30px 26px;
  }

  #facility-editorial .facility-img-wrap {
    height: clamp(320px, 40vh, 460px);
  }
}

@media (max-width: 430px) {
  .site-scope .hud-title {
    white-space: normal;
    line-height: 1.1;
  }

  #navbar .container {
    height: 54px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 8px;
  }

  #navbar .nav-logo-mark {
    width: 98px !important;
    height: 34px !important;
  }

  #navbar .nav-links {
    max-width: calc(100vw - 118px) !important;
    gap: 10px !important;
  }

  #navbar .nav-links a {
    font-size: 8px;
    letter-spacing: 0.1em;
    padding: 7px 0;
  }

  #hero .hud-section__inner {
    padding-top: 78px;
    padding-bottom: 92px;
  }

  #hero .typewriter {
    font-size: clamp(1.2rem, 7.2vw, 1.55rem);
    letter-spacing: 0.12em;
  }

  #hero #heroCopy h1 span {
    letter-spacing: 0.12em !important;
    font-size: clamp(0.68rem, 2.5vw, 0.8rem);
    line-height: 1.4;
  }

  #hero #heroCopy p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  #motors .cap-scene {
    min-height: 560px;
  }

  .res-ethos-scope .container,
  .site-scope .hud-section__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .res-ethos-scope .s03 {
    padding-top: 56px;
  }

  .res-ethos-scope .s03-cam {
    min-height: 260px;
  }

  .res-ethos-scope .s03-copy-panel .vi-test-title {
    font-size: clamp(24px, 9vw, 34px);
  }

  .res-ethos-scope .s04 {
    padding: 56px 0 72px;
  }

  .res-ethos-scope .ethos-card--01,
  .res-ethos-scope .ethos-card--02,
  .res-ethos-scope .ethos-card--03 {
    padding: 20px 16px;
  }

  .res-ethos-scope .ethos-card--01 .ethos-number,
  .res-ethos-scope .ethos-card--02 .ethos-number,
  .res-ethos-scope .ethos-card--03 .strip-number {
    font-size: 70px;
    top: 8px;
    right: 10px;
  }

  .res-ethos-scope .ethos-chip {
    font-size: 8px;
    letter-spacing: 0.14em;
    padding: 4px 8px;
  }

  .res-ethos-scope .ethos-desc {
    font-size: 11px;
    line-height: 1.7;
  }

  #facility-editorial {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  #facility-editorial .facility-card {
    padding: 16px !important;
  }

  #facility-editorial .facility-img-wrap {
    height: clamp(232px, 38vh, 320px);
  }

  .footer-shell {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .footer-email {
    font-size: 12px;
  }

  .footer-blurb {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .footer-links {
    gap: 14px;
  }
}

@media (max-width: 390px) {
  #navbar .nav-links {
    max-width: calc(100vw - 110px) !important;
    gap: 8px !important;
  }

  #navbar .nav-links a {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  #hero .hud-section__inner {
    padding-top: 72px;
    padding-bottom: 86px;
  }

  #hero .typewriter {
    letter-spacing: 0.1em;
  }

  #hero #heroCopy h1 span {
    letter-spacing: 0.1em !important;
  }

  .res-ethos-scope .ethos-card--01,
  .res-ethos-scope .ethos-card--02,
  .res-ethos-scope .ethos-card--03 {
    padding: 18px 14px;
  }

  .res-ethos-scope .ethos-card--01 .ethos-number,
  .res-ethos-scope .ethos-card--02 .ethos-number,
  .res-ethos-scope .ethos-card--03 .strip-number {
    font-size: 62px;
  }

  #facility-editorial .facility-card {
    padding: 14px !important;
  }

  .footer-copy,
  .footer-links a {
    letter-spacing: 0.08em;
  }
}

/* Mobile landscape hardening */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 560px) {
  #navbar .container {
    height: 50px;
  }

  #navbar .nav-logo-mark {
    width: 96px !important;
    height: 32px !important;
  }

  .mobile-menu-panel {
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
  }

  #hero {
    min-height: 100dvh;
  }

  #hero .hud-section__inner {
    padding-top: 64px;
    padding-bottom: 36px;
  }

  #hero .typewriter {
    font-size: clamp(1.1rem, 3.2vw, 1.45rem);
    letter-spacing: 0.1em;
  }

  #hero #heroCopy h1 span {
    font-size: clamp(0.62rem, 1.7vw, 0.78rem);
    letter-spacing: 0.1em !important;
    line-height: 1.3;
  }

  #hero #heroCopy p {
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: 60ch;
  }

  #motors .cap-scene {
    min-height: 430px;
  }

  .res-ethos-scope .s03 {
    padding-top: 44px;
  }

  .res-ethos-scope .s03-cam {
    min-height: 220px;
  }

  .vi-test-section {
    padding: 42px 0;
  }

  #facility-editorial {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  #facility-editorial .facility-img-wrap {
    height: clamp(190px, 52vh, 280px);
  }

  .footer-shell {
    padding-top: 16px;
    padding-bottom: 14px;
  }
}

@keyframes viDefaultPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}
@keyframes viIdlePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(190,41,64,0.1), 0 0 8px rgba(190,41,64,0.06); }
  50% { box-shadow: 0 0 30px rgba(190,41,64,0.18), 0 0 14px rgba(190,41,64,0.1); }
}
@keyframes viBreathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 0; }
}
@keyframes viPing {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes viEnergyFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -22; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes ping {
  0% { transform: scale(0.92); opacity: 0.85; }
  80% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
