:root {
  --black: #000000;
  --bone: #E8E1D6;
  --charcoal: #2B2B2B;
  --concrete: #6A6A6A;
  --industrial-green: #2C3523;
  --safety-orange: #D93832;
  --municipal-yellow: #D9A52E;
  --rule-space: 24pt;
  --metadata-start: clamp(84px, 24vw, 124px);
  --font-display: "Bebas Neue", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-body: "IBM Plex Sans", sans-serif;
}

/* Paragraph style mappings from the supplied hierarchy. */
.text-kicker-style {
  margin: 0 0 12pt;
  color: var(--safety-orange);
  font-family: var(--font-mono);
  font-size: 15pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.h1-style {
  margin: 0 0 40pt;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 110pt;
  font-weight: 400;
  line-height: 100pt;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.h2-style {
  margin: 0 0 32pt;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 72pt;
  font-weight: 400;
  line-height: 68pt;
  letter-spacing: -0.008em;
  text-transform: uppercase;
}

.h3-style {
  margin: 0 0 28pt;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 54pt;
  font-weight: 400;
  line-height: 52pt;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.h5-style {
  margin: 0 0 20pt;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 28pt;
  font-weight: 500;
  line-height: 34pt;
  letter-spacing: 0;
  text-transform: uppercase;
}

.h6-style {
  margin: 0 0 16pt;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 22pt;
  font-weight: 500;
  line-height: 28pt;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sub-head-style {
  margin: 0 0 14pt;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
  line-height: 24pt;
  letter-spacing: 0.002em;
  text-transform: uppercase;
}

.text-body-style {
  margin: 0 0 16pt;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15pt;
  font-weight: 400;
  line-height: 26pt;
  letter-spacing: 0;
}

.text-lead-style {
  margin: 0 0 18pt;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 20pt;
  font-weight: 400;
  line-height: 32pt;
  letter-spacing: 0;
}

.text-small-style {
  margin: 0 0 12pt;
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: 12pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.table-head-style {
  margin: 0 0 8pt;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 13pt;
  font-weight: 500;
  line-height: 16pt;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--bone);
  background: var(--black);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

html.is-loading,
body.is-loading {
  height: 100%;
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--industrial-green);
  opacity: 0.24;
  content: "";
}

.page-texture {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("assets/images/background_texture.svg");
  background-position: center top;
  background-repeat: repeat;
  background-size: 240px 240px;
  mix-blend-mode: screen;
  opacity: 0.14;
}

.site-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 760px);
  min-height: 100svh;
  align-content: center;
  gap: clamp(18px, 4vw, 30px);
  margin: 0 auto;
  padding: clamp(24px, 6vw, 72px) 18px;
}

.drop-sheet {
  position: relative;
  display: grid;
  gap: 0;
  padding: clamp(20px, 5vw, 44px);
  overflow: hidden;
  background: none;
  border: 1px solid var(--concrete);
  box-shadow: 0 28px 80px var(--black);
}

.drop-sheet > * {
  position: relative;
  z-index: 1;
}

.seo-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sheet-header {
  display: block;
}

.block-label,
.system-card,
.sheet-footer div,
label,
.privacy-note,
.privacy-notice,
.form-error {
  text-transform: uppercase;
}

.brand-wordmark {
  max-width: min(100%, 420px);
  margin: 0 0 40pt;
}

.brand-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 var(--rule-space);
  padding: 0 0 var(--rule-space);
  border-bottom: 1px solid var(--concrete);
}

.brand-intro p {
  margin: 0;
}

.brand-kicker {
  color: var(--safety-orange);
  font-family: var(--font-mono);
  font-size: 13pt;
  font-weight: 500;
  line-height: 16pt;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.brand-intro p:not(.brand-kicker) {
  margin-top: 12pt;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17pt;
  font-weight: 400;
  line-height: 26pt;
}

.brand-intro span {
  display: block;
  margin-top: 14pt;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.issue-block {
  display: grid;
  gap: 0;
}

.issue-title {
  display: grid;
  gap: 0;
}

.issue-code {
  margin: 0 0 8pt;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 13pt;
  font-weight: 500;
  line-height: 16pt;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.issue-subtitle {
  margin: 0;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 30pt;
  font-weight: 500;
  line-height: 28pt;
  letter-spacing: 0;
  text-transform: uppercase;
  Color:var(--municipal-yellow);
}

.issue-copy {
  width: 100%;
  max-width: none;
  margin: var(--rule-space) 0 var(--rule-space);
  padding: var(--rule-space) 0 var(--rule-space);
  border-top: 1px solid var(--concrete);
  border-bottom: 1px solid var(--concrete);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 20pt;
  font-weight: 400;
  line-height: 32pt;
  letter-spacing: 0;
}

.production-grid {
  display: grid;
  grid-template-columns: var(--metadata-start) minmax(0, 1fr);
  gap: 32pt;
  align-items: end;
}

.contains-block {
  grid-column: 1 / -1;
}

.block-label {
  margin: 0 0 8pt;
  color: var(--safety-orange);
  font-family: var(--font-mono);
  font-size: 13pt;
  font-weight: 500;
  line-height: 16pt;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.contains-block ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.contains-block li {
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15pt;
  font-weight: 400;
  line-height: 26pt;
  letter-spacing: 0;
}

.system-card {
  display: grid;
  grid-column: 2;
  justify-self: end;
  width: max-content;
  max-width: 100%;
  gap: 0;
  margin-top: var(--rule-space);
  padding-top: var(--rule-space);
  border-top: 1px solid var(--concrete);
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: 12pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.02em;
}

.system-card p {
  color: var(--concrete);
  margin: 0 0 12pt;
}

.system-card > span,
.system-card > .reveal-mask .reveal-item > span {
  color: var(--bone);
  display: block;
  margin: 0;
  line-height: 26pt;
  white-space: nowrap;
}

.sheet-footer {
  display: grid;
  gap: 0;
  margin-top: var(--rule-space);
  padding-top: var(--rule-space);
  border-top: 1px solid var(--concrete);
}

.register-heading {
  margin: 0 0 28pt;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 54pt;
  font-weight: 400;
  line-height: 52pt;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-align: center;
}

.sheet-footer div {
  display: grid;
  grid-template-columns: var(--metadata-start) minmax(0, 1fr);
  gap: 18px;
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: 12pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.02em;
}

.sheet-footer div span:first-child {
  grid-column: 1 / -1;
  justify-self: start;
  text-align: left;
}

.sheet-footer div span:last-child {
  grid-column: 2;
  justify-self: end;
  text-align: right;
}

.access-form {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 5vw, 44px);
  background: none;
  border: 1px solid var(--concrete);
}

.form-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 8pt;
}

.form-intro p {
  margin: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15pt;
  font-weight: 400;
  line-height: 26pt;
  letter-spacing: 0;
}

.form-intro p + p {
  margin-top: 16pt;
}

.form-intro .reveal-mask + .reveal-mask {
  margin-top: 16pt;
}

.field-group {
  display: grid;
  gap: 8px;
}

label {
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: 12pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.02em;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 14px 0;
  color: var(--bone);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--bone);
  border-radius: 0;
  font: 500 12pt/18pt var(--font-mono);
  letter-spacing: 0;
  text-transform: uppercase;
  outline: none;
}

input::placeholder {
  color: var(--concrete);
}

input:focus {
  border-color: var(--municipal-yellow);
}

.form-error {
  min-height: 0;
  margin: 0;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.02em;
}

.turnstile-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  justify-items: center;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  color: var(--bone);
  background: var(--black);
  border: 1px solid var(--bone);
  border-radius: 0;
  cursor: pointer;
  font: 500 13pt/16pt var(--font-mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-label {
  grid-column: 1 / -1;
}

.button-spinner {
  position: absolute;
  right: 18px;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 120ms ease, transform 120ms ease;
}

.button-spinner svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.button-spinner circle,
.button-spinner path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
}

.button-spinner circle {
  opacity: 0.28;
}

.button-spinner path {
  stroke-linecap: square;
}

button.is-submitting .button-spinner {
  opacity: 1;
  transform: scale(1);
}

button:disabled {
  cursor: wait;
}

button:hover,
button:focus-visible {
  color: var(--black);
  background: var(--bone);
}

button:active {
  transform: translateY(1px);
}

.thank-you-lightbox[hidden] {
  display: none;
}

.thank-you-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(90deg, rgba(232, 225, 214, 0.14) 0 1px, transparent 1px 8px);
  backdrop-filter: blur(4px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18pt;
  width: min(100%, 560px);
  padding: clamp(24px, 6vw, 44px);
  color: var(--bone);
  background: var(--black);
  border: 1px solid var(--concrete);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.82);
}

.lightbox-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--industrial-green);
  opacity: 0.18;
}

