/* LORD SYSTEMS — DARK FUSION MVP
   Visual system derived from Raven Automotive Configurator.
   Existing homepage structure, content and asset URLs remain intact. */
:root{
  color-scheme:dark;
  --page-bg:#050505;
  --card:rgba(4,4,4,.58);
  --text:#f4f1eb;
  --muted:#918f8a;
  --line:rgba(255,255,255,.13);
  --line-strong:rgba(255,255,255,.28);
  --accent:#d11626;
  --accent-soft:rgba(209,22,38,.12);
  --shadow-red:rgba(255,36,56,.34);
  --panel:rgba(4,4,4,.50);
  --panel-deep:rgba(1,1,1,.76);
}
html{background:#050505}
body{background:#050505;color:var(--text)}
body::before{content:"";position:fixed;inset:0;z-index:-4;background:url("../assets-raven-background.png") center/cover no-repeat;filter:grayscale(1) brightness(.32) contrast(1.15);transform:scale(1.015)}
body::after{content:"";position:fixed;inset:0;z-index:-3;background:linear-gradient(180deg,rgba(0,0,0,.40),rgba(0,0,0,.72)),radial-gradient(70% 55% at 70% 16%,rgba(255,255,255,.05),transparent 70%);pointer-events:none}
.noise{opacity:.045;mix-blend-mode:screen}
.bg-master{opacity:.16;filter:grayscale(1) contrast(1.18) brightness(.42);mix-blend-mode:screen}
.bg-master::after{background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.68)),radial-gradient(70% 60% at 60% 25%,transparent,rgba(0,0,0,.78) 85%)}

