:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --surface: #fffdf7;
  --surface-soft: #ebe9df;
  --surface-ink: #10241a;
  --ink: #10241a;
  --muted: #3d5147;
  --faint: #3d5147;
  --line: #b4c2b6;
  --line-strong: #82988a;
  --accent: #07583f;
  --accent-soft: #dcebd8;
  --accent-ink: #ffffff;
  --signal: #852d27;
  --signal-soft: #f9e8e2;
  --warning: #684a00;
  --warning-soft: #fff0c3;
  --focus: #07583f;
  --shadow: 0 18px 48px rgb(25 48 36 / 0.09);
  --shadow-small: 0 8px 22px rgb(25 48 36 / 0.08);
  --hero-ink: #f6f0db;
  --hero-muted: #a9c998;
  --hero-accent: #9bd35f;
  --hero-warm: #f7c57a;
  --hero-line: rgb(217 239 189 / 0.32);
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1510;
  --surface: #13231a;
  --surface-soft: #1a3024;
  --surface-ink: #10241a;
  --ink: #f5f1e8;
  --muted: #d2ddd0;
  --faint: #b9c8ba;
  --line: #456357;
  --line-strong: #6c8a76;
  --accent: #a7df68;
  --accent-soft: #203a29;
  --accent-ink: #0b2114;
  --signal: #ff9b80;
  --signal-soft: #3b2422;
  --warning: #f0c872;
  --warning-soft: #372f17;
  --focus: #a7df68;
  --shadow: 0 18px 48px rgb(0 0 0 / 0.28);
  --shadow-small: 0 8px 22px rgb(0 0 0 / 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, transparent 0 49%, var(--line) 49.1% 49.18%, transparent 49.3%), linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 176px 100%, 100% 176px;
  opacity: 0.11;
}

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

a:hover {
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.page-width {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 16px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(1376px, calc(100% - 64px));
  min-height: 70px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-signal {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  width: 22px;
  height: 22px;
}

.brand-signal i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--signal);
}

.brand-signal i:nth-child(1) { height: 8px; }
.brand-signal i:nth-child(2) { height: 14px; }
.brand-signal i:nth-child(3) { height: 19px; }
.brand-signal i:nth-child(4) { height: 11px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.main-nav a,
.language-link,
.theme-button {
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.main-nav a:hover,
.language-link:hover {
  color: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-link {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
}

.language-link span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0;
}

.theme-button,
.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.theme-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.theme-icon {
  font-size: 18px;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(350px, 0.84fr);
  gap: clamp(40px, 8vw, 125px);
  align-items: center;
  min-height: 630px;
  padding-block: 92px 76px;
}

.eyebrow,
.hero-kicker,
.panel-kicker,
.result-label {
  margin: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.105em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-line {
  display: inline-block;
  width: 42px;
  height: 2px;
  background: var(--signal);
}

.hero-kicker {
  margin-top: 45px;
  color: var(--signal);
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 850px;
  margin: 14px 0 24px;
  font-size: clamp(3.6rem, 7.35vw, 7.6rem);
  line-height: 0.92;
}

.hero-deck {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.65vw, 1.48rem);
  line-height: 1.34;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-small);
}

.button-primary:hover {
  background: var(--ink);
  color: var(--bg);
}

.button-quiet {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 27px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.live-dot,
.source-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-soft);
}

.meta-separator {
  color: var(--line-strong);
}

.hero-signal {
  position: relative;
  min-height: 395px;
  overflow: hidden;
  padding: 26px 27px 23px;
  background: var(--surface-ink);
  color: var(--hero-ink);
  box-shadow: var(--shadow);
}

.hero-signal::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  border: 1px solid var(--hero-line);
  border-radius: 50%;
  box-shadow: 0 0 0 18px var(--hero-line), 0 0 0 40px var(--hero-line);
  content: "";
}

.signal-label,
.signal-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: var(--hero-muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-label span:first-child {
  color: var(--hero-warm);
}

.signal-readout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 49px;
}

