/* backdrop.css: the page background (2026-11-06, round T1 fixes)

   Jake: "add a smooth design to the background, boring just being gray".
   Loaded after tatem.css on every page.

   - Flat #3b3b3b with one large pool of dusk blue high on the right (the
     hero's #5a7694 carrying on below it) at .11 alpha, and a fainter one
     low left. No warm pool and no brown tail: every pixel stays neutral to
     cool and no channel goes much above #444. .12 put the worst pixel under
     a 13px #b5b5b5 note at 4.49:1, so it is .11 (4.56:1, measured).
   - Fine grain at .18, so the big grey fields don't band.
   The wash sits on <html> so it spans the full document; body, main and
   the footer go clear to let it through. The sticky header and the
   /code-requirements/ TOC stay solid #3b3b3b: nothing shows through them.
   No images are downloaded: the grain is an inline SVG. */

html{
  background-color:#3b3b3b!important;
  background-image:
    radial-gradient(1400px 1100px at 86% 14%,rgba(90,118,148,.11),transparent 70%),
    radial-gradient(1100px 900px at 10% 72%,rgba(90,118,148,.05),transparent 70%)!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%!important;
  min-height:100%;
}
html body{background-color:transparent!important;background-image:none!important}

/* grain: generated noise, soft-light over the wash, behind all content */
html::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  opacity:.18;mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 .55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:180px 180px;
}

/* let the wash through the big opaque fills */
body:not(.pg-home) main,.foot,.plateband{background-color:transparent!important}

/* sticky bars: solid, no translucency, no blur */
body:not(.pg-home) .hdr,.pg-home .hdr.solid,.toc{
  background-color:#3b3b3b!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}

/* /code-requirements/ TOC: sits flush under the 66px header, white
   underline for the active section, and on a phone a left inset with a
   row that scrolls sideways instead of clipping the last label. */
.toc{top:66px!important}
.toc-in a{border-bottom:2px solid transparent!important}
.toc-in a.on,.toc-in a[aria-current],.toc-in a.active{border-bottom-color:#fff!important;color:#fff!important}
@media(max-width:760px){
  .toc{top:66px!important}
  .toc .toc-in{padding-inline:var(--side,20px)!important;scroll-padding-inline:var(--side,20px);overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .toc .toc-in::after{content:"";flex:0 0 1px}
  /* the cut-off label fades at the edge, so the row reads as scrollable */
  .toc .toc-in{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),transparent)}
}

@media print{html{background:#fff!important}html::before{display:none}}

/* council round T2: no scroll-progress line on the contents bar; the active
   label's own underline is enough */
.toc-prog::after{display:none!important}
