/* Simple Home, 22 Nov: deliberately isolated final layout pass.
   The full homepage's render markup is reused verbatim in simple-home.html.
   This sheet adapts the same layering to the independently sized intro only. */

/* Treat the opening as a single non-scrollable viewport on desktop. The
   retractable intro itself may scroll on a very short screen, but its thumb
   is intentionally hidden; the real page scroll returns after entering. */
html:has(body.simple-site.simple-intro-open){
  overflow:hidden;
  scrollbar-width:none;
}
body.simple-site.simple-intro-open{overflow:hidden}
.simple-site .simple-intro{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.simple-site .simple-intro::-webkit-scrollbar{display:none;width:0;height:0}
html:has(body.simple-site:not(.simple-intro-open)){
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(202,168,237,.19) transparent;
}
html:has(body.simple-site:not(.simple-intro-open))::-webkit-scrollbar{width:10px}
html:has(body.simple-site:not(.simple-intro-open))::-webkit-scrollbar-track{background:transparent}
html:has(body.simple-site:not(.simple-intro-open))::-webkit-scrollbar-thumb{
  border:3px solid transparent;
  background-clip:padding-box;
  background-color:rgba(207,172,241,.16);
  border-radius:999px;
}
html:has(body.simple-site:not(.simple-intro-open))::-webkit-scrollbar-thumb:hover{
  background-color:rgba(207,172,241,.32);
}

/* Second-page rail: invisible track, translucent thumb. Scrolling and all
   information remain accessible; do not hide an overflowing panel's content. */
@media(min-width:881px){
  .simple-site .simple-rail{
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(206,165,244,.17) transparent;
  }
  .simple-site .simple-rail::-webkit-scrollbar{display:block;width:8px}
  .simple-site .simple-rail::-webkit-scrollbar-track{background:transparent}
  .simple-site .simple-rail::-webkit-scrollbar-thumb{
    background:rgba(205,169,241,.17);
    border:2px solid transparent;
    background-clip:padding-box;
    border-radius:20px;
  }
  .simple-site .simple-rail::-webkit-scrollbar-thumb:hover{background:rgba(205,169,241,.28)}
}
@media(max-width:880px){
  .simple-site .simple-rail{overflow:visible}
}

/* Homepage-identical screenshot ordering, dimensions and app-preview markup:
   light BizDump behind, dark BizCalc at upper right, ERP dashboard foremost.
   There are no independently rotated/scaled 'simple-app-window' mockups now. */
.simple-site .simple-intro-visual{
  width:100%;
  max-width:680px;
  justify-self:center;
  overflow:visible;
}
.simple-site .simple-homepage-render{
  position:relative;
  isolation:isolate;
  width:100%;
  aspect-ratio:1.04;
  min-height:0;
}
.simple-site .simple-homepage-render::before{
  content:"";
  position:absolute;inset:8% -5% 2%;
  pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse at 55% 48%,rgba(108,67,160,.17),transparent 73%);
  filter:blur(17px);
}
.simple-site .simple-homepage-render .companion-app-previews{
  position:absolute;
  display:block;
  top:3%;
  right:0;
  width:min(96%,570px);
  height:320px;
  z-index:2;
}
.simple-site .simple-homepage-render .companion-app-previews .bizdump-preview{
  position:absolute;
  left:auto;top:60px;right:11%;
  width:79%;height:245px;min-width:0;
  opacity:.9;transform:translate(-6%,18px) rotate(-1.2deg);
  z-index:1;
}
.simple-site .simple-homepage-render .companion-app-previews .bizcalc-preview{
  position:absolute;
  left:auto;top:auto;right:-2%;bottom:-3px;
  width:37%;min-width:200px;height:362px;
  transform:translate(5%,36px) rotate(1.2deg);
  z-index:2;
}
.simple-site .simple-homepage-render .hero-shot-stack{
  position:absolute;
  z-index:3;
  left:3%;right:6%;top:34%;bottom:5%;
  min-height:0;
  padding:0;
}
.simple-site .simple-homepage-render .shot-frame{
  display:block;
  margin:0;
  overflow:hidden;
  background:#09090d;
  border:1px solid rgba(180,146,220,.18);
  border-radius:12px;
  box-shadow:0 22px 65px rgba(0,0,0,.54);
  pointer-events:none;
}
.simple-site .simple-homepage-render .shot-frame img,
.simple-site .simple-homepage-render .shot-frame picture{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top left;
}
.simple-site .simple-homepage-render .shot-primary{
  position:relative;
  z-index:3;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
}
.simple-site .simple-homepage-render .shot-float{position:absolute;height:auto}
.simple-site .simple-homepage-render .shot-jobs{
  z-index:1;
  left:2%;bottom:-2%;
  width:60%;aspect-ratio:16/10;
  transform:rotate(-1.8deg);
}
.simple-site .simple-homepage-render .shot-shipping{
  z-index:2;
  right:2%;bottom:5%;
  width:50%;aspect-ratio:16/10;
  transform:rotate(2.2deg);
}
.simple-site .simple-homepage-render .shot-frame::after{content:none}
.simple-site .simple-homepage-render .shot-frame:hover{transform:none}
.simple-site .simple-homepage-render .bizdump-preview,
.simple-site .simple-homepage-render .bizcalc-preview{pointer-events:none;transition:none}
.simple-site .simple-homepage-render .bizdump-preview:hover{
  transform:translate(-6%,18px) rotate(-1.2deg);box-shadow:0 22px 60px rgba(0,0,0,.45)
}
.simple-site .simple-homepage-render .bizcalc-preview:hover{
  transform:translate(5%,36px) rotate(1.2deg);box-shadow:0 22px 60px rgba(0,0,0,.45)
}

