/* AVLIS / mobile gallery repair — visual hierarchy, real cover, one mobile navigation */
#journal .av4-project-visual.av6-vn-ready {
  background: #11100f;
  isolation: isolate;
  min-height: clamp(460px, 42vw, 620px);
}
#journal .av4-project-visual.av6-vn-ready .av4-studio { display: none !important; }
#journal .av4-project-visual.av6-vn-ready .av6-vn-art {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden; pointer-events: none;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(167, 90, 39, .37), transparent 49%),
    radial-gradient(ellipse at 6% 95%, rgba(185, 104, 46, .12), transparent 38%),
    #0e0d0c;
}
#journal .av6-vn-art:before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(211, 151, 94, .19);
  border-radius: 12px;
}
#journal .av6-vn-halo {
  position: absolute; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(222, 149, 87, .24);
  width: min(76%, 410px); top: 9%; left: 50%; transform: translateX(-50%);
  box-shadow: inset 0 0 80px rgba(202, 108, 51, .055), 0 0 90px rgba(200, 114, 66, .07);
}
#journal .av6-vn-halo-b { width: min(57%, 310px); top: 17%; opacity: .63; }
#journal .av6-vn-vline {
  width: 1px; height: 41%; position: absolute; top: 0; left: 50%;
  background: linear-gradient(180deg, rgba(223, 152, 88, 0), rgba(223, 152, 88, .24), transparent);
}
#journal .av6-vn-logo {
  display: block; width: min(70%, 390px); height: 140px;
  object-fit: contain; position: absolute; top: 13%; left: 50%;
  transform: translateX(-50%); filter: drop-shadow(0 4px 30px rgba(0,0,0,.45));
}
#journal .av6-vn-stripe {
  position: absolute; bottom: 18px; left: 0; right: 0;
  text-align: center; color: rgba(225, 170, 123, .74);
  letter-spacing: .22em; font-size: 9px; line-height: 1.7;
}
#journal .av6-vn-stripe span { padding: 0 8px; color: rgba(230, 205, 174, .56); }
/* The original project preview was a studio mock. Its overlay must not show twice. */
#journal .av4-project-visual.av6-vn-ready > .av5-launch[data-av5v-launch] {
  z-index: 5; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 14%, rgba(9,8,8,.06) 24%, rgba(9,9,9,.68) 53%, rgba(8,8,9,.97) 100%);
  padding: clamp(27px, 3.2vw, 48px);
}
#journal .av6-vn-ready .av5-launch-type { margin-bottom: 9px; color: #dfb58b; }
#journal .av6-vn-ready .av5-launch strong {
  max-width: 510px; font-size: clamp(42px, 4.2vw, 65px);
  line-height: 1.01; letter-spacing: -.036em;
  text-wrap: balance; color: #f5eee5;
}
#journal .av6-vn-ready .av5-launch small {
  font-size: 12px; line-height: 1.6; margin-top: 9px;
  max-width: 340px; color: rgba(238,232,224,.87);
}
#journal .av6-vn-ready .av5-launch-action { margin-top: 17px; }
#journal .av6-vn-ready .av5-launch-top { width: 40px; height: 40px; right: 24px; top: 24px; font-size: 18px; }
#journal .av4-project-visual.av6-vn-ready.av5-is-live > .av5-launch,
#journal .av4-project-visual.av6-vn-ready.av5-is-live > .av6-vn-art {
  visibility: hidden;
}

/* Skip to solutions should not sit under Safari's status bar unless keyboard-focused. */
.avx-skip:not(:focus-visible) {
  visibility: hidden !important; opacity: 0 !important;
  pointer-events: none !important; transform: translateY(-200vh) !important;
}
.avx-skip:focus-visible {
  visibility: visible !important; opacity: 1 !important;
  pointer-events: auto !important; transform: translateY(0) !important;
}

/* Give one navigation priority when the contextual dock takes over. */
@media (max-width: 780px) {
  body.av6-use-bottom-nav .av6-original-top-nav {
    opacity: 0 !important; visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(0,-170%,0) !important;
  }
  .av4-dock {
    bottom: max(8px,env(safe-area-inset-bottom)) !important;
    padding: 4px !important; border-radius: 99px !important;
    background: rgba(17,18,19,.96) !important;
    box-shadow: 0 8px 34px rgba(0,0,0,.48) !important;
  }
  .av4-dock a { padding: 11px 7px !important; font-size: 10px !important; }
  .av4-dock a.av4-dock-contact { border-radius: 99px !important; }
  #journal .av4-project-visual:has(.av5-launch) { min-height: 430px; }
  #journal .av4-project-visual.av6-vn-ready { min-height: 475px; }
  #journal .av6-vn-logo { top: 12%; width: 68%; height: 120px; }
  #journal .av6-vn-halo { top: 8%; }
  #journal .av6-vn-ready .av5-launch strong {
    font-size: clamp(37px,9.5vw,45px) !important;
    max-width: 320px !important; line-height: 1.035 !important;
  }
  #journal .av4-project-visual.av6-vn-ready > .av5-launch[data-av5v-launch] {
    padding: 27px 24px !important;
  }
  #journal .av6-vn-ready .av5-launch-top { right: 21px; top: 20px; }
  #journal .av5-launch:not([data-av5v-launch]) strong {
    font-size: clamp(31px, 8vw, 43px) !important;
    line-height: 1.035 !important;
  }
  #journal .av5-launch:not([data-av5v-launch]) small {
    font-size: 11px !important; line-height: 1.5 !important;
  }
  #journal .av5-launch .av5-launch-action {
    margin-top: 16px !important;
    min-width: min(225px, 92%) !important; padding: 13px 17px !important;
  }
  #journal .av6-vn-stripe { bottom: 13px; font-size: 7px; letter-spacing: .15em; }
}
@media(max-width:370px){
  #journal .av6-vn-ready .av5-launch strong { font-size: 35px !important; }
  #journal .av4-project-visual.av6-vn-ready { min-height: 440px; }
  #journal .av6-vn-logo { height: 110px; width: 74%; }
}
@media(prefers-reduced-motion:reduce) {
  .av6-original-top-nav,.av6-vn-ready .av5-launch,.av6-vn-art * {
    animation:none !important; transition:none !important;
  }
}
