/* LAWTER v6.0.1 — Hero panel redesign & layout recovery */

body.lawter-v6 .hero-grid-v5{
  grid-template-columns:minmax(0,1.02fr) minmax(520px,.98fr)!important;
  gap:clamp(44px,5vw,88px)!important;
  align-items:center!important;
}
body.lawter-v6 .hero-copy{
  max-width:760px!important;
  align-self:center!important;
}
body.lawter-v6 .hero-copy h1{
  max-width:10.5ch!important;
}
body.lawter-v6 .hero-copy .hero-lead{
  max-width:58ch!important;
}

body.lawter-v6 .hero-structure{
  position:relative!important;
  min-height:640px!important;
  padding:24px!important;
  display:block!important;
  overflow:hidden!important;
  isolation:isolate!important;
  border:1px solid rgba(237,207,149,.22)!important;
  background:
    linear-gradient(180deg,rgba(6,21,41,.78),rgba(2,11,23,.92)),
    linear-gradient(140deg,rgba(194,158,106,.05),transparent 42%)!important;
  clip-path:polygon(0 0,91% 0,100% 10%,100% 100%,0 100%)!important;
  box-shadow:0 28px 72px rgba(0,0,0,.28)!important;
}
body.lawter-v6 .hero-structure::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    linear-gradient(90deg,rgba(2,11,23,.28) 0,rgba(2,11,23,.10) 36%,rgba(2,11,23,.62) 100%),
    linear-gradient(180deg,rgba(255,255,255,.02),transparent 24%,rgba(2,11,23,.32) 100%)!important;
}
body.lawter-v6 .hero-structure::after{
  content:""!important;
  position:absolute!important;
  inset:14px!important;
  border:1px solid rgba(237,207,149,.07)!important;
  clip-path:polygon(0 0,92% 0,100% 9%,100% 100%,0 100%)!important;
  pointer-events:none!important;
  z-index:1!important;
}
body.lawter-v6 .hero-sector-backdrop{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  opacity:.26!important;
  filter:saturate(.84) contrast(1.02) brightness(.68)!important;
  transform:scale(1.02)!important;
  transition:opacity .24s ease!important;
  z-index:0!important;
}
body.lawter-v6 .structure-mark{
  position:absolute!important;
  inset:18% 10% 16% 48%!important;
  display:grid!important;
  place-items:end!important;
  opacity:.07!important;
  z-index:1!important;
  pointer-events:none!important;
}
body.lawter-v6 .structure-mark img{
  width:min(280px,68%)!important;
  height:auto!important;
}
body.lawter-v6 .hero-structure-shell{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-rows:auto minmax(250px,1fr) auto!important;
  gap:18px!important;
  min-height:592px!important;
  height:100%!important;
}
body.lawter-v6 .hero-structure-head{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:14px!important;
  z-index:3!important;
}
body.lawter-v6 .hero-structure-kicker,
body.lawter-v6 .hero-structure-count{
  background:rgba(2,11,23,.72)!important;
  border:1px solid rgba(237,207,149,.18)!important;
  padding:14px 16px!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.lawter-v6 .hero-structure-kicker strong{font-size:clamp(26px,2vw,36px)!important;line-height:1.02!important}
body.lawter-v6 .hero-structure-count{
  min-width:116px!important;
  text-align:right!important;
}
body.lawter-v6 .hero-structure-count strong{font-size:28px!important;line-height:1!important}

body.lawter-v6 .hero-stage-card.hero-sector-preview{
  position:relative!important;
  inset:auto!important;
  left:auto!important;right:auto!important;bottom:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:18px!important;
  width:100%!important;
  max-width:none!important;
  min-height:268px!important;
  padding:32px 28px!important;
  border:1px solid rgba(237,207,149,.26)!important;
  background:
    linear-gradient(180deg,rgba(2,11,23,.12),rgba(2,11,23,.74)),
    linear-gradient(110deg,rgba(194,158,106,.10),rgba(7,26,49,.10) 20%,rgba(7,26,49,.58) 64%,rgba(2,11,23,.78))!important;
  box-shadow:0 18px 40px rgba(0,0,0,.22)!important;
  overflow:hidden!important;
}
body.lawter-v6 .hero-stage-card.hero-sector-preview::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:3px!important;
  background:linear-gradient(180deg,var(--gold-300),rgba(237,207,149,.10))!important;
}
body.lawter-v6 .hero-stage-card.hero-sector-preview::after{
  content:""!important;
  position:absolute!important;
  right:18px!important;
  top:18px!important;
  width:50px!important;
  height:50px!important;
  border-top:1px solid rgba(237,207,149,.20)!important;
  border-right:1px solid rgba(237,207,149,.20)!important;
  pointer-events:none!important;
}
body.lawter-v6 .hero-stage-meta{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:end!important;
  min-width:0!important;
}
body.lawter-v6 .hero-stage-kicker{
  display:block!important;
  margin:0 0 10px!important;
  color:var(--gold-300)!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
body.lawter-v6 .hero-sector-no{
  display:grid!important;
  place-items:center!important;
  position:static!important;
  width:72px!important;
  height:72px!important;
  min-height:72px!important;
  border:1px solid rgba(237,207,149,.26)!important;
  background:rgba(2,11,23,.58)!important;
  color:var(--gold-300)!important;
  font-family:var(--serif)!important;
  font-size:32px!important;
  line-height:1!important;
}
body.lawter-v6 .hero-sector-copy{min-width:0!important}
body.lawter-v6 .hero-sector-copy strong{
  display:block!important;
  font-size:clamp(30px,2.05vw,40px)!important;
  line-height:1.02!important;
  white-space:normal!important;
  text-wrap:balance!important;
  margin:0!important;
}
body.lawter-v6 .hero-sector-copy p{
  display:block!important;
  margin:10px 0 0!important;
  max-width:42ch!important;
  color:rgba(231,220,201,.84)!important;
  font-size:14px!important;
  line-height:1.6!important;
  overflow:visible!important;
  text-wrap:pretty!important;
}
body.lawter-v6 .hero-sector-link{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:end!important;
  justify-self:end!important;
  min-height:48px!important;
  padding:0 18px!important;
  border:1px solid rgba(237,207,149,.24)!important;
  background:rgba(2,11,23,.58)!important;
  color:var(--gold-300)!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body.lawter-v6 .hero-sector-link:hover,
body.lawter-v6 .hero-sector-link:focus-visible{
  border-color:rgba(237,207,149,.46)!important;
  background:rgba(7,26,49,.74)!important;
}

body.lawter-v6 .structure-pillars{
  position:relative!important;
  inset:auto!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  align-self:end!important;
  z-index:3!important;
}
body.lawter-v6 .structure-pillar{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  min-height:72px!important;
  margin:0!important;
  padding:16px 18px!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:16px!important;
  overflow:hidden!important;
  clip-path:none!important;
  transform:none!important;
  border:1px solid rgba(237,207,149,.16)!important;
  background:linear-gradient(90deg,rgba(2,11,23,.76),rgba(7,26,49,.54))!important;
  box-shadow:none!important;
}
body.lawter-v6 .structure-pillar::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:2px!important;
  background:var(--gold-300)!important;
  transform:scaleY(0)!important;
  transform-origin:bottom!important;
  transition:transform .24s var(--ease)!important;
}
body.lawter-v6 .structure-pillar::after{display:none!important}
body.lawter-v6 .pillar-no{
  position:static!important;
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:0!important;
  text-align:center!important;
  border:1px solid rgba(237,207,149,.24)!important;
  background:rgba(2,11,23,.52)!important;
  color:var(--gold-300)!important;
  font-family:var(--serif)!important;
  font-size:16px!important;
  line-height:1!important;
}
body.lawter-v6 .pillar-label{
  position:static!important;
  display:block!important;
  min-width:0!important;
  padding:0!important;
  writing-mode:horizontal-tb!important;
  transform:none!important;
  max-height:none!important;
  font-size:12px!important;
  line-height:1.3!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:var(--cream-200)!important;
}
body.lawter-v6 .pillar-label strong{
  display:block!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  font-size:clamp(15px,1vw,18px)!important;
  line-height:1.2!important;
  text-wrap:balance!important;
}
body.lawter-v6 .pillar-arrow{
  display:block!important;
  color:rgba(237,207,149,.76)!important;
  font-size:13px!important;
  line-height:1!important;
  justify-self:end!important;
}
body.lawter-v6 .structure-pillar:hover,
body.lawter-v6 .structure-pillar:focus-visible,
body.lawter-v6 .structure-pillar.is-active{
  transform:translateX(5px)!important;
  border-color:rgba(237,207,149,.40)!important;
  background:linear-gradient(90deg,rgba(194,158,106,.18),rgba(7,26,49,.78))!important;
  box-shadow:0 16px 34px rgba(0,0,0,.18)!important;
}
body.lawter-v6 .structure-pillar:hover::before,
body.lawter-v6 .structure-pillar:focus-visible::before,
body.lawter-v6 .structure-pillar.is-active::before{transform:scaleY(1)!important}
body.lawter-v6 .structure-pillar.is-active .pillar-no{
  background:var(--gold-metal)!important;
  border-color:transparent!important;
  color:var(--navy-950)!important;
}
body.lawter-v6 .structure-pillar.is-active .pillar-label strong,
body.lawter-v6 .structure-pillar:hover .pillar-label strong,
body.lawter-v6 .structure-pillar:focus-visible .pillar-label strong{color:var(--cream-100)!important}
body.lawter-v6 .structure-baseline{display:none!important}

/* About section recovery: restore left visual presence. */
body.lawter-v6 .about-grid-v5{
  grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr)!important;
  gap:clamp(40px,5vw,84px)!important;
  align-items:center!important;
}
body.lawter-v6 .about-photo-frame{
  display:block!important;
  opacity:1!important;
  transform:none!important;
  justify-self:start!important;
  width:100%!important;
  max-width:500px!important;
  aspect-ratio:4/5!important;
  background:#041326!important;
}
body.lawter-v6 .about-photo-frame img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.lawter-v6 .about-photo-frame figcaption strong{
  letter-spacing:.08em!important;
}

