/* Horizon: restrained reading-first treatment over Material for MkDocs. */
@font-face {
  font-display: swap;
  font-family: "Horizon Serif";
  font-style: normal;
  font-weight: 400;
  src: url("../assets/fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Horizon Serif";
  font-style: italic;
  font-weight: 400;
  src: url("../assets/fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Horizon Serif";
  font-style: normal;
  font-weight: 600;
  src: url("../assets/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
}

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

@font-face {
  font-display: swap;
  font-family: "Horizon Sans";
  font-style: normal;
  font-weight: 600 800;
  src: url("../assets/fonts/manrope-latin-600-normal.woff2") format("woff2");
}

:root {
  --horizon-serif: "Horizon Serif", Georgia, Cambria, "Times New Roman", serif;
  --horizon-sans: "Horizon Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-md-color-scheme="horizon"] {
  --md-primary-fg-color: #263d40;
  --md-primary-fg-color--light: #3e5a5d;
  --md-primary-fg-color--dark: #17292b;
  --md-accent-fg-color: #a95f3d;
  --md-default-bg-color: #f4ede1;
  --md-default-bg-color--light: #faf5ec;
  --md-default-bg-color--lighter: #fffaf1;
  --md-default-bg-color--lightest: #fffdf8;
  --md-default-fg-color: #263238;
  --md-default-fg-color--light: #607078;
  --md-default-fg-color--lighter: #819097;
  --md-typeset-a-color: #9b5537;
  --horizon-paper: #fffaf1;
  --horizon-rule: #e3dbcf;
  --horizon-table-head: #ece5d9;
  --horizon-callout: #f0eee7;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #18292b;
  --md-primary-fg-color--light: #29494d;
  --md-primary-fg-color--dark: #111d1f;
  --md-accent-fg-color: #d69a77;
  --md-default-bg-color: #121817;
  --md-default-bg-color--light: #181f1d;
  --md-default-bg-color--lighter: #202927;
  --md-default-bg-color--lightest: #293330;
  --md-default-fg-color: #ded8cd;
  --md-default-fg-color--light: #c4c0b6;
  --md-default-fg-color--lighter: #949b94;
  --md-typeset-a-color: #dda37d;
  --horizon-paper: #181f1d;
  --horizon-rule: #35403c;
  --horizon-table-head: #26312e;
  --horizon-callout: #1d2623;
}

.md-header,
.md-tabs {
  box-shadow: none;
}

.md-main {
  background: var(--md-default-bg-color);
}

.md-content {
  font-family: var(--horizon-serif);
  font-size: 1rem;
  line-height: 1.86;
}

.md-content__inner {
  margin-bottom: 3rem;
}

.md-typeset {
  color: var(--md-default-fg-color);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-nav,
.md-search,
.md-header,
.md-footer,
.md-tabs,
.md-typeset .md-button {
  font-family: var(--horizon-sans);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--md-default-fg-color);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.md-typeset h1 {
  font-size: 2.35rem;
  line-height: 1.15;
  margin: 0 0 1.5rem;
}

.md-typeset h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  margin-top: 2.8rem;
  padding-top: 0.25rem;
}

.md-typeset h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-top: 2rem;
}

.md-typeset p,
.md-typeset li {
  max-width: 46rem;
}

.md-typeset hr {
  border-bottom-color: var(--horizon-rule);
  margin: 2.6rem 0;
}

.md-typeset a {
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.16em;
}

.md-typeset .md-button {
  border-radius: 0.25rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
}

.horizon-hero {
  background: var(--horizon-paper);
  border: 1px solid var(--horizon-rule);
  border-radius: 0.5rem;
  box-shadow: 0 0.4rem 1.6rem rgba(41, 47, 42, 0.045);
  margin: 1rem 0 3rem;
  padding: clamp(2.3rem, 7vw, 5rem) clamp(1.5rem, 7vw, 5.8rem);
}

.horizon-hero h1 {
  color: var(--md-primary-fg-color);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  letter-spacing: -0.055em;
  margin: 0;
}

.horizon-hero h2 {
  border: 0;
  color: var(--md-accent-fg-color);
  font-size: 1rem;
  letter-spacing: 0.17em;
  margin: 0.35rem 0 2rem;
  padding: 0;
  text-transform: uppercase;
}

.horizon-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 39rem;
}

.horizon-kicker {
  color: var(--md-accent-fg-color);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.md-typeset .admonition,
.md-typeset details {
  background: var(--horizon-callout);
  border: 1px solid var(--horizon-rule);
  border-radius: 0.35rem;
  box-shadow: none;
  font-size: 0.88rem;
}

.md-typeset .admonition-title,
.md-typeset summary {
  background: transparent;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.md-typeset .admonition.info,
.md-typeset details.info { --horizon-callout-icon: var(--h-icon-fact); }

.md-typeset .admonition.abstract,
.md-typeset details.abstract { --horizon-callout-icon: var(--h-icon-hypothesis); }

.md-typeset .admonition.warning,
.md-typeset details.warning { --horizon-callout-icon: var(--h-icon-limit); }

.md-typeset .admonition.quote,
.md-typeset details.quote { --horizon-callout-icon: var(--h-icon-analysis); }

.md-typeset .admonition.info > .admonition-title::before,
.md-typeset .admonition.abstract > .admonition-title::before,
.md-typeset .admonition.warning > .admonition-title::before,
.md-typeset .admonition.quote > .admonition-title::before,
.md-typeset details.info > summary::before,
.md-typeset details.abstract > summary::before,
.md-typeset details.warning > summary::before,
.md-typeset details.quote > summary::before {
  -webkit-mask-image: var(--horizon-callout-icon);
  mask-image: var(--horizon-callout-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.md-typeset__table {
  border: 0;
  border-radius: 0;
  margin: 1.7rem 0 0.4rem;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.42rem;
  scrollbar-color: color-mix(in srgb, var(--md-default-fg-color--lighter) 32%, transparent) transparent;
  scrollbar-width: thin;
}

.md-typeset__table::-webkit-scrollbar {
  height: 0.27rem;
}

.md-typeset__table::-webkit-scrollbar-track {
  background: transparent;
}

.md-typeset__table::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--md-default-fg-color--lighter) 34%, transparent);
  border: 0.05rem solid var(--md-default-bg-color);
  border-radius: 999px;
}

.md-typeset table:not([class]) {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  display: table;
  font-family: var(--horizon-sans);
  font-size: 0.75rem;
  line-height: 1.45;
  margin: 0;
  min-width: 34rem;
  width: 100%;
}

.md-typeset table:not([class]) th {
  background: transparent;
  border-top: 1px solid var(--horizon-rule);
  color: var(--md-default-fg-color);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
  border-bottom: 1px solid color-mix(in srgb, var(--horizon-rule) 80%, transparent);
  padding: 0.62rem 0.68rem;
}

.md-typeset table:not([class]) td:first-child,
.md-typeset table:not([class]) th:first-child {
  white-space: nowrap;
}

.md-typeset table:not([class]) tr:last-child td {
  border-bottom: 0;
}

.md-typeset table:not([class]) tr:hover {
  background: color-mix(in srgb, var(--md-primary-fg-color) 3%, transparent);
}

.table-note {
  color: var(--md-default-fg-color--light);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.73rem;
  line-height: 1.45;
  margin-top: 0.5rem;
}

@media screen and (min-width: 76.25em) {
  .md-grid {
    max-width: 76rem;
  }

  .md-content__inner {
    margin-left: auto;
    margin-right: auto;
    max-width: 47rem;
  }
}

@media screen and (max-width: 44.9375em) {
  .md-content {
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .md-typeset h1 {
    font-size: 2rem;
  }

  .horizon-hero {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin-left: -0.8rem;
    margin-right: -0.8rem;
  }
}

/* Homepage: a small editorial portal layered on top of the reading system. */
[data-md-color-scheme="horizon"] .horizon-home {
  --home-ink: #102c25;
  --home-muted: #5e6c62;
  --home-paper: #f4ede1;
  --home-paper-strong: #fffaf1;
  --home-deep: #062a22;
  --home-line: #e7ddd0;
  --home-gold: #b89147;
  --home-copper: #c66d42;
  --home-cta: #9b4229;
  --home-cta-hover: #7d321e;
  --home-card-text: #fbf7ef;
}

[data-md-color-scheme="slate"] .horizon-home {
  --home-ink: #f0eadf;
  --home-muted: #b9c1ba;
  --home-paper: #18211f;
  --home-paper-strong: #1f2a27;
  --home-deep: #071c18;
  --home-line: #384843;
  --home-gold: #e0bd74;
  --home-copper: #e0946d;
  --home-cta: #a6492d;
  --home-cta-hover: #843821;
  --home-card-text: #fffaf1;
}

html {
  scroll-behavior: smooth;
}

body.horizon-home-page .md-header,
body.horizon-home-page .md-sidebar--primary,
body.horizon-home-page .md-sidebar--secondary {
  display: none;
}

body.horizon-home-page .md-main,
body.horizon-home-page .md-main__inner,
body.horizon-home-page .md-content,
body.horizon-home-page .md-content__inner {
  display: block;
  margin: 0;
  max-width: none;
  padding: 0;
}

body.horizon-home-page .md-main__inner {
  min-height: 0;
}

.horizon-home {
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow: clip;
  --home-nav-height: 5.1rem;
}

.horizon-home a {
  color: inherit;
  text-decoration: none;
}

.horizon-home-nav {
  align-items: center;
  background: var(--home-deep);
  box-sizing: border-box;
  color: #f9f3e8;
  display: flex;
  gap: 2.2rem;
  height: var(--home-nav-height);
  justify-content: space-between;
  padding: 0 clamp(1.15rem, 5vw, 4.5rem);
  position: relative;
  z-index: 5;
}

.horizon-brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.horizon-brand__mark {
  box-sizing: border-box;
  display: block;
  height: 2.55rem;
  width: 2.55rem;
}

.horizon-brand__mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.horizon-brand__words {
  display: grid;
  line-height: 1;
}

.horizon-brand__words strong,
.horizon-brand__words small {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-weight: 500;
}

.horizon-brand__words strong {
  font-size: 1.4rem;
  letter-spacing: -0.035em;
}

.horizon-brand__words small {
  color: color-mix(in srgb, var(--home-gold) 88%, white);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  margin-top: 0.18rem;
}

.horizon-home-nav__links {
  align-items: center;
  display: flex;
  gap: clamp(1.2rem, 3vw, 3.4rem);
  justify-content: center;
  margin-left: auto;
}

.horizon-home-nav__links a,
.horizon-home-nav__actions button,
.horizon-mobile-menu summary {
  color: inherit;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 0.9rem;
}

.horizon-home-nav__links a {
  opacity: 0.92;
  transition: color 160ms ease, opacity 160ms ease;
  white-space: nowrap;
}

.horizon-home-nav__links a:hover,
.horizon-home-nav__links a:focus-visible {
  color: var(--home-gold);
  opacity: 1;
}

.horizon-home-nav__actions {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  flex: 0 0 auto;
}

.horizon-home-nav__radar {
  align-items: center;
  color: inherit;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.horizon-home-nav__radar > .h-icon {
  color: var(--home-gold);
  font-size: 1.32rem;
}

.horizon-home-nav__radar:hover,
.horizon-home-nav__radar:focus-visible {
  color: var(--home-gold);
  outline: none;
}

.horizon-home-nav__radar:focus-visible > .h-icon {
  border-radius: 50%;
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--home-gold) 32%, transparent);
}

.horizon-theme-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(248, 242, 231, 0.2);
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.18rem !important;
  height: 2rem;
  justify-content: flex-end;
  padding: 0 0 0 0.9rem;
  width: 2.3rem;
}

.horizon-theme-toggle:hover,
.horizon-theme-toggle:focus-visible {
  color: var(--home-gold);
}

.horizon-mobile-menu {
  display: none;
}

.horizon-home-hero {
  align-items: stretch;
  background: var(--home-paper);
  box-sizing: border-box;
  display: flex;
  isolation: isolate;
  min-height: clamp(35rem, 74vh, 48rem);
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.15rem, 7vw, 7rem);
  position: relative;
}