.site-header{min-height:78px;position:sticky;top:0;z-index:40;padding:0 34px;border-bottom:1px solid var(--line);background:rgba(1,1,1,.76);backdrop-filter:blur(15px) saturate(.8);box-shadow:0 16px 55px rgba(0,0,0,.28)}
.brand-mark{background:#070707;color:#fff;border-color:rgba(255,36,56,.8);box-shadow:0 0 0 6px rgba(255,36,56,.07),0 0 22px rgba(255,36,56,.10)}
.brand-text strong{color:#fff}.brand-text small{color:#777}
.main-nav a{color:#8d8b87;position:relative;padding:30px 0}
.main-nav a::after{content:"";position:absolute;left:50%;right:50%;bottom:0;height:2px;background:#ff2438;transition:.22s ease}
.main-nav a:hover{color:#fff}.main-nav a:hover::after{left:0;right:0}
.lang-switch button{color:#777}.lang-switch button.is-active{color:#fff}
.icon-button,.pill-button{background:rgba(2,2,2,.42);border-color:var(--line);color:#eee;backdrop-filter:blur(10px)}
.icon-button:hover,.pill-button:hover{border-color:rgba(255,255,255,.30);box-shadow:0 0 22px rgba(255,36,56,.07)}

.showroom-section{border-left:1px solid rgba(255,255,255,.035);border-right:1px solid rgba(255,255,255,.035)}
.hero{min-height:calc(100svh - 78px);border-bottom:1px solid var(--line)}
.hero::before{content:"";position:absolute;inset:28px 28px 28px max(28px,calc((100vw - var(--max))/2));border:1px solid rgba(255,255,255,.07);pointer-events:none;z-index:1}
.hero-art{filter:grayscale(.25) brightness(.56) contrast(1.12);opacity:.84}
.hero-vignette{background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.98) 27%,rgba(5,5,5,.78) 48%,rgba(5,5,5,.20) 72%,transparent 92%),linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.54))}
.hero h1{color:#f5f3ef;text-shadow:0 8px 36px rgba(0,0,0,.62)}
.rule{height:2px;background:#ff2438;box-shadow:0 0 18px rgba(255,36,56,.36)}
.telemetry{background:rgba(2,2,2,.48);border-color:rgba(255,255,255,.15);color:#8f8d89;backdrop-filter:blur(12px);box-shadow:0 14px 44px rgba(0,0,0,.30)}
.telemetry strong{color:#fff}

.pillar-strip{background:rgba(2,2,2,.62);border-color:var(--line);backdrop-filter:blur(12px)}
.pillar-strip a{border-color:var(--line)}
.pillar-strip a:hover{background:rgba(255,255,255,.035)}
.pillar-strip strong{color:#f4f1eb}.pillar-strip span{color:#777}

.split-panel,.feature-hero,.research-section,.pantheon-section,.software-section,.video-section,.command-panel{background:linear-gradient(135deg,rgba(8,8,8,.70),rgba(2,2,2,.48));border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)}
.section-copy,.feature-copy,.video-copy,.section-heading,.cinematic-copy{position:relative;z-index:2}
.section-copy::before,.feature-copy::before,.video-copy::before{content:"";display:block;width:18px;height:2px;background:#ff2438;margin-bottom:20px;box-shadow:0 0 14px rgba(255,36,56,.3)}
#morpheus .eyebrow,#pantheon .eyebrow,#software .eyebrow,#blender .eyebrow,#interactive .eyebrow,#research .eyebrow{color:#f4f1eb;text-shadow:0 8px 30px rgba(0,0,0,.38)}
.lead,.section-copy p,.feature-copy p,.video-copy p,.section-heading p,.research-list p,.cinematic-copy p{color:#96938e}

.chat-shell,.product-card,.research-card,.feature-band article,.command-panel,.video-stage{background:rgba(3,3,3,.52);border-color:var(--line);backdrop-filter:blur(13px) saturate(.8);box-shadow:0 18px 70px rgba(0,0,0,.36),inset 0 0 0 1px rgba(255,255,255,.018)}
.terminal-bar{background:rgba(0,0,0,.76);border-color:var(--line);color:#8f8d89}
.product-card:hover,.research-card:hover{border-color:rgba(255,255,255,.26);background:rgba(255,255,255,.035);transform:translateY(-3px)}
.product-card h3,.research-card h3,.feature-band h3{color:#f4f1eb}
.product-art{background:rgba(255,255,255,.025)}
.badge{background:rgba(209,22,38,.12);border:1px solid rgba(255,36,56,.25);color:#ff5a68}

/* Preserve the full orb module, but translate it to Raven dark styling. */
.orb,.mini-orb,.submit-orb,.play-orb{--orb-gray:rgba(255,255,255,.34);--orb-red:#ff2438;--orb-black:#fff;filter:drop-shadow(0 12px 22px rgba(0,0,0,.28))}
.orb-icon{filter:invert(1) brightness(1.15)}
.orb-label strong{color:#f7f7f7}.orb-label small{color:#8d8b87}
.orb-link:hover .orb,.mini-orb:hover,.submit-orb:hover{filter:drop-shadow(0 0 14px rgba(255,36,56,.22))}
.orb-link.ghost{opacity:.72}.orb-link.ghost:hover{opacity:1}
.pantheon-entry-cta .orb-link{background:rgba(2,2,2,.55);border-color:rgba(255,255,255,.16);backdrop-filter:blur(12px)}

.cinematic-section{background:#030303;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.cinematic-section>img{filter:brightness(.62) contrast(1.12) saturate(.72)}
.cinematic-section::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.38) 52%,rgba(0,0,0,.16)),linear-gradient(180deg,transparent 42%,rgba(0,0,0,.62));pointer-events:none}
.cinematic-copy{color:#fff}
.feature-image img,.research-visual img{filter:brightness(.70) contrast(1.1) saturate(.78)}

.mail-form input{background:rgba(0,0,0,.32);border-color:var(--line);color:#fff}
.mail-form input:focus{border-color:rgba(255,36,56,.70);box-shadow:0 0 0 3px rgba(255,36,56,.08)}
.site-footer{background:rgba(1,1,1,.86);border-top:1px solid var(--line);color:#85827d}
.site-footer strong,.site-footer h4{color:#f1efeb}
.site-footer a:hover{color:#fff}

[data-animate]{transform:translateY(18px);transition:opacity .8s ease,transform .8s cubic-bezier(.16,1,.3,1)}
[data-animate].is-visible{transform:none}

@media(max-width:1100px){.site-header{padding:0 20px}.main-nav{display:none}.hero::before{inset:18px}.hero-art{opacity:.35}.hero-vignette{background:linear-gradient(90deg,rgba(5,5,5,.98),rgba(5,5,5,.87),rgba(5,5,5,.58))}}
@media(max-width:720px){body::before{background-position:62% center}.site-header{min-height:70px}.header-actions .icon-button{display:none}.hero{min-height:82svh}.telemetry{display:none}.showroom-section{border-left:0;border-right:0}}

/* =========================================================
   CONTROLLED UPDATE PATCH v1
   - header flare underline
   - improved language switch
   - hover mini-widgets
   - stronger top navigation legibility
   - larger research cards
   - brighter Raven imagery
   - clearer telemetry pills
   ========================================================= */

/* HEADER / NAV */
.site-header{
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 70px rgba(0,0,0,.36), inset 0 -1px 0 rgba(255,255,255,.03);
}

.main-nav{
  gap:30px;
}

.main-nav a{
  font-size:12.5px;
  letter-spacing:.24em;
  color:rgba(236,232,225,.72);
  padding:28px 0 24px;
  text-shadow:0 0 18px rgba(0,0,0,.32);
}

.main-nav a::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:11px;
  width:92px;
  height:10px;
  transform:translateX(-50%) scaleX(.18);
  transform-origin:center;
  border-radius:999px;
  background:radial-gradient(closest-side, rgba(255,36,56,.34), rgba(255,36,56,.09) 56%, transparent 78%);
  filter:blur(4px);
  opacity:0;
  transition:transform .26s ease, opacity .26s ease;
}

.main-nav a::after{
  left:50%;
  right:auto;
  bottom:13px;
  width:min(88%, 84px);
  height:2px;
  border-radius:999px;
  transform:translateX(-50%) scaleX(.26);
  transform-origin:center;
  opacity:0;
  background:linear-gradient(90deg,
    rgba(255,36,56,0) 0%,
    rgba(255,66,82,.82) 20%,
    rgba(255,95,109,1) 50%,
    rgba(255,66,82,.82) 80%,
    rgba(255,36,56,0) 100%);
  box-shadow:0 0 10px rgba(255,36,56,.22);
  transition:transform .26s ease, opacity .26s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible{
  color:#fff;
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before,
.main-nav a:hover::after,
.main-nav a:focus-visible::after{
  opacity:1;
  transform:translateX(-50%) scaleX(1);
}

/* LANGUAGE SWITCH */
.lang-switch{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(12px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02), 0 10px 26px rgba(0,0,0,.24);
}

.lang-switch button{
  min-width:50px;
  height:34px;
  padding:0 14px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:rgba(255,255,255,.48);
  font-family:var(--font-tech);
  font-size:12px;
  letter-spacing:.12em;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, box-shadow .2s ease;
}

.lang-switch button:hover,
.lang-switch button:focus-visible{
  color:rgba(255,255,255,.86);
  background:rgba(255,255,255,.05);
}

.lang-switch button.is-active{
  color:#fff;
  background:linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.04), 0 12px 20px rgba(0,0,0,.26);
}

/* HEADER ACTIONS / MINI WIDGETS */
.header-actions{
  gap:12px;
}

.icon-button,
.pill-button,
.morpheus-section .compact-cta .orb-link,
.products-section .section-heading .orb-link{
  position:relative;
}

.header-actions .icon-button,
.header-actions .pill-button{
  overflow:visible;
}

.header-actions .icon-button::after,
.header-actions .pill-button::after,
.morpheus-section .compact-cta .orb-link::after,
.products-section .section-heading .orb-link::after{
  position:absolute;
  left:50%;
  top:calc(100% + 14px);
  transform:translate(-50%, -6px);
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(7,7,7,.94), rgba(3,3,3,.88));
  box-shadow:0 20px 38px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.02);
  color:rgba(255,255,255,.92);
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1.2;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  backdrop-filter:blur(12px);
  transition:opacity .18s ease, transform .18s ease;
  z-index:12;
}

.header-actions .icon-button::before,
.header-actions .pill-button::before,
.morpheus-section .compact-cta .orb-link::before,
.products-section .section-heading .orb-link::before{
  content:"";
  position:absolute;
  left:50%;
  top:calc(100% + 7px);
  width:10px;
  height:10px;
  background:rgba(5,5,5,.96);
  border-left:1px solid rgba(255,255,255,.12);
  border-top:1px solid rgba(255,255,255,.12);
  transform:translateX(-50%) rotate(45deg);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  z-index:11;
}

.header-actions .icon-button:hover::after,
.header-actions .icon-button:hover::before,
.header-actions .icon-button:focus-visible::after,
.header-actions .icon-button:focus-visible::before,
.header-actions .pill-button:hover::after,
.header-actions .pill-button:hover::before,
.header-actions .pill-button:focus-visible::after,
.header-actions .pill-button:focus-visible::before,
.morpheus-section .compact-cta .orb-link:hover::after,
.morpheus-section .compact-cta .orb-link:hover::before,
.morpheus-section .compact-cta .orb-link:focus-visible::after,
.morpheus-section .compact-cta .orb-link:focus-visible::before,
.products-section .section-heading .orb-link:hover::after,
.products-section .section-heading .orb-link:hover::before,
.products-section .section-heading .orb-link:focus-visible::after,
.products-section .section-heading .orb-link:focus-visible::before{
  opacity:1;
  transform:translate(-50%, 0);
}

.header-actions .icon-button:first-child::after{
  content:"Watch systems preview";
}

.header-actions .icon-button.has-dot::after{
  content:"Talk with Morpheus AI";
}

.header-actions .pill-button::after{
  content:"Project contact / inquiry";
}

.morpheus-section .compact-cta .orb-link::after{
  content:"Live AI conversation / external access";
}

.products-section .section-heading .orb-link::after{
  content:"Access, licensing / project request";
}

/* HERO TELEMETRY */
.telemetry{
  background:linear-gradient(180deg, rgba(9,9,9,.88), rgba(14,14,14,.74));
  border-color:rgba(255,255,255,.12);
  color:rgba(255,255,255,.56);
  box-shadow:0 16px 34px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.02);
}

.telemetry strong{
  color:#f8f5ef;
}

/* RESEARCH / LOWER CARDS */
.research-list{
  gap:18px;
}

.research-list a.research-card{
  min-height:176px;
  padding:32px 30px;
}

.research-list span{
  font-size:12px;
}

.research-list h3{
  font-size:20px;
  letter-spacing:.12em;
  margin-top:10px;
  margin-bottom:12px;
}

.research-list p{
  font-size:14px;
  line-height:1.72;
}

/* RAVEN / CINEMATIC BRIGHTNESS */
.raven-panel > img{
  opacity:.98;
  filter:brightness(.96) contrast(1.04) saturate(1.02);
}

.raven-panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.36), rgba(0,0,0,.12) 36%, rgba(0,0,0,.05) 64%, rgba(0,0,0,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.18) 100%);
  pointer-events:none;
}

.raven-panel .cinematic-copy{
  max-width:700px;
}

/* CONTACT STRIP */
.command-panel{
  background-image:linear-gradient(135deg,rgba(0,0,0,.70),rgba(0,0,0,.30) 58%,rgba(0,0,0,.14)), url("../assets/images/ui/cta_bg.png");
}

.command-panel h2{
  font-size:46px;
}

/* RESPONSIVE TUNING */
@media (max-width: 920px){
  .lang-switch button{
    min-width:44px;
    padding:0 10px;
  }

  .header-actions .icon-button::after,
  .header-actions .pill-button::after,
  .morpheus-section .compact-cta .orb-link::after,
  .products-section .section-heading .orb-link::after{
    white-space:normal;
    width:max-content;
    max-width:min(82vw, 260px);
    text-align:center;
  }
}

@media (max-width: 720px){
  .main-nav a{
    padding:20px 0 18px;
  }

  .lang-switch{
    gap:2px;
    padding:3px;
  }

  .lang-switch button{
    min-width:40px;
    height:30px;
    font-size:11px;
  }

  .research-list a.research-card{
    min-height:0;
    padding:24px 20px;
  }

  .research-list h3{
    font-size:17px;
  }

  .research-list p{
    font-size:13px;
  }

  .command-panel h2{
    font-size:38px;
  }
}

/* Arrow correction for hover widgets */
.header-actions .icon-button:hover::before,
.header-actions .icon-button:focus-visible::before,
.header-actions .pill-button:hover::before,
.header-actions .pill-button:focus-visible::before,
.morpheus-section .compact-cta .orb-link:hover::before,
.morpheus-section .compact-cta .orb-link:focus-visible::before,
.products-section .section-heading .orb-link:hover::before,
.products-section .section-heading .orb-link:focus-visible::before{
  transform:translateX(-50%) rotate(45deg);
}

/* =========================================================
   CONTROLLED UPDATE PATCH v2
   - centered header underline / Ferrari red flare
   - aligned Pantheon grid cards
   - precise tint on Raven + Reaktor
   - ordered hero telemetry
   - reduced Morpheus title
   ========================================================= */

/* TOP NAV: force centered label cells so underline sits exactly under each item */
.main-nav{
  gap:18px;
}

.main-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:132px;
  text-align:center;
  padding:28px 4px 24px;
  color:rgba(240,235,228,.82);
}

.main-nav a::before{
  bottom:10px;
  width:104px;
  height:14px;
  background:radial-gradient(closest-side, rgba(255,48,28,.42), rgba(255,40,20,.16) 54%, rgba(255,30,18,0) 78%);
  filter:blur(5px);
}

.main-nav a::after{
  bottom:12px;
  width:96px;
  height:2px;
  background:linear-gradient(90deg,
    rgba(255,28,20,0) 0%,
    rgba(255,52,36,.94) 18%,
    rgba(255,108,92,1) 50%,
    rgba(255,52,36,.94) 82%,
    rgba(255,28,20,0) 100%);
  box-shadow:
    0 0 8px rgba(255,42,24,.32),
    0 0 18px rgba(255,32,18,.18);
}

/* HERO TELEMETRY: right upper corner, in one ordered system column */
.hero-visual .telemetry{
  left:auto;
  right:36px;
}

.hero-visual .t1{top:42px; right:36px;}
.hero-visual .t2{top:96px; right:36px;}
.hero-visual .t3{top:150px; right:36px;}

/* MORPHEUS section heading reduction */
#morpheus h2{
  font-size:clamp(32px, 4.3vw, 74px);
  line-height:.96;
  max-width:10.6ch;
  margin-bottom:22px;
}

/* PANTHEON cards: fixed row system for perfect vertical alignment */
.framework-grid article{
  display:grid;
  grid-template-rows:20px 44px 1fr;
  align-content:start;
  align-items:start;
  justify-items:center;
  min-height:224px;
  padding:26px 22px 24px;
}

.framework-grid span{
  display:block;
  width:100%;
  margin:0 0 10px;
  text-align:center;
  line-height:1;
}

.framework-grid h3{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0 0 16px;
  text-align:center;
}

.framework-grid p{
  align-self:start;
  margin:0;
  max-width:22ch;
}

/* PRECISE TINT RESTORE ONLY FOR RAVEN + REAKTOR */
#raven > img,
#reaktor > img{
  opacity:.96;
  filter:brightness(.84) contrast(1.06) saturate(.92);
}

#raven::after,
#reaktor::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.15) 0%,
      rgba(0,0,0,.12) 38%,
      rgba(0,0,0,.09) 68%,
      rgba(0,0,0,.15) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,.06) 0%,
      rgba(0,0,0,.15) 100%);
  pointer-events:none;
}

/* cancel the stronger Raven-only bright override from v1 */
.raven-panel > img{
  opacity:.96;
  filter:brightness(.84) contrast(1.06) saturate(.92);
}

.raven-panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.15) 0%,
      rgba(0,0,0,.12) 38%,
      rgba(0,0,0,.09) 68%,
      rgba(0,0,0,.15) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,.06) 0%,
      rgba(0,0,0,.15) 100%);
  pointer-events:none;
}

/* Slightly tighter layout on header so nav underline stays visually anchored */
@media (min-width: 1181px){
  .site-header{
    grid-template-columns:auto 1fr auto auto;
  }
}

@media (max-width: 1400px){
  .main-nav a{
    min-width:116px;
  }

  .main-nav a::before{
    width:90px;
  }

  .main-nav a::after{
    width:84px;
  }
}

@media (max-width: 920px){
  .hero-visual .telemetry{
    right:24px;
  }

  .hero-visual .t1{top:28px; right:24px;}
  .hero-visual .t2{top:78px; right:24px;}
  .hero-visual .t3{top:128px; right:24px;}

  #morpheus h2{
    max-width:100%;
    font-size:clamp(28px, 7vw, 54px);
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v3
   - fix active underline alignment
   - repair telemetry stack
   - Knight Rider / KITT scan on Morpheus card
   - center hero container
   ========================================================= */

/* HERO: keep the whole intro block centered in the page frame */
.hero{
  max-width:var(--max);
  width:calc(100% - (var(--page-x) * 2));
  margin:0 auto;
  padding:clamp(72px,8vh,110px) var(--page-x) clamp(72px,9vh,120px);
  box-sizing:border-box;
}

.hero::before{
  inset:18px;
}

/* TOP NAV underline: override old hover rule from base.css so flare stays under its own label */
.site-header .main-nav a:hover::after,
.site-header .main-nav a:focus-visible::after{
  left:50%;
  right:auto;
  width:96px;
  transform:translateX(-50%) scaleX(1);
}

.site-header .main-nav a:hover::before,
.site-header .main-nav a:focus-visible::before{
  left:50%;
  right:auto;
  width:104px;
  transform:translateX(-50%) scaleX(1);
}

/* HERO telemetry: one clean ordered column, no stretching */
.hero-visual .t1,
.hero-visual .t2,
.hero-visual .t3{
  left:auto;
  bottom:auto;
  right:36px;
  width:auto;
  min-width:0;
  max-width:none;
}

.hero-visual .t1{top:34px;}
.hero-visual .t2{top:86px;}
.hero-visual .t3{top:138px;}

/* MORPHEUS card: add KITT-style scanner above the terminal shell */
.morpheus-section .chat-shell{
  overflow:visible;
}

.morpheus-section .chat-shell::before{
  content:"";
  position:absolute;
  left:32px;
  right:32px;
  top:-18px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,
    rgba(255,0,0,0) 0%,
    rgba(255,36,20,.08) 24%,
    rgba(255,36,20,.14) 50%,
    rgba(255,36,20,.08) 76%,
    rgba(255,0,0,0) 100%);
  box-shadow:0 0 16px rgba(255,42,24,.10);
  pointer-events:none;
}

.morpheus-section .chat-shell::after{
  content:"";
  position:absolute;
  top:-22px;
  left:32px;
  width:92px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,
    rgba(255,18,0,0) 0%,
    rgba(255,36,18,.50) 18%,
    rgba(255,72,52,.95) 38%,
    rgba(255,158,142,1) 50%,
    rgba(255,72,52,.95) 62%,
    rgba(255,36,18,.50) 82%,
    rgba(255,18,0,0) 100%);
  box-shadow:
    0 0 10px rgba(255,42,24,.45),
    0 0 22px rgba(255,32,18,.34),
    0 0 34px rgba(255,22,10,.22);
  pointer-events:none;
  animation:kittScanLs 3.2s ease-in-out infinite alternate;
}

