/* Denver's SEO / console-only, cinematic chapter navigation
   Applied after the existing DD/SEO theme so all seven chapters share one
   continuous flowing purple → chevron-blue atmosphere. */

:root{--seo-flow:0;--seo-chapter:0}
body.seo-site{
 position:relative;isolation:isolate;overflow:hidden;
 background:#0a0c1d;
}
.seo-site .seo-rail{display:none!important}
.seo-site .seo-gradient-field{
 position:fixed;inset:-32% -24%;z-index:0;pointer-events:none;overflow:hidden;
 background:
  radial-gradient(ellipse 56% 72% at 17% 30%,rgba(129,40,231,.92),transparent 68%),
  radial-gradient(ellipse 60% 70% at 80% 68%,rgba(13,111,255,.91),transparent 67%),
  radial-gradient(ellipse 45% 48% at 53% 48%,rgba(72,49,200,.63),transparent 75%),
  linear-gradient(118deg,#2d105c 5%,#111845 46%,#063b8e 90%);
 background-size:120% 118%;
 transform:translate3d(var(--seo-shift-x,0%),var(--seo-shift-y,0%),0);
 transition:transform .1s linear;will-change:transform;
}
.seo-site .seo-gradient-field::before{
 content:"";position:absolute;inset:0;opacity:.52;
 background:linear-gradient(105deg,rgba(116,36,202,.19),transparent 40%,rgba(18,105,255,.27) 75%),
 repeating-linear-gradient(90deg,transparent 0,transparent 107px,rgba(151,181,244,.028) 108px);
}
.seo-site .seo-gradient-field::after{
 content:"";position:absolute;inset:0;
 background:radial-gradient(ellipse at 50% 45%,transparent 22%,rgba(5,8,23,.65) 82%),
 linear-gradient(180deg,rgba(5,7,21,.39),rgba(5,6,18,.12) 58%,rgba(5,7,21,.42));
}
.seo-site .seo-gradient-orbit{
 position:absolute;display:block;inset:auto;border-radius:50%;filter:blur(12px);
 box-shadow:0 0 95px 45px rgba(37,67,214,.15),inset 0 0 95px rgba(177,121,255,.23);
 border:2px solid rgba(199,159,255,.28);pointer-events:none;
}
.seo-site .seo-gradient-orbit-one{
 width:48vw;height:48vw;min-width:510px;min-height:510px;top:11%;right:7%;
 transform:translate3d(var(--seo-orbit-1-x,0%),var(--seo-orbit-1-y,0%),0);
}
.seo-site .seo-gradient-orbit-two{
 width:40vw;height:40vw;min-width:390px;min-height:390px;bottom:8%;left:9%;
 border-color:rgba(55,164,255,.31);
 transform:translate3d(var(--seo-orbit-2-x,0%),var(--seo-orbit-2-y,0%),0);
}
.seo-site .seo-scroll{
 position:relative;z-index:1;
 width:100%;height:100dvh;margin:0;padding:0;
 overflow-x:hidden;overflow-y:auto;
 scroll-snap-type:y proximity;
 scroll-behavior:smooth;
 overscroll-behavior-y:contain;
 background:transparent;
 scrollbar-width:thin;scrollbar-color:#5b56a86b transparent;
}
.seo-site .seo-stage{
 position:relative;isolation:isolate;
 box-sizing:border-box;
 min-height:100dvh;
 scroll-snap-align:start;scroll-snap-stop:normal;
 width:100%;
 padding:clamp(5.2rem,8vh,8rem) clamp(1.35rem,6vw,8rem) clamp(3rem,6vh,6rem);
 overflow:visible;
 border-bottom:1px solid rgba(165,156,241,.15);
 background:linear-gradient(110deg,rgba(12,9,36,.50),rgba(11,23,58,.28) 58%,rgba(10,35,78,.30))!important;
}
.seo-site .seo-stage-hero{
 min-height:100dvh;
 background:linear-gradient(125deg,rgba(42,13,87,.42),rgba(9,21,67,.38) 54%,rgba(8,61,129,.28))!important;
}
.seo-site .seo-stage-inspection{
 background:linear-gradient(125deg,rgba(57,14,110,.42),rgba(9,29,75,.32) 55%,rgba(12,53,115,.29))!important;
}
.seo-site .seo-stage-intelligence{
 min-height:100dvh;
 background:linear-gradient(115deg,rgba(51,22,107,.40),rgba(14,33,87,.40) 52%,rgba(13,63,138,.31))!important;
}
.seo-site .seo-stage-report{
 background:linear-gradient(120deg,rgba(67,21,113,.34),rgba(16,25,68,.40) 46%,rgba(11,61,130,.30))!important;
}
.seo-site .seo-stage-outro{
 background:linear-gradient(120deg,rgba(78,29,133,.39),rgba(15,30,73,.37) 50%,rgba(9,47,116,.28))!important;
}
.seo-site .seo-stage .stage-counter{
 border-bottom-color:rgba(171,165,251,.23);color:#bfa8ff;
}
.seo-site .seo-stage .stage-counter span{color:#a9c7fc}
.seo-site .seo-stage h1 em,.seo-site .seo-stage h2 em{color:#81acff}
.seo-site .seo-stage .hero-composition,
.seo-site .seo-stage .inspection-lab,
.seo-site .seo-stage .seo-intelligence-grid,
.seo-site .seo-stage .report-grid{min-height:0}
.seo-site .seo-stage .seo-hero-copy h1{white-space:normal}
.seo-site .seo-stage .signal-visual,.seo-site .seo-stage .inspection-terminal,
.seo-site .seo-stage .report-board{background:#0a1834e9;backdrop-filter:blur(14px)}
.seo-site .seo-stage .signal-visual{box-shadow:0 25px 80px #0506158c,0 0 85px rgba(109,56,215,.21)}
.seo-site .seo-stage .seo-primary{cursor:pointer}
.seo-site .seo-stage-down,.seo-site .stage-continue{display:none!important}
.seo-site .seo-chapter-status{
 position:fixed;z-index:35;top:12px;left:clamp(11px,2vw,28px);
 display:flex;align-items:center;gap:.68rem;
 padding:.42rem .82rem .42rem .55rem;
 border:1px solid rgba(172,160,254,.40);
 border-radius:10px;
 background:rgba(12,14,35,.76);
 box-shadow:0 8px 27px rgba(0,0,0,.24);
 backdrop-filter:blur(15px);
 font:800 .66rem "DM Sans",system-ui,sans-serif;
 letter-spacing:.09em;color:#dfdcff;
 pointer-events:none;
}
.seo-site .seo-chapter-status img{width:24px;height:28px;object-fit:contain}
.seo-site .seo-chapter-status-count{
 margin-left:.45rem;
 color:#9ec7ff;font-size:.61rem;font-variant-numeric:tabular-nums;
 white-space:nowrap;
}
.seo-site .seo-command-hint{
 top:13px;right:clamp(11px,2vw,28px);left:auto;
 color:#e3d5ff;text-transform:none;
}
.seo-site .seo-command-hint code{font:800 .7rem Consolas,monospace;color:#8cc3ff}
.seo-site .seo-command-hint button{
 min-height:41px;padding:.66rem 1rem;border-radius:10px;
 background:linear-gradient(110deg,#43247b,#194da2);
 border:1px solid #9b86e0b8;color:#f9f3ff;
 box-shadow:0 7px 25px rgba(31,47,132,.31);
}
.seo-site .seo-command-hint button:hover{background:linear-gradient(110deg,#6736a7,#2669c9)}
.seo-site .seo-command-console{
 left:0;right:0;bottom:0;
 padding:clamp(1.2rem,3vw,2.2rem) clamp(1rem,5vw,5.5rem) max(1.3rem,env(safe-area-inset-bottom));
 max-height:min(400px,78dvh);
 background:linear-gradient(110deg,rgba(28,14,63,.96),rgba(9,23,62,.96) 58%,rgba(7,43,95,.96));
 border-top:1px solid rgba(145,122,237,.78);
 box-shadow:0 -26px 85px rgba(3,6,28,.82),0 -2px 30px rgba(77,74,211,.17);
 backdrop-filter:blur(28px);
}
.seo-site .seo-command-console::before{
 content:"";position:absolute;left:0;right:0;top:0;height:2px;
 background:linear-gradient(90deg,#7d37d9,#5d66ff 49%,#167cfa);
 pointer-events:none;
}
.seo-site .seo-console-head{color:#d5c3ff}
.seo-site .seo-console-output{max-height:112px;overflow-y:auto;color:#c7d8f7}
.seo-site .seo-command-console input{border-bottom:1px solid #8f86fa;color:#fff}
.seo-site .seo-command-console input:focus{border-bottom:2px solid #acd4ff}
.seo-site .seo-command-console form>button{background:linear-gradient(100deg,#6330a7,#235fbc);border-color:#a795eb}
.seo-site .seo-console-help{color:#a9a4d7}
.seo-site .dd-home-about{
 scroll-snap-align:start;scroll-snap-stop:normal;
 min-height:100dvh!important;
 display:flex;align-items:center;
 background:linear-gradient(160deg,rgba(69,30,117,.94),rgba(39,21,98,.80) 57%,rgba(13,56,109,.70))!important;
}
.seo-site .dd-home-about>.dd-home-about-grid{width:100%}
.seo-site .dd-footer{
 scroll-snap-align:start;scroll-snap-stop:normal;
 min-height:100dvh;
 background:linear-gradient(180deg,rgba(24,29,74,.85),#0c102a 44%,#050507 90%)!important;
 display:flex;flex-direction:column;justify-content:center;
}
.seo-site .seo-progress{
 position:fixed;z-index:40;top:0;right:0;bottom:0;height:100dvh;width:4px;
 background:rgba(11,24,62,.48);pointer-events:none;
}
.seo-site .seo-progress span{
 background:linear-gradient(180deg,#b04bfa,#6788ff 52%,#168cff);
 box-shadow:0 0 14px rgba(113,106,244,.45);
}
@media(max-width:1180px){
 .seo-site .seo-stage{padding:6rem clamp(1.25rem,5vw,4rem) 4rem}
 .seo-site .seo-stage .hero-composition,
 .seo-site .seo-stage .seo-intelligence-grid{grid-template-columns:minmax(0,1fr)}
 .seo-site .seo-stage .seo-hero-copy h1{font-size:clamp(3rem,6.5vw,5.6rem)}
 .seo-site .seo-stage .hero-composition{padding:2rem 0}
 .seo-site .seo-stage .seo-intelligence-grid{padding:1.8rem 0}
 .seo-site .seo-gradient-field{inset:-26% -35%}
}
@media(max-width:767px){
 body.seo-site{min-width:300px}
 .seo-site .seo-scroll{
  height:100dvh;scroll-behavior:smooth;
  scroll-snap-type:y proximity;
  scrollbar-width:none
 }
 .seo-site .seo-scroll::-webkit-scrollbar{display:none}
 .seo-site .seo-stage{
  min-height:100dvh;padding:6.1rem 1.15rem 3.5rem;overflow:visible;
 }
 .seo-site .seo-stage-hero{min-height:100dvh}
 .seo-site .seo-stage .hero-composition{padding:1.6rem 0 0;gap:1.2rem}
 .seo-site .seo-stage .seo-hero-copy h1{font-size:clamp(2.65rem,10.4vw,4.6rem)}
 .seo-site .seo-stage .seo-intelligence-copy h2{font-size:clamp(2.5rem,9vw,4.6rem)}
 .seo-site .seo-stage .seo-data-areas article{grid-template-columns:1fr;gap:.3rem}
 .seo-site .seo-stage .seo-data-areas article p{grid-column:1}
 .seo-site .seo-stage .inspection-heading,.seo-site .seo-stage .report-grid{margin:0;padding:1rem 0}
 .seo-site .seo-stage .signal-visual{min-height:260px}
 .seo-site .seo-stage .report-board{min-height:370px}
 .seo-site .seo-stage .seo-graph-control{grid-template-columns:1fr}
 .seo-site .seo-chapter-status{
  left:8px;top:8px;gap:.4rem;padding:.35rem .5rem;
  max-width:calc(100vw - 140px);
  font-size:.6rem;
 }
 .seo-site .seo-chapter-status img{width:18px;height:21px}
 .seo-site .seo-chapter-status>span[data-current-chapter]{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .seo-site .seo-chapter-status-count{margin-left:0;font-size:.56rem}
 .seo-site .seo-command-hint{right:8px;top:8px;gap:0}
 .seo-site .seo-command-hint span{display:none}
 .seo-site .seo-command-hint button{font-size:.68rem;min-height:39px;padding:.5rem .75rem}
 .seo-site .seo-command-console{left:0;right:0;max-height:80dvh;padding:.9rem .9rem max(1.5rem,env(safe-area-inset-bottom))}
 .seo-site .seo-console-head{font-size:.6rem}
 .seo-site .seo-console-help{font-size:.57rem;line-height:1.8}
 .seo-site .dd-home-about{padding:5.5rem 1.2rem 3.2rem!important;min-height:100dvh!important}
 .seo-site .dd-footer{min-height:100dvh}
 .seo-site .seo-gradient-field{inset:-30% -80%}
 .seo-site .seo-progress{width:3px;height:100dvh}
 .seo-site .seo-progress span{width:100%;height:0%}
}
@media(prefers-reduced-motion:reduce){
 .seo-site .seo-scroll{scroll-behavior:auto!important}
 .seo-site .seo-gradient-field,.seo-site .seo-gradient-orbit{transform:none!important;transition:none!important;will-change:auto}
 .seo-site .seo-command-hint button{transition:none}
}


/* Site 9 / console-locked chapters, uncluttered terminal and continuous footer.
   Normal wheel/touch scrolling is locked; JS scrollTo still animates /nextpage. */
.seo-site .seo-scroll{
  overflow-y:hidden!important;
  overflow-x:hidden!important;
  scroll-snap-type:none!important;
  overscroll-behavior:contain;
  scrollbar-width:none!important;
}
.seo-site .seo-scroll::-webkit-scrollbar{display:none!important}
.seo-site .seo-chapter-status{display:none!important}
.seo-site #signal>.stage-counter,
.seo-site #signal .seo-hero-copy>.signal-label{display:none!important}

/* The footer is the final actual chapter, with the legal strip at its bottom.
   Purple and logo-blue are continued across BOTH surfaces. */
.seo-site #seo-footer{
  min-height:100dvh!important;
  width:100%;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:stretch;
  padding:0!important;
  gap:0;
  background:
    radial-gradient(ellipse at 8% 11%,rgba(142,42,213,.38),transparent 58%),
    radial-gradient(ellipse at 91% 81%,rgba(20,126,255,.40),transparent 57%),
    linear-gradient(125deg,#32115e 0%,#3a1a78 29%,#293f9d 66%,#106cc4 100%)!important;
}
.seo-site #seo-footer>.dd-footer-inner.container{
  width:min(1490px,calc(100% - clamp(1.5rem,3vw,3.5rem)));
  flex:1 0 auto;
  min-height:0;
  margin:0 auto;
  padding:clamp(3.6rem,8vh,6rem) clamp(1rem,2vw,2rem);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.seo-site #seo-footer>.site-legal-footer.dd-footer-legal-strip{
  flex:0 0 auto;
  align-self:stretch;
  width:100%;
  margin:0;
  border:0!important;
  border-top:1px solid rgba(199,184,255,.31)!important;
  background:linear-gradient(100deg,#54227e 0%,#45348d 38%,#2560af 72%,#127ad0 100%)!important;
  box-shadow:0 -18px 45px rgba(57,30,114,.16)!important;
}
.seo-site #seo-footer>.site-legal-footer.dd-footer-legal-strip>.container{
  width:min(1200px,calc(100% - 2.5rem));
  margin:0 auto;
  padding:clamp(.9rem,1.7vh,1.25rem) 0;
}
.seo-site #seo-footer .dd-footer-top{margin:0}
.seo-site #seo-footer .dd-footer-nav-cols a,
.seo-site #seo-footer .site-legal-links a{color:#f0e8ff}
.seo-site #seo-footer .dd-footer-tagline,
.seo-site #seo-footer .site-form-privacy{color:#d2c6eb}

/* One identical-height shortcut pill and plain Console button. */
.seo-site .seo-command-hint{
  display:flex;
  align-items:center;
  gap:.5rem;
  top:13px;
  right:clamp(11px,2vw,28px);
}
.seo-site .seo-command-hint>.seo-command-pill,
.seo-site .seo-command-hint>button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  height:42px;
  box-sizing:border-box;
  border-radius:10px;
  padding:.6rem .9rem;
  font:800 .72rem "DM Sans",system-ui,sans-serif;
  letter-spacing:.015em;
}
.seo-site .seo-command-hint>.seo-command-pill{
  gap:.55rem;
  background:linear-gradient(105deg,rgba(59,29,107,.86),rgba(31,55,119,.9));
  color:#f9f0ff;
  border:1px solid rgba(155,134,224,.74);
  box-shadow:0 7px 25px rgba(31,47,132,.20);
  white-space:nowrap;
}
.seo-site .seo-command-hint>.seo-command-pill kbd{
  display:grid;
  place-items:center;
  min-width:1.75rem;
  height:1.75rem;
  margin:0;
  padding:0 .3rem;
  border:1px solid rgba(190,200,255,.58);
  border-radius:5px;
  background:#101d42;
  color:#fff;
  font:800 .92rem Consolas,monospace;
}
.seo-site .seo-command-hint>button{white-space:nowrap}
.seo-site .seo-console-head{justify-content:flex-end;min-height:31px}
.seo-site .seo-console-output:empty{display:none}
.seo-site .seo-command-console{overscroll-behavior:contain}

/* On mobile the console slides down from the top and the keyboard stays
   below its input; the dimmer shields the page without moving the viewport. */
@keyframes seo-console-down{
  from{opacity:.35;transform:translate3d(0,-16px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@media(max-width:767px){
  .seo-site .seo-command-hint{top:8px;right:8px;gap:.35rem}
  .seo-site .seo-command-hint>.seo-command-pill,
  .seo-site .seo-command-hint>button{
    display:inline-flex!important;
    min-height:40px;
    height:40px;
    padding:.45rem .64rem;
    font-size:.68rem;
  }
  .seo-site .seo-command-hint>.seo-command-pill{gap:.4rem}
  .seo-site .seo-command-hint>.seo-command-pill kbd{
    min-width:1.5rem;height:1.55rem;font-size:.84rem
  }
  .seo-site.seo-console-open::after{
    content:"";
    position:fixed;
    inset:0;
    z-index:120;
    background:rgba(3,5,19,.86);
    backdrop-filter:blur(8px);
    pointer-events:auto;
  }
  .seo-site .seo-command-console{
    position:fixed;
    top:0!important;
    bottom:auto!important;
    left:0!important;
    right:0!important;
    z-index:130;
    box-sizing:border-box;
    min-height:min(280px,calc(var(--seo-visible-height,100dvh) - 8px));
    max-height:min(540px,calc(var(--seo-visible-height,100dvh) - 8px))!important;
    height:auto;
    overflow-y:auto;
    overflow-x:hidden;
    padding:max(.85rem,env(safe-area-inset-top)) .95rem 1.15rem!important;
    border:0!important;
    border-bottom:2px solid rgba(155,134,224,.85)!important;
    border-radius:0 0 16px 16px!important;
    box-shadow:0 25px 90px rgba(2,4,18,.88)!important;
    background:linear-gradient(135deg,rgba(47,18,93,.985),rgba(14,39,100,.99) 76%,rgba(9,70,139,.99))!important;
    animation:seo-console-down .24s ease-out both;
    -webkit-overflow-scrolling:touch;
  }
  .seo-site .seo-command-console::before{top:auto;bottom:0;height:2px}
  .seo-site .seo-command-console input{
    font-size:16px;
    min-height:44px;
  }
  .seo-site .seo-console-head{margin:0 0 .45rem}
  .seo-site .seo-command-console form{margin-top:.35rem;gap:.55rem}
  .seo-site .seo-command-console form>button{min-height:42px}
  .seo-site .seo-console-help{margin-top:.8rem}
  .seo-site #seo-footer>.dd-footer-inner.container{
    width:calc(100% - 1.5rem);
    padding:4rem 1rem 2rem;
  }
  .seo-site #seo-footer>.site-legal-footer.dd-footer-legal-strip>.container{
    width:calc(100% - 1.5rem);
    padding:1rem .5rem;
  }
}
@media(prefers-reduced-motion:reduce){
  .seo-site .seo-command-console{animation:none!important}
}