.signal-readout b {
  color: var(--hero-ink);
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.signal-readout span {
  max-width: 120px;
  color: var(--hero-muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.signal-graphic {
  display: block;
  width: 100%;
  margin-top: 27px;
  color: var(--hero-accent);
}

.signal-foot {
  margin-top: -3px;
  color: var(--hero-ink);
  letter-spacing: 0.04em;
}

.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 106px;
  padding: 20px 22px 18px;
  border-right: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
}

.location-section,
.signals-section,
.library-section {
  padding-block: 130px 0;
}

.section-heading {
  max-width: 700px;
}

.section-heading-wide {
  max-width: 860px;
}

.section-number {
  display: inline-block;
  min-width: 38px;
  margin-right: 8px;
  color: var(--signal);
}

.section-heading h2,
.method-copy h2 {
  margin: 16px 0 17px;
  font-size: clamp(2.45rem, 5vw, 5.15rem);
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.location-tool {
  margin-top: 50px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

#location-form {
  position: relative;
  padding: 24px 0 21px;
}

#location-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-row {
  display: flex;
  gap: 12px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-symbol {
  position: absolute;
  top: 50%;
  left: 17px;
  transform: translateY(-53%);
  color: var(--accent);
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  pointer-events: none;
}

#locality-input {
  width: 100%;
  min-height: 52px;
  padding: 11px 18px 11px 48px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
}

#locality-input::placeholder {
  color: var(--faint);
  opacity: 1;
}

#locality-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.search-submit {
  min-width: 112px;
  border: 0;
  cursor: pointer;
}

.field-help {
  margin: 9px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.search-results {
  position: absolute;
  z-index: 4;
  top: 108px;
  right: 124px;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.search-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 10px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.search-option:last-child {
  border-bottom: 0;
}

.search-option:hover,
.search-option.is-highlighted {
  background: var(--accent-soft);
}

.search-option span:first-child {
  display: grid;
  gap: 1px;
}

.search-option strong {
  font-family: var(--display);
  font-size: 17px;
}

.search-option small {
  color: var(--faint);
  font-size: 12px;
}

.search-option > span:last-child {
  color: var(--accent);
  font-size: 18px;
}

.search-empty,
.empty-state {
  margin: 0;
  padding: 22px;
  color: var(--muted);
}

.location-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 17px;
  align-items: center;
  padding: 28px 0 31px;
}

.location-pin {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--signal);
  border-radius: 50%;
}

.location-pin span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 8px var(--signal-soft);
}

.location-copy h3 {
  margin: 4px 0 1px;
  font-size: 30px;
  line-height: 1.05;
}

.location-copy p:last-child {
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 14px;
}

.text-button {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.text-button:hover {
  color: var(--ink);
  text-decoration: underline;
}

.signals-section {
  padding-top: 120px;
}

.heading-light {
  color: var(--muted);
  font-weight: 400;
}

.signal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  margin-top: 52px;
}

