/* LAZE canonical visual identity — derived from the approved black / graphite / orange logo. */
:root{
  --laze-brand-black:#010000;
  --laze-brand-ink:#080503;
  --laze-brand-graphite:#4b4a49;
  --laze-brand-charcoal:#27150f;
  --laze-brand-orange:#ef4e03;
  --laze-brand-orange-deep:#a54809;
  --laze-brand-orange-bright:#fb7c04;
  --laze-brand-amber:#eba64d;
  --orange:#ef4e03;
  --orange2:#fb7c04;
}

/* Every branded slot receives the same exact artwork from the response middleware. */
[data-laze-brand]{
  box-sizing:border-box;
  overflow:hidden;
  background:var(--laze-brand-black);
  line-height:0;
}
.laze-logo-live{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
}
.laze-brand-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:left center;
  user-select:none;
  -webkit-user-drag:none;
  filter:drop-shadow(0 0 10px rgba(239,78,3,.14));
}

/*
  Live diagnostic traces. The underlying logo geometry never moves: a thin light packet
  travels over the three circuit traces from the rear nodes toward the waveform, with a
  restrained breathing glow. This keeps the logo readable while giving it a continuous
  electronics / live-data feel.
*/
.laze-logo-signals{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  pointer-events:none;
  overflow:visible;
}
.laze-signal-breath,
.laze-signal-runner{
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.laze-signal-breath{
  stroke:#ff6200;
  stroke-width:1.45;
  opacity:.08;
  animation:lazeSignalBreath 2.8s ease-in-out infinite;
}
.laze-signal-runner{
  stroke:#ffd08a;
  stroke-width:1.7;
  stroke-dasharray:10 90;
  stroke-dashoffset:100;
  opacity:.78;
  filter:drop-shadow(0 0 1.8px #ff6200) drop-shadow(0 0 3px rgba(255,98,0,.58));
  animation:lazeSignalTravel 2.65s linear infinite,lazeSignalSpark 1.325s ease-in-out infinite;
}
.laze-signal-runner.signal-2{animation-delay:-.78s,-.28s}
.laze-signal-runner.signal-3{animation-delay:-1.56s,-.56s}
.laze-signal-node{
  fill:none;
  stroke:#ff7200;
  stroke-width:1.05;
  vector-effect:non-scaling-stroke;
  transform-box:fill-box;
  transform-origin:center;
  opacity:.12;
  animation:lazeNodeBreath 2.8s ease-in-out infinite;
}
.laze-signal-node.node-2{animation-delay:-.7s}
.laze-signal-node.node-3{animation-delay:-1.4s}

@keyframes lazeSignalTravel{
  from{stroke-dashoffset:100}
  to{stroke-dashoffset:0}
}
@keyframes lazeSignalBreath{
  0%,100%{opacity:.05;filter:drop-shadow(0 0 0 rgba(255,98,0,0))}
  46%{opacity:.22;filter:drop-shadow(0 0 2.4px rgba(255,98,0,.62))}
  58%{opacity:.14;filter:drop-shadow(0 0 1.2px rgba(255,98,0,.32))}
}
@keyframes lazeSignalSpark{
  0%,100%{opacity:.52}
  48%{opacity:.96}
  62%{opacity:.72}
}
@keyframes lazeNodeBreath{
  0%,100%{opacity:.08;transform:scale(1)}
  48%{opacity:.34;transform:scale(1.04)}
  62%{opacity:.16;transform:scale(1)}
}

@media(prefers-reduced-motion:reduce){
  .laze-signal-breath,
  .laze-signal-runner,
  .laze-signal-node{
    animation:none!important;
  }
  .laze-signal-breath{opacity:.10}
  .laze-signal-runner{opacity:0}
  .laze-signal-node{opacity:.10}
}

/* Canonical top-left header footprint: 2.03:1 artwork ratio, never stretched. */
a.logo[data-laze-brand="header"],
a.sys-logo[data-laze-brand="header"]{
  width:132px!important;
  min-width:132px!important;
  height:65px!important;
  min-height:65px!important;
  flex:0 0 132px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:var(--laze-brand-black)!important;
  clip-path:none!important;
  text-indent:0!important;
  letter-spacing:normal!important;
  font-size:0!important;
}
.site-header a.logo[data-laze-brand="header"]{
  width:146px!important;
  min-width:146px!important;
  height:72px!important;
  min-height:72px!important;
  flex-basis:146px!important;
}
.simple-header a.logo[data-laze-brand="header"],
.info-header a.logo[data-laze-brand="header"],
.sys-header a.sys-logo[data-laze-brand="header"]{
  width:128px!important;
  min-width:128px!important;
  height:63px!important;
  min-height:63px!important;
  flex-basis:128px!important;
}

/* Printed / customer-facing business documents use the same mark, not a text substitute. */
.sheet-header .brand[data-laze-brand="document"],
.tx-head .tx-brand[data-laze-brand="document"]{
  display:block!important;
  width:154px!important;
  height:76px!important;
  min-width:154px!important;
  padding:0!important;
  margin:0!important;
  background:var(--laze-brand-black)!important;
  font-size:0!important;
}

/* Homepage brand-card identity uses exactly the same artwork at a larger scale. */
.card-logo-row[data-laze-brand="feature"]{
  display:block!important;
  width:min(360px,92%)!important;
  height:auto!important;
  aspect-ratio:400/197!important;
  margin-top:30px!important;
  padding:0!important;
  background:var(--laze-brand-black)!important;
}
.card-logo-row[data-laze-brand="feature"] .laze-brand-image{
  object-position:center;
}

/* Small visual tie-ins keep the surrounding chrome in the approved palette. */
.site-header:after{background:linear-gradient(90deg,var(--laze-brand-orange),transparent)!important;box-shadow:0 0 18px var(--laze-brand-orange)!important}
.sys-logo:before,.info-card:before{background:var(--laze-brand-orange)!important}

/*
  Shared mobile bottom layout.
  Shortcut cards stay comfortably touchable in two columns.
  The actual site footer is deliberately compact: LAZE identity + Navigate + Customers + Legal
  all share one responsive row, with the brand column slightly wider than the link columns.
*/
@media(max-width:850px), (pointer:coarse) and (max-width:1180px){
  .home-shortcuts-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .site-footer .footer-grid{
    grid-template-columns:minmax(92px,1.3fr) repeat(3,minmax(0,1fr))!important;
    column-gap:clamp(10px,3.2vw,28px)!important;
    row-gap:12px!important;
    align-items:start!important;
  }
  .site-footer .footer-brand,
  .site-footer .footer-grid>div:not(.footer-brand){
    grid-column:auto!important;
    min-width:0;
  }
  .site-footer .footer-brand a.logo[data-laze-brand="header"]{
    width:min(104px,100%)!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:400/197!important;
    flex:0 1 auto!important;
  }
  .site-footer .footer-brand p{
    max-width:118px;
    margin-top:8px!important;
    line-height:1.45!important;
    overflow-wrap:anywhere;
  }
  .site-footer .footer-grid>div:not(.footer-brand) a{
    overflow-wrap:anywhere;
  }
  .info-footer{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:start!important;
  }
  .info-footer>span{
    grid-column:1/-1!important;
  }
  .info-footer nav{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px clamp(12px,4vw,28px)!important;
  }
}

@media(max-width:700px){
  a.logo[data-laze-brand="header"],
  a.sys-logo[data-laze-brand="header"],
  .site-header a.logo[data-laze-brand="header"],
  .simple-header a.logo[data-laze-brand="header"],
  .info-header a.logo[data-laze-brand="header"],
  .sys-header a.sys-logo[data-laze-brand="header"]{
    width:112px!important;
    min-width:112px!important;
    height:55px!important;
    min-height:55px!important;
    flex-basis:112px!important;
  }
  .card-logo-row[data-laze-brand="feature"]{width:min(310px,94%)!important}
  .site-footer .footer-grid{
    grid-template-columns:minmax(84px,1.22fr) repeat(3,minmax(0,1fr))!important;
    column-gap:clamp(8px,2.8vw,16px)!important;
    row-gap:10px!important;
  }
  .site-footer .footer-brand a.logo[data-laze-brand="header"]{
    width:min(94px,100%)!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    flex-basis:auto!important;
  }
  .site-footer .footer-brand p{font-size:9px!important;max-width:104px}
}

@media(max-width:380px){
  .site-footer .footer-grid{
    grid-template-columns:minmax(76px,1.18fr) repeat(3,minmax(0,1fr))!important;
    column-gap:7px!important;
  }
  .site-footer .footer-brand a.logo[data-laze-brand="header"]{width:min(86px,100%)!important}
  .site-footer .footer-brand p{font-size:8.5px!important;line-height:1.35!important}
  .site-footer b{font-size:9px!important}
  .site-footer a{font-size:9px!important;line-height:1.55!important}
}

@media print{
  .sheet-header .brand[data-laze-brand="document"],
  .tx-head .tx-brand[data-laze-brand="document"]{
    width:138px!important;
    min-width:138px!important;
    height:68px!important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
  .laze-brand-image{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .laze-logo-signals{display:none!important}
}