/* Section rail robustness. */
body.lawter-v6 .section-rail{
  right:20px!important;
  z-index:90!important;
}
body.lawter-v6 .section-rail a{
  min-height:30px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
body.lawter-v6 .section-rail a::before{
  flex:0 0 14px!important;
}
body.lawter-v6 .section-rail a.is-active .rail-copy{
  max-width:180px!important;
  opacity:1!important;
  transform:none!important;
}
body.lawter-v6 .section-rail a .rail-no{min-width:18px!important;text-align:left!important}

@media(max-width:1360px){
  body.lawter-v6 .hero-grid-v5{
    grid-template-columns:minmax(0,1fr) minmax(460px,.92fr)!important;
    gap:clamp(34px,4vw,64px)!important;
  }
  body.lawter-v6 .hero-structure{min-height:620px!important}
  body.lawter-v6 .hero-structure-shell{min-height:572px!important}
  body.lawter-v6 .hero-sector-copy strong{font-size:clamp(28px,2.1vw,36px)!important}
}

@media(max-width:1280px){
  body.lawter-v6 .hero-grid-v5{grid-template-columns:1fr!important;gap:42px!important}
  body.lawter-v6 .hero-copy{max-width:900px!important}
  body.lawter-v6 .hero-structure{
    width:min(920px,100%)!important;
    max-width:920px!important;
    justify-self:center!important;
    min-height:unset!important;
  }
  body.lawter-v6 .hero-structure-shell{min-height:0!important}
  body.lawter-v6 .about-grid-v5{grid-template-columns:1fr!important}
  body.lawter-v6 .about-photo-frame{max-width:560px!important}
}

@media(max-width:700px){
  body.lawter-v6 .hero-structure{padding:16px!important}
  body.lawter-v6 .hero-structure::after{inset:8px!important}
  body.lawter-v6 .hero-structure-head{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.lawter-v6 .hero-structure-count{text-align:left!important;min-width:0!important}
  body.lawter-v6 .hero-stage-card.hero-sector-preview{
    grid-template-columns:1fr!important;
    align-items:start!important;
    min-height:220px!important;
    padding:22px 18px!important;
  }
  body.lawter-v6 .hero-stage-meta{
    grid-template-columns:56px minmax(0,1fr)!important;
    gap:14px!important;
  }
  body.lawter-v6 .hero-sector-no{width:56px!important;height:56px!important;min-height:56px!important;font-size:26px!important}
  body.lawter-v6 .hero-sector-link{justify-self:start!important}
  body.lawter-v6 .structure-pillar{
    grid-template-columns:42px minmax(0,1fr) 16px!important;
    padding:14px 14px!important;
    gap:12px!important;
  }
  body.lawter-v6 .pillar-no{width:42px!important;height:42px!important;min-width:42px!important;font-size:14px!important}
  body.lawter-v6 .pillar-label strong{font-size:14px!important}
}

@media(max-width:390px){
  body.lawter-v6 .hero-stage-card.hero-sector-preview{padding:18px 14px!important}
  body.lawter-v6 .hero-sector-copy strong{font-size:25px!important}
  body.lawter-v6 .hero-sector-copy p{font-size:13px!important}
}