@keyframes kittScanLs{
  0%{left:32px;}
  100%{left:calc(100% - 124px);}
}

@media (max-width: 1180px){
  .hero{
    width:100%;
    max-width:none;
    padding:clamp(62px,8vh,90px) var(--page-x) clamp(62px,8vh,92px);
  }

  .hero::before{
    inset:14px;
  }
}

@media (max-width: 920px){
  .hero-visual .t1,
  .hero-visual .t2,
  .hero-visual .t3{
    right:22px;
  }

  .hero-visual .t1{top:22px;}
  .hero-visual .t2{top:70px;}
  .hero-visual .t3{top:118px;}

  .morpheus-section .chat-shell::before{
    left:20px;
    right:20px;
  }

  .morpheus-section .chat-shell::after{
    left:20px;
    width:76px;
  }

  @keyframes kittScanLs{
    0%{left:20px;}
    100%{left:calc(100% - 96px);}
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v4
   KITT LED ARRAY — discrete lamps, sequential activation
   Replaces the moving single-glow element from v3.
   ========================================================= */

.morpheus-section .chat-shell{
  --kitt-edge:32px;
  --kitt-cell:18px;
  --kitt-dot:8px;
  --kitt-runner:154px;
}

/* physical dark lamp rail + permanently visible unlit LED lenses */
.morpheus-section .chat-shell::before{
  content:"";
  position:absolute;
  left:var(--kitt-edge);
  right:var(--kitt-edge);
  top:-22px;
  height:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
  background:
    radial-gradient(circle at center,
      rgba(105,8,8,.72) 0 calc(var(--kitt-dot) / 2 - 1px),
      rgba(32,2,2,.92) calc(var(--kitt-dot) / 2),
      transparent calc(var(--kitt-dot) / 2 + 1px))
      0 50% / var(--kitt-cell) 100% repeat-x,
    linear-gradient(180deg,#090303 0%,#160303 47%,#050101 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 -1px 0 rgba(0,0,0,.95),
    0 3px 12px rgba(0,0,0,.42);
  overflow:hidden;
  pointer-events:none;
}

/* moving illuminated group: the same fixed LED pitch, revealed by a soft comet mask */
.morpheus-section .chat-shell::after{
  content:"";
  position:absolute;
  left:var(--kitt-edge);
  top:-22px;
  width:var(--kitt-runner);
  height:16px;
  border-radius:4px;
  background:
    radial-gradient(circle at center,
      #fff5f1 0 1.5px,
      #ffb1a5 1.6px 2.8px,
      #ff3a22 2.9px calc(var(--kitt-dot) / 2),
      rgba(255,30,15,.16) calc(var(--kitt-dot) / 2 + 1px),
      transparent calc(var(--kitt-dot) / 2 + 4px))
      0 50% / var(--kitt-cell) 100% repeat-x;
  filter:
    drop-shadow(0 0 3px rgba(255,76,52,.92))
    drop-shadow(0 0 8px rgba(255,38,20,.62))
    drop-shadow(0 0 15px rgba(255,20,8,.32));
  -webkit-mask-image:linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.18) 8%,
    rgba(0,0,0,.48) 23%,
    #000 46%,
    #000 58%,
    rgba(0,0,0,.48) 77%,
    rgba(0,0,0,.18) 92%,
    transparent 100%);
  mask-image:linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.18) 8%,
    rgba(0,0,0,.48) 23%,
    #000 46%,
    #000 58%,
    rgba(0,0,0,.48) 77%,
    rgba(0,0,0,.18) 92%,
    transparent 100%);
  animation:kittLedSweep 2.15s cubic-bezier(.45,.02,.55,.98) infinite alternate;
  pointer-events:none;
}