/* User's requested capitals: BIG stays fully uppercase; use coherent title
   casing for other simplified-page headings, links, buttons and node names,
   preserving technical acronyms like CRM, QA, SEO and ERP. */
.simple-site .simple-intro h1,
.simple-site .simple-return-home,
.simple-site .simple-enter-map,
.simple-site .simple-intro-reopen,
.simple-site .simple-node-name,
.simple-site .simple-panel h2,
.simple-site .simple-panel h3,
.simple-site .simple-panel-actions a,
.simple-site .simple-flow-items button,
.simple-site .simple-panel-secondary strong,
.simple-site .simple-panel-secondary a,
.simple-site .dd-home-about-copy h2,
.simple-site .dd-home-about-links a,
.simple-site .simple-bridge h2,
.simple-site .simple-bridge-links a{
  text-transform:capitalize;
}
/* The network ends only after the last complete circles and their
   connection strokes. The About section must not cover the terminal row. */
@media(min-width:621px){
  .simple-site .simple-explorer{
    padding-bottom:clamp(125px,10vw,190px);
  }
  .simple-site .simple-network{
    overflow:visible;
  }
  .simple-site #simple-main>.dd-home-about{
    position:relative;
    z-index:1;
  }
}
@media(max-width:620px){
  .simple-site .simple-explorer{padding-bottom:2.5rem}
}

/* Cleaner engineering-graph connections: bordered circular ports, composed
   cubic segments and a subtle companion glow, not wide drooping parabolas. */
.simple-site .simple-network-lines path.connector-halo{
  stroke:#cba8fb;
  stroke-opacity:.055;
  stroke-width:7;
  stroke-linecap:round;
  fill:none;
}
.simple-site .simple-network-lines path.connector-core{
  stroke:#ba93e8;
  stroke-opacity:.52;
  stroke-width:1.65;
  stroke-linecap:round;
  fill:none;
}
.simple-site .simple-network-lines path.connector-core.is-related{
  stroke:#d7b6ff;
  stroke-opacity:.92;
  stroke-width:2.2;
}
.simple-site .simple-network-lines path.connector-halo.is-related{
  stroke:#c79aff;
  stroke-opacity:.19;
  stroke-width:8;
}
.simple-site .simple-network-lines path{
  vector-effect:non-scaling-stroke;
  transition:stroke-opacity .24s ease,stroke-width .24s ease;
}
/* Mobile has purpose-built node cards, not overlapping chart paths. */
@media(max-width:880px){
  .simple-site .simple-homepage-render{width:min(100%,570px);margin:0 auto;aspect-ratio:1.1}
  .simple-site .simple-homepage-render .companion-app-previews{
    top:0;right:0;width:100%;height:54%;
  }
  .simple-site .simple-homepage-render .companion-app-previews .bizdump-preview{
    left:1%;right:auto;top:12px;width:72%;height:clamp(110px,20vw,180px);
  }
  .simple-site .simple-homepage-render .companion-app-previews .bizcalc-preview{
    right:0;bottom:0;width:43%;min-width:0;height:clamp(158px,28vw,245px);
  }
  .simple-site .simple-homepage-render .hero-shot-stack{top:37%;bottom:2%;left:1%;right:1%}
}
@media(max-width:620px){
  .simple-site .simple-homepage-render{aspect-ratio:1.06}
  .simple-site .simple-homepage-render .companion-app-previews .bizdump-preview{
    height:110px;width:72%;
  }
  .simple-site .simple-homepage-render .companion-app-previews .bizcalc-preview{
    height:165px;width:46%;
  }
  .simple-site .simple-homepage-render .hero-shot-stack{top:43%}
}
@media(prefers-reduced-motion:reduce){
  .simple-site .simple-network-lines path,.simple-site .simple-homepage-render .shot-frame{transition:none}
}
