@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-600-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-400-italic-latin.woff2") format("woff2");
}

:root {
  --bg: #0a0a0a;
  --metal: #121212;
  --line: #2c2c2c;
  --yellow: #ffbd29;
  --red: #ff002d;
  --white: #f4f4f4;
  --muted: #aeaeae;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --header: 72px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.5;
}

::selection {
  background: var(--yellow);
  color: var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

button,
input {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

a {
  color: var(--white);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  background: var(--yellow);
  color: var(--bg);
  padding: 8px 12px;
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 5px solid var(--yellow);
}

.topbar-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.brand-bolt {
  width: 18px;
  height: 28px;
  fill: #fff;
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand-name em {
  color: var(--yellow);
  font-style: normal;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.nav a {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  line-height: 1;
}

.nav a:hover {
  color: var(--yellow);
}

.hero {
  padding: 36px 0 12px;
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
}

.eyebrow,
.plaque-kicker {
  font-family: var(--display);
  letter-spacing: 0.16em;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--yellow);
}

.hero-title {
  margin: 10px 0 14px;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0.02em;
}

.hero-douche,
.hero-fame {
  display: block;
}

.hero-douche {
  color: var(--yellow);
  font-size: clamp(4.6rem, 18vw, 8.5rem);
}

.hero-fame {
  color: var(--white);
  font-size: clamp(2.7rem, 10vw, 5.4rem);
}

.hero-bolt {
  display: none;
  width: 140px;
  height: 210px;
  fill: var(--yellow);
  justify-self: end;
}

.dek {
  max-width: 26rem;
  font-size: 1.45rem;
  font-style: italic;
}

.hero-lede {
  margin-top: 12px;
  max-width: 34rem;
}

.hero .eyebrow {
  margin-bottom: 4px;
}

.stats {
  list-style: none;
  padding: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.stat {
  background: var(--metal);
  border-top: 5px solid var(--yellow);
  padding: 12px 16px 14px;
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(3.2rem, 8vw, 4.4rem);
  line-height: 0.85;
}

.stat-label {
  margin-top: 4px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  color: var(--yellow);
  line-height: 1.1;
}

.block {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 10px 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.lede {
  max-width: 40rem;
  color: var(--white);
}

.filters {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.search-field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  letter-spacing: 0.1em;
  font-size: 1.15rem;
}

.search-field input {
  width: 100%;
  background: #000;
  border: 1px solid #3a3a3a;
  padding: 14px 16px;
  font-size: 1.05rem;
}

.search-field input:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: transparent;
  border: 1px solid #3a3a3a;
  padding: 8px 14px 6px;
  cursor: pointer;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  line-height: 1;
}

.chip[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
}

.chip-alert[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.hall-count {
  margin: 16px 0 18px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.25rem;
  color: var(--muted);
}

.empty {
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  background: var(--metal);
  padding: 18px 16px;
  margin-bottom: 18px;
}

.plaque + .plaque {
  margin-top: 36px;
}

.plaque-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  border-bottom: 5px solid var(--yellow);
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.plaque-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.plaque-count {
  font-family: var(--display);
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 1.2rem;
  flex: none;
}

.plates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.plate {
  background: var(--metal);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  padding: 16px 16px 18px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.plate-emergency {
  border-left-color: var(--red);
}

.plate-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.mono {
  width: 52px;
  height: 52px;
  border: 2px solid var(--yellow);
  display: grid;
  place-items: center;
  font-family: var(--display);
  color: var(--yellow);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  flex: none;
}

.vote {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.vote-num {
  font-family: var(--display);
  color: var(--yellow);
  font-size: 3.1rem;
  line-height: 0.8;
}

.vote-yes {
  font-family: var(--display);
  letter-spacing: 0.12em;
  font-size: 1.15rem;
}

.stamp {
  display: inline-block;
  align-self: flex-start;
  margin-top: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--display);
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  line-height: 1;
  padding: 5px 8px 3px;
}

.plate-name,
.emeritus-name,
.nozzle-name {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.9;
}

.plate-name {
  margin: 14px 0 6px;
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  text-wrap: balance;
}

.plate-label {
  color: #d4d4d4;
  font-size: 1rem;
}

.plate-date {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.note-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 12px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--white);
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 4px;
}

.note {
  margin-top: 10px;
  color: var(--white);
  font-size: 1rem;
  max-width: 38rem;
}

.unfinished {
  margin-top: 12px;
  color: var(--muted);
  max-width: 38rem;
}

.nozzle-stage,
.nozzle-card {
  background: var(--metal);
  border: 1px solid var(--line);
  border-top: 6px solid var(--yellow);
  padding: 22px 18px 20px;
}

.nozzle-stage {
  margin-top: 28px;
}

.nozzle-name {
  margin: 8px 0 12px;
  font-size: clamp(3.2rem, 10vw, 5.6rem);
}

.nozzle-stage .vote-num {
  font-size: clamp(3.6rem, 8vw, 5rem);
}

.detail {
  margin-top: 12px;
  max-width: 38rem;
}

.emeritus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.emeritus-name {
  margin: 8px 0 10px;
  font-size: 2.2rem;
}

.gap,
.history {
  margin-top: 22px;
  max-width: 40rem;
  color: #d6d6d6;
}

.gap {
  border-left: 5px solid var(--line);
  padding-left: 14px;
}

.rules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
}

.rule-num {
  font-family: var(--display);
  color: var(--yellow);
  font-size: 4.6rem;
  line-height: 0.8;
}

.rules h3 {
  margin: 8px 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.history {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq article {
  background: var(--metal);
  border-top: 5px solid var(--yellow);
  padding: 16px 18px 18px;
}

.faq h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.faq p + p {
  margin-top: 10px;
}

.faq a,
.faq-more a {
  color: var(--yellow);
}

.faq-more {
  margin-top: 22px;
  max-width: 40rem;
}

.footer {
  border-top: 5px solid var(--yellow);
  padding: 28px 0 40px;
}

.tagline {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.footer-live {
  margin-top: 8px;
}

.footer a {
  color: var(--yellow);
}

.social {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social a {
  display: block;
  border: 1px solid #3a3a3a;
  padding: 10px 12px 8px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  line-height: 1;
}

.social a span {
  color: var(--yellow);
}

.social a:hover {
  border-color: var(--yellow);
}

.install-note {
  margin-top: 16px;
  max-width: 36rem;
}

.install-note button {
  margin-left: 8px;
  background: var(--yellow);
  color: var(--bg);
  border: 0;
  padding: 6px 10px 4px;
  cursor: pointer;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  line-height: 1;
}

.fine {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 699px) {
  html {
    scroll-padding-top: 132px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0 12px;
  }

  .nav {
    gap: 12px 16px;
  }
}

@media (min-width: 700px) {
  .wrap {
    width: min(1120px, calc(100% - 48px));
  }

  .stats,
  .plates,
  .emeritus {
    grid-template-columns: 1fr 1fr;
  }

  .rules {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 48px;
  }

  .hero-top {
    grid-template-columns: 1fr 160px;
  }

  .hero-bolt {
    display: block;
  }

  .stats,
  .plates,
  .rules {
    grid-template-columns: repeat(3, 1fr);
  }

  .emeritus {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
