html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow-x: hidden;
}

:root {
    --heatmap-header-height: 96px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.lowercase-x {
    display: inline-block;
    text-transform: lowercase;
    transform: translateY(-2px);
    font-size: 18px;
}

.simple-page {
    margin-top: var(--heatmap-header-height);
    min-height: calc(100vh - var(--heatmap-header-height));
    padding: 36px 16px;
    box-sizing: border-box;
}

.simple-page__inner {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 28px;
}

.simple-page__inner h1 {
    margin: 0 0 10px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.simple-page__inner p {
    margin: 0;
    font-family: "ABC Diatype", sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

.simple-page__back-link {
    display: inline-flex;
    margin-bottom: 16px;
    color: #0e5d9a;
    text-decoration: none;
    font-family: "ABC Diatype", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.simple-page__back-link:hover,
.simple-page__back-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.simple-page__back-link--bottom {
    margin-top: 24px;
    margin-bottom: 0;
}

.methodology-doc p {
    margin: 0 0 14px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 16px;
    line-height: 1.52;
}

.methodology-doc__title {
    margin: 0 0 8px;
    font-family: "Druk", "Arial Narrow", sans-serif;
    font-size: 40px;
    line-height: 0.95;
    letter-spacing: 0.01em;
}

.methodology-doc__subtitle {
    font-size: 20px;
    font-weight: 700;
}

.methodology-doc h2,
.methodology-doc h3,
.methodology-doc h4 {
    margin: 22px 0 10px;
    font-family: "ABC Diatype", sans-serif;
    line-height: 1.25;
    scroll-margin-top: 120px;
}

.methodology-doc h2 {
    font-size: 24px;
    font-weight: 700;
}

.methodology-doc h3 {
    font-size: 20px;
    font-weight: 700;
}

.methodology-doc h4 {
    font-size: 18px;
    font-weight: 700;
}

.methodology-doc ul {
    margin: 0 0 14px 22px;
    padding: 0;
}

.methodology-doc li {
    margin: 0 0 6px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.methodology-doc a {
    color: #0e5d9a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.methodology-doc a:hover,
.methodology-doc a:focus-visible {
    color: #0a4a7a;
    outline: none;
}

.methodology-table-wrap {
    margin: 10px 0 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.methodology-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

.methodology-table th,
.methodology-table td {
    border: 1px solid #d9d9d9;
    padding: 10px 10px;
    vertical-align: top;
    text-align: left;
    font-family: "ABC Diatype", sans-serif;
    font-size: 14px;
    line-height: 1.38;
    color: #111;
}

.methodology-table th {
    background: #f2f4f6;
    font-weight: 700;
}

.methodology-table td a {
    color: #0e5d9a;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.methodology-table td a:hover,
.methodology-table td a:focus-visible {
    color: #0a4a7a;
    outline: none;
}

.methodology-cell-lines > div {
    margin: 0 0 4px;
}

.methodology-cell-lines > div:last-child {
    margin-bottom: 0;
}

.methodology-table--texas th:nth-child(1),
.methodology-table--texas td:nth-child(1) {
    width: 36%;
}

.methodology-table--texas th:nth-child(2),
.methodology-table--texas td:nth-child(2) {
    width: 64%;
}

.methodology-table--appendix1 th:nth-child(1),
.methodology-table--appendix1 td:nth-child(1) {
    width: 15%;
}

.methodology-table--appendix1 th:nth-child(2),
.methodology-table--appendix1 td:nth-child(2) {
    width: 22%;
}

.methodology-table--appendix1 th:nth-child(3),
.methodology-table--appendix1 td:nth-child(3) {
    width: 34%;
}

.methodology-table--appendix1 th:nth-child(4),
.methodology-table--appendix1 td:nth-child(4) {
    width: 29%;
}

.methodology-table--appendix2 th:nth-child(1),
.methodology-table--appendix2 td:nth-child(1) {
    width: 16%;
}

.methodology-table--appendix2 th:nth-child(2),
.methodology-table--appendix2 td:nth-child(2) {
    width: 44%;
}

.methodology-table--appendix2 th:nth-child(3),
.methodology-table--appendix2 td:nth-child(3) {
    width: 14%;
}

.methodology-table--appendix2 th:nth-child(4),
.methodology-table--appendix2 td:nth-child(4) {
    width: 26%;
}

.methodology-meta {
    margin: 8px 0 18px;
}

.methodology-meta p {
    margin-bottom: 6px;
}

.methodology-figure {
    margin: 18px 0 28px;
}

.methodology-figure figcaption {
    margin: 0 0 10px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.methodology-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
}

.methodology-toc {
    margin: 20px 0 24px;
    padding: 14px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    background: #fafafa;
}

.methodology-toc h2 {
    margin: 0 0 10px;
    font-size: 18px;
    scroll-margin-top: 120px;
}

.methodology-toc ul {
    margin: 0 0 0 18px;
    padding: 0;
}

.methodology-toc ul ul {
    margin-top: 6px;
    margin-bottom: 2px;
}

.methodology-toc li {
    margin: 0 0 5px;
    font-size: 15px;
    line-height: 1.35;
}

.methodology-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.methodology-toc__item {
    margin: 0 0 5px;
}

.methodology-toc__item--lvl2 {
    padding-left: 22px;
}

.methodology-toc__item--lvl3 {
    padding-left: 44px;
}

.methodology-toc a {
    color: #0e5d9a;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.methodology-toc a:hover,
.methodology-toc a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.methodology-outline-heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.methodology-outline-heading--lvl2 {
    margin-left: 24px;
}

.methodology-outline-heading--lvl3 {
    margin-left: 48px;
}

.methodology-outline-label {
    flex: 0 0 auto;
    min-width: 2.4em;
    font-weight: 700;
}

.methodology-toc .methodology-outline-label {
    min-width: 4.9em;
}

.methodology-outline-text {
    flex: 1 1 auto;
    min-width: 0;
}

.topbar {
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
    position: sticky;
    top: 0;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 700;
    text-decoration: none;
    color: #111;
}

.nav a {
    text-decoration: none;
    color: #111;
    margin-left: 12px;
}

.map-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.heatmap-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: #f5f5f5;
    border-bottom: 1px solid #d6d6d6;
}

.heatmap-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 72px;
}

.heatmap-header__logo-link {
    display: inline-flex;
    align-items: center;
}

.heatmap-header__logo {
    display: block;
    width: 214px;
    height: auto;
    margin-right: 14px;
}

.heatmap-header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-right: auto;
}

.heatmap-header__nav a {
    padding: 0;
    font-family: "ABC Diatype", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
}

.heatmap-header__nav a:hover,
.heatmap-header__nav a:focus-visible {
    color: #479ad2;
    text-decoration: none;
}

.heatmap-header__menu {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    width: 27px;
    height: 26px;
    background: transparent;
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 1301;
}

.heatmap-header__menu span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: #111;
    transition: transform 160ms ease, top 160ms ease, opacity 120ms ease;
}

.heatmap-header__menu span:nth-child(1) {
    top: 0;
}

.heatmap-header__menu span:nth-child(2) {
    top: 11px;
}

.heatmap-header__menu span:nth-child(3) {
    top: 22px;
}

.heatmap-header__menu.is-open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.heatmap-header__menu.is-open span:nth-child(2) {
    opacity: 0;
}

.heatmap-header__menu.is-open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

.heatmap-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.22);
    display: flex;
    justify-content: flex-end;
}

.heatmap-menu[hidden] {
    display: none;
}

.heatmap-menu__panel {
    width: min(400px, 100%);
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    background: #efefef;
    padding: 96px 38px 34px;
    line-height: 1;
}

.heatmap-menu__topics {
    margin-top: 64px;
    border-top: 20px solid #000;
    padding-top: 14px;
}

.heatmap-menu__topics a {
    display: block;
    font-family: "ABC Diatype", sans-serif;
    font-size: 12px;
    line-height: 94%;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    padding: 10px 0;
}

.heatmap-menu__topics a {
    padding: 7px 0;
}

.heatmap-menu__topics::after {
    content: "";
    display: block;
    height: 20px;
    background: #000;
    margin-top: 14px;
}

body.menu-open {
    overflow: hidden;
}

.hero {
    background: #010420;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 544px;
    position: relative;
    width: 100%;
    margin: var(--heatmap-header-height) 0 0;
    overflow: hidden;
}

.hero img {
    width: 100%;
    max-width: 100%;
    height: 644px;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: translateY(-50px);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    pointer-events: none;
}

.hero-text {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    padding: 24px 44px;
    max-width: calc(100% - 88px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-headline {
    margin: 0 0 12px;
    color: #FCFCFC;
    text-align: center;
    font-family: "ABC Diatype", sans-serif;
    font-size: 54px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero-subhed {
    margin: 0 0 18px;
    color: #FCFCFC;
    text-align: center;
    font-family: "Stanley", serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 33px;
    width: 646px;
    height: 47px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #FCFCFC;
    text-align: center;
    text-transform: uppercase;
}

.hero-credits-kicker {
    font-family: "ABC Diatype", sans-serif;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
    color: #FCFCFC;
}

.hero-credits-title {
    font-family: "ABC Diatype", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #FCFCFC;
}

.hero-credits-sub {
    font-family: "ABC Diatype", sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    line-height: 19px;
    color: #FFF;
}

.dataset-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 0 12px;
    font-family: "ABC Diatype", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 18px;
    color: #000;
}

.dataset-switch label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: "ABC Diatype", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
    text-transform: uppercase;
    color: #000;
    text-align: center;
}

.dataset-switch input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dataset-toggle-input {
    appearance: none;
    width: 64px;
    height: 21px;
    border: 2px solid #9ea3b0;
    border-radius: 999px;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.dataset-toggle-input::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 31px;
    height: 19px;
    background: #5b5b5b;
    border-radius: 999px;
    transition: transform 150ms ease;
}

.dataset-toggle-input:checked::after {
    transform: translateX(31px);
}

.shape-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 44px);
    margin-left: 0;
    margin-right: auto;
}

.shape-mode-select {
    display: none;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #1f1f1f;
    border-radius: 0;
    background: #fff;
    font-family: "ABC Diatype", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #000;
}

.lookup-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 280px;
}

.shape-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
    font-size: 14px;
    border: 1px solid #1f1f1f;
}

