:root {
  --night: #071319;
  --night-2: #0a1c24;
  --panel: #0d222b;
  --line: #25434c;
  --line-bright: #3f6870;
  --ice: #dceceb;
  --white: #f3fbf8;
  --muted: #88a3a6;
  --cyan: #72f2da;
  --mint: #c6f4e8;
  --amber: #ffb657;
  --display: "Arial Narrow", "Aptos Display", "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  --body: "Aptos", "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --mono: "Cascadia Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ice);
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(114, 242, 218, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 242, 218, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
}
body::selection { color: var(--night); background: var(--cyan); }
a { color: inherit; text-underline-offset: 0.25em; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 15px;
  color: var(--night);
  background: var(--cyan);
  border: 1px solid var(--night);
  font-weight: 800;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

/* navigation deck */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--ice);
  background: rgba(7, 19, 25, 0.94);
  border-top: 4px solid var(--cyan);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.site-header__inner { display: flex; align-items: stretch; min-height: 72px; }
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 338px;
  gap: 14px;
  padding-right: 30px;
  border-right: 1px solid var(--line);
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--night);
  background: var(--cyan);
  font: 900 15px/1 var(--mono);
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%);
}
.brand__copy { display: grid; line-height: 1.15; }
.brand__copy strong { color: var(--white); font-size: 16px; letter-spacing: 0.02em; }
.brand__copy small { margin-top: 6px; color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: 0.13em; }
.site-nav { display: flex; align-items: stretch; margin-right: auto; }
.site-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 25px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}
.site-nav a span { color: var(--cyan); font-size: 8px; }
.site-nav a:hover { color: var(--night); background: var(--cyan); }
.site-nav a:hover span { color: var(--night); }
.trust-mark {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
  color: var(--cyan);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.11em;
  white-space: nowrap;
}
.trust-mark span {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(114, 242, 218, 0.12), 0 0 18px var(--cyan);
}

/* hero observatory */
.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(350px, 0.62fr);
  min-height: 650px;
  margin-top: 36px;
  background: var(--night-2);
  border: 1px solid var(--line-bright);
  overflow: hidden;
}
.intro::before {
  content: "OBSERVATION DECK  /  SOURCE-FIRST  ·  UTC+08";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  padding: 10px 17px;
  color: var(--muted);
  background: var(--night);
  border-bottom: 1px solid var(--line);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.12em;
  text-align: right;
}
.intro::after {
  content: "SIGNAL\A ARCHIVE";
  position: absolute;
  left: 54px;
  bottom: -12px;
  color: rgba(114, 242, 218, 0.035);
  font: 900 145px/0.72 var(--display);
  letter-spacing: -0.08em;
  white-space: pre;
  pointer-events: none;
}
.intro__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 105px 72px 74px 62px;
  border-right: 1px solid var(--line-bright);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font: 800 10px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
}
.intro h1 {
  max-width: 820px;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(55px, 6.4vw, 90px);
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: -0.07em;
}
.intro h1 em { color: var(--cyan); font-style: normal; }
.intro__lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 52px;
  padding: 0 19px;
  border: 1px solid var(--line-bright);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border 160ms ease, transform 160ms ease;
}
.button span { font: 800 15px/1 var(--mono); }
.button--primary { color: var(--night); background: var(--cyan); border-color: var(--cyan); }
.button--primary:hover { background: var(--white); border-color: var(--white); transform: translateY(-2px); }
.button--quiet { color: var(--ice); background: transparent; }
.button--quiet:hover { color: var(--night); background: var(--amber); border-color: var(--amber); transform: translateY(-2px); }
.intro__policy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 36px 38px;
  color: var(--ice);
  background: var(--panel);
}
.signal-map {
  position: relative;
  width: min(260px, 78%);
  aspect-ratio: 1;
  margin: 12px auto 32px;
}
.signal-map__ring, .signal-map__cross, .signal-map__beam, .signal-map__core { position: absolute; }
.signal-map__ring { inset: 0; border: 1px solid var(--line-bright); border-radius: 50%; }
.signal-map__ring--inner { inset: 24%; border-style: dashed; }
.signal-map__ring--outer::before, .signal-map__ring--outer::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(114, 242, 218, 0.13);
  border-radius: 50%;
}
.signal-map__ring--outer::after { inset: 33%; }
.signal-map__cross--x { top: 50%; right: 0; left: 0; height: 1px; background: var(--line); }
.signal-map__cross--y { top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.signal-map__beam {
  top: 50%;
  left: 50%;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform-origin: left center;
  animation: sweep 4.5s linear infinite;
}
.signal-map__core {
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--night);
  background: var(--cyan);
  border-radius: 50%;
  font: 900 18px/1 var(--mono);
  box-shadow: 0 0 30px rgba(114, 242, 218, 0.28);
  transform: translate(-50%, -50%);
}
.signal-map small {
  position: absolute;
  right: -8px;
  bottom: 22px;
  padding: 7px 9px;
  color: var(--night);
  background: var(--amber);
  font: 900 8px/1.35 var(--mono);
  letter-spacing: 0.1em;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.intro__policy-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-bright);
}
.intro__policy-title span { color: var(--white); font-size: 19px; font-weight: 850; }
.intro__policy-title small { color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: 0.12em; }
.intro__policy ul { display: grid; margin: 0; padding: 0; list-style: none; }
.intro__policy li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.intro__policy li > span { padding-top: 3px; color: var(--cyan); font: 800 9px/1 var(--mono); }
.intro__policy p { display: grid; margin: 0; line-height: 1.4; }
.intro__policy strong { color: var(--white); font-size: 12px; }
.intro__policy small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.intro__policy-link {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.intro__policy-link:hover { color: var(--amber); }

/* telemetry */
.stats { margin-top: -1px; margin-bottom: 112px; }
.stats dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid var(--line-bright); }
.stats dl div { min-height: 132px; padding: 22px 24px; background: rgba(10, 28, 36, 0.86); border-right: 1px solid var(--line); }
.stats dl div:last-child { border-right: 0; }
.stats dt { color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: 0.13em; }
.stats dd { margin: 17px 0 0; color: var(--white); font: 850 42px/0.95 var(--display); letter-spacing: -0.045em; }
.stats dl div:last-child dd { color: var(--amber); font: 800 25px/1 var(--mono); letter-spacing: -0.06em; }
.stats small { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; }