.signal-panel {
  min-width: 0;
  padding: 27px 27px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.signal-panel-large,
.temperature-panel {
  min-height: 440px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 91px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h3 {
  margin: 7px 0 3px;
  font-size: 28px;
  line-height: 1;
}

.panel-heading p:last-child {
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
}

.panel-count {
  flex: 0 0 auto;
  min-width: 46px;
  color: var(--signal);
  font-family: var(--display);
  font-size: 39px;
  line-height: 0.92;
  text-align: right;
}

.panel-count-accent {
  color: var(--accent);
}

.signal-list {
  min-height: 244px;
}

.signal-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.signal-row:last-child {
  border-bottom: 0;
}

.row-marker {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.row-marker-alert {
  background: var(--signal-soft);
  color: var(--signal);
}

.row-marker-green,
.row-marker-orange,
.row-marker-red {
  width: 12px;
  height: 12px;
  margin: 6px 5px 0 4px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.row-marker-orange {
  background: var(--warning);
  box-shadow: 0 0 0 4px var(--warning-soft);
}

.row-marker-red {
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-soft);
}

.row-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.row-main strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-main span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-main small,
.row-detail,
.row-more,
.row-more p {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.42;
}

.row-main small {
  font-family: var(--mono);
}

.row-detail {
  max-width: 245px;
  margin: 0;
}

.row-number {
  min-width: 58px;
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
  text-transform: uppercase;
}

.row-number b {
  color: var(--ink);
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.row-more {
  grid-column: 2 / -1;
  margin: 5px 0 0;
}

.row-more summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 750;
}

.row-more p {
  margin: 6px 0 0;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  min-height: 43px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
  text-transform: uppercase;
}

.panel-footer a {
  max-width: 62%;
  font-weight: 800;
  text-align: right;
  text-transform: none;
}

.temperature-list {
  min-height: 244px;
}

.temperature-row,
.air-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 17px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.temperature-row:last-child,
.air-row:last-child {
  border-bottom: 0;
}

.temperature-row > div,
.air-row > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.temperature-row strong,
.air-row strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.temperature-row span,
.air-row span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.temperature-row > b {
  color: var(--accent);
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.temperature-row > small {
  grid-column: 1 / -1;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.panel-intro {
  max-width: 480px;
  margin: 17px 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.air-list {
  min-height: 185px;
}

.air-row dl {
  display: flex;
  gap: 11px;
  margin: 0;
}

.air-row dl div {
  display: grid;
  gap: 1px;
}

.air-row dt {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}

.air-row dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.library-section {
  padding-top: 137px;
}

.library-list {
  margin: 51px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.library-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 17px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.library-index {
  width: 9px;
  height: 9px;
  border: 2px solid var(--signal);
  border-radius: 50%;
}

.library-copy h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.05;
}

.library-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.83fr) minmax(0, 1.17fr);
  gap: clamp(40px, 8vw, 132px);
  align-items: start;
  padding-top: 150px;
}

.method-visual {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
  min-height: 354px;
  padding: 28px;
  background: var(--surface-ink);
  color: var(--hero-ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.method-visual::before {
  position: absolute;
  top: 70px;
  right: 25%;
  bottom: 60px;
  border-left: 1px solid var(--hero-line);
  content: "";
}

.method-visual i {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  border: 2px solid var(--hero-accent);
  border-radius: 50%;
  background: var(--surface-ink);
}

.method-visual i:nth-of-type(1) { margin-top: 24px; }
.method-visual i:nth-of-type(2) { margin-top: 29px; }
.method-visual i:nth-of-type(3) { margin-top: 14px; }

.method-visual b {
  position: absolute;
  right: calc(25% - 10px);
  bottom: 32px;
  color: var(--hero-warm);
  font-size: 23px;
}

.method-visual span:last-child {
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: var(--hero-muted);
}

.method-copy {
  max-width: 690px;
}

.method-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.method-list {
  display: grid;
  gap: 12px;
  margin: 31px 0 37px;
  padding: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.method-list li span {
  color: var(--signal);
  font-family: var(--mono);
  font-weight: 800;
}

.source-details {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.source-details summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.source-details summary span {
  color: var(--signal);
  font-size: 19px;
  line-height: 0.7;
}

.source-list {
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
}

.source-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.source-row .source-dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  box-shadow: none;
}

.source-row div {
  display: grid;
  gap: 2px;
}

.source-row strong {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.2;
}

.source-row div span {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.35;
}

.source-row a {
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.source-credit {
  margin-top: 27px;
  padding: 18px 20px 19px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.source-credit p {
  margin: 0;
}

.source-credit-label {
  margin-bottom: 6px !important;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.source-credit p:last-child {
  max-width: 620px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.source-credit a {
  font-weight: 800;
}

.method-date {
  margin: 24px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.65;
  text-transform: uppercase;
}

.method-date strong {
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  margin-top: 150px;
  padding-block: 27px 48px;
  border-top: 1px solid var(--line-strong);
}

.footer-brand {
  font-size: 17px;
}

.site-footer p {
  max-width: 430px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px 19px;
  align-content: start;
}

.footer-links a {
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint) !important;
  font-family: var(--mono);
  font-size: 10px !important;
  line-height: 1.45;
  text-transform: uppercase;
}

.noscript-note {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto 30px;
  padding: 14px 17px;
  border: 1px solid var(--warning);
  background: var(--warning-soft);
  color: var(--ink);
  font-size: 13px;
}

.error-page {
  width: min(720px, calc(100% - 48px));
  min-height: 72vh;
  margin: 0 auto;
  padding-top: 20vh;
}

.error-page h1 {
  max-width: 650px;
  margin-top: 18px;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.error-page p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

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

@media (max-width: 960px) {
  .header-inner {
    gap: 18px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a:nth-child(3) {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 35px;
  }

  .signal-layout {
    grid-template-columns: 1fr;
  }

  .signal-panel-large,
  .temperature-panel {
    min-height: auto;
  }

  .method-section {
    gap: 50px;
  }
}

@media (max-width: 720px) {
  .page-width,
  .header-inner,
  .noscript-note {
    width: min(100% - 36px, 560px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 11px 18px;
    padding-block: 13px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding-top: 9px;
    border-top: 1px solid var(--line);
  }

  .main-nav a:nth-child(3) {
    display: inline;
  }

  .header-tools {
    margin-left: auto;
  }

  .language-link span,
  .theme-button #theme-label {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-block: 60px 56px;
  }

  .hero-kicker {
    margin-top: 34px;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 5.6rem);
  }

  .hero-deck {
    font-size: 1.16rem;
  }

  .hero-signal {
    min-height: 316px;
    margin-top: 43px;
  }

  .signal-readout {
    margin-top: 30px;
  }

  .signal-graphic {
    margin-top: 14px;
  }

  .stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat,
  .stat:first-child {
    min-height: 91px;
    padding: 16px 12px;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .location-section,
  .signals-section,
  .library-section {
    padding-top: 87px;
  }

  .section-heading h2,
  .method-copy h2 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .search-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-submit {
    width: 100%;
  }

  .search-results {
    top: 163px;
    right: 0;
  }

  .location-result {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
  }

  .location-actions {
    grid-column: 1 / -1;
    justify-content: start;
    padding-left: 63px;
  }

  .signal-panel {
    padding: 21px 18px 17px;
  }

  .panel-heading h3 {
    font-size: 25px;
  }

  .signal-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .row-detail,
  .row-number {
    grid-column: 2;
    max-width: none;
    text-align: left;
  }

  .row-number {
    margin-top: -3px;
  }

  .row-number b {
    font-size: 22px;
  }

  .panel-footer {
    display: grid;
  }

  .panel-footer a {
    max-width: none;
    text-align: left;
  }

  .temperature-row,
  .air-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .air-row dl {
    gap: 8px;
  }

  .library-list {
    margin-top: 36px;
  }

  .library-row {
    grid-template-columns: 13px minmax(0, 1fr);
    gap: 12px;
  }

  .library-row .text-link {
    grid-column: 2;
    text-align: left;
  }

  .method-section {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 106px;
  }

  .method-visual {
    position: relative;
    top: auto;
    min-height: 225px;
  }

  .method-visual::before {
    top: 58px;
    right: 24%;
    bottom: 44px;
  }

  .method-visual i:nth-of-type(1) { margin-top: 15px; }
  .method-visual i:nth-of-type(2) { margin-top: 8px; }
  .method-visual i:nth-of-type(3) { margin-top: 4px; }

  .method-visual b {
    right: calc(24% - 9px);
    bottom: 19px;
  }

  .method-visual span:last-child {
    right: 22px;
    bottom: 15px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    margin-top: 93px;
    padding-bottom: 32px;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