@keyframes kittLedSweep{
  0%{
    left:var(--kitt-edge);
    transform:translateX(0);
  }
  100%{
    left:calc(100% - var(--kitt-edge));
    transform:translateX(-100%);
  }
}

@media (prefers-reduced-motion:reduce){
  .morpheus-section .chat-shell::after{
    animation:none;
    left:50%;
    transform:translateX(-50%);
  }
}

@media (max-width:920px){
  .morpheus-section .chat-shell{
    --kitt-edge:20px;
    --kitt-cell:16px;
    --kitt-dot:7px;
    --kitt-runner:124px;
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v5
   KITT scanner rebuilt as 12 real LED elements.
   No moving gradient, no translated light layer.
   ========================================================= */

/* Disable the previous pseudo-element scanner completely. */
.morpheus-section .chat-shell::before,
.morpheus-section .chat-shell::after{
  content:none !important;
  display:none !important;
  animation:none !important;
}

.morpheus-section .chat-shell{
  overflow:visible;
}

.kitt-led-array{
  position:absolute;
  left:50%;
  top:-21px;
  z-index:8;
  transform:translateX(-50%);
  width:min(430px, 68%);
  height:28px;
  padding:6px 14px;
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  align-items:center;
  gap:10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(13,7,7,.97),rgba(3,2,2,.98));
  box-shadow:
    0 10px 28px rgba(0,0,0,.44),
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 0 18px rgba(255,20,10,.035);
  pointer-events:none;
}

.kitt-led-array span{
  position:relative;
  display:block;
  justify-self:center;
  width:12px;
  height:12px;
  border-radius:50%;
  background:radial-gradient(circle at 42% 36%, #4b0b08 0 18%, #220302 44%, #0b0101 74%);
  border:1px solid rgba(255,75,55,.14);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.035),
    inset 0 -2px 3px rgba(0,0,0,.8),
    0 0 0 1px rgba(0,0,0,.62);
  opacity:.72;
  transform:scale(.94);
  transition:
    background 55ms linear,
    border-color 55ms linear,
    box-shadow 55ms linear,
    opacity 55ms linear,
    transform 55ms linear;
}

.kitt-led-array span::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:radial-gradient(circle at 40% 32%,rgba(255,255,255,.10),transparent 50%);
  opacity:.28;
}

