/* AMSTERCODE v3 (12 Nov) — the homepage as a scroll-driven sequence of scenes around one real-time object.
   The 3D stage sits behind everything; each chapter fills the screen; the 2D reticle is the fallback. */
.cx-stage{position:fixed;inset:0;z-index:0;pointer-events:none}
.cx-stage canvas{width:100%!important;height:100%!important;display:block}

/* when the 3D rotor runs, it replaces the 2D reticle and the page quietens its own background */
html.cx-3d .cx-hero--v2 .cx-hero-art canvas{visibility:hidden}
html.cx-3d .cx-field{opacity:.35}
html.cx-3d .cx-veil{background:radial-gradient(120% 80% at 50% 0%,transparent 45%,rgba(3,4,6,.7) 100%)}

/* chapters: every section is a full-screen scene with one column of text, the object lives in the rest */
.cx-home .cx-sec{min-height:100svh;display:flex;align-items:center;padding:clamp(96px,12vh,160px) 0}
.cx-home .cx-sec > .cx-wrap{width:min(var(--cx-w),100% - 2*var(--cx-g))}
.cx-home .cx-band{display:none}
.cx-home #vision .cx-calm,
.cx-home #method .cx-sec-head,.cx-home #contact .cx-sec-head,.cx-home #combat .cx-calm{max-width:62%}
.cx-home #method .cx-steps{margin-top:clamp(24px,8vh,90px)}
.cx-home #security .cx-sec-head{max-width:62%}
.cx-home #contact .cx-contact{max-width:none}
/* the chapter index on the left edge: where you are in the sequence */
.cx-chapters{position:fixed;left:calc(var(--cx-g) * .45);top:50%;transform:translateY(-50%);z-index:5;display:grid;gap:14px;list-style:none;margin:0;padding:0}
.cx-chapters a{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:var(--cx-mono);font-size:9.5px;letter-spacing:.24em;text-transform:uppercase;color:var(--bone-4)}
.cx-chapters a i{width:14px;height:1px;background:currentColor;transition:width .4s var(--cx-ease)}
.cx-chapters a span{opacity:0;transform:translateX(-4px);transition:opacity .3s,transform .3s}
.cx-chapters:hover a span,.cx-chapters a[aria-current] span{opacity:1;transform:none}
.cx-chapters a[aria-current]{color:var(--brass-hi)}
.cx-chapters a[aria-current] i{width:28px}
@media (max-width:1100px){.cx-chapters{display:none}}
@media (max-width:900px){
  .cx-home .cx-sec{min-height:auto;padding:88px 0}
  .cx-home #vision .cx-calm,.cx-home #combat .cx-calm,.cx-home #method .cx-sec-head,.cx-home #contact .cx-sec-head,.cx-home #security .cx-sec-head,.cx-home #contact .cx-contact{max-width:none}
}
html.cx-3d .cx-hero--v2 .cx-readout{display:none}

/* eight menu items: tighter, the NCAGE tag only on wide screens */
.cx-nav{gap:clamp(12px,1.5vw,24px)}
.cx-nav a{letter-spacing:.2em}
@media (max-width:1360px){.cx-code{display:none}}
@media (max-width:1180px){.cx-nav,.cx-code{display:none}.cx-burger{display:flex}}