.lightbox-panel > * {
  position: relative;
  z-index: 1;
}

.lightbox-kicker {
  margin: 0;
  color: var(--safety-orange);
  font-family: var(--font-mono);
  font-size: 12pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.lightbox-panel h2 {
  margin: 0;
  color: var(--municipal-yellow);
  font-family: var(--font-mono);
  font-size: clamp(28pt, 10vw, 44pt);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lightbox-panel p:not(.lightbox-kicker) {
  margin: 0;
  padding: 18pt 0;
  border-top: 1px solid var(--concrete);
  border-bottom: 1px solid var(--concrete);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15pt;
  font-weight: 400;
  line-height: 26pt;
  letter-spacing: 0;
}

.lightbox-close {
  justify-self: end;
  width: auto;
  min-height: 0;
  padding: 0;
  color: var(--concrete);
  background: none;
  border: 0;
  font: 500 11pt/16pt var(--font-mono);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--bone);
  background: none;
}

.lightbox-action {
  display: grid;
  min-height: 56px;
  place-items: center;
  color: var(--bone);
  border: 1px solid var(--bone);
  font: 500 13pt/16pt var(--font-mono);
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.lightbox-action:hover,
.lightbox-action:focus-visible {
  color: var(--black);
  background: var(--bone);
}

.privacy-note,
.privacy-notice {
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: 12pt;
  font-weight: 500;
  line-height: 18pt;
  letter-spacing: 0.02em;
}

.privacy-notice a {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  text-transform: inherit;
}

.privacy-notice a:hover,
.privacy-notice a:focus-visible {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-globe {
  display: block;
  width: clamp(72px, 18vw, 118px);
  height: auto;
  justify-self: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 8px;
}

.site-footer a {
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: 11pt;
  font-weight: 500;
  line-height: 16pt;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-sheet {
  gap: var(--rule-space);
}

.policy-title {
  margin: var(--rule-space) 0 0;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(54pt, 16vw, 96pt);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.policy-copy {
  display: grid;
  gap: 18pt;
  max-width: 52ch;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16pt;
  font-weight: 400;
  line-height: 25pt;
}

.policy-copy p {
  margin: 0;
}

.error-action {
  display: grid;
  min-height: 56px;
  place-items: center;
  color: var(--bone);
  border: 1px solid var(--bone);
  font: 500 13pt/16pt var(--font-mono);
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.error-action:hover,
.error-action:focus-visible {
  color: var(--black);
  background: var(--bone);
}

.text-link {
  color: var(--concrete);
  font-family: var(--font-mono);
  font-size: 11pt;
  font-weight: 500;
  line-height: 16pt;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 700px) {
  .production-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  }

  .contains-block,
  .system-card {
    grid-column: auto;
  }

  .sheet-footer div {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  }

  .sheet-footer div span:first-child,
  .sheet-footer div span:last-child {
    grid-column: auto;
  }

  .access-form {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .form-error,
  .form-intro,
  button,
  .privacy-note,
  .privacy-notice {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .system-card {
    display: none;
  }
}

@media (max-width: 430px) {
  .sheet-footer {
    padding-bottom: var(--rule-space);
  }

  .sheet-footer div {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .sheet-footer div span:first-child,
  .sheet-footer div span:last-child {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }
}

/* Page-load masked text reveal */
.reveal-mask {
  display: block;
  overflow: hidden;
}

.reveal-mask img,
.reveal-item img {
  display: block;
}

.reveal-item {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  transition:
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 500ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-mask.is-visible .reveal-item {
  transform: translateY(0);
  opacity: 1;
}

.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--black);
  transform: translateY(0);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.loader-screen.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-seal-mask {
  width: clamp(120px, 24vw, 180px);
  overflow: hidden;
}

.loader-seal {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(110%);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-screen.logo-in .loader-seal {
  transform: translateY(0);
}

.loader-screen.logo-out .loader-seal {
  transform: translateY(-110%);
}

.brand-wordmark,
.footer-globe {
  opacity: 0;
  transform: translateY(32px);
}

body.page-ready .brand-wordmark,
body.page-ready .footer-globe {
  animation: logo-reveal 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer-globe {
  animation-delay: 250ms;
}

@keyframes logo-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.access-form .reveal-mask:has(.privacy-note),
.access-form .reveal-mask:has(.privacy-notice) {
  grid-column: 1 / -1;
}
