/* Shared NEB palette and original seamless texture. Approved font files are pending. */
:root {
  color-scheme: dark;
  --neb-black: #0A0A0A;
  --neb-charcoal: #242424;
  --neb-silver: #D1D1D1;
  --neb-white: #FFFFFF;
  --neb-red: #D71920;
  --neb-page-texture: url("./backgrounds/neb-seamless-grunge.png");
  /* Approved font family/files must be supplied before visual sign-off. */
  --neb-font-industrial: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
}
html.neb-theme {
  min-height: 100%;
  background-color: var(--neb-charcoal);
}
body.neb-public {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--neb-silver);
  font-family: var(--neb-font-industrial);
  background: transparent;
  isolation: isolate;
  position: relative;
}
/* One document-wide texture plane, anchored once at the page origin.
   Native-size seamless repeats scroll with the document; sections never reset it. */
body.neb-public::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--neb-charcoal);
  background-image: var(--neb-page-texture);
  background-position: 0 0;
  background-size: auto;
  background-repeat: repeat;
}
.neb-public :where(header, main, footer, section, article) {
  background-color: transparent;
}
.neb-public :where(h1, h2, h3, h4) {
  color: var(--neb-white);
  font-family: var(--neb-font-industrial);
  font-weight: 800;
  line-height: 1.05;
}
.neb-public a { color: var(--neb-white); }
.neb-public a:hover { color: var(--neb-silver); }
.neb-public :focus-visible {
  outline: 2px solid var(--neb-red);
  outline-offset: 4px;
}
/* Reusable compact heading treatment; does not dictate page/section layout. */
.neb-public .section-heading {
  display: inline-block;
  margin-block: 0 .5rem;
  padding: .18em .5em;
  background-color: var(--neb-red);
  color: var(--neb-white);
  font-size: clamp(1.125rem, 1.5vw, 1.75rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