.kitt-led-array span.is-head{
  opacity:1;
  transform:scale(1.18);
  border-color:rgba(255,126,105,.95);
  background:radial-gradient(circle at 42% 34%,#fff7f2 0 12%,#ffb6a7 15%,#ff4932 36%,#d71308 62%,#5a0603 100%);
  box-shadow:
    0 0 5px rgba(255,224,216,.95),
    0 0 12px rgba(255,68,42,.95),
    0 0 24px rgba(255,30,15,.72),
    0 0 38px rgba(255,18,8,.38),
    inset 0 0 5px rgba(255,255,255,.68);
}

.kitt-led-array span.is-tail-1{
  opacity:1;
  transform:scale(1.08);
  border-color:rgba(255,84,62,.72);
  background:radial-gradient(circle at 42% 34%,#ffd8cf 0 8%,#ff6048 30%,#cb160b 66%,#4c0503 100%);
  box-shadow:0 0 8px rgba(255,54,35,.72),0 0 18px rgba(255,26,14,.42),inset 0 0 4px rgba(255,255,255,.35);
}

.kitt-led-array span.is-tail-2{
  opacity:.96;
  transform:scale(1.02);
  border-color:rgba(255,63,44,.48);
  background:radial-gradient(circle at 42% 34%,#ff8d78 0 10%,#d72717 42%,#710a05 76%,#260202 100%);
  box-shadow:0 0 7px rgba(255,40,24,.42),0 0 14px rgba(255,24,12,.24);
}

.kitt-led-array span.is-tail-3{
  opacity:.88;
  border-color:rgba(255,47,31,.30);
  background:radial-gradient(circle at 42% 34%,#d94331 0 10%,#851108 45%,#390402 78%,#140101 100%);
  box-shadow:0 0 6px rgba(255,34,19,.22),0 0 11px rgba(255,20,10,.12);
}

@media(max-width:920px){
  .kitt-led-array{
    width:min(360px,72%);
    gap:7px;
    padding-inline:11px;
  }

  .kitt-led-array span{
    width:10px;
    height:10px;
  }
}

@media(max-width:620px){
  .kitt-led-array{
    width:76%;
    gap:4px;
    padding-inline:8px;
  }

  .kitt-led-array span{
    width:8px;
    height:8px;
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v6 — final Morpheus/video pass
   ========================================================= */

/* MORPHEUS TYPOGRAPHY: one clear title + restrained supporting line */
#morpheus .morpheus-kicker{
  display:none;
}

#morpheus .morpheus-main-title{
  max-width:none;
  margin:0 0 22px;
  font-family:var(--font-tech-light);
  font-size:clamp(48px, 5.25vw, 88px);
  line-height:.94;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
  color:#f5f2ed;
}

#morpheus .morpheus-subtitle{
  max-width:12.5ch;
  margin:0 0 26px;
  font-family:var(--font-tech);
  font-size:clamp(28px, 3.2vw, 52px);
  line-height:1.17;
  letter-spacing:.045em;
  text-transform:uppercase;
  color:#f1eee8;
}

#morpheus .section-copy > p:not(.eyebrow){
  max-width:52ch;
}

/* Override previous generic h2 constraints. */
#morpheus h2.morpheus-main-title{
  max-width:none;
  font-size:clamp(48px, 5.25vw, 88px);
  line-height:.94;
}

/* KITT: 20 physical LEDs, full terminal width, lifted clear of the widget. */
.kitt-led-array{
  left:18px;
  right:18px;
  top:-38px;
  width:auto;
  height:30px;
  transform:none;
  padding:6px 18px;
  grid-template-columns:repeat(20, minmax(0,1fr));
  gap:8px;
}

.kitt-led-array span{
  width:12px;
  height:12px;
}

/* VIDEO: move the full copy panel inward and keep UNREAL ENGINE inside frame. */
.video-copy{
  box-sizing:border-box;
  width:min(610px, 40vw);
  margin-left:auto;
  margin-right:clamp(34px, 4.5vw, 86px);
  padding:clamp(52px, 6vw, 96px) clamp(34px, 4vw, 70px);
}

.video-copy .eyebrow{
  max-width:100%;
  white-space:normal;
  overflow:visible;
  font-size:clamp(42px, 5.1vw, 84px);
  line-height:1.02;
  letter-spacing:.14em;
}

@media(max-width:1180px){
  #morpheus .morpheus-main-title,
  #morpheus h2.morpheus-main-title{
    font-size:clamp(44px, 7vw, 72px);
  }

  #morpheus .morpheus-subtitle{
    max-width:16ch;
    font-size:clamp(26px, 4.5vw, 44px);
  }

  .video-copy{
    width:min(590px, 48vw);
    margin-right:28px;
    padding-inline:38px;
  }
}