.shape-toggle label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-family: "ABC Diatype", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000;
}

.shape-toggle .shape-toggle__action {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-family: "ABC Diatype", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
}

.shape-toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shape-toggle label span,
.shape-toggle .shape-toggle__action span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    min-height: 32px;
    border-right: 1px solid #1f1f1f;
    background: #fff;
}

.shape-toggle .shape-toggle__action span:hover,
.shape-toggle .shape-toggle__action span:focus-visible {
    background: #f4f4f4;
}

.shape-toggle > :last-child span {
    border-right: 0;
}

.shape-toggle input[type="radio"]:checked + span {
    background: #EADD82;
}

.shape-toggle .shape-toggle__group-start {
    margin-left: 0;
}

.shape-toggle .shape-toggle__group-start span {
    border-left: 5px solid #000;
}

.shape-toggle .shape-toggle__group-split-before-reset span {
    border-left: 5px solid #000;
}

.lookup-row input[type="text"] {
    flex: 1;
    min-width: 220px;
    padding: 0 12px;
    border: 1px solid #1f1f1f;
    border-radius: 0;
    font-size: 14px;
    font-family: "ABC Diatype", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    color: #000;
    height: 44px;
    line-height: 44px;
    box-sizing: border-box;
}

.lookup-row input[type="text"]::placeholder {
    color: #9a9a9a;
}