/* shared headings */
.catalog { padding-bottom: 118px; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-bright);
}
.section-heading--compact { margin-bottom: 30px; }
.section-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(39px, 5vw, 66px);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.section-heading > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* filters */
.filters {
  display: grid;
  grid-template-columns: minmax(230px, 2fr) repeat(5, minmax(112px, 1fr)) 90px;
  color: var(--ice);
  background: var(--panel);
  border: 1px solid var(--line-bright);
  box-shadow: 8px 8px 0 rgba(114, 242, 218, 0.06);
}
.filters label { display: grid; align-content: center; min-width: 0; min-height: 76px; padding: 13px 14px; border-right: 1px solid var(--line); }
.filters label > span:first-child { color: var(--muted); font: 700 8px/1 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; }
.filters input, .filters select {
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  font-size: 12px;
  font-weight: 750;
}
.filters select option { color: var(--night); background: var(--white); }
.search-field__control { display: flex; align-items: center; gap: 8px; }
.search-field__control > span { color: var(--cyan); font: 800 17px/1 var(--mono); }
.search-field__control input { flex: 1; }
.search-field__control kbd {
  padding: 4px 5px;
  color: var(--muted);
  background: var(--night);
  border: 1px solid var(--line-bright);
  font: 700 8px/1 var(--mono);
  white-space: nowrap;
}
.reset-button {
  color: var(--night);
  background: var(--amber);
  border: 0;
  font-size: 11px;
  font-weight: 850;
}
.reset-button:hover { background: var(--cyan); }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 27px 0 15px; }
.results-toolbar p { margin: 0; color: var(--muted); font-size: 11px; }
.legend { display: flex; align-items: center; gap: 8px; font: 700 9px/1 var(--mono) !important; letter-spacing: 0.06em; }
.legend__dot { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px var(--cyan); }