@media(max-width:920px){
  .kitt-led-array{
    left:14px;
    right:14px;
    top:-34px;
    width:auto;
    grid-template-columns:repeat(20, minmax(0,1fr));
    gap:5px;
    padding-inline:12px;
  }

  .kitt-led-array span{
    width:9px;
    height:9px;
  }

  .video-copy{
    width:100%;
    margin-right:0;
    padding:46px var(--page-x);
  }

  .video-copy .eyebrow{
    font-size:clamp(38px, 9vw, 66px);
  }
}

@media(max-width:620px){
  #morpheus .morpheus-main-title,
  #morpheus h2.morpheus-main-title{
    white-space:normal;
    font-size:clamp(40px, 13vw, 58px);
  }

  #morpheus .morpheus-subtitle{
    max-width:100%;
    font-size:clamp(24px, 8vw, 38px);
  }

  .kitt-led-array{
    grid-template-columns:repeat(20, minmax(0,1fr));
    gap:3px;
    padding-inline:8px;
  }

  .kitt-led-array span{
    width:7px;
    height:7px;
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v7 — premium Morpheus composition
   Final alignment based on approved concept render.
   ========================================================= */

/* Build a strict two-column composition. The copy may never enter the terminal column. */
#morpheus.split-panel{
  grid-template-columns:minmax(360px, .72fr) minmax(620px, 1.28fr);
  column-gap:clamp(56px, 5vw, 92px);
  align-items:center;
  padding-top:clamp(96px, 10vh, 132px);
  padding-bottom:clamp(82px, 9vh, 118px);
}

#morpheus .section-copy{
  width:100%;
  max-width:520px;
  min-width:0;
  justify-self:end;
  padding-right:0;
}

/* Main title is large but contained entirely inside the left column. */
#morpheus .morpheus-main-title,
#morpheus h2.morpheus-main-title{
  width:100%;
  max-width:100%;
  margin:0 0 30px;
  font-size:clamp(48px, 4.15vw, 76px);
  line-height:.96;
  letter-spacing:.105em;
  white-space:nowrap;
  overflow:visible;
}

/* Supporting headline matches the approved concept: compact, premium, controlled. */
#morpheus .morpheus-subtitle{
  width:100%;
  max-width:17ch;
  margin:0 0 30px;
  font-size:clamp(25px, 2.35vw, 40px);
  line-height:1.28;
  letter-spacing:.075em;
}

#morpheus .section-copy > p:not(.eyebrow){
  width:100%;
  max-width:48ch;
  margin-bottom:0;
  font-size:clamp(14px, .95vw, 17px);
  line-height:1.72;
}

#morpheus .compact-cta{
  margin-top:34px;
}

/* Terminal remains the dominant object and starts only in its own grid column. */
#morpheus .chat-shell{
  width:100%;
  max-width:860px;
  min-width:0;
  justify-self:start;
}

/* Give the KITT rail clean breathing room above the widget. */
#morpheus .kitt-led-array{
  top:-40px;
}

@media(max-width:1320px){
  #morpheus.split-panel{
    grid-template-columns:minmax(330px, .76fr) minmax(560px, 1.24fr);
    column-gap:48px;
  }

  #morpheus .section-copy{
    max-width:470px;
  }

  #morpheus .morpheus-main-title,
  #morpheus h2.morpheus-main-title{
    font-size:clamp(44px, 4.4vw, 66px);
  }

  #morpheus .morpheus-subtitle{
    font-size:clamp(23px, 2.5vw, 35px);
  }
}

@media(max-width:1180px){
  #morpheus.split-panel{
    grid-template-columns:1fr;
    row-gap:72px;
  }

  #morpheus .section-copy,
  #morpheus .chat-shell{
    max-width:860px;
    justify-self:center;
  }

  #morpheus .section-copy{
    width:min(100%, 760px);
  }

  #morpheus .morpheus-main-title,
  #morpheus h2.morpheus-main-title{
    white-space:normal;
    font-size:clamp(46px, 7vw, 72px);
  }

  #morpheus .morpheus-subtitle{
    max-width:20ch;
  }
}

@media(max-width:720px){
  #morpheus.split-panel{
    row-gap:62px;
  }

  #morpheus .morpheus-main-title,
  #morpheus h2.morpheus-main-title{
    font-size:clamp(40px, 12vw, 58px);
    letter-spacing:.08em;
  }

  #morpheus .morpheus-subtitle{
    max-width:100%;
    font-size:clamp(22px, 7vw, 34px);
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v8 — definitive Morpheus title scale
   The previous title was physically too wide for the left column.
   ========================================================= */

#morpheus .morpheus-main-title,
#morpheus h2.morpheus-main-title{
  font-size:clamp(36px, 2.85vw, 52px);
  line-height:1;
  letter-spacing:.075em;
  width:auto;
  max-width:100%;
  white-space:nowrap;
  overflow:visible;
  margin:0 0 30px;
}

@media(max-width:1320px){
  #morpheus .morpheus-main-title,
  #morpheus h2.morpheus-main-title{
    font-size:clamp(34px, 3vw, 48px);
    letter-spacing:.07em;
  }
}

@media(max-width:1180px){
  #morpheus .morpheus-main-title,
  #morpheus h2.morpheus-main-title{
    font-size:clamp(38px, 6vw, 56px);
    white-space:normal;
  }
}