.lookup-row button {
    height: 44px;
    line-height: 44px;
    padding: 0 12px;
    border: 1px solid #1f1f1f;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-family: "ABC Diatype", sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lookup-row button:hover,
.lookup-row button:focus-visible {
    border-color: #999;
    outline: none;
}

.lookup-result {
    min-width: 220px;
    font-size: 13px;
    color: #333;
}

.map-controls input[type="range"] {
    flex: 1 1 auto;
    width: 100%;
}

#monthSlider {
    --timeline-thumb-size: 18px;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    margin: 0;
    height: 24px;
    background: transparent;
}

#monthSlider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: #5f9df4;
}

#monthSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: var(--timeline-thumb-size);
    height: var(--timeline-thumb-size);
    border-radius: 50%;
    border: 2px solid #fff;
    background: #1e6fe0;
    box-shadow: 0 0 0 1px #1557b3;
    margin-top: calc((6px - var(--timeline-thumb-size)) / 2);
}

#monthSlider::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: #5f9df4;
}

#monthSlider::-moz-range-thumb {
    width: var(--timeline-thumb-size);
    height: var(--timeline-thumb-size);
    border-radius: 50%;
    border: 2px solid #fff;
    background: #1e6fe0;
    box-shadow: 0 0 0 1px #1557b3;
}

.map-controls label {
    font-weight: 600;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 44px);
    margin-left: 0;
    margin-right: auto;
}

#monthLabel {
    min-width: 78px;
    text-align: right;
    font-weight: 600;
}

.timeline-play,
.reset-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    margin: 0;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
}

.timeline-play:hover,
.timeline-play:focus-visible,
.reset-map:hover,
.reset-map:focus-visible {
    border-color: #999;
    outline: none;
}

.metric-controls {
    margin: 0;
}

.metric-controls label span {
    min-height: 32px;
}

.dataset-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.dataset-toggle label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 12px;
    width: calc(100% - 44px);
    margin-left: 0;
    margin-right: auto;
    font-size: 14px;
}



.controls-sep {
    width: 1px;
    height: 20px;
    background: #d0d0d0;
}

.map-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 44px);
    margin-left: 0;
    margin-right: auto;
}

.timeline-wrap {
    width: calc(100% - 44px);
    margin-top: 12px;
    margin-left: 0;
    margin-right: auto;
}