.horizon-home-hero::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--home-paper) 99%, transparent) 0%, color-mix(in srgb, var(--home-paper) 96%, transparent) 33%, color-mix(in srgb, var(--home-paper) 23%, transparent) 67%, color-mix(in srgb, var(--home-paper) 2%, transparent) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.horizon-home-hero__art {
  background:
    radial-gradient(circle at 74% 26%, rgba(255, 248, 210, 0.92) 0 1.2%, transparent 4.7%),
    radial-gradient(circle at 75% 22%, rgba(250, 184, 95, 0.35), transparent 14%),
    linear-gradient(156deg, #f6e3c6 0%, #e5bd8a 42%, #a27d5f 69%, #32504b 100%);
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.horizon-home-hero__art::before {
  background: repeating-linear-gradient(166deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 7px);
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.65;
  position: absolute;
}

.horizon-sun {
  background: #fff9d9;
  border-radius: 50%;
  box-shadow: 0 0 1rem 0.2rem rgba(255, 247, 195, 0.75), 0 0 5rem 1.5rem rgba(245, 161, 79, 0.35);
  height: clamp(1.4rem, 2.8vw, 2.4rem);
  left: 74%;
  position: absolute;
  top: 23%;
  width: clamp(1.4rem, 2.8vw, 2.4rem);
}

.horizon-mountain {
  bottom: -3%;
  display: block;
  filter: saturate(0.82);
  left: -5%;
  position: absolute;
  transform-origin: bottom;
  width: 112%;
}

.horizon-mountain--far {
  background: linear-gradient(167deg, #b5a08e, #667877 75%);
  clip-path: polygon(0 75%, 7% 67%, 13% 69%, 19% 54%, 24% 66%, 31% 44%, 37% 63%, 43% 51%, 49% 70%, 56% 43%, 61% 62%, 69% 31%, 75% 59%, 82% 38%, 89% 54%, 96% 37%, 100% 52%, 100% 100%, 0 100%);
  height: 66%;
  opacity: 0.58;
}

.horizon-mountain--middle {
  background: linear-gradient(159deg, #6e7a70 8%, #3f5d56 74%);
  clip-path: polygon(0 74%, 9% 61%, 17% 65%, 27% 47%, 36% 63%, 44% 41%, 52% 56%, 61% 31%, 69% 52%, 76% 23%, 84% 54%, 91% 35%, 100% 49%, 100% 100%, 0 100%);
  height: 57%;
  opacity: 0.87;
}

.horizon-mountain--near {
  background: linear-gradient(155deg, #43554e 0%, #183d36 68%);
  clip-path: polygon(0 72%, 8% 51%, 17% 66%, 25% 42%, 34% 59%, 42% 28%, 51% 54%, 59% 38%, 68% 55%, 78% 24%, 87% 48%, 94% 23%, 100% 33%, 100% 100%, 0 100%);
  height: 49%;
}

.horizon-home-hero__copy {
  align-self: center;
  max-width: 44rem;
  position: relative;
  z-index: 3;
}

.horizon-eyebrow {
  color: var(--home-copper);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.horizon-home-hero h1,
.horizon-home h2 {
  color: var(--home-ink);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.horizon-home-hero h1 {
  font-size: clamp(3.7rem, 8.6vw, 8rem);
  line-height: 0.93;
  margin: 0;
}

.horizon-home-hero__baseline {
  border-top: 2px solid var(--home-copper);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-style: italic;
  line-height: 1.55;
  margin: 2rem 0 1rem;
  max-width: 39rem;
  padding-top: 1.25rem;
}

.horizon-home-hero__intro {
  color: var(--home-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0;
  max-width: 35rem;
}

.horizon-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.horizon-hero-search {
  align-items: stretch;
  display: flex;
  flex: 1 1 22rem;
  max-width: 34rem;
  min-width: min(100%, 16rem);
  position: relative;
}

.horizon-hero-search[hidden] { display: none; }

.horizon-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.horizon-hero-search input {
  appearance: none;
  background: color-mix(in srgb, var(--home-paper-strong) 91%, white);
  border: 1px solid color-mix(in srgb, var(--home-copper) 68%, var(--home-ink));
  border-right: 0;
  border-radius: 0;
  color: var(--home-ink);
  font: inherit;
  font-size: 0.78rem;
  min-width: 0;
  outline: none;
  padding: 0.76rem 0.8rem;
  width: 100%;
}

.horizon-hero-search input::placeholder { color: color-mix(in srgb, var(--home-muted) 86%, transparent); }

.horizon-hero-search input:focus { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--home-copper) 52%, transparent); }

.horizon-hero-search button {
  background: color-mix(in srgb, var(--home-deep) 91%, var(--home-ink));
  border: 1px solid color-mix(in srgb, var(--home-copper) 68%, var(--home-ink));
  color: #fffaf0;
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  line-height: 1;
  padding: 0 0.68rem;
}

.horizon-hero-search button + button { border-left: 0; color: color-mix(in srgb, #fffaf0 78%, var(--home-copper)); }

.horizon-hero-search button:hover,
.horizon-hero-search button:focus-visible {
  background: var(--home-cta-hover);
  outline: none;
}

.horizon-hero-search__results {
  background: color-mix(in srgb, var(--home-paper-strong) 96%, var(--home-deep));
  border: 1px solid color-mix(in srgb, var(--home-copper) 52%, var(--home-ink));
  box-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.2);
  display: grid;
  left: 0;
  max-height: 16rem;
  overflow: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 7;
}

.horizon-hero-search__results[hidden] { display: none; }

.horizon-hero-search__results a {
  border-bottom: 1px solid color-mix(in srgb, var(--home-line) 88%, transparent);
  color: var(--home-ink);
  display: grid;
  gap: 0.16rem;
  padding: 0.66rem 0.76rem;
  text-decoration: none;
}

.horizon-hero-search__results a:last-child { border-bottom: 0; }

.horizon-hero-search__results a:hover,
.horizon-hero-search__results a:focus-visible {
  background: color-mix(in srgb, var(--home-paper) 68%, var(--home-copper));
  outline: none;
}

.horizon-hero-search__results strong {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 0.94rem;
  font-weight: 500;
}

.horizon-hero-search__results small,
.horizon-hero-search__empty {
  color: var(--home-muted);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.horizon-hero-search__empty { padding: 0.76rem; }

.horizon-cta {
  appearance: none;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--home-ink) 44%, transparent);
  color: var(--home-ink);
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.76rem 1rem;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.horizon-cta:hover,
.horizon-cta:focus-visible {
  border-color: var(--home-copper);
  color: var(--home-copper);
}

.horizon-cta--primary {
  background: var(--home-cta);
  border-color: var(--home-cta);
  color: #fffaf0;
}

.horizon-cta--primary:hover,
.horizon-cta--primary:focus-visible {
  background: var(--home-cta-hover);
  border-color: var(--home-cta-hover);
  color: #fffaf0;
}

/* The generic home link rule is more specific than a bare button class. */
.horizon-home .horizon-cta {
  color: var(--home-ink);
}

.horizon-home .horizon-cta--primary,
.horizon-home .horizon-cta--primary:hover,
.horizon-home .horizon-cta--primary:focus-visible {
  color: #fffdf8;
}

.horizon-scroll-cue {
  align-items: center;
  background: color-mix(in srgb, var(--home-deep) 91%, transparent);
  bottom: 1.5rem;
  display: flex;
  height: 2.4rem;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: background 160ms ease, transform 160ms ease;
  width: 2.4rem;
  z-index: 3;
}

.horizon-scroll-cue:hover,
.horizon-scroll-cue:focus-visible {
  background: var(--home-copper);
  transform: translate(-50%, 0.2rem);
}

.horizon-scroll-cue span {
  border-bottom: 1px solid #fffaf0;
  border-right: 1px solid #fffaf0;
  display: block;
  height: 0.45rem;
  transform: rotate(45deg) translate(-0.1rem, -0.1rem);
  width: 0.45rem;
}

.horizon-home-section,
.horizon-home .horizon-home-section:target {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 84rem;
  padding: clamp(3.7rem, 7vw, 6.8rem) clamp(1.15rem, 5vw, 4.5rem);
  scroll-margin-top: 0 !important;
}

.horizon-section-heading {
  max-width: 38rem;
}

.horizon-home h2 {
  font-size: clamp(2.15rem, 4.4vw, 4.15rem);
  line-height: 1;
  margin: 0;
}

.horizon-section-heading > p:last-child {
  color: var(--home-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 1rem 0 0;
}

.horizon-sector-rail {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.2rem;
}

.horizon-sector-card {
  background: #40564e;
  color: var(--home-card-text) !important;
  display: block;
  min-height: clamp(17rem, 30vw, 24rem);
  overflow: hidden;
  position: relative;
}

.horizon-sector-card::after {
  background: linear-gradient(0deg, rgba(4, 20, 17, 0.97) 0%, rgba(4, 20, 17, 0.73) 28%, rgba(4, 20, 17, 0) 63%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.horizon-sector-card__image {
  inset: 0;
  position: absolute;
  transform: scale(1.001);
  transition: transform 380ms ease;
}

.horizon-sector-card:hover .horizon-sector-card__image,
.horizon-sector-card:focus-visible .horizon-sector-card__image {
  transform: scale(1.055);
}

.horizon-sector-card--mines .horizon-sector-card__image {
  background:
    linear-gradient(127deg, transparent 0 37%, rgba(255, 218, 160, 0.35) 37.3% 39%, transparent 39.3% 100%),
    repeating-linear-gradient(165deg, rgba(255, 239, 188, 0.2) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, #343d3a 0%, #a8552d 38%, #d79b54 48%, #3e4c47 69%, #162d2a 100%);
}

.horizon-sector-card--energy .horizon-sector-card__image {
  background:
    linear-gradient(145deg, transparent 0 48%, rgba(255, 243, 200, 0.28) 48.5% 49.3%, transparent 50% 100%),
    repeating-linear-gradient(9deg, rgba(29, 75, 75, 0.35) 0 1px, transparent 1px 18px),
    linear-gradient(150deg, #f3d39d 0%, #d99b58 31%, #536c64 65%, #193936 100%);
}

.horizon-sector-card--defense .horizon-sector-card__image {
  background:
    repeating-radial-gradient(circle at 64% 46%, transparent 0 1.6rem, rgba(208, 176, 107, 0.34) 1.65rem 1.72rem, transparent 1.77rem 3.3rem),
    linear-gradient(122deg, transparent 47%, rgba(214, 183, 108, 0.4) 47.4% 47.8%, transparent 48.2%),
    linear-gradient(145deg, #173847 0%, #0a2634 48%, #344d50 100%);
}

.horizon-sector-card--autonomy .horizon-sector-card__image {
  background:
    radial-gradient(circle at 30% 28%, rgba(229, 210, 168, 0.78) 0 0.24rem, transparent 0.28rem),
    radial-gradient(circle at 68% 44%, rgba(229, 210, 168, 0.7) 0 0.24rem, transparent 0.28rem),
    repeating-linear-gradient(27deg, transparent 0 1.65rem, rgba(226, 208, 168, 0.2) 1.7rem 1.75rem, transparent 1.8rem 3.5rem),
    linear-gradient(145deg, #77706a 0%, #373d3c 52%, #172a29 100%);
}

.horizon-sector-card__content {
  bottom: 0;
  box-sizing: border-box;
  display: grid;
  gap: 0.45rem;
  left: 0;
  padding: 1.2rem;
  position: absolute;
  right: 0;
  z-index: 2;
}

.horizon-sector-card__content::after {
  background: var(--home-copper);
  content: "";
  height: 2px;
  margin-top: 0.35rem;
  width: 1.65rem;
}

.horizon-sector-card__content small,
.horizon-method-card small {
  color: color-mix(in srgb, var(--home-card-text) 70%, transparent);
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.horizon-sector-card__content strong {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.horizon-sector-card__content em {
  font-size: 0.7rem;
  font-style: normal;
  opacity: 0;
  position: absolute;
  transform: translateY(0.5rem);
  transition: opacity 200ms ease, transform 200ms ease;
}

.horizon-sector-card:hover .horizon-sector-card__content em,
.horizon-sector-card:focus-visible .horizon-sector-card__content em {
  opacity: 0.88;
  transform: translateY(-1.8rem);
}

.horizon-home-section--radar {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 1fr);
  padding-top: 0;
}

.horizon-radar-card,
.horizon-method-card {
  background: var(--home-paper-strong);
  border: 1px solid var(--home-line);
  box-sizing: border-box;
}

.horizon-radar-card {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.horizon-radar-card .horizon-section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
}

.horizon-radar-list {
  border-top: 1px solid var(--home-line);
  list-style: none;
  margin: 1.7rem 0 1.35rem;
  padding: 0;
}

.horizon-radar-list li {
  align-items: center;
  border-bottom: 1px solid var(--home-line);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1.7rem minmax(0, 1fr) auto;
  min-height: 3.8rem;
}

.horizon-radar-list a {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.06rem;
}

.horizon-radar-list a:hover,
.horizon-radar-list a:focus-visible,
.horizon-text-link:hover,
.horizon-text-link:focus-visible {
  color: var(--home-copper);
}

.horizon-radar-list small {
  color: var(--home-muted);
  font-size: 0.69rem;
  white-space: nowrap;
}

.horizon-status {
  border-radius: 50%;
  height: 1.25rem;
  position: relative;
  width: 1.25rem;
}

.horizon-status::after {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  content: "";
  inset: 0.31rem;
  position: absolute;
}

.horizon-status--published { background: #0d4a3d; }
.horizon-status--analysis { background: #b88d37; }
.horizon-status--watch { background: #bf6739; }
.horizon-status--radar { background: #728071; }

.horizon-text-link {
  color: var(--home-ink) !important;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.025em;
}

.horizon-text-link span {
  color: var(--home-copper);
  font-size: 1rem;
  margin-left: 0.35rem;
}

.horizon-method-card {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 100%;
  padding: clamp(1.5rem, 3.3vw, 2.4rem);
  transition: border-color 160ms ease, transform 160ms ease;
}

.horizon-method-card:hover,
.horizon-method-card:focus-visible {
  border-color: var(--home-gold);
  transform: translateY(-0.2rem);
}

.horizon-method-card__icon {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--home-deep) 55%, transparent);
  border-radius: 50%;
  color: var(--home-copper);
  display: inline-flex;
  font-family: Georgia, Cambria, serif;
  font-size: 2rem;
  height: 3.3rem;
  justify-content: center;
  width: 3.3rem;
}

.horizon-method-card > span:nth-child(2) {
  display: grid;
  gap: 0.45rem;
}

.horizon-method-card small {
  color: var(--home-copper);
}

.horizon-method-card strong {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.horizon-method-card em {
  color: var(--home-muted);
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.55;
}

.horizon-method-card b {
  color: var(--home-copper);
  font-size: 1.35rem;
  font-weight: 400;
}

.horizon-home-section--principles {
  align-items: start;
  border-top: 1px solid var(--home-line);
  display: grid;
  gap: clamp(1.5rem, 8vw, 10rem);
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.68fr);
}

.horizon-home-section--principles h2 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  max-width: 38rem;
}

.horizon-home-section--principles > p {
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 1.7rem 0 0;
}

.horizon-home-section--principles code {
  background: color-mix(in srgb, var(--home-gold) 16%, transparent);
  color: var(--home-ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8em;
  padding: 0.15em 0.32em;
}

.horizon-home-trending {
  border-top: 1px solid var(--home-line);
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 84rem;
  padding: clamp(2.3rem, 5vw, 4rem) clamp(1.15rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem);
}

.horizon-home-trending__heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.horizon-home-trending .horizon-eyebrow {
  margin-bottom: 0.6rem;
}

.horizon-home-trending h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
}

.horizon-home-trending__rail {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.horizon-home-trending__card {
  background: color-mix(in srgb, var(--home-paper-strong) 89%, var(--home-deep));
  border: 1px solid var(--home-line);
  box-sizing: border-box;
  display: grid;
  gap: 0.32rem;
  min-height: 7.5rem;
  padding: 1rem;
  transition: border-color 160ms ease, transform 160ms ease;
}

.horizon-home-trending__card:hover,
.horizon-home-trending__card:focus-visible {
  border-color: color-mix(in srgb, var(--home-copper) 72%, var(--home-line));
  outline: none;
  transform: translateY(-0.15rem);
}

.horizon-home-trending__card strong {
  align-self: end;
  color: var(--home-ink);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.horizon-home-trending__card small {
  color: var(--home-muted);
  font-size: 0.65rem;
}

.horizon-home-trending__card em {
  color: var(--home-copper);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
  text-transform: uppercase;
}

.horizon-home-content-status {
  color: var(--home-muted);
  font-size: 0.82rem;
  grid-column: 1 / -1;
  margin: 0;
}

@media screen and (max-width: 69.9375em) {
  .horizon-home-nav__links { gap: 1.5rem; }

  .horizon-sector-card { min-height: 21rem; }

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

@media screen and (max-width: 59.9375em) {
  .horizon-home-hero { min-height: 38rem; }

  .horizon-home-hero::before {
    background: linear-gradient(90deg, color-mix(in srgb, var(--home-paper) 98%, transparent) 0%, color-mix(in srgb, var(--home-paper) 90%, transparent) 47%, color-mix(in srgb, var(--home-paper) 22%, transparent) 100%);
  }

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

  .horizon-sector-card { min-height: 25rem; }

  .horizon-home-section--radar { grid-template-columns: 1fr; }

  .horizon-method-card { min-height: 13rem; }
}

@media screen and (max-width: 43.9375em) {
  .horizon-home { --home-nav-height: 4.25rem; }

  .horizon-home-nav {
    height: var(--home-nav-height);
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .horizon-brand__mark { height: 2.15rem; width: 2.15rem; }
  .horizon-brand__words strong { font-size: 1.2rem; }
  .horizon-brand__words small { display: none; }

  .horizon-home-nav__links { display: none; }

  .horizon-home-trending__heading { align-items: start; flex-direction: column; }

  .horizon-home-trending__rail { grid-template-columns: 1fr; }

  .horizon-theme-toggle {
    border-left: 0;
    padding-left: 0;
    width: 1.8rem;
  }

  .horizon-mobile-menu {
    display: block;
    position: relative;
  }

  .horizon-mobile-menu summary {
    align-content: center;
    cursor: pointer;
    display: grid;
    gap: 0.22rem;
    height: 2rem;
    list-style: none;
    width: 1.8rem;
  }

  .horizon-mobile-menu summary::-webkit-details-marker { display: none; }

  .horizon-mobile-menu summary span {
    background: currentColor;
    display: block;
    height: 1px;
    transition: transform 180ms ease;
    width: 1.35rem;
  }

  .horizon-mobile-menu[open] summary span:first-child { transform: translateY(0.32rem) rotate(45deg); }
  .horizon-mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
  .horizon-mobile-menu[open] summary span:last-child { transform: translateY(-0.32rem) rotate(-45deg); }

  .horizon-mobile-menu nav {
    background: var(--home-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    display: grid;
    min-width: 13rem;
    padding: 0.7rem 1.1rem;
    position: absolute;
    right: -1.15rem;
    top: 2.8rem;
  }

  .horizon-mobile-menu nav a {
    color: #fbf6ec;
    font-family: Georgia, Cambria, serif;
    font-size: 1rem;
    padding: 0.65rem 0;
  }

  .horizon-home-hero {
    min-height: calc(100svh - 4.25rem);
    padding: 3.5rem 1.15rem 4.7rem;
  }

  .horizon-home-hero::before {
    background: linear-gradient(180deg, color-mix(in srgb, var(--home-paper) 94%, transparent) 0%, color-mix(in srgb, var(--home-paper) 72%, transparent) 44%, color-mix(in srgb, var(--home-paper) 13%, transparent) 80%);
  }

  .horizon-home-hero__copy { align-self: flex-start; }

  .horizon-home-hero h1 { font-size: clamp(3.5rem, 20vw, 5.15rem); }

  .horizon-home-hero__baseline {
    font-size: 1rem;
    margin-top: 1.55rem;
    max-width: 20rem;
  }

  .horizon-home-hero__intro { max-width: 22rem; }

  .horizon-home-hero__actions { margin-top: 1.65rem; }

  .horizon-cta { width: 100%; }

  .horizon-hero-search {
    flex-basis: 100%;
    max-width: none;
    width: 100%;
  }

  .horizon-hero-search__results { max-height: 13rem; }

  .horizon-scroll-cue { bottom: 1.2rem; }

  .horizon-home-section { padding: 3.8rem 1.15rem; }

  .horizon-home h2 { font-size: clamp(2.15rem, 11vw, 3.15rem); }

  .horizon-sector-rail {
    display: grid;
    gap: 0.8rem;
    grid-auto-columns: calc(100% - 2.8rem);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-left: -1.15rem;
    margin-right: -1.15rem;
    overflow-x: auto;
    padding: 0 1.15rem 0.4rem;
    scroll-padding-left: 1.15rem;
    scroll-snap-type: x mandatory;
  }

  .horizon-sector-card {
    min-height: 21rem;
    scroll-snap-align: start;
  }

  .horizon-sector-card__content { padding: 1.35rem; }

  .horizon-sector-card__content em { display: none; }

  .horizon-home-section--radar {
    gap: 0.8rem;
    padding-top: 0;
  }

  .horizon-radar-card { padding: 1.45rem; }

  .horizon-radar-list li { grid-template-columns: 1.5rem minmax(0, 1fr) auto; }

  .horizon-radar-list a { font-size: 1rem; }

  .horizon-method-card {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 1.45rem;
  }

  .horizon-method-card b { display: none; }

  .horizon-home-section--principles {
    display: block;
    padding-top: 3.8rem;
  }

  .horizon-home-section--principles > p { margin-top: 1.4rem; }
}

/* Do not let navigation words fracture at intermediate widths or browser zoom. */
@media screen and (max-width: 59.9375em) {
  .horizon-home-nav__links {
    display: none;
  }

  .horizon-mobile-menu {
    display: block;
    position: static;
  }

  .horizon-mobile-menu summary {
    align-content: center;
    cursor: pointer;
    display: grid;
    gap: 0.22rem;
    height: 2rem;
    list-style: none;
    width: 1.8rem;
  }

  .horizon-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .horizon-mobile-menu summary span {
    background: currentColor;
    display: block;
    height: 1px;
    transition: transform 180ms ease;
    width: 1.35rem;
  }

  .horizon-mobile-menu[open] summary span:first-child {
    transform: translateY(0.32rem) rotate(45deg);
  }

  .horizon-mobile-menu[open] summary span:nth-child(2) {
    opacity: 0;
  }

  .horizon-mobile-menu[open] summary span:last-child {
    transform: translateY(-0.32rem) rotate(-45deg);
  }

  .horizon-mobile-menu nav {
    background: var(--home-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
    display: grid;
    left: 0;
    max-height: calc(100svh - var(--home-nav-height));
    min-width: 0;
    overflow-y: auto;
    padding: 0.8rem clamp(1.15rem, 5vw, 3rem) 1.15rem;
    position: fixed;
    right: 0;
    top: var(--home-nav-height);
  }

  .horizon-mobile-menu nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fbf6ec;
    font-family: Georgia, Cambria, serif;
    font-size: 1.08rem;
    padding: 0.85rem 0;
  }

  .horizon-mobile-menu nav a:last-child {
    border-bottom: 0;
  }
}

/* A single navigation system is visible at a time.  This explicit desktop
   reset also covers a menu that was opened just before a resize or zoom. */
@media screen and (min-width: 60em) {
  .horizon-home-nav__links {
    display: flex;
  }

  .horizon-mobile-menu,
  .horizon-mobile-menu[open],
  .horizon-mobile-menu nav {
    display: none !important;
  }
}

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

  .horizon-home *,
  .horizon-home *::before,
  .horizon-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Long-form reader: hierarchy for reasoning before decoration. */
.horizon-article {
  padding-top: 1rem;
}

.horizon-article__source {
  align-items: baseline;
  border-bottom: 1px solid color-mix(in srgb, var(--horizon-rule) 70%, transparent);
  color: var(--md-default-fg-color--lighter);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--horizon-sans);
  font-size: 0.65rem;
  gap: 0.35rem 0.65rem;
  letter-spacing: 0.045em;
  line-height: 1.45;
  margin: 0 0 2.1rem;
  padding: 0 0 0.7rem;
  text-transform: uppercase;
}

.horizon-article__source > span:first-child {
  color: var(--md-accent-fg-color);
  font-weight: 750;
}

.horizon-article__source code {
  background: transparent;
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: inherit;
  letter-spacing: 0.02em;
  padding: 0;
  text-transform: none;
}

.horizon-article__source-path {
  min-width: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.horizon-article__masthead {
  border-bottom: 1px solid var(--horizon-rule);
  margin: 0 0 1.65rem;
  padding: 1.25rem 0 1.05rem;
}

.horizon-article__crumb {
  align-items: center;
  color: var(--md-default-fg-color--light);
  display: flex;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.71rem;
  gap: 0.45rem;
  letter-spacing: 0.02em;
  margin: 0 0 1.8rem;
}

.horizon-article__crumb a {
  color: var(--md-typeset-a-color);
  text-decoration: none;
}

.horizon-article__masthead .horizon-kicker {
  display: block;
  margin-bottom: 0.75rem;
}

.horizon-article__label-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
}

.horizon-article__label-row .horizon-kicker {
  margin: 0;
}

.horizon-build {
  border: 1px solid var(--horizon-rule);
  border-radius: 999px;
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0.22rem 0.48rem;
  text-transform: uppercase;
}

.horizon-article .horizon-article__masthead h1 {
  color: var(--md-default-fg-color);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1;
  margin: 0;
  max-width: 44rem;
}

.horizon-article__lead {
  color: var(--md-default-fg-color--light);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  line-height: 1.55;
  margin: 1.35rem 0 0;
  max-width: 42rem;
}

.horizon-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.3rem;
  margin: 1.8rem 0 0;
}

.horizon-article__meta div {
  display: grid;
  gap: 0.15rem;
}

.horizon-article__meta dt {
  color: var(--md-default-fg-color--lighter);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.horizon-article__meta dd {
  color: var(--md-default-fg-color);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  margin: 0;
}

.horizon-article__brief {
  --horizon-note-accent: var(--md-accent-fg-color);
  background: color-mix(in srgb, var(--md-default-bg-color--lighter) 8%, transparent);
  border: 0;
  box-sizing: border-box;
  margin: 0 0 2.2rem;
  max-width: 45rem;
  padding: 0.12rem 0 0.28rem 1.45rem;
  position: relative;
}

.horizon-article__brief::before,
.md-typeset .horizon-article .admonition::before,
.md-typeset .horizon-article details::before {
  border-left: 2px solid var(--horizon-note-accent, var(--horizon-callout-accent));
  bottom: 0.18rem;
  content: "";
  left: 0;
  position: absolute;
  top: 0.1rem;
}

.horizon-article__brief-label {
  color: var(--md-accent-fg-color);
  align-items: center;
  display: flex;
  font-family: var(--horizon-sans);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.35;
  margin: 0 0 0.38rem;
  text-transform: uppercase;
}

.horizon-article__brief-label::before,
.md-typeset .horizon-article .admonition-title::before,
.md-typeset .horizon-article summary::before {
  display: none;
}

.horizon-article__brief-label::after,
.md-typeset .horizon-article .admonition-title::after,
.md-typeset .horizon-article summary::after {
  display: none;
}

.horizon-article__brief p:last-child {
  color: var(--md-default-fg-color--light);
  font-size: 0.92rem;
  line-height: 1.66;
  margin: 0;
}

.horizon-article .md-typeset h2,
.md-typeset .horizon-article h2 {
  border-top: 1px solid var(--horizon-rule);
  color: var(--md-default-fg-color);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-top: 3.8rem;
  padding-top: 1.15rem;
}

.horizon-article .md-typeset h3,
.md-typeset .horizon-article h3 {
  color: var(--md-default-fg-color);
  font-family: var(--horizon-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.3;
  margin-top: 2.35rem;
}

.horizon-article > p,
.horizon-article > ul,
.horizon-article > ol {
  max-width: 45rem;
}

.md-typeset .horizon-article .admonition,
.md-typeset .horizon-article details {
  --horizon-callout-accent: var(--md-primary-fg-color);
  background: color-mix(in srgb, var(--md-default-bg-color--lighter) 8%, transparent);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: inherit;
  margin: 2.15rem 0;
  max-width: 45rem;
  padding: 0.08rem 0 0.16rem 1.45rem;
  position: relative;
}

.md-typeset .horizon-article .admonition.info {
  --horizon-callout-accent: #397a70;
  --horizon-callout-icon: var(--h-icon-fact);
}

.md-typeset .horizon-article .admonition.abstract {
  --horizon-callout-accent: #627b83;
  --horizon-callout-icon: var(--h-icon-hypothesis);
}

.md-typeset .horizon-article .admonition.warning {
  --horizon-callout-accent: #a56726;
  --horizon-callout-icon: var(--h-icon-limit);
}

.md-typeset .horizon-article .admonition.quote {
  --horizon-callout-accent: #9a5a3d;
  --horizon-callout-icon: var(--h-icon-analysis);
}

[data-md-color-scheme="slate"] .md-typeset .horizon-article .admonition.info { --horizon-callout-accent: #80bdb2; }
[data-md-color-scheme="slate"] .md-typeset .horizon-article .admonition.abstract { --horizon-callout-accent: #a7c4c8; }
[data-md-color-scheme="slate"] .md-typeset .horizon-article .admonition.warning { --horizon-callout-accent: #e9b36b; }
[data-md-color-scheme="slate"] .md-typeset .horizon-article .admonition.quote { --horizon-callout-accent: #e2aa8f; }

.md-typeset .horizon-article .admonition-title,
.md-typeset .horizon-article summary {
  background: transparent !important;
  color: var(--horizon-callout-accent);
  display: block;
  font-family: var(--horizon-serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
  margin: 0.08rem 0 0.32rem;
  padding: 0 !important;
  position: relative;
  text-transform: none;
}

.md-typeset .horizon-article .admonition-title {
  color: var(--horizon-callout-accent);
}

.md-typeset .horizon-article .admonition-title::before {
  background-color: var(--horizon-callout-accent);
  display: block;
  height: 0.95rem;
  left: calc(-1.24rem + 3px);
  -webkit-mask-image: var(--horizon-callout-icon);
  mask-image: var(--horizon-callout-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.95rem;
}

.md-typeset .horizon-article .admonition p {
  font-size: 0.98rem;
  line-height: 1.76;
  margin-bottom: 0.48rem;
}

.md-typeset .horizon-article .admonition p:last-child {
  margin-bottom: 0;
}

.horizon-financial-table {
  margin: 1.7rem 0 0.4rem;
  max-width: 100%;
}

.horizon-financial-table .md-typeset__table {
  box-sizing: border-box;
  margin: 0;
  padding-top: 0;
}

.horizon-table-shell--reader {
  margin: 0 0 0.4rem;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.42rem;
  scrollbar-color: color-mix(in srgb, var(--md-default-fg-color--lighter) 32%, transparent) transparent;
  scrollbar-width: thin;
}

.horizon-table-shell--reader > table {
  cursor: zoom-in;
  margin: 0;
}

.horizon-table-shell--reader > table:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--md-accent-fg-color) 74%, transparent);
  outline-offset: 0.18rem;
}

.horizon-table-shell--reader .md-typeset__scrollwrap,
.horizon-table-shell--reader .md-typeset__table {
  margin: 0;
}

.horizon-table-shell--reader::-webkit-scrollbar {
  height: 0.27rem;
}

.horizon-table-shell--reader::-webkit-scrollbar-track {
  background: transparent;
}

.horizon-table-shell--reader::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--md-default-fg-color--lighter) 34%, transparent);
  border: 0.05rem solid var(--md-default-bg-color);
  border-radius: 999px;
}

body.horizon-table-focus-open {
  overflow: hidden;
}

.horizon-table-focus {
  align-items: center;
  background: rgb(4 10 9 / 0.78);
  backdrop-filter: blur(0.55rem);
  display: grid;
  inset: 0;
  justify-items: center;
  opacity: 0;
  padding: clamp(0.6rem, 2vw, 1.5rem);
  position: fixed;
  transition: opacity 180ms ease, visibility 180ms ease;
  visibility: hidden;
  z-index: 1000;
}

.horizon-table-focus.is-open {
  opacity: 1;
  visibility: visible;
}

.horizon-table-focus__panel {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--horizon-paper) 96%, var(--md-primary-fg-color)) 0%,
    var(--horizon-paper) 72%
  );
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 88%, var(--md-primary-fg-color));
  border-radius: 1.15rem;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.34);
  display: flex;
  flex-direction: column;
  max-height: min(48rem, calc(100dvh - 1.2rem));
  max-width: 78rem;
  overflow: hidden;
  transform: translateY(0.5rem) scale(0.99);
  transition: transform 180ms ease;
  width: min(78rem, 100%);
}

.horizon-table-focus.is-open .horizon-table-focus__panel {
  transform: translateY(0) scale(1);
}

.horizon-table-focus__header {
  border-bottom: 1px solid color-mix(in srgb, var(--horizon-rule) 76%, transparent);
  padding: clamp(0.85rem, 2vw, 1.15rem) clamp(1rem, 2.4vw, 1.55rem) 0.8rem;
  position: relative;
}

.horizon-table-focus__label {
  color: var(--md-accent-fg-color);
  display: block;
  font-family: var(--horizon-sans);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.horizon-table-focus__header h2 {
  color: var(--md-default-fg-color);
  font-family: var(--horizon-serif);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.05;
  margin: 0.2rem 4.8rem 0 0;
}

.horizon-table-focus__hint,
.horizon-table-focus__orientation {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.72rem;
  line-height: 1.45;
  margin: 0.42rem 4.8rem 0 0;
}

.horizon-table-focus__orientation {
  display: none;
}

.horizon-table-focus__close {
  background: color-mix(in srgb, var(--md-primary-fg-color) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 86%, transparent);
  border-radius: 999px;
  color: var(--md-default-fg-color);
  cursor: pointer;
  font-family: var(--horizon-sans);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  padding: 0.42rem 0.7rem;
  position: absolute;
  right: clamp(0.75rem, 2vw, 1.2rem);
  top: clamp(0.75rem, 2vw, 1rem);
}

.horizon-table-focus__close:hover,
.horizon-table-focus__close:focus-visible {
  background: color-mix(in srgb, var(--md-accent-fg-color) 12%, transparent);
  border-color: color-mix(in srgb, var(--md-accent-fg-color) 65%, var(--horizon-rule));
  outline: none;
}

.horizon-table-focus__viewport {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0.85rem clamp(0.7rem, 2vw, 1.35rem) 1rem;
}

.horizon-table-focus .horizon-table-shell--reader {
  margin: 0;
  max-width: none;
  overscroll-behavior: contain;
  padding-bottom: 0.5rem;
  width: 100%;
}

.horizon-table-focus .horizon-table-shell--reader > table,
.horizon-table-focus .horizon-table-shell--reader .md-typeset__table > table {
  cursor: auto;
  min-width: 44rem;
  width: 100%;
}

/* The editorial type system intentionally overrides the platform fallbacks above. */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-nav,
.md-search,
.md-header,
.md-footer,
.md-tabs,
.horizon-home,
.horizon-kicker,
.horizon-article__meta,
.horizon-article__brief-label {
  font-family: var(--horizon-sans);
}

.md-typeset .headerlink {
  display: none;
}

.md-sidebar--primary .md-nav__item--section > label.md-nav__link {
  font-weight: 750;
  letter-spacing: 0.01em;
}

/* Root destinations are peers. Only the items inside Bibliothèque are children. */
.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__link,
.md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item > label.md-nav__link {
  font-weight: 750;
  letter-spacing: 0.005em;
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--primary .md-nav--primary > .md-nav__title {
    display: none;
  }
}

.horizon-brand__words strong,
.horizon-brand__words small,
.horizon-home-nav__links a,
.horizon-home-nav__actions button,
.horizon-mobile-menu summary,
.horizon-home-hero h1,
.horizon-home h2,
.horizon-home-hero__baseline,
.horizon-sector-card__content strong,
.horizon-radar-list a,
.horizon-method-card strong,
.horizon-article .horizon-article__masthead h1,
.horizon-article__lead,
.md-typeset .horizon-article h2 {
  font-family: var(--horizon-serif);
}

.horizon-financial-table table:not([class]) {
  font-variant-numeric: tabular-nums;
}

.horizon-financial-table table:not([class]) th:not(:first-child),
.horizon-financial-table table:not([class]) td:not(:first-child) {
  text-align: right;
}

.horizon-financial-table table:not([class]) tbody tr:nth-child(2n) {
  background: transparent;
}

.horizon-financial-table table:not([class]) td:first-child {
  color: var(--md-default-fg-color);
  font-family: var(--horizon-serif);
  font-size: 0.88rem;
  font-weight: 600;
}

@media screen and (min-width: 45em) {
  .horizon-article .horizon-table-shell--reader {
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    max-width: none;
    width: calc(100% + 2.4rem);
  }

  .horizon-article .horizon-financial-table {
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    max-width: none;
    width: calc(100% + 2.4rem);
  }

  .horizon-financial-table table:not([class]) {
    min-width: 0;
    table-layout: fixed;
  }

  .horizon-financial-table table:not([class]) th:first-child,
  .horizon-financial-table table:not([class]) td:first-child {
    white-space: normal;
    width: 26%;
  }

  .horizon-financial-table table:not([class]) th:not(:first-child),
  .horizon-financial-table table:not([class]) td:not(:first-child) {
    width: 12.33%;
  }
}

.horizon-table-hint {
  color: var(--md-default-fg-color--light);
  display: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.71rem;
  line-height: 1.45;
  margin: 0.55rem 0 0;
}

.horizon-term {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: text;
  font: inherit;
  padding: 0;
  text-decoration: none;
}

.horizon-term:hover,
.horizon-term[aria-expanded="true"] {
  color: inherit;
  outline: none;
}

.horizon-term:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 0.16rem;
}

.horizon-term-popover {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--horizon-paper) 92%, var(--md-primary-fg-color)) 0%,
    var(--horizon-paper) 68%
  );
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 82%, var(--md-primary-fg-color));
  border-radius: 1rem 1rem 1rem 0.38rem;
  box-shadow:
    0 0.2rem 0.5rem rgba(10, 20, 18, 0.08),
    0 1.25rem 3.2rem rgba(10, 20, 18, 0.22);
  box-sizing: border-box;
  color: var(--md-default-fg-color);
  max-width: min(22.5rem, calc(100vw - 1.5rem));
  padding: 1.18rem 1.22rem 1.08rem;
  position: fixed;
  width: 22.5rem;
  z-index: 20;
}

.horizon-term-popover:not([hidden]) {
  animation: horizon-popover-in 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes horizon-popover-in {
  from {
    opacity: 0;
    transform: translateY(0.35rem) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.horizon-term-popover__header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.horizon-term-popover__header strong {
  font-family: var(--horizon-serif);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.horizon-term-popover__close {
  align-items: center;
  background: color-mix(in srgb, var(--md-primary-fg-color) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 72%, transparent);
  border-radius: 999px;
  color: var(--md-default-fg-color--light);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: 1.3rem/1 var(--horizon-sans);
  height: 1.9rem;
  justify-content: center;
  padding: 0;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  width: 1.9rem;
}

.horizon-term-popover__close:hover,
.horizon-term-popover__close:focus-visible {
  background: var(--md-primary-fg-color);
  color: var(--md-accent-fg-color);
  transform: rotate(8deg);
}

.horizon-term-popover__category,
.horizon-term-popover__source {
  font-family: var(--horizon-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Catalog: generated metadata and reader pages share one source revision. */
.horizon-catalog {
  margin: 0 auto;
  max-width: 64rem;
  padding: 0 0 2rem;
}

.horizon-catalog__masthead {
  border-bottom: 1px solid var(--horizon-rule);
  margin-bottom: 1.6rem;
  padding: 0.1rem 0 1.55rem;
}

.horizon-catalog__masthead h1,
.horizon-catalog__collection h2,
.horizon-catalog__entry h3 {
  font-family: var(--horizon-serif);
}

.horizon-catalog__masthead h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.04;
  margin: 0.35rem 0 0.95rem;
}

.horizon-catalog__masthead > p:last-child {
  color: var(--md-default-fg-color--light);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
  max-width: 43rem;
}

.horizon-catalog__status,
.horizon-catalog__source {
  background: color-mix(in srgb, var(--horizon-paper) 74%, var(--md-default-bg-color));
  border-left: 2px solid var(--md-accent-fg-color);
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.84rem;
  line-height: 1.65;
  padding: 0.9rem 1rem;
}

.horizon-catalog__status p,
.horizon-catalog__source p {
  margin: 0;
  max-width: 48rem;
}

.horizon-catalog__source {
  align-items: baseline;
  display: grid;
  gap: 0.25rem 0.75rem;
  grid-template-columns: auto auto 1fr;
  margin-bottom: clamp(2rem, 5vw, 3.6rem);
}

.horizon-catalog__source > span,
.horizon-catalog__collection-heading > p,
.horizon-catalog__history,
.horizon-catalog__entry > code {
  font-family: var(--horizon-sans);
}

.horizon-catalog__source > span {
  color: var(--md-accent-fg-color);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.horizon-catalog__source > code {
  background: transparent;
  color: var(--md-default-fg-color);
  font-family: var(--horizon-sans);
  font-size: 0.75rem;
  padding: 0;
}

.horizon-catalog__source > p {
  grid-column: 1 / -1;
}

.horizon-catalog__collections {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
}

.horizon-catalog__collection {
  border-top: 1px solid var(--horizon-rule);
  padding-top: 1.15rem;
}

.horizon-catalog__collection-heading {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.horizon-catalog__collection h2 {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.15;
  margin: 0;
}

.horizon-catalog__collection-heading > p {
  color: var(--md-default-fg-color--lighter);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.horizon-catalog__entry-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.horizon-catalog__entry {
  background: color-mix(in srgb, var(--horizon-paper) 77%, var(--md-default-bg-color));
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 88%, transparent);
  border-radius: 0.7rem;
  min-width: 0;
  padding: 1rem 1rem 0.9rem;
  transition: border-color 160ms ease, transform 160ms ease;
}

.horizon-catalog__entry:hover {
  border-color: color-mix(in srgb, var(--md-accent-fg-color) 45%, var(--horizon-rule));
  transform: translateY(-0.1rem);
}

.horizon-catalog__entry h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0 0 0.45rem;
}

.horizon-catalog__entry-link {
  color: inherit;
  text-decoration: none;
}

.horizon-catalog__entry-link[href]::after {
  color: var(--md-accent-fg-color);
  content: "\2192";
  font-family: var(--horizon-sans);
  font-size: 0.8em;
  font-weight: 700;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.horizon-catalog__entry:hover .horizon-catalog__entry-link[href]::after,
.horizon-catalog__entry-link:focus-visible::after {
  opacity: 1;
}

.horizon-catalog__entry-link:focus-visible {
  border-radius: 0.15rem;
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 0.2rem;
}

.horizon-catalog__entry-link[aria-disabled="true"] {
  cursor: default;
}

.horizon-catalog__entry-meta {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.68rem;
  line-height: 1.45;
  margin: 0 0 0.35rem;
}

.horizon-catalog__entry > code {
  background-color: transparent !important;
  box-shadow: none;
  color: var(--md-default-fg-color--lighter);
  display: block;
  font-size: 0.68rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 0;
}

.horizon-catalog__history {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-top: 1px solid color-mix(in srgb, var(--horizon-rule) 72%, transparent);
  box-shadow: none !important;
  font-size: 0.73rem;
  margin: 0.9rem 0 0 !important;
  padding: 0.55rem 0 0 !important;
}

.horizon-catalog__history summary {
  color: var(--md-default-fg-color--light);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.horizon-catalog__history summary::-webkit-details-marker { display: none; }

.horizon-catalog__history summary::after {
  color: var(--md-accent-fg-color);
  content: "+";
  float: right;
  font-size: 1rem;
  font-weight: 400;
  line-height: 0.8;
}

.horizon-catalog__history[open] summary::after { content: "–"; }

.horizon-catalog__history ol {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.horizon-catalog__history li {
  color: var(--md-default-fg-color--light);
  display: grid;
  font-size: 0.71rem;
  gap: 0.2rem;
  line-height: 1.4;
}

.horizon-catalog__history li code {
  background: transparent;
  color: var(--md-default-fg-color--lighter);
  font-size: 0.64rem;
  padding: 0;
}

.horizon-term-popover__category {
  color: var(--md-accent-fg-color);
  margin: 0.55rem 0 0.82rem;
}

.horizon-term-popover__definition {
  font-family: var(--horizon-serif);
  font-size: 0.96rem;
  line-height: 1.58;
  margin: 0;
}

.horizon-term-popover__source {
  border-top: 1px solid color-mix(in srgb, var(--horizon-rule) 84%, transparent);
  color: var(--md-default-fg-color--lighter);
  margin: 1rem 0 0;
  padding-top: 0.72rem;
}

.horizon-term-popover__source a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  text-underline-offset: 0.18em;
}

.horizon-source-popover {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--horizon-paper) 94%, var(--md-primary-fg-color)) 0%,
    var(--horizon-paper) 70%
  );
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 82%, var(--md-primary-fg-color));
  border-radius: 1rem 1rem 1rem 0.38rem;
  box-shadow:
    0 0.2rem 0.5rem rgba(10, 20, 18, 0.08),
    0 1.25rem 3.2rem rgba(10, 20, 18, 0.22);
  box-sizing: border-box;
  color: var(--md-default-fg-color);
  max-width: min(32.5rem, calc(100vw - 1.5rem));
  padding: 1.05rem 1.12rem 1rem;
  position: fixed;
  width: 32.5rem;
  z-index: 20;
}

.horizon-source-popover__header {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
}

.horizon-source-popover__header strong {
  color: var(--md-default-fg-color);
  font-family: var(--horizon-serif);
  font-size: 1.08rem;
  font-weight: 600;
}

.horizon-source-popover__close {
  align-items: center;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 82%, transparent);
  border-radius: 50%;
  color: var(--md-default-fg-color--light);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: 1.2rem/1 var(--horizon-sans);
  height: 1.85rem;
  justify-content: center;
  padding: 0;
  width: 1.85rem;
}

.horizon-source-popover__close:hover,
.horizon-source-popover__close:focus-visible {
  background: var(--md-primary-fg-color);
  color: var(--md-accent-fg-color);
  outline: none;
}

.horizon-source-popover__message {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0.9rem 0 0;
}

.horizon-source-popover__list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.horizon-source-popover__list li {
  align-items: start;
  border-top: 1px solid color-mix(in srgb, var(--horizon-rule) 74%, transparent);
  display: grid;
  gap: 0.55rem;
  grid-template-columns: auto 1fr;
  padding-top: 0.62rem;
}

.horizon-source-popover__list li > strong {
  color: var(--md-accent-fg-color);
  font-family: var(--horizon-sans);
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  padding-top: 0.12rem;
}

.horizon-source-popover__list a,
.horizon-source-popover__list span {
  color: var(--md-default-fg-color);
  font-family: var(--horizon-serif);
  font-size: 0.9rem;
  line-height: 1.3;
}

.horizon-source-popover__list a {
  text-decoration-color: color-mix(in srgb, var(--md-accent-fg-color) 62%, transparent);
  text-underline-offset: 0.16em;
}

.horizon-source-popover__list p {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.68rem;
  line-height: 1.48;
  margin: 0.2rem 0 0;
}

.horizon-source-popover__all {
  color: var(--md-typeset-a-color);
  display: inline-block;
  font-family: var(--horizon-sans);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 0.9rem;
  text-decoration-color: color-mix(in srgb, currentColor 58%, transparent);
  text-underline-offset: 0.18em;
}

.horizon-method-documents {
  display: grid;
  gap: 1.55rem;
  margin: 1.5rem 0 2.4rem;
}

.horizon-method-documents__status,
.horizon-method-documents__source {
  background: color-mix(in srgb, var(--horizon-paper) 78%, var(--md-default-bg-color));
  border-left: 2px solid var(--md-accent-fg-color);
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.76rem;
  line-height: 1.6;
  margin: 0;
  padding: 0.75rem 0.9rem;
}

.horizon-method-documents__group {
  border-top: 1px solid var(--horizon-rule);
  padding-top: 1rem;
}

.horizon-method-documents__heading {
  display: grid;
  gap: 0.24rem;
  margin-bottom: 0.8rem;
}

.horizon-method-documents__heading h3 {
  font-family: var(--horizon-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.15;
  margin: 0;
}

.horizon-method-documents__heading p {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.76rem;
  line-height: 1.55;
  margin: 0;
}

.horizon-method-documents__list {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.horizon-method-documents__link {
  align-items: center;
  background: color-mix(in srgb, var(--horizon-paper) 84%, var(--md-default-bg-color));
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 82%, transparent);
  color: var(--md-default-fg-color) !important;
  display: flex;
  font-family: var(--horizon-serif);
  font-size: 0.95rem;
  gap: 0.7rem;
  justify-content: space-between;
  line-height: 1.35;
  min-height: 3.6rem;
  padding: 0.7rem 0.8rem;
  text-decoration: none !important;
  transition: border-color 160ms ease, transform 160ms ease;
}

.horizon-method-documents__link:hover,
.horizon-method-documents__link:focus-visible {
  border-color: color-mix(in srgb, var(--md-accent-fg-color) 64%, var(--horizon-rule));
  outline: none;
  transform: translateY(-0.08rem);
}

.horizon-method-documents__link small {
  color: var(--md-accent-fg-color);
  flex: 0 0 auto;
  font-family: var(--horizon-sans);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.horizon-radar {
  margin: 1.7rem 0 2.6rem;
}

.horizon-radar__status,
.horizon-radar__source {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.74rem;
  line-height: 1.5;
  margin: 0;
}

.horizon-radar__source {
  border-bottom: 1px solid var(--horizon-rule);
  padding-bottom: 0.9rem;
}

.horizon-radar__group {
  margin-top: 2.25rem;
}

.horizon-radar__group-heading {
  border-left: 2px solid color-mix(in srgb, var(--md-accent-fg-color) 72%, transparent);
  margin-bottom: 0.95rem;
  padding: 0.08rem 0 0.08rem 0.75rem;
}

.horizon-radar__group--watch .horizon-radar__group-heading {
  border-left-color: color-mix(in srgb, var(--md-primary-fg-color) 74%, transparent);
}

.horizon-radar__group--history {
  margin-top: 3.4rem;
}

.horizon-radar__group--history .horizon-radar__group-heading {
  border-left-color: color-mix(in srgb, var(--md-default-fg-color--lighter) 58%, transparent);
}

.horizon-radar__group--history .horizon-radar__grid {
  gap: 0.55rem;
}

.horizon-radar__group--history .horizon-radar__card {
  background: transparent;
  border-color: color-mix(in srgb, var(--horizon-rule) 66%, transparent);
  min-height: 0;
}

.horizon-radar__group--history .horizon-radar__card > small {
  color: var(--md-default-fg-color--lighter);
}

.horizon-radar__group-heading h2 {
  font-family: var(--horizon-serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
  margin: 0;
}

.horizon-radar__group-heading p {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.73rem;
  line-height: 1.55;
  margin: 0.22rem 0 0;
}

.horizon-radar__controls {
  align-items: center;
  border-bottom: 1px solid var(--horizon-rule);
  display: grid;
  gap: 0.55rem 0.75rem;
  grid-template-columns: 1fr auto auto;
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
}

.horizon-radar__controls label {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.68rem;
  font-weight: 700;
}

.horizon-radar__controls select {
  background: color-mix(in srgb, var(--horizon-paper) 86%, var(--md-default-bg-color));
  border: 1px solid var(--horizon-rule);
  border-radius: 0.35rem;
  color: var(--md-default-fg-color);
  font-family: var(--horizon-sans);
  font-size: 0.72rem;
  padding: 0.42rem 1.7rem 0.42rem 0.55rem;
}

.horizon-radar__grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
}

.horizon-radar__card {
  background: color-mix(in srgb, var(--horizon-paper) 84%, var(--md-default-bg-color));
  border: 1px solid color-mix(in srgb, var(--horizon-rule) 82%, transparent);
  display: grid;
  gap: 0.5rem;
  min-height: 13.5rem;
  padding: 1rem;
}

.horizon-radar__card > small {
  color: var(--md-accent-fg-color);
  font-family: var(--horizon-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.horizon-radar__card h2 {
  font-family: var(--horizon-serif);
  font-size: 1.35rem;
  line-height: 1.12;
  margin: 0;
}

.horizon-radar__card h2 a {
  color: var(--md-default-fg-color);
  text-decoration: none;
}

.horizon-radar__card h2 a:hover,
.horizon-radar__card h2 a:focus-visible,
.horizon-radar__open:hover,
.horizon-radar__open:focus-visible {
  color: var(--md-accent-fg-color);
  outline: none;
}

.horizon-radar__card p {
  color: var(--md-default-fg-color--light);
  font-family: var(--horizon-sans);
  font-size: 0.7rem;
  line-height: 1.5;
  margin: 0;
}

.horizon-radar__rationale {
  color: var(--md-default-fg-color) !important;
}

.horizon-radar__trigger {
  border-top: 1px solid color-mix(in srgb, var(--horizon-rule) 82%, transparent);
  font-size: 0.67rem !important;
  padding-top: 0.55rem;
}

.horizon-radar__trigger strong {
  color: var(--md-accent-fg-color);
  display: block;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.14rem;
  text-transform: uppercase;
}

.horizon-radar__actions {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.2rem !important;
}

.horizon-radar__actions a {
  color: var(--md-typeset-a-color);
  font-family: var(--horizon-sans);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration-color: color-mix(in srgb, currentColor 54%, transparent);
  text-underline-offset: 0.18em;
}

.horizon-radar__actions a:hover,
.horizon-radar__actions a:focus-visible {
  color: var(--md-accent-fg-color);
  outline: none;
}

.horizon-radar__open {
  align-self: end;
  color: var(--md-typeset-a-color);
  font-family: var(--horizon-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration-color: color-mix(in srgb, currentColor 54%, transparent);
  text-underline-offset: 0.18em;
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--secondary .md-sidebar__scrollwrap {
    padding-top: 1.75rem;
  }

  .horizon-article .horizon-financial-table {
    max-width: 54rem;
  }
}

@media screen and (max-width: 44.9375em) {
  .horizon-article { padding-top: 0; }

  .horizon-article__masthead {
    margin-left: -0.8rem;
    margin-right: -0.8rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .horizon-article__masthead h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem) !important;
  }

  .horizon-article__meta {
    gap: 0.9rem 1.4rem;
  }

  .horizon-article__brief,
  .md-typeset .horizon-article .admonition,
  .md-typeset .horizon-article details {
    margin-left: 0;
    margin-right: 0;
  }

  .horizon-table-hint { display: block; }

  /* Three-column decision tables need a different hierarchy on a phone:
     the narrative column is the one readers need room to understand. */
  .horizon-article .md-typeset__table > table:not([class]):has(tr > :nth-child(3):last-child) {
    min-width: 42rem;
    table-layout: fixed;
  }

  .horizon-article .md-typeset__table > table:not([class]):has(tr > :nth-child(3):last-child) th:first-child,
  .horizon-article .md-typeset__table > table:not([class]):has(tr > :nth-child(3):last-child) td:first-child {
    white-space: normal;
    width: 27%;
  }

  .horizon-article .md-typeset__table > table:not([class]):has(tr > :nth-child(3):last-child) th:nth-child(2),
  .horizon-article .md-typeset__table > table:not([class]):has(tr > :nth-child(3):last-child) td:nth-child(2) {
    white-space: nowrap;
    width: 14%;
  }

  .horizon-article .md-typeset__table > table:not([class]):has(tr > :nth-child(3):last-child) th:nth-child(3):last-child,
  .horizon-article .md-typeset__table > table:not([class]):has(tr > :nth-child(3):last-child) td:nth-child(3):last-child {
    min-width: 0;
    overflow-wrap: normal;
    width: 59%;
  }

  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) {
    min-width: 52rem;
    table-layout: fixed;
  }

  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) th:first-child,
  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) td:first-child {
    white-space: normal;
    width: 23%;
  }

  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) th:nth-child(2),
  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) td:nth-child(2) {
    white-space: nowrap;
    width: 13%;
  }

  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) th:nth-child(3),
  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) td:nth-child(3) {
    min-width: 0;
    overflow-wrap: normal;
    width: 48%;
  }

  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) th:nth-child(4):last-child,
  .horizon-article .horizon-table-shell--reader > table[data-horizon-narrative-column="3"]:has(tr > :nth-child(4):last-child) td:nth-child(4):last-child {
    min-width: 0;
    overflow-wrap: anywhere;
    width: 16%;
  }

  .horizon-table-focus {
    align-items: stretch;
    padding: 0.45rem;
  }

  .horizon-table-focus__panel {
    border-radius: 0.9rem;
    max-height: calc(100dvh - 0.9rem);
  }

  .horizon-table-focus__orientation {
    display: block;
  }

  .horizon-table-focus__viewport {
    padding: 0.7rem;
  }

  .horizon-term-popover {
    bottom: 0.8rem;
    border-radius: 1rem 1rem 1rem 0.55rem;
    left: 0.75rem !important;
    right: 0.75rem;
    top: auto !important;
    width: auto;
  }

  .horizon-source-popover {
    bottom: 0.8rem;
    border-radius: 1rem 1rem 1rem 0.55rem;
    left: 0.75rem !important;
    right: 0.75rem;
    top: auto !important;
    width: auto;
  }

  .horizon-catalog { padding-top: 0; }

  .horizon-catalog__masthead {
    margin-left: -0.8rem;
    margin-right: -0.8rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .horizon-catalog__source { grid-template-columns: auto 1fr; }

  .horizon-catalog__entry-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .horizon-catalog__entry { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .horizon-term-popover:not([hidden]),
  .horizon-term-popover__close {
    animation: none;
    transition: none;
  }
}