@media(max-width:720px){
  #morpheus .morpheus-main-title,
  #morpheus h2.morpheus-main-title{
    font-size:clamp(34px, 9vw, 48px);
    letter-spacing:.06em;
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v9
   - pillar strip placed cleanly between hero and Morpheus
   - Reaktor standby animation used directly, with square nodes
   ========================================================= */

/* PILLAR STRIP: independent separator block, no visual collision with hero */
.pillar-strip{
  position:relative;
  z-index:3;
  clear:both;
  margin:42px auto 74px;
  transform:none !important;
}

.hero + .pillar-strip{
  margin-top:42px;
}

/* Disable every earlier KITT implementation. */
.kitt-led-array{
  display:none !important;
}

/* REAKTOR standby indicator — direct adaptation of rkSlash.
   Same sequential opacity/glow behavior, but square nodes and slower idle timing. */
.morpheus-standby-indicator{
  position:absolute;
  left:50%;
  top:-34px;
  z-index:9;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:auto;
  height:24px;
  padding:5px 18px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(12,5,5,.94),rgba(3,2,2,.98));
  box-shadow:
    0 12px 28px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.025),
    inset 0 0 16px rgba(255,50,36,.025);
  pointer-events:none;
}

@keyframes morpheusStandbySquare{
  0%{
    opacity:.18;
    transform:translateY(0) scale(.94);
    background:rgba(255,60,60,.30);
    box-shadow:
      0 0 6px rgba(255,60,60,.16),
      0 0 12px rgba(255,60,60,.10);
  }
  35%{
    opacity:.95;
    transform:translateY(-.5px) scale(1.04);
    background:rgba(255,70,52,.92);
    box-shadow:
      0 0 10px rgba(255,60,60,.34),
      0 0 22px rgba(255,60,60,.20),
      inset 0 0 4px rgba(255,235,230,.45);
  }
  70%{
    opacity:.35;
    transform:translateY(0) scale(.98);
    background:rgba(255,60,60,.44);
    box-shadow:
      0 0 7px rgba(255,60,60,.20),
      0 0 14px rgba(255,60,60,.14);
  }
  100%{
    opacity:.18;
    transform:translateY(0) scale(.94);
    background:rgba(255,60,60,.30);
    box-shadow:
      0 0 6px rgba(255,60,60,.16),
      0 0 12px rgba(255,60,60,.10);
  }
}

.morpheus-standby-indicator span{
  display:block;
  width:13px;
  height:13px;
  border-radius:2px;
  border:1px solid rgba(255,92,76,.20);
  background:rgba(255,60,60,.30);
  opacity:.18;
  filter:saturate(1.12);
  animation:morpheusStandbySquare 1.8s infinite ease-in-out;
  will-change:opacity,transform,box-shadow,background;
}

.morpheus-standby-indicator span:nth-child(1){animation-delay:0s}
.morpheus-standby-indicator span:nth-child(2){animation-delay:.20s}
.morpheus-standby-indicator span:nth-child(3){animation-delay:.40s}
.morpheus-standby-indicator span:nth-child(4){animation-delay:.60s}

@media(prefers-reduced-motion:reduce){
  .morpheus-standby-indicator span{
    animation:none;
    opacity:.62;
  }
}

@media(max-width:920px){
  .pillar-strip,
  .hero + .pillar-strip{
    margin-top:30px;
  }

  .morpheus-standby-indicator{
    top:-30px;
    gap:8px;
    padding:5px 14px;
  }

  .morpheus-standby-indicator span{
    width:11px;
    height:11px;
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v10
   - larger research card headings and descriptions
   ========================================================= */
#research .section-heading h2{
  font-size:clamp(42px, 4.2vw, 68px);
}

.research-list{
  gap:24px;
}

.research-list a.research-card{
  min-height:208px;
  padding:38px 38px;
}

.research-list span{
  font-size:14px;
  letter-spacing:.08em;
  margin-bottom:12px;
}

.research-list h3{
  font-size:30px;
  letter-spacing:.15em;
  line-height:1.12;
  margin-top:8px;
  margin-bottom:18px;
}

.research-list p{
  font-size:18px;
  line-height:1.78;
  max-width:34ch;
  margin-inline:auto;
}

@media (max-width: 920px){
  .research-list a.research-card{
    min-height:190px;
    padding:30px 26px;
  }

  .research-list h3{
    font-size:24px;
    margin-bottom:14px;
  }

  .research-list p{
    font-size:16px;
    line-height:1.68;
    max-width:36ch;
  }
}

@media (max-width: 720px){
  #research .section-heading h2{
    font-size:clamp(32px, 8vw, 48px);
  }

  .research-list a.research-card{
    min-height:0;
    padding:24px 20px;
  }

  .research-list h3{
    font-size:20px;
    letter-spacing:.12em;
  }

  .research-list p{
    font-size:14px;
    line-height:1.62;
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v11
   - Pantheon image opens repository video in place
   ========================================================= */
.pantheon-media{
  position:relative;
  cursor:pointer;
}

.pantheon-poster{
  position:relative;
  display:block;
  width:100%;
  height:520px;
  padding:0;
  margin:0;
  border:0;
  background:#030303;
  color:#fff;
  overflow:hidden;
  cursor:pointer;
}

.pantheon-poster > img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s cubic-bezier(.16,1,.3,1), filter .45s ease;
}

.pantheon-poster::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 48%,rgba(0,0,0,.58));
  pointer-events:none;
}

.pantheon-poster:hover > img,
.pantheon-poster:focus-visible > img{
  transform:scale(1.018);
  filter:brightness(.82);
}

.pantheon-play-badge{
  position:absolute;
  left:50%;
  top:50%;
  z-index:3;
  width:84px;
  height:84px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.58);
  background:rgba(0,0,0,.44);
  box-shadow:0 0 0 10px rgba(0,0,0,.14),0 0 32px rgba(255,36,56,.16);
  backdrop-filter:blur(12px);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.pantheon-play-badge span{
  margin-left:5px;
  font-size:28px;
}

.pantheon-poster:hover .pantheon-play-badge,
.pantheon-poster:focus-visible .pantheon-play-badge{
  transform:translate(-50%,-50%) scale(1.06);
  border-color:#ff3345;
  box-shadow:0 0 0 10px rgba(0,0,0,.18),0 0 38px rgba(255,36,56,.30);
}