.timeline-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-row #monthSlider {
    flex: 1 1 auto;
}

.timeline-right {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.map-wrap {
    position: relative;
    width: 100%;
}

#map {
    height: min(calc(80vh - 151px), 500px) !important;
}

.map-legend {
    position: absolute;
    top: 44px;
    right: 12px;
    z-index: 620;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
}

.map-legend__visual {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 10px;
    pointer-events: none;
}

.map-legend__bar {
    width: 12px;
    height: 180px;
    border-radius: 999px;
    background: linear-gradient(to bottom, #e5533d 0%, #f3c84b 50%, #2f9e44 100%);
}

.map-legend__ticks {
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    color: #222;
    font-family: "ABC Diatype", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.map-legend__marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 2px;
    display: block;
    transform: none;
}

.map-legend__marker-line {
    display: block;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: #111;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.map-legend__scale {
    display: inline-flex;
    gap: 10px;
    pointer-events: auto;
}

.map-legend__scale label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #222;
    white-space: nowrap;
    cursor: pointer;
}

.map-legend__scale input {
    margin: 0;
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d0d0d0;
    font-size: 13px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.map-loading.is-visible {
    opacity: 1;
}

.map-loading .spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #c9c9c9;
    border-top-color: #4a90e2;
    animation: mapSpin 0.8s linear infinite;
}

@keyframes mapSpin {
    to {
        transform: rotate(360deg);
    }
}

.map-width {
    width: calc(100% - 69px);
    margin-left: 0;
    margin-right: auto;
}

.map-link {
    margin: 4px 0 10px;
}

.panel-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 740;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.panel-actions--map {
    right: 12px;
    gap: 4px;
    width: max-content;
}