/* evidence nodes */
.competition-list { display: grid; gap: 22px; }
.competition-card {
  position: relative;
  color: var(--ice);
  background: var(--panel);
  border: 1px solid var(--line-bright);
  box-shadow: 9px 9px 0 rgba(3, 10, 14, 0.7);
  animation: node-in 420ms both;
}
.competition-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 32px;
  width: 72px;
  height: 4px;
  background: var(--cyan);
}
@keyframes node-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.competition-card__header { display: grid; grid-template-columns: 88px minmax(0, 1.28fr) minmax(360px, 0.72fr); min-height: 166px; }
.competition-card__serial {
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--cyan);
  background: var(--night);
  border-right: 1px solid var(--line-bright);
  font: 900 11px/1.55 var(--mono);
  letter-spacing: 0.11em;
  text-align: center;
  white-space: pre-line;
}
.competition-card__identity { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 27px 30px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.tag {
  padding: 5px 7px;
  color: var(--muted);
  background: var(--night-2);
  border: 1px solid var(--line);
  font: 750 8px/1 var(--mono);
  letter-spacing: 0.05em;
}
.tag--status { color: var(--night); background: var(--cyan); border-color: var(--cyan); }
.tag--pending { color: var(--night); background: var(--amber); border-color: var(--amber); }
.competition-card h3 { margin: 0; color: var(--white); font-family: var(--display); font-size: clamp(27px, 3vw, 40px); line-height: 1.04; letter-spacing: -0.04em; }
.competition-card__dek { max-width: 760px; margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.competition-card__facts { display: grid; grid-template-columns: 1fr 1fr; align-content: stretch; background: var(--night-2); border-left: 1px solid var(--line-bright); }
.fact { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact:nth-child(2n) { border-right: 0; }
.fact:nth-last-child(-n + 2) { border-bottom: 0; }
.fact span { color: var(--muted); font: 700 8px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.fact strong { display: block; margin-top: 8px; color: var(--ice); font-size: 11px; line-height: 1.35; }
.fact:last-child strong { color: var(--amber); }
.competition-card__columns { display: grid; grid-template-columns: 155px 1.3fr 2fr 112px; color: var(--night); background: var(--cyan); }
.competition-card__columns span { padding: 8px 14px; border-right: 1px solid rgba(7, 19, 25, 0.28); font: 800 8px/1 var(--mono); letter-spacing: 0.08em; }
.competition-card__columns span:last-child { border-right: 0; }
.competition-card__body { display: grid; }
.podium { display: grid; }
.winner { display: grid; grid-template-columns: 155px minmax(190px, 1.3fr) minmax(260px, 2fr) 112px; min-height: 116px; border-bottom: 1px solid var(--line); }
.winner > * { min-width: 0; padding: 19px 16px; border-right: 1px solid var(--line); }
.winner > *:last-child { border-right: 0; }
.winner__rank { display: flex; flex-direction: column; justify-content: center; color: var(--amber); font-size: 15px; font-weight: 850; }
.winner__rank small { margin-top: 7px; color: var(--muted); font: 700 8px/1.4 var(--mono); }
.winner__project { display: flex; flex-direction: column; justify-content: center; }
.winner__project h4 { margin: 0; color: var(--white); font-size: 15px; line-height: 1.35; }
.winner__team { margin-top: 7px; color: var(--muted); font-size: 9px; }
.winner__summary { display: flex; align-items: center; margin: 0; color: #b7cacc; font-size: 11px; line-height: 1.68; }
.winner__link, .winner__missing { display: flex; align-items: center; justify-content: center; min-height: 42px; font: 800 10px/1.4 var(--mono); text-align: center; }
.winner__link { color: var(--cyan); text-decoration: none; }
.winner__link:hover { color: var(--night); background: var(--amber); }
.winner__missing { color: #5f7a7e; }
.source-ticket { display: grid; grid-template-columns: 215px 1fr; min-height: 108px; color: var(--ice); background: var(--night); }
.source-ticket > div { padding: 21px 24px; }
.source-ticket > div:first-child { border-right: 1px dashed var(--line-bright); }
.source-ticket h4 { margin: 0; color: var(--white); font-size: 17px; }
.source-ticket__seal { display: inline-block; margin: 9px 0 0 !important; padding: 4px 7px; color: var(--cyan) !important; border: 1px solid var(--cyan); font: 700 8px/1 var(--mono) !important; letter-spacing: 0.08em; }
.source-ticket > div:last-child { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 22px; }
.source-ticket p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.source-ticket a { color: var(--cyan); font: 800 10px/1 var(--mono); white-space: nowrap; text-decoration: none; }
.source-ticket a:hover { color: var(--amber); }
.empty-state { padding: 55px 24px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line-bright); text-align: center; }
.empty-state > span { color: var(--cyan); font: 900 30px/1 var(--mono); }
.empty-state h3 { margin: 10px 0 0; color: var(--white); font-size: 22px; }
.empty-state p { max-width: 530px; margin: 8px auto 0; font-size: 11px; }
.empty-state button { margin-top: 18px; padding: 10px 15px; color: var(--night); background: var(--cyan); border: 0; font-size: 11px; font-weight: 850; }

/* discovery sweep */
.discovery {
  width: 100%;
  max-width: none;
  padding: 106px max(32px, calc((100vw - 1280px) / 2)) 116px;
  color: var(--night);
  background-color: var(--mint);
  background-image:
    linear-gradient(rgba(7, 19, 25, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 19, 25, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.discovery .section-heading { border-bottom-color: rgba(7, 19, 25, 0.45); }
.discovery .section-heading h2 { color: var(--night); }
.discovery .section-heading > p { color: #37565b; }
.discovery .eyebrow { color: #0d7167; }
.daily-discovery { color: var(--ice); background: var(--night-2); border: 1px solid var(--night); box-shadow: 10px 10px 0 rgba(7, 19, 25, 0.14); }
.daily-discovery__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: 132px; padding: 29px 30px; color: var(--night); background: var(--amber); }
.daily-discovery__header p { margin: 0; font: 850 9px/1 var(--mono); letter-spacing: 0.15em; }
.daily-discovery__header h3 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(28px, 4vw, 42px); font-weight: 850; line-height: 1; letter-spacing: -0.04em; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--night); border-radius: 50%; box-shadow: 0 0 0 5px rgba(7, 19, 25, 0.12); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(7, 19, 25, 0); } 100% { box-shadow: 0 0 0 0 rgba(7, 19, 25, 0); } }
.daily-discovery__meta { display: flex; align-items: flex-end; flex-direction: column; gap: 8px; font: 700 9px/1.2 var(--mono); }
.daily-discovery__meta a { font-size: 9px; }
.daily-discovery__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.lead-card { position: relative; min-width: 0; min-height: 242px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead-card:nth-child(3n) { border-right: 0; }
.lead-card:nth-last-child(-n + 3) { border-bottom: 0; }
.lead-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.lead-card__rank { color: var(--cyan); font: 850 11px/1 var(--mono); }
.lead-card__status { padding: 4px 6px; color: var(--amber); border: 1px solid var(--amber); font: 750 8px/1 var(--mono); }
.lead-card__title { display: block; color: var(--white); font-size: 17px; font-weight: 800; line-height: 1.35; text-decoration: none; word-break: break-word; }
.lead-card__title:hover { color: var(--cyan); }
.lead-card__description { display: -webkit-box; margin: 11px 0 0; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.lead-card__queries { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.lead-card__queries span { padding: 4px 5px; color: var(--cyan); background: var(--panel); font: 700 8px/1 var(--mono); }
.lead-card__meta { margin: 15px 0 0; color: #617f83; font: 700 8px/1.45 var(--mono); }
.daily-discovery__empty { margin: 0; padding: 26px; color: var(--muted); font-size: 11px; }
.discovery-console { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.8fr); margin-top: 28px; color: var(--ice); background: var(--panel); border: 1px solid var(--night); box-shadow: 10px 10px 0 rgba(7, 19, 25, 0.14); }
.discovery-console__builder { padding: 29px; }
.discovery-keyword { display: grid; gap: 9px; }
.discovery-keyword > span { color: var(--muted); font: 700 9px/1 var(--mono); letter-spacing: 0.11em; }
.discovery-keyword input { min-height: 46px; padding: 0 12px; color: var(--white); background: var(--night); border: 1px solid var(--line-bright); border-radius: 0; font-size: 12px; }
.tag-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 27px; }
.tag-group h3 { margin: 0 0 10px; color: var(--cyan); font: 800 9px/1 var(--mono); letter-spacing: 0.08em; }
.tag-group__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.discovery-chip { padding: 6px 8px; color: #b7cacc; background: transparent; border: 1px solid var(--line-bright); border-radius: 0; font-size: 9px; }
.discovery-chip:hover { color: var(--cyan); border-color: var(--cyan); }
.discovery-chip[aria-pressed="true"] { color: var(--night); background: var(--cyan); border-color: var(--cyan); }
.query-panel { padding: 29px; color: var(--night); background: var(--amber); border-left: 1px solid var(--night); }
.query-panel__label { margin: 0; color: #694314; font: 850 9px/1 var(--mono); letter-spacing: 0.12em; }
.query-panel output { display: block; min-height: 98px; margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(7, 19, 25, 0.3); font-size: 18px; font-weight: 850; line-height: 1.45; word-break: break-word; }
.source-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 19px; border-top: 1px solid rgba(7, 19, 25, 0.3); border-left: 1px solid rgba(7, 19, 25, 0.3); }
.source-links a { padding: 10px; border-right: 1px solid rgba(7, 19, 25, 0.3); border-bottom: 1px solid rgba(7, 19, 25, 0.3); font-size: 9px; font-weight: 850; text-decoration: none; }
.source-links a:hover { color: var(--night); background: var(--cyan); }
.query-panel button { width: 100%; margin-top: 18px; padding: 12px; color: var(--ice); background: var(--night); border: 1px solid var(--night); font-size: 10px; font-weight: 850; }
.query-panel button:hover { color: var(--night); background: var(--cyan); }
.boundary-note { display: grid; grid-template-columns: 34px 1fr; gap: 14px; margin-top: 24px; padding: 20px 0; border-top: 1px solid rgba(7, 19, 25, 0.35); border-bottom: 1px solid rgba(7, 19, 25, 0.35); }
.boundary-note > span { display: grid; place-items: center; width: 29px; height: 29px; color: var(--mint); background: var(--night); font: 850 12px/1 var(--mono); }
.boundary-note p { margin: 0; color: #3c5b60; font-size: 11px; line-height: 1.75; }
.boundary-note strong, .boundary-note code { color: var(--night); }
.boundary-note code { font-family: var(--mono); }

/* method grid */
.methodology { padding-top: 116px; padding-bottom: 130px; }
.methodology__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-bright); border-left: 1px solid var(--line-bright); }
.methodology__grid article { position: relative; min-height: 264px; padding: 27px 24px; background: var(--panel); border-right: 1px solid var(--line-bright); border-bottom: 1px solid var(--line-bright); overflow: hidden; }
.methodology__grid article::after { content: "+"; position: absolute; right: 16px; bottom: 4px; color: rgba(114, 242, 218, 0.12); font: 900 70px/1 var(--mono); }
.methodology__grid article:nth-child(2n) { background: var(--night-2); }
.methodology__grid article > span { display: block; color: var(--cyan); font: 900 35px/1 var(--mono); letter-spacing: -0.08em; }
.methodology__grid h3 { margin: 40px 0 0; color: var(--white); font-size: 18px; }
.methodology__grid p { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

/* footer beacon */
.site-footer { color: var(--night); background: var(--cyan); border-top: 1px solid var(--night); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; min-height: 116px; }
.site-footer p { display: flex; align-items: center; gap: 22px; margin: 0; }
.site-footer strong { font-size: 18px; }
.site-footer span { color: #235f5a; font: 700 8px/1 var(--mono); letter-spacing: 0.08em; }
.site-footer a { font-size: 10px; font-weight: 850; }

@media (max-width: 1160px) {
  .brand { flex-basis: 286px; }
  .site-nav a { padding-inline: 16px; }
  .trust-mark { display: none; }
  .intro { grid-template-columns: minmax(0, 1.25fr) 350px; }
  .intro__copy { padding-inline: 44px; }
  .filters { grid-template-columns: repeat(4, 1fr); }
  .search-field { grid-column: span 2; }
  .filters label { border-bottom: 1px solid var(--line); }
  .reset-button { min-height: 60px; }
  .competition-card__columns, .winner { grid-template-columns: 136px 1.15fr 1.65fr 104px; }
  .daily-discovery__list { grid-template-columns: repeat(2, 1fr); }
  .lead-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .lead-card:nth-child(2n) { border-right: 0; }
  .lead-card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .lead-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .tag-groups { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { width: min(100% - 34px, 740px); }
  .site-header__inner { min-height: 64px; }
  .brand { flex: 1 1 auto; border-right: 0; }
  .site-nav { display: none; }
  .intro { grid-template-columns: 1fr; min-height: 0; }
  .intro__copy { min-height: 560px; padding: 102px 42px 60px; border-right: 0; border-bottom: 1px solid var(--line-bright); }
  .intro__policy { min-height: 530px; padding: 42px 38px 35px; }
  .signal-map { width: 220px; margin-top: 0; }
  .intro h1 { font-size: clamp(51px, 10vw, 72px); }
  .stats dl { grid-template-columns: 1fr 1fr; }
  .stats dl div { border-bottom: 1px solid var(--line); }
  .stats dl div:nth-child(2) { border-right: 0; }
  .stats dl div:nth-child(n + 3) { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .competition-card__header { grid-template-columns: 84px 1fr; }
  .competition-card__facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-bright); border-left: 0; }
  .fact { border-bottom: 0; }
  .competition-card__columns { display: none; }
  .winner { grid-template-columns: 138px minmax(0, 1fr) 106px; }
  .winner__summary { grid-column: 2 / -1; border-top: 1px solid var(--line); }
  .source-ticket { grid-template-columns: 170px 1fr; }
  .source-ticket > div:last-child { grid-template-columns: 1fr; gap: 8px; }
  .source-ticket a { margin-top: 6px; }
  .daily-discovery__list { grid-template-columns: 1fr 1fr; }
  .discovery-console { grid-template-columns: 1fr; }
  .query-panel { border-top: 1px solid var(--night); border-left: 0; }
  .methodology__grid { grid-template-columns: 1fr 1fr; }
  .methodology__grid article { min-height: 230px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 24px); }
  .site-header { border-top-width: 3px; }
  .site-header__inner { min-height: 58px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__copy strong { font-size: 14px; }
  .brand__copy small { font-size: 7px; }
  .intro { margin-top: 18px; }
  .intro::before { font-size: 7px; text-align: left; }
  .intro::after { left: 18px; font-size: 76px; }
  .intro__copy { min-height: 530px; padding: 86px 23px 47px; }
  .intro h1 { font-size: 46px; line-height: 0.98; }
  .intro__lead { font-size: 13px; line-height: 1.75; }
  .intro__actions { display: grid; }
  .button { width: 100%; }
  .intro__policy { min-height: 500px; padding-inline: 23px; }
  .signal-map { width: 190px; margin-bottom: 28px; }
  .stats { margin-bottom: 82px; }
  .stats dl div { min-height: 108px; padding: 18px; }
  .stats dd { font-size: 31px; }
  .stats dl div:last-child dd { font-size: 18px; }
  .section-heading h2 { font-size: 40px; }
  .filters { grid-template-columns: 1fr; box-shadow: 5px 5px 0 rgba(114, 242, 218, 0.06); }
  .search-field { grid-column: auto; }
  .filters label { border-right: 0; }
  .search-field__control kbd { display: none; }
  .reset-button { min-height: 46px; }
  .results-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; }
  .competition-card { box-shadow: 5px 5px 0 rgba(3, 10, 14, 0.65); }
  .competition-card__header { grid-template-columns: 1fr; }
  .competition-card__serial { min-height: 43px; place-items: center start; padding: 10px 17px; border-right: 0; white-space: normal; }
  .competition-card__identity { padding: 24px 18px; }
  .competition-card h3 { font-size: 27px; }
  .competition-card__facts { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .fact { border-bottom: 1px solid var(--line); }
  .fact:nth-last-child(-n + 2) { border-bottom: 0; }
  .winner { grid-template-columns: 1fr; }
  .winner > * { padding: 14px 17px; border-right: 0; }
  .winner__rank { border-bottom: 1px solid var(--line); }
  .winner__project, .winner__summary { grid-column: auto; border-top: 0; }
  .winner__summary { padding-top: 0; }
  .winner__link, .winner__missing { min-height: 42px; margin: 0 17px 14px; padding: 0; border: 1px solid var(--line-bright); }
  .source-ticket { grid-template-columns: 1fr; }
  .source-ticket > div:first-child { border-right: 0; border-bottom: 1px dashed var(--line-bright); }
  .discovery { padding: 80px 12px 90px; }
  .daily-discovery__header { align-items: flex-start; flex-direction: column; padding: 23px; }
  .daily-discovery__meta { align-items: flex-start; }
  .daily-discovery__list { grid-template-columns: 1fr; }
  .lead-card:nth-child(n) { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lead-card:last-child { border-bottom: 0; }
  .discovery-console__builder, .query-panel { padding: 23px; }
  .tag-groups { grid-template-columns: 1fr; }
  .source-links { grid-template-columns: 1fr; }
  .methodology { padding-top: 84px; padding-bottom: 84px; }
  .methodology__grid { grid-template-columns: 1fr; }
  .methodology__grid article { min-height: 205px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 18px; padding-block: 26px; }
  .site-footer p { align-items: flex-start; flex-direction: column; gap: 5px; }
  .site-footer__inner > p:last-child { flex-direction: row; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