.pantheon-play-copy{
  position:absolute;
  left:50%;
  bottom:28px;
  z-index:3;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.pantheon-play-copy strong{
  font-family:var(--font-tech);
  font-size:13px;
  letter-spacing:.17em;
}

.pantheon-play-copy small{
  margin-top:7px;
  color:rgba(255,255,255,.60);
  font-size:12px;
}

.pantheon-video{
  display:none;
  width:100%;
  height:520px;
  object-fit:cover;
  background:#000;
}

.pantheon-media.is-playing .pantheon-poster{
  display:none;
}

.pantheon-media.is-playing .pantheon-video{
  display:block;
}

@media(max-width:720px){
  .pantheon-poster,
  .pantheon-video{
    height:340px;
  }

  .pantheon-play-badge{
    width:68px;
    height:68px;
  }

  .pantheon-play-copy{
    bottom:20px;
  }
}


/* v12: Pantheon poster opens the YouTube presentation directly. */
.pantheon-poster{
  text-decoration:none;
  color:inherit;
}

.pantheon-poster:visited{
  color:inherit;
}


/* =========================================================
   CONTROLLED UPDATE PATCH v13
   - Pantheon poster opens YouTube inline in the same slot
   ========================================================= */
.pantheon-poster{
  appearance:none;
  text-align:inherit;
  text-decoration:none;
  color:inherit;
}

.pantheon-video-shell{
  display:none;
  width:100%;
  height:520px;
  background:#000;
  border-radius:inherit;
  overflow:hidden;
}

.pantheon-video{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#000;
}

.pantheon-media.is-playing .pantheon-poster{
  display:none;
}

.pantheon-media.is-playing .pantheon-video-shell{
  display:block;
}

@media(max-width:720px){
  .pantheon-video-shell{
    height:340px;
  }
}

/* =========================================================
   CONTROLLED UPDATE PATCH v15
   - brand LS mark must stay a perfect circle at all widths
   ========================================================= */
header .brand,
.site-header .brand{
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.site-header .brand-mark{
  width:72px;
  height:72px;
  min-width:72px;
  min-height:72px;
  max-width:72px;
  max-height:72px;
  aspect-ratio:1 / 1;
  flex:0 0 72px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border-radius:50%;
  line-height:1;
  padding:0;
  box-sizing:border-box;
}

.site-header .brand-text{
  min-width:0;
}

.site-footer .footer-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.site-footer .footer-brand .brand-mark{
  width:56px;
  height:56px;
  min-width:56px;
  min-height:56px;
  max-width:56px;
  max-height:56px;
  aspect-ratio:1 / 1;
  flex:0 0 56px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border-radius:50%;
  line-height:1;
  padding:0;
  box-sizing:border-box;
}

@media (max-width: 720px){
  .site-header .brand-mark{
    width:64px;
    height:64px;
    min-width:64px;
    min-height:64px;
    max-width:64px;
    max-height:64px;
    flex-basis:64px;
  }

  .site-footer .footer-brand .brand-mark{
    width:52px;
    height:52px;
    min-width:52px;
    min-height:52px;
    max-width:52px;
    max-height:52px;
    flex-basis:52px;
  }
}


/* SOFTWARE + INSTALLERS ENTRY SECTIONS */
.software-entry-section,.installers-entry-section{position:relative;overflow:hidden;min-height:690px}
.software-entry-section::before,.installers-entry-section::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,26,42,.045),transparent 27%,transparent 73%,rgba(255,26,42,.025))}
.software-entry-section .feature-copy,.installers-entry-section .feature-copy{max-width:720px}
.software-entry-section .feature-copy h2,.installers-entry-section .feature-copy h2{max-width:680px}
.software-entry-section .feature-copy>p:not(.eyebrow),.installers-entry-section .feature-copy>p:not(.eyebrow){max-width:650px;line-height:1.75}
.software-visual,.installers-visual{display:block;position:relative;border-radius:2px;background:#020202;border-color:rgba(255,255,255,.09);box-shadow:0 30px 100px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.018);text-decoration:none}
.software-visual::after,.installers-visual::after{display:none!important}
.software-visual img,.installers-visual img{height:560px;object-fit:cover;filter:brightness(.88) contrast(1.08) saturate(.88);transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .7s ease}
.software-visual:hover img,.installers-visual:hover img{transform:scale(1.018);filter:brightness(.96) contrast(1.08) saturate(.98)}
.software-meta{display:flex;flex-wrap:wrap;gap:8px 22px;margin:28px 0 34px;padding:18px 0;border-top:1px solid rgba(255,255,255,.065);border-bottom:1px solid rgba(255,255,255,.065)}
.software-meta span{font-family:var(--font-mono);font-size:10px;letter-spacing:.18em;color:#8e8b87}
.installer-status{display:flex;align-items:center;gap:12px;margin:28px 0 34px;font-family:var(--font-mono);font-size:10px;letter-spacing:.18em;color:#aaa6a1}
.status-dot{width:6px;height:6px;background:#ff2438;box-shadow:0 0 14px rgba(255,36,56,.75)}
#software .eyebrow,#installers .eyebrow{color:#f4f1eb}
@media(max-width:980px){.software-entry-section,.installers-entry-section{min-height:0}.software-visual img,.installers-visual img{height:440px}.installers-entry-section .installers-visual{order:2}.installers-entry-section .feature-copy{order:1}}
@media(max-width:720px){.software-visual img,.installers-visual img{height:310px}.software-meta{gap:10px 16px}.software-entry-section,.installers-entry-section{padding-top:64px;padding-bottom:64px}}


/* LORD SYSTEMS CROWN BRAND MARK */
.brand-mark-logo{overflow:hidden;padding:0!important}
.brand-mark-logo img{display:block;width:82%;height:82%;object-fit:contain;filter:drop-shadow(0 0 7px rgba(255,36,56,.62));transform:scale(1.18)}
.site-footer .brand-mark-logo img{width:78%;height:78%}

/* SOFTWARE / INSTALLERS — MATCHED ENTRY RHYTHM */
.software-entry-section,.installers-entry-section{min-height:610px!important;padding-top:72px!important;padding-bottom:72px!important}
.software-entry-section .feature-copy,.installers-entry-section .feature-copy{align-self:center}
.software-entry-section .feature-copy h2,.installers-entry-section .feature-copy h2{font-family:var(--font-tech);font-size:clamp(34px,4vw,62px);line-height:1.08;letter-spacing:.055em;text-transform:none;margin-bottom:20px}
.software-entry-section .feature-copy>p:not(.eyebrow),.installers-entry-section .feature-copy>p:not(.eyebrow){font-size:15px;line-height:1.7}
.software-entry-section .software-status{margin-top:27px}
.software-visual img,.installers-visual img{height:470px!important}
@media(max-width:980px){.software-visual img,.installers-visual img{height:410px!important}}
@media(max-width:720px){.software-entry-section,.installers-entry-section{padding-top:58px!important;padding-bottom:58px!important}.software-visual img,.installers-visual img{height:300px!important}}