.panel-actions__shade-toggle {
    height: 26px;
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    color: #111;
    font-family: "ABC Diatype", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.panel-actions--map .panel-actions__shade-toggle {
    height: 24px;
    margin-right: 9px;
    gap: 6px;
    font-size: 10px;
}

.panel-actions__shade-toggle:hover,
.panel-actions__shade-toggle:focus-within {
    border-color: #8a8a8a;
    background: #fff;
}

.panel-actions__shade-toggle input {
    margin: 0;
    width: 14px;
    height: 14px;
    accent-color: #111;
    flex: 0 0 auto;
}

.panel-actions--map .panel-actions__shade-toggle input {
    width: 13px;
    height: 13px;
}

.panel-actions__btn {
    width: 26px;
    height: 26px;
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.panel-actions--map .panel-actions__btn {
    width: 24px;
    height: 24px;
}

.panel-actions__btn:hover,
.panel-actions__btn:focus-visible {
    border-color: #8a8a8a;
    background: #fff;
    outline: none;
}

.panel-actions__btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.panel-actions__btn img,
.panel-actions__btn svg {
    display: block;
    width: 14px;
    height: 14px;
}

.panel-actions--map .panel-actions__btn img,
.panel-actions--map .panel-actions__btn svg {
    width: 13px;
    height: 13px;
}

.panel-actions__btn svg path {
    fill: #111;
}

.panel-actions__flash {
    position: absolute;
    top: 30px;
    right: 0;
    padding: 4px 7px;
    border-radius: 4px;
    background: rgba(17, 17, 17, 0.95);
    color: #fff;
    font-family: "ABC Diatype", sans-serif;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.panel-actions__flash.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.map-link a {
    color: #0645ad;
    text-decoration: underline;
    font-weight: 400;
}

.map-link a:hover,
.map-link a:focus-visible {
    text-decoration: underline;
}

.map-debug {
    display: none;
    font-size: 12px;
    color: #444;
    background: #fafafa;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 10px;
    white-space: pre-wrap;
}

.insights-row {
    margin-top: 26px;
    margin-left: 15px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.insight-card {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.insight-card__head {
    display: grid;
    grid-template-columns: 1fr auto 124px;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    padding-right: 58px;
}

.insight-card__head h3 {
    margin: 0;
    font-family: "ABC Diatype", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.insight-card__head label {
    margin: 0;
    color: #666;
    font-family: "ABC Diatype", sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.insight-card__head select {
    height: 32px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 0 8px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 13px;
    background: #fff;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.insight-card__head select option:disabled {
    color: #9a9a9a;
}

.insight-card--utility .insight-card__head {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    padding-right: 0;
}

.insight-card--utility .insight-card__head h3,
.insight-card--utility .insight-card__head label,
.insight-card--utility .insight-card__head select {
    grid-column: 1;
}

.insight-card--change .insight-card__head {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: start;
    row-gap: 6px;
    padding-right: 0;
}

.insight-card--change .insight-card__controls {
    grid-column: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.insight-card--change .insight-card__controls label {
    margin: 0;
}

.insight-card--change .insight-card__controls select {
    width: 127px;
    text-align: left;
}

.insight-card--change .insight-card__head h3,
.insight-card--utility .insight-card__head h3 {
    width: 100%;
    text-align: left;
}

.insight-card--change .insight-change__value,
.insight-card--change .insight-change__sub {
    text-align: center;
}

.insight-change__value {
    margin-top: auto;
    font-family: "ABC Diatype", sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.insight-change__value.is-positive {
    color: #bd4a36;
}

.insight-change__value.is-negative {
    color: #2f9e44;
}

.insight-change__sub {
    margin-top: 8px;
    margin-bottom: auto;
    color: #666;
    font-family: "ABC Diatype", sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.utility-detail__name {
    margin-top: 4px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;
    min-height: 46px;
}

.utility-detail__total {
    margin-top: 4px;
    margin-bottom: 2px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.utility-breakdown {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 170px;
}

.utility-detail-legend {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    margin-bottom: 2px;
}

.utility-detail-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #4f4f4f;
    line-height: 1;
}

.utility-detail-legend__swatch {
    width: 28px;
    height: 12px;
    border: 2px solid currentColor;
    background: rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
}

.utility-breakdown__row {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 8px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 13px;
}

.utility-breakdown__bar {
    position: relative;
    height: 8px;
    background: #ececec;
    border-radius: 999px;
    overflow: hidden;
}

.utility-breakdown__fill {
    height: 100%;
    border-radius: 999px;
}

.utility-breakdown__empty {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 12px;
    border: 1px dashed #d8d8d8;
    border-radius: 10px;
    background: #fafafa;
    font-family: "ABC Diatype", sans-serif;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.utility-breakdown__empty.is-na {
    font-size: 58px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #9a9a9a;
}

.utility-detail-chart {
    display: none;
    width: 100%;
    height: 180px;
}

.iso-hit-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.iso-hit-picker__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.iso-hit-picker-overlay {
    position: absolute;
    z-index: 650;
    pointer-events: auto;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.iso-hit-picker__title {
    font-family: "ABC Diatype", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #666;
}

.iso-hit-picker__close {
    border: 0;
    background: transparent;
    padding: 0;
    width: 20px;
    height: 20px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 18px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.iso-hit-picker__close:hover {
    color: #222;
}

.iso-hit-picker__option {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    padding: 8px 10px;
    text-align: left;
    font-family: "ABC Diatype", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
}

.iso-hit-picker__option:hover {
    background: #f7f7f7;
}

#utilityDetailChart {
    width: 100%;
    height: 100%;
}

.chart-card {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    position: relative;
    min-height: 300px;
}

.chart-card--main {
    margin-top: 0;
}

.chart-title {
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
}

.chart-card--main .chart-title {
    width: calc(100% - 62px);
    max-width: 100%;
    box-sizing: border-box;
}

.chart-placeholder {
    position: absolute;
    inset: 40px 12px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px dashed #d8d8d8;
    pointer-events: none;
}

.chart-canvas {
    height: 250px;
}

#stateChart {
    width: 100%;
    height: 100%;
}

.chart-note {
    margin-top: 8px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 10px;
    line-height: 1.35;
    color: #666;
}

.subscribe-box {
    margin-top: 28px;
    margin-bottom: 10px;
    margin-left: 15px;
}

.subscribe-box-content {
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    padding: 14px;
    background:
        linear-gradient(115deg, rgba(20, 28, 45, 0.82), rgba(95, 74, 102, 0.55) 56%, rgba(206, 136, 142, 0.64)),
        url("/static/images/hero.png") center / cover no-repeat;
}

.subscribe-box-inner {
    min-height: 78px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.subscribe-box-logo {
    flex: 0 0 auto;
    width: 170px;
    height: 46px;
    background: url("/static/images/heatmap-logo.webp") left center / contain no-repeat;
}

.subscribe-box-text {
    flex: 1 1 auto;
    min-width: 180px;
    color: #111;
    font-family: "ABC Diatype", sans-serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.1;
}

.subscribe-box-form {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-box-email-wrap {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.subscribe-box-form input[type="email"] {
    width: 204px;
    height: 44px;
    border: 1px solid #aaa;
    border-radius: 0;
    padding: 0 12px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 15px;
    box-sizing: border-box;
}

.subscribe-box-privacy {
    color: #4a4a4a;
    font-family: "ABC Diatype", sans-serif;
    font-size: 11px;
    line-height: 1.1;
}

.subscribe-box-privacy a {
    color: #4a4a4a;
    text-decoration: none;
}

.subscribe-box-privacy a:hover,
.subscribe-box-privacy a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.subscribe-box-form .button {
    height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0 30px;
    background: #1d84ea;
    color: #fff;
    font-family: "ABC Diatype", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.subscribe-box-form .button:hover,
.subscribe-box-form .button:focus-visible {
    background: #0f71d0;
    outline: none;
}

.news-section {
    margin-left: 15px;
    margin-top: 18px;
    padding: 4px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.news-title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.news-status {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 22px;
}

.news-card {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.news-card--feature {
    grid-column: span 2;
}

.news-image-link {
    display: block;
    text-decoration: none;
}

.news-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #ececec;
}

.news-card--lead .news-image {
    aspect-ratio: 4 / 5;
}

.news-card--feature .news-image {
    height: 453px;
    aspect-ratio: 16 / 9.53;
}

.news-image--placeholder {
    background: linear-gradient(135deg, #f4f4f4, #e2e2e2);
}

.news-accent {
    height: 8px;
    width: 100%;
    background: #2d8cf0;
}

.news-card--feature .news-accent {
    background: #ead31a;
}

.news-link {
    color: #121212;
    text-decoration: none;
    font-family: "ABC Diatype", "Diatype", sans-serif;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.news-card--lead .news-link {
    font-size: 32px;
}

.news-card--feature .news-link {
    font-size: 52px;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.news-link:hover,
.news-link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.news-subtitle {
    font-size: 16px;
    line-height: 1.3;
    color: #2b2b2b;
    font-family: "Stanley", serif;
    font-weight: 400;
}

.news-card--feature .news-subtitle {
    font-size: 20px;
}

.news-author {
    color: rgb(133, 133, 133);
    font-family: "ABC Diatype", sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .heatmap-header__inner {
        padding: 14px 20px;
        gap: 14px;
    }

    .heatmap-header__logo {
        height: 62px;
    }

    .heatmap-header__nav {
        gap: 14px;
    }

    .heatmap-header__nav a {
        font-size: 18px;
    }

    .heatmap-menu__panel {
        width: min(560px, 100%);
        padding: 90px 24px 24px;
    }

    .heatmap-menu__topics {
        margin-top: 20px;
        border-top-width: 10px;
        padding-top: 10px;
    }

    .heatmap-menu__topics a {
        font-size: 12px;
    }

    .container {
        padding: 12px;
    }

    .hero {
        height: auto;
    }

    .hero img {
        width: 100%;
        height: auto;
        margin: -50px 0;
        transform: none;
    }

    .hero-overlay {
        padding: 16px;
    }

    .hero-text {
        padding: 20px 28px;
    }

    .hero-headline {
        font-size: 42px;
        line-height: 48px;
    }

    .hero-subhed {
        width: auto;
        height: auto;
        font-size: 20px;
        line-height: 28px;
    }

    .dataset-switch {
        font-size: 16px;
        gap: 10px;
        margin-bottom: 8px;
    }

    .shape-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 14px;
    }

    .shape-toggle {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .shape-toggle .shape-toggle__group-start {
        margin-left: 0;
    }

    .shape-toggle .shape-toggle__group-start span {
        border-left: 0;
    }

    .shape-toggle .shape-toggle__group-split-before-reset span {
        border-left: 0;
    }

    .shape-toggle label span,
    .shape-toggle .shape-toggle__action span {
        padding: 10px 12px;
        min-height: 40px;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #1f1f1f;
        justify-content: center;
    }

    .shape-toggle > :last-child span {
        border-bottom: 0;
    }

    .lookup-row {
        width: 100%;
        min-width: 0;
    }

    .lookup-row input[type="text"] {
        min-width: 0;
    }

    .lookup-row button {
        width: 100%;
    }

    .controls-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .timeline-wrap {
        width: 100%;
    }

    .year-ticks {
        width: 100%;
        margin-left: 0;
    }

    .insights-row {
        margin-left: 0;
        grid-template-columns: 1fr;
    }

    .insight-card,
    .chart-card--main {
        min-height: 250px;
    }

    .insight-change__value {
        margin-top: 8px;
        font-size: 48px;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subscribe-box-inner {
        flex-wrap: wrap;
    }

    .subscribe-box-text {
        font-size: 18px;
    }

    .subscribe-box-form {
        width: 100%;
        justify-content: flex-end;
    }

    .subscribe-box-form input[type="email"] {
        width: min(100%, 280px);
    }

    .news-card--feature {
        grid-column: span 2;
    }

    .news-link {
        font-size: 22px;
    }

    .news-card--lead .news-link {
        font-size: 34px;
    }

    .news-card--feature .news-link {
        font-size: 44px;
    }

    .news-subtitle {
        font-size: 19px;
    }

    .hint {
        font-size: 16px!important;
        --hint-extra-offset: 0px;
    }
}

@media (max-width: 640px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .heatmap-header {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        border-top-width: 8px;
    }

    .heatmap-header__inner {
        padding: 12px;
    }

    .heatmap-header__logo {
        width: 171px;
        height: auto;
    }

    .heatmap-header__nav {
        display: none;
    }

    .heatmap-header__menu {
        width: 27px;
        height: 26px;
    }

    .heatmap-header__menu span {
        height: 3px;
    }

    .heatmap-header__menu span:nth-child(1) {
        top: 0;
    }

    .heatmap-header__menu span:nth-child(2) {
        top: 10px;
    }

    .heatmap-header__menu span:nth-child(3) {
        top: 20px;
    }

    .heatmap-header__menu.is-open span:nth-child(1),
    .heatmap-header__menu.is-open span:nth-child(3) {
        top: 10px;
    }

    .heatmap-menu__panel {
        width: 100%;
        padding: 74px 20px 20px;
    }

    .heatmap-menu__topics a {
        font-size: 12px;
    }

    .heatmap-menu__topics::after {
        height: 12px;
    }

    body {
        background: #fff;
    }

    .hero {
        margin-top: 0;
    }

    .simple-page {
        margin-top: 0;
        min-height: 100vh;
    }

    .container {
        max-width: 100%;
        padding: 12px;
        box-sizing: border-box;
    }

    .hero-text {
        padding: 16px 18px;
    }

    .simple-page {
        padding: 18px 12px;
    }

    .simple-page__inner {
        padding: 18px;
    }

    .simple-page__inner h1 {
        font-size: 28px;
    }

    .simple-page__inner p {
        font-size: 16px;
    }

    .hero-headline {
        font-size: 26px;
        line-height: 32px;
    }

    .hero-subhed {
        font-size: 18px;
        line-height: 24px;
    }

    .dataset-switch {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        text-align: center;
        font-size: 15px;
    }

    .dataset-toggle-input {
        width: 54px;
    }

    .dataset-switch label {
        font-size: 15px;
        white-space: nowrap;
    }

    .dataset-toggle-input:checked::after {
        transform: translateX(23px);
    }

    .shape-toggle {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .shape-mode-select {
        display: block;
    }

    .shape-toggle label {
        display: none;
        font-size: 13px;
    }

    .shape-toggle .shape-toggle__action {
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.02em;
    }

    .shape-toggle .shape-toggle__action span {
        padding: 9px 8px;
        min-height: 36px;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid #1f1f1f;
        justify-content: center;
    }

    .lookup-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .lookup-row button {
        width: 100%;
    }

    .lookup-row input[type="text"] {
        height: 84px;
        line-height: 84px;
    }

    .lookup-row button {
        height: 34px;
        line-height: 34px;
    }

    .map-controls {
        width: 100%;
        align-items: stretch;
        box-sizing: border-box;
    }

    .map-shell {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .map-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #map {
        height: min(calc(56vh - 106px), 500px) !important;
    }

    .timeline-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .timeline-right {
        width: 100%;
        justify-content: flex-end;
    }

    .map-width {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .insight-card__head {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .insight-card__head select {
        width: 100%;
    }

    .utility-breakdown__row {
        grid-template-columns: 88px 1fr auto;
    }

    .shape-toggle,
    #map {
        max-width: 100%;
        box-sizing: border-box;
    }

    .map-legend {
        top: 66px;
        right: 8px;
        padding: 6px 8px;
        gap: 6px;
    }

    .map-legend__bar,
    .map-legend__ticks {
        height: 140px;
    }

    .map-legend__ticks {
        font-size: 11px;
    }

    .map-legend__scale {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .panel-actions--map {
        right: 8px;
        display: grid;
        grid-template-columns: 24px 24px;
        justify-content: end;
        justify-items: end;
        align-items: center;
        gap: 5px 4px;
    }

    .panel-actions--map .panel-actions__btn {
        grid-row: 1;
    }

    .panel-actions--map .panel-actions__shade-toggle {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: end;
        margin-right: 0;
        height: 22px;
        padding: 0 6px;
        font-size: 5px;
        gap: 4px;
    }

    .map-legend__scale label {
        font-size: 10px;
    }

    .hint,
    .year-ticks,
    .slider-row {
        width: 100%;
    }

    #monthSlider {
        --timeline-thumb-size: 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .subscribe-box {
        margin-left: 0;
        margin-right: 0;
    }

    .subscribe-box-content {
        padding: 10px;
    }

    .subscribe-box-inner {
        padding: 10px;
        gap: 10px;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
    }

    .subscribe-box-logo {
        width: 144px;
        height: 38px;
        margin: 0 auto;
        background-position: center;
    }

    .subscribe-box-text {
        width: 100%;
        min-width: 0;
        font-size: 18px;
        text-align: center;
    }

    .subscribe-box-form {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .subscribe-box-email-wrap {
        width: 100%;
        align-items: center;
    }

    .subscribe-box-form input[type="email"] {
        width: 100%;
    }

    .subscribe-box-privacy {
        text-align: center;
    }

    .subscribe-box-form .button {
        width: 100%;
        font-size: 16px;
    }

    .news-section {
        margin-left: 0;
    }

    .news-section.map-width {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .news-card--feature {
        grid-column: span 1;
    }

    .news-link {
        font-size: 28px;
    }

    .news-card--lead .news-link,
    .news-card--feature .news-link {
        font-size: 32px;
        line-height: 1.08;
    }

    .news-subtitle {
        font-size: 18px;
    }
}

.year-ticks {
    grid-area: ticks;
    position: relative;
    height: 22px;
    display: block;
    width: calc(100% - 44px);
    margin-left: 0;
    margin-right: auto;
    user-select: none;
}

.year-ticks button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: #444;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
}

.year-ticks button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 18px;
    width: 1px;
    height: 6px;
    background: #bdbdbd;
    transform: translateX(-50%);
}

.year-ticks button:hover,
.year-ticks button:focus-visible {
    color: #111;
    outline: none;
}

.hint {
    width: calc(100% - 44px);
    margin: 4px auto 14px 0;
    padding-left: calc(var(--hint-indent, 0px) + var(--hint-extra-offset, 12px));
    text-align: left;
    font-size: 16px;
    color: #666;
}

.hint--flash {
    animation: hint-flash 0.32s ease-in-out 3;
}

@keyframes hint-flash {
    0% {
        color: #666;
    }
    50% {
        color: #111;
    }
    100% {
        color: #666;
    }
}

.site-footer {
    margin-top: 48px;
}

.site-footer__top {
    background: #152c28;
    color: #fff;
}

.site-footer__top-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 44px 32px 50px;
}

.site-footer__project {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer__eyebrow {
    margin: 0;
    font-family: "ABC Diatype", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.site-footer__eyebrow--secondary {
    margin-top: 18px;
}

.site-footer__project-logo {
    width: min(100%, 309px);
    height: auto;
    margin-top: 14px;
}

.site-footer__partner-logo {
    width: min(100%, 98px);
    height: auto;
    margin-top: 8px;
}

.site-footer__divider {
    height: 1px;
    margin: 40px 0 22px;
    background: rgba(255, 255, 255, 0.72);
}

.site-footer__card-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
}

.site-footer__card h3 {
    margin: 0 0 14px;
    font-family: "ABC Diatype", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: 0.01em;
}

.site-footer__card p {
    margin: 0;
    font-family: "ABC Diatype", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.96);
}

.site-footer__card a {
    color: #fff;
    text-underline-offset: 2px;
}

.site-footer__bottom {
    background: #0e5d9a;
}

.site-footer__bottom-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 36px 32px 44px;
}

.site-footer__brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer__logo-link {
    display: inline-flex;
}

.site-footer__logo {
    width: 236px;
    height: auto;
}

.site-footer__social {
    display: inline-flex;
    align-items: center;
}

.site-footer__social .sm-mb-2,
.site-footer__social .social-links {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.site-footer__social .social-links__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
}

.site-footer__social .fa {
    font-size: 30px;
    line-height: 1;
}

.site-footer__links {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 40px;
}

.site-footer__links-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.site-footer__links-col a {
    color: #fff;
    text-decoration: none;
    font-family: "ABC Diatype", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.12;
}

.site-footer__links-col a:hover,
.site-footer__links-col a:focus-visible,
.site-footer__social .social-links__link:hover,
.site-footer__social .social-links__link:focus-visible {
    opacity: 0.8;
    outline: none;
}

.site-footer__copyright {
    margin-top: 28px;
    color: #fff;
    font-family: "ABC Diatype", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.site-footer__copyright p {
    margin: 0 0 4px;
}

@media (max-width: 960px) {
    .site-footer__top-inner {
        padding: 32px 20px 34px;
    }

    .site-footer__project-logo {
        margin-top: 14px;
    }

    .site-footer__divider {
        margin: 28px 0 20px;
    }

    .site-footer__card-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer__bottom-inner {
        padding: 28px 20px 34px;
    }

    .site-footer__brand-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__links {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .site-footer__links-col {
        gap: 12px;
    }
}

@font-face {
    font-family: "ABC Diatype";
    src: url("/static/fonts/ABCDiatype-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ABC Diatype";
    src: url("/static/fonts/ABCDiatype-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ABC Diatype";
    src: url("/static/fonts/ABCDiatype-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Stanley";
    src: url("/static/fonts/Stanley-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
