/* Background map: Indonesia and Australia, drifting west to east behind every page.
   Coastlines: Natural Earth 1:10m (public domain). Place names: GeoNames (CC BY 4.0). */
#nqp-map {
  --paper: #F7F3EC; --ink: #12181D; --maroon: #6B1D2A; --teal: #1E4A5C;
  --coast: #4A4E50; --land: #F1ECE3; --coast-faint: #C9BFB0; --grid: #E6DFD3;
  --water-ink: #4F7686; --land-ink: #8A7F72;
  --serif: "EB Garamond", Garamond, Georgia, serif; --sans: "Archivo", "Helvetica Neue", Arial, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
}
#nqp-map svg { display: block; width: 100%; height: 100%; }
@media (max-width: 760px) { #nqp-map { opacity: .4; } #nqp-map svg text { display: none; } }
@media print { #nqp-map { display: none; } }
#nqp-map svg text { paint-order: stroke; stroke: var(--land); stroke-width: 3px; stroke-linejoin: round; }
#nqp-map .grat { stroke: var(--grid); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
#nqp-map .eq { stroke: var(--coast-faint); stroke-width: 1; fill: none; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
#nqp-map .ne { fill: var(--land); stroke: var(--coast-faint); stroke-width: .8; vector-effect: non-scaling-stroke; }
#nqp-map .land { fill: var(--land); stroke: var(--coast); stroke-width: .9; vector-effect: non-scaling-stroke; stroke-opacity: .6; }
#nqp-map .states { fill: none; stroke: var(--coast-faint); stroke-width: .9; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
#nqp-map .wallace { fill: none; stroke: var(--teal); stroke-opacity: .45; stroke-width: 1.2; stroke-dasharray: 8 5; vector-effect: non-scaling-stroke; }
#nqp-map .reef { fill: none; stroke: var(--water-ink); stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 1 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
#nqp-map .l-country { font-family: var(--sans); font-weight: 500; letter-spacing: .5em; fill: var(--land-ink); opacity: .55; }
#nqp-map .l-country-sm { font-family: var(--sans); letter-spacing: .3em; fill: var(--land-ink); opacity: .6; }
#nqp-map .l-ocean { font-family: var(--serif); font-style: italic; fill: var(--water-ink); letter-spacing: .3em; opacity: .75; }
#nqp-map .l-sea, #nqp-map .l-sea-sm { font-family: var(--serif); font-style: italic; fill: var(--water-ink); opacity: .85; }
#nqp-map .l-strait, #nqp-map .l-bay { font-family: var(--serif); font-style: italic; fill: var(--water-ink); opacity: .8; }
#nqp-map .l-island, #nqp-map .l-island-sm, #nqp-map .l-island-xs { font-family: var(--serif); letter-spacing: .28em; fill: var(--land-ink); }
#nqp-map .l-state { font-family: var(--mono); letter-spacing: .22em; fill: var(--land-ink); opacity: .75; }
#nqp-map .l-phys, #nqp-map .l-reef { font-family: var(--serif); font-style: italic; fill: var(--land-ink); }
#nqp-map .l-reef { fill: var(--water-ink); }
#nqp-map .l-line-lbl, #nqp-map .l-wallace-lbl { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; fill: var(--land-ink); }
#nqp-map .l-wallace-lbl { fill: var(--teal); opacity: .7; }
#nqp-map .city { cursor: default; }
#nqp-map .city .lbl { font-family: var(--sans); fill: var(--ink); opacity: .72; }
#nqp-map .city.k-office .lbl { font-family: var(--mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: 1; }
#nqp-map .city.k-foreign .lbl { fill: var(--land-ink); opacity: .9; }
#nqp-map .city .dot { fill: var(--ink); opacity: .7; }
#nqp-map .city.k-foreign .dot { fill: var(--land-ink); }
#nqp-map .city.k-town .lbl { fill: var(--land-ink); opacity: .95; }
#nqp-map svg.far .city.k-town .lbl { display: none; }
#nqp-map svg.far .city.k-town .dot { opacity: .5; }
#nqp-map .city.k-town .dot { fill: var(--land-ink); opacity: .9; }
#nqp-map .city:hover .lbl, #nqp-map .city:focus .lbl { opacity: 1; }
#nqp-map .peak path { fill: var(--land-ink); }
#nqp-map .peak text { font-family: var(--serif); font-style: italic; fill: var(--land-ink); }

/* the map is the only background texture: hide the map's own grid and the site's grid and weave textures */
#nqp-map .grat, #nqp-map .eq { display: none; }
html body { background: transparent !important; }
main { position: relative; z-index: 1; }
.site-footer { position: relative; z-index: 1; }
main section, main header.hero, .hero, .method, .principal, .contact, .series, .deck, .art-hero, .art-body, .sectors {
  background-color: transparent !important; background-image: none !important;
}
.weave { display: none !important; }
.map-credit { opacity: .8; }
/* long reads: keep the map quieter behind article text */
body:has(.art-body) #nqp-map { opacity: .35; }
/* floating panels: sections are clear, only the content block in each section sits on a light glass panel; the map shows around and between them */
main section, main header.hero, .hero, .method, .principal, .contact, .series, .deck, .art-hero, .art-body, .sectors {
  border: 0 !important; padding: 20px 24px !important;
}
main > section:first-child, main > header:first-child { padding-top: 40px !important; }
main > section:last-child { padding-bottom: 48px !important; }
main section > .wrap, main header.hero > .wrap {
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 6px 24px rgba(26, 20, 20, .06);
  border-radius: 4px;
  padding: 56px 52px !important;
}
main section section, main section section > .wrap { background: none; border: 0; box-shadow: none; padding: 0 !important; }
@media (max-width: 760px) {
  main section, main header.hero, .hero, .method, .principal, .contact, .series, .deck, .art-hero, .art-body, .sectors { padding: 12px 10px !important; }
  main section > .wrap, main header.hero > .wrap { padding: 36px 20px !important; }
}
