/* KONAI v26 — viewport fit, readability, text integrity and header alignment.
   This is the final layout authority and intentionally loads last. */
:root{
  --v26-header-h:72px;
  --v26-edge:clamp(14px,2.1vw,32px);
  --v26-max:1440px;
  --v26-text:#e6f0fa;
  --v26-text-soft:#c6d6e6;
  --v26-text-dark:#26384d;
  --v26-muted-dark:#4b6077;
  --v26-line:rgba(116,216,255,.20);
}
html,body{width:100%;max-width:100%;overflow-x:clip!important}
body.lustro-inspired{margin:0!important;padding:0!important}

/* Header: never offset outside the viewport. */
.lustro-inspired .site-header{
  position:sticky!important;top:0!important;left:0!important;right:0!important;
  width:100%!important;max-width:100%!important;margin:0!important;transform:none!important;
  border-radius:0!important;background:rgba(3,11,23,.97)!important;
  border:0!important;border-bottom:1px solid var(--v26-line)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.24)!important;z-index:10000!important;
}
.lustro-inspired .header-inner{
  width:min(calc(100% - (2 * var(--v26-edge))),var(--v26-max))!important;
  max-width:var(--v26-max)!important;margin:0 auto!important;padding:7px 0!important;
  min-width:0!important;min-height:68px!important;box-sizing:border-box!important;
  gap:clamp(10px,1.45vw,24px)!important;
}
.lustro-inspired .brand,.lustro-inspired .desktop-nav,.lustro-inspired .header-actions{min-width:0!important}
.lustro-inspired .desktop-nav{margin-left:auto!important;flex:0 1 auto!important;min-width:0!important}
.lustro-inspired .desktop-nav a,.lustro-inspired .desktop-nav button{white-space:nowrap!important}

