/* Forsberg-silhuett i headeren og som bånd i bunnteksten (utkast v4, 2026-11-16).
   «Om meg» er uendret. Gjelder forsiden i denne forhåndsvisningen. */

/* --- Header: liten miniatyr ved siden av Gravity Garage-logoen --- */
nav .logo::after{
  content:"";
  display:block;
  width:40px;
  height:40px;
  flex:none;
  margin-left:2px;
  background-image:image-set(
    url("../brand/forsberg-mark-160-20261116.webp?v=20261116e") type("image/webp"),
    url("../brand/forsberg-mark-160-20261116.png?v=20261116e") type("image/png")
  );
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
  pointer-events:none;
}

/* --- Footer: silhuett til høyre, Forsberg-logo én gang i legal-raden, én varselsstripe --- */
footer:not(.quote-attr){
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-top:0;
  background-color:var(--bg2);
  padding-bottom:42px;
}
footer:not(.quote-attr)::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(90deg,
      var(--bg2) 0%,
      rgba(15,20,19,.96) 50%,
      rgba(15,20,19,.82) 66%,
      rgba(15,20,19,.48) 80%,
      rgba(15,20,19,.22) 100%),
    image-set(
      url("../brand/forsberg-footer-20261116.webp?v=20261116e") type("image/webp"),
      url("../brand/forsberg-footer-20261116.jpg?v=20261116e") type("image/jpeg")
    );
  background-repeat:no-repeat;
  background-size:auto, auto 108%;
  background-position:left, right -80px 50%;
}
footer:not(.quote-attr)::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:6px;
  z-index:2;
  pointer-events:none;
  background:repeating-linear-gradient(-45deg,var(--orange) 0 10px,transparent 10px 20px);
  opacity:.55;
}
footer:not(.quote-attr) > .wrap{
  position:relative;
  z-index:1;
}
footer:not(.quote-attr) .legal{
  align-items:center;
  gap:16px 24px;
}
footer:not(.quote-attr) .legal::after{
  content:"";
  display:block;
  width:200px;
  aspect-ratio:503/170;
  flex:none;
  margin-left:auto;
  background-image:image-set(
    url("../brand/forsberg-logo-20261116.webp?v=20261116c") type("image/webp"),
    url("../brand/forsberg-logo-20261116.png?v=20261116c") type("image/png")
  );
  background-repeat:no-repeat;
  background-size:contain;
  background-position:right center;
}

@media (max-width:720px){
  nav .logo::after{
    width:32px;
    height:32px;
    margin-left:0;
  }
  footer:not(.quote-attr){
    padding-bottom:136px;
  }
  footer:not(.quote-attr)::before{
    background-image:
      linear-gradient(180deg,
        var(--bg2) 0,
        var(--bg2) calc(100% - 150px),
        rgba(15,20,19,.35) 100%),
      image-set(
        url("../brand/forsberg-footer-20261116.webp?v=20261116e") type("image/webp"),
        url("../brand/forsberg-footer-20261116.jpg?v=20261116e") type("image/jpeg")
      );
    background-size:auto, auto 300px;
    background-position:left, right bottom 8px;
  }
  footer:not(.quote-attr) .legal{
    flex-direction:column;
    align-items:flex-start;
  }
  footer:not(.quote-attr) .legal::after{
    margin-left:0;
    width:180px;
    background-position:left center;
  }
}

@media (max-width:340px){
  nav .logo::after{
    width:28px;
    height:28px;
  }
}

@supports not (background-image:image-set(url("x") type("image/webp"))){
  nav .logo::after{
    background-image:url("../brand/forsberg-mark-160-20261116.png?v=20261116e");
  }
  footer:not(.quote-attr)::before{
    background-image:
      linear-gradient(90deg,
        var(--bg2) 0%,
        rgba(15,20,19,.96) 50%,
        rgba(15,20,19,.82) 66%,
        rgba(15,20,19,.48) 80%,
        rgba(15,20,19,.22) 100%),
      url("../brand/forsberg-footer-20261116.jpg?v=20261116e");
  }
  footer:not(.quote-attr) .legal::after{
    background-image:url("../brand/forsberg-logo-20261116.png?v=20261116c");
  }
}
