/* The banner, masthead crop and footer monogram all use the original photograph. */
@font-face {
  font-family: "Noto Serif Display";
  src: url("/assets/fonts/wingo-display-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Display";
  src: url("/assets/fonts/wingo-display-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --justice-art: url("/assets/images/wingo-homepage-header.webp");
  --justice-flanks: url("/assets/images/wingo-footer-background.webp");
  --justice-display: "Noto Serif Display", Georgia, serif;
}

/* Crop the top of the picture across the bar. Keep overflow open for Archive. */
header.wv-site-header.archive-dock,
header.wingo-native-header {
  --justice-shade: linear-gradient(90deg, #031015bd, #031015a8 20%, #041015 33%, #041015 67%, #03101599 83%, #031015c4);
  background-color: #041015;
  background-image: var(--justice-shade), var(--justice-art);
  background-size: 100% 100%, min(100%, 94rem) auto;
  background-position: center, center 19%;
  background-repeat: no-repeat;
  border-bottom: 1px solid #a7804c;
  box-shadow: 0 2px 9px #020b0f38;
}
header:is(.archive-dock, .wingo-native-header)::before {
  --justice-mark-width: clamp(3.45rem, 4.4vw, 4.35rem);
  content: "";
  pointer-events: none;
  position: absolute;
  left: 36%;
  top: 50%;
  width: var(--justice-mark-width);
  height: calc(var(--justice-mark-width) * .69);
  transform: translate(-50%, -50%);
  background: var(--justice-art) center 22.5% / calc(var(--justice-mark-width) * 2.72) auto no-repeat;
  mix-blend-mode: lighten;
  opacity: .75;
}
header.archive-home-dock::before,
body.home header.wingo-native-header::before,
body.page-id-6 header.wingo-native-header::before { left: 50%; }
.archive-dock .archive-mast,
.wingo-native-header .wingo-native-mast {
  position: relative;
  min-height: clamp(3.55rem, 4.75vw, 4.6rem);
}
.archive-dock .archive-brand,
.wingo-native-header .wingo-native-brand {
  font: 400 clamp(1.25rem, 1.85vw, 1.88rem)/1.13 var(--justice-display);
  letter-spacing: -.032em;
  color: #fff7e8;
  text-shadow: 0 1px 3px #001013, 0 0 10px #001013;
}
.archive-dock .archive-brand i,
.wingo-native-header .wingo-native-brand i {
  font: italic 400 .76em/1 var(--justice-display);
  color: #f1d296;
}
.archive-dock :is(.archive-nav > ul > li > a, .archive-nav > ul > li > details > summary),
.wingo-native-header .wp-block-navigation-item__label {
  text-shadow: 0 1px 3px #001013, 0 0 6px #001013;
}

body.page-id-6 .jour.w-home .case-opening.case-banner {
  background: linear-gradient(98deg, #102b30 0%, #07191d 42%, #020b0f 64%);
  border-bottom-color: #ad8a52;
}
body.page-id-6 .jour.w-home .case-banner h1 {
  font-family: var(--justice-display) !important;
  font-weight: 400 !important;
  letter-spacing: -.047em;
  line-height: 1.08 !important;
  color: #fff6e8;
}
body.page-id-6 .jour.w-home .case-banner h1 em {
  font-family: inherit;
  font-weight: 400;
  color: #e7c487;
}
body.page-id-6 .jour.w-home .case-banner .case-deck { line-height: 1.55; }

/* Separate flanks keep the statues proportional on both tall and wide footers. */
footer.archive-footer.wv-site-footer,
footer.wingo-native-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 5%, #10282a, #06181b 46%, #020c10 85%);
  border-top: 1px solid #a88752;
  padding: 0;
}
footer:is(.archive-footer, .wingo-native-footer)::before,
footer:is(.archive-footer, .wingo-native-footer)::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset-block: 0;
  width: min(30%, 32rem);
  background-image: var(--justice-flanks);
  background-repeat: no-repeat;
  background-size: auto 100%;
  filter: brightness(1.6);
}
footer:is(.archive-footer, .wingo-native-footer)::before {
  left: 0;
  background-position: left center;
  mask-image: linear-gradient(90deg, black 40%, transparent);
}
footer:is(.archive-footer, .wingo-native-footer)::after {
  right: 0;
  background-position: right center;
  mask-image: linear-gradient(270deg, black 40%, transparent);
}
footer.archive-footer .archive-footer-inner,
footer.wingo-native-footer .wingo-native-foot-inner {
  display: grid;
  justify-items: center;
  align-content: center;
  justify-content: center;
  grid-template-columns: minmax(0, 1fr);
  gap: .3rem;
  padding-block: clamp(1.65rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.8rem);
  text-align: center;
}
/* Frame just the original teal and gold W above the live footer lettering. */
:is(.archive-footer-inner, .wingo-native-foot-inner)::before {
  content: "";
  display: block;
  width: 5.2rem;
  height: 3.55rem;
  margin-bottom: .42rem;
  background: var(--justice-art) center 22.5% / 14.25rem auto no-repeat;
  mix-blend-mode: lighten;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent),
              linear-gradient(to bottom, transparent, #000 7%, #000 94%, transparent);
  mask-composite: intersect;
}
footer.archive-footer .archive-footer-quote,
footer.wingo-native-footer .wingo-native-foot-inner > p {
  margin: 0 0 .32rem;
  font: 400 clamp(2rem, 3.6vw, 3.55rem)/1.14 var(--justice-display);
  letter-spacing: -.045em;
  color: #fff8ea;
}
footer.archive-footer .archive-footer-quote em,
footer.wingo-native-footer .wingo-native-foot-inner > p em {
  font: italic 400 1em/1.14 var(--justice-display);
  color: #e9c686;
}
:is(footer.archive-footer, footer.wingo-native-footer) nav {
  gap: .04rem clamp(.85rem, 2.1vw, 2rem);
}
:is(footer.archive-footer, footer.wingo-native-footer) :is(nav a, a[href^="mailto:"]) {
  text-decoration-color: #a98b57;
  text-underline-offset: .25em;
}
@media (max-width: 43rem) {
  header.wv-site-header.archive-dock,
  header.wingo-native-header {
    --justice-shade: linear-gradient(90deg, #031015ce, #031015bb 25%, #031015a1 62%, #0310157d 83%, #031015a6);
    background-size: 100% 100%, max(100%, 23rem) auto;
    background-position: center, center 18%;
  }
  header:is(.archive-dock, .wingo-native-header)::before { display: none; }
  .archive-dock .archive-mast, .wingo-native-header .wingo-native-mast { min-height: 3.5rem; }
  body.page-id-6 .jour.w-home .case-banner h1 { letter-spacing: -.037em; }
  footer:is(.archive-footer, .wingo-native-footer)::before,
  footer:is(.archive-footer, .wingo-native-footer)::after { width: 27%; opacity: .6; }
  footer:is(.archive-footer, .wingo-native-footer) :is(.archive-footer-inner, .wingo-native-foot-inner) { padding-inline: .4rem; }
}
@media print {
  header.wv-site-header.archive-dock, header.wingo-native-header { background: none; box-shadow: none; }
}