/* Main rails and universal containment. */
.lustro-inspired main{width:100%!important;max-width:100%!important;margin:0!important;overflow:clip!important}
.lustro-inspired main>section{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;position:relative!important}
.lustro-inspired main>section>.v26-section-inner{width:100%;max-width:var(--v26-max);margin:0 auto;min-width:0;transform-origin:top center}
.lustro-inspired main>section :where(.container,.narrow){width:100%!important;max-width:var(--v26-max)!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
.lustro-inspired main>section :where(article,aside,figure,div,header,footer,section,nav){min-width:0!important;box-sizing:border-box!important}
.lustro-inspired main>section :where(img,picture,video,canvas,svg){max-width:100%!important;object-fit:contain}

/* No textual truncation anywhere in page content. */
.lustro-inspired main>section :where(h1,h2,h3,h4,p,li,span,strong,b,em,small,a,button),
.lustro-inspired .site-footer :where(p,span,a,button,b,small){
  max-width:100%;overflow-wrap:break-word!important;word-break:normal!important;
  text-overflow:clip!important;-webkit-line-clamp:unset!important;
}
.lustro-inspired main>section :where(p,li,h1,h2,h3,h4,em,b,strong,small),
.lustro-inspired .progressive-content,.lustro-inspired .progressive-inner{
  max-height:none!important;
}
.lustro-inspired main>section :where(p,li,h1,h2,h3,h4,em,b,strong,small){white-space:normal!important;overflow:visible!important;display:block!important}
.lustro-inspired .progressive-content{display:grid!important;grid-template-rows:1fr!important;opacity:1!important;visibility:visible!important;overflow:visible!important}
.lustro-inspired .progressive-inner{overflow:visible!important}
.lustro-inspired .detail-toggle{display:none!important}

/* Readability: brighten dark-theme copy and raise tiny UI labels. */
.lustro-inspired :where(.section-navy,.home-hero,.audience-hero,.contract-section,.site-footer) :where(p,li,.section-note,.lede,.home-hero-lede,.audience-hero-sub,small,.meta){color:var(--v26-text-soft)!important}
.lustro-inspired main>section :where(p,li,.section-note,.lede,.home-hero-lede,.audience-hero-sub,.risk-card p,.workflow-card p,.workflow-step p,.founding-card p,.gateway-card p,.perspective-card p,.trust-step-detail,.bridge-pane p){font-size:clamp(.84rem,.42vw + .56rem,1.02rem)!important;line-height:1.42!important}
.lustro-inspired main>section :where(.section-index,.eyebrow,.micro-label,.card-index,small,.meta){font-size:clamp(.70rem,.25vw + .53rem,.82rem)!important;line-height:1.28!important}

/* Graphic labels specifically called out in review. */
.lustro-inspired .identity-rights-stack b{font-size:clamp(.78rem,.86vw,.96rem)!important;line-height:1.18!important;white-space:normal!important}
.lustro-inspired .identity-rights-stack small,.lustro-inspired .identity-rights-stack em{font-size:clamp(.68rem,.68vw,.82rem)!important;line-height:1.25!important;white-space:normal!important;color:#d6e4f2!important}
.lustro-inspired .identity-photo-label b{font-size:clamp(1.05rem,1.55vw,1.48rem)!important;line-height:1.05!important;white-space:normal!important}
.lustro-inspired .visual-toolbar>span,.lustro-inspired .visual-toolbar button{font-size:clamp(.68rem,.62vw,.78rem)!important}
.lustro-inspired .hero-readout small{font-size:clamp(.66rem,.58vw,.76rem)!important;color:#c7d9e8!important}
.lustro-inspired .hero-readout b{font-size:clamp(.82rem,.76vw,.94rem)!important;color:#fff!important}
.lustro-inspired .gateway-card footer span{font-size:clamp(.72rem,.65vw,.84rem)!important;color:#c9d8e7!important;white-space:normal!important}

/* Consistent section-heading rail on every page. */
.lustro-inspired .section-heading{
  display:grid!important;grid-template-columns:clamp(145px,15vw,195px) minmax(0,1fr)!important;
  gap:clamp(18px,3vw,44px)!important;align-items:start!important;
  width:100%!important;margin:0 0 clamp(12px,1.6vh,22px)!important;padding:0!important;
}
.lustro-inspired .section-heading>div{padding:0!important;margin:0!important;align-self:start!important}
.lustro-inspired .section-heading .section-index{margin:0!important}
.lustro-inspired .section-heading .section-note{margin:.45rem 0 0!important}
.lustro-inspired .section-heading h2{margin:0!important;padding:0!important;font-size:clamp(2.05rem,3.65vw,3.9rem)!important;line-height:.98!important;text-wrap:balance}

/* Desktop/tablet landscape: each top-level section owns exactly one visible frame.
   JS performs a measured proportional fit of the inner composition. */
@media (min-width:861px){
  .lustro-inspired main>section{
    height:calc(100svh - var(--v26-header-h))!important;
    min-height:calc(100svh - var(--v26-header-h))!important;
    max-height:calc(100svh - var(--v26-header-h))!important;
    padding:clamp(10px,1.5vh,18px) var(--v26-edge)!important;
    overflow:hidden!important;scroll-margin-top:var(--v26-header-h)!important;
  }
  .lustro-inspired main>section>.v26-section-inner{height:auto;min-height:0}
  .lustro-inspired main>section.v26-tight{padding-top:8px!important;padding-bottom:8px!important}
  .lustro-inspired main>section.v26-tight .section-heading{margin-bottom:8px!important;gap:16px!important}
  .lustro-inspired main>section.v26-tight .section-heading h2{font-size:clamp(1.8rem,3.2vw,3.25rem)!important}
  .lustro-inspired main>section.v26-tight :where(.button--large,.button){min-height:44px!important;padding-block:0!important}
  .lustro-inspired main>section.v26-tight :where(.founding-card,.risk-card,.solution-column,.workflow-step,.gateway-card){padding-top:10px!important;padding-bottom:10px!important}
}

/* Narrow screens preserve readability over forced shrinking, with natural flow. */
@media (max-width:860px){
  .lustro-inspired main{overflow:visible!important}
  .lustro-inspired main>section{height:auto!important;min-height:0!important;max-height:none!important;padding:clamp(28px,5vw,52px) var(--v26-edge)!important;overflow:visible!important}
  .lustro-inspired main>section>.v26-section-inner{zoom:1!important;width:100%!important;padding-top:0!important}
  .lustro-inspired .section-heading{grid-template-columns:1fr!important;gap:8px!important;margin-bottom:20px!important}
  .lustro-inspired .section-heading h2{font-size:clamp(2rem,8vw,3.35rem)!important}
  .lustro-inspired .desktop-nav{display:none!important}
  .lustro-inspired .menu-toggle{display:block!important}
}

@media (max-width:520px){
  .lustro-inspired .header-inner{min-height:62px!important}
  .lustro-inspired main>section :where(p,li,.section-note,.lede,.home-hero-lede,.audience-hero-sub){font-size:.94rem!important}
  .lustro-inspired main>section :where(.section-index,.eyebrow,.micro-label,small,.meta){font-size:.74rem!important}
}
