:root,
:host {
  --ol-background-color: white;
  --ol-accent-background-color: #F5F5F5;
  --ol-subtle-background-color: rgba(128, 128, 128, 0.25);
  --ol-partial-background-color: rgba(255, 255, 255, 0.75);
  --ol-foreground-color: #333333;
  --ol-subtle-foreground-color: #666666;
  --ol-brand-color: #00AAFF;
}

.ol-box {
  box-sizing: border-box;
  border-radius: 2px;
  border: 1.5px solid var(--ol-background-color);
  background-color: var(--ol-partial-background-color);
}

.ol-mouse-position {
  top: 8px;
  right: 8px;
  position: absolute;
}

.ol-scale-line {
  background: var(--ol-partial-background-color);
  border-radius: 4px;
  bottom: 8px;
  left: 8px;
  padding: 2px;
  position: absolute;
}

.ol-scale-line-inner {
  border: 1px solid var(--ol-subtle-foreground-color);
  border-top: none;
  color: var(--ol-foreground-color);
  font-size: 10px;
  text-align: center;
  margin: 1px;
  will-change: contents, width;
  transition: all 0.25s;
}

.ol-scale-bar {
  position: absolute;
  bottom: 8px;
  left: 8px;
}

.ol-scale-bar-inner {
  display: flex;
}

.ol-scale-step-marker {
  width: 1px;
  height: 15px;
  background-color: var(--ol-foreground-color);
  float: right;
  z-index: 10;
}

.ol-scale-step-text {
  position: absolute;
  bottom: -5px;
  font-size: 10px;
  z-index: 11;
  color: var(--ol-foreground-color);
  text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);
}

.ol-scale-text {
  position: absolute;
  font-size: 12px;
  text-align: center;
  bottom: 25px;
  color: var(--ol-foreground-color);
  text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);
}

.ol-scale-singlebar {
  position: relative;
  height: 10px;
  z-index: 9;
  box-sizing: border-box;
  border: 1px solid var(--ol-foreground-color);
}

.ol-scale-singlebar-even {
  background-color: var(--ol-subtle-foreground-color);
}

.ol-scale-singlebar-odd {
  background-color: var(--ol-background-color);
}

.ol-unsupported {
  display: none;
}

.ol-viewport,
.ol-unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ol-viewport canvas {
  all: unset;
  overflow: hidden;
}

.ol-viewport {
  touch-action: pan-x pan-y;
}

.ol-selectable {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

.ol-grabbing {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

.ol-grab {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}

.ol-control {
  position: absolute;
  background-color: var(--ol-subtle-background-color);
  border-radius: 4px;
}

.ol-zoom {
  top: .5em;
  left: .5em;
}

.ol-rotate {
  top: .5em;
  right: .5em;
  transition: opacity .25s linear, visibility 0s linear;
}

.ol-rotate.ol-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s linear, visibility 0s linear .25s;
}

.ol-zoom-extent {
  top: 4.643em;
  left: .5em;
}

.ol-full-screen {
  right: .5em;
  top: .5em;
}

.ol-control button {
  display: block;
  margin: 1px;
  padding: 0;
  color: var(--ol-subtle-foreground-color);
  font-weight: bold;
  text-decoration: none;
  font-size: inherit;
  text-align: center;
  height: 1.375em;
  width: 1.375em;
  line-height: .4em;
  background-color: var(--ol-background-color);
  border: none;
  border-radius: 2px;
}

.ol-control button::-moz-focus-inner {
  border: none;
  padding: 0;
}

.ol-zoom-extent button {
  line-height: 1.4em;
}

.ol-compass {
  display: block;
  font-weight: normal;
  will-change: transform;
}

.ol-touch .ol-control button {
  font-size: 1.5em;
}

.ol-touch .ol-zoom-extent {
  top: 5.5em;
}

.ol-control button:hover,
.ol-control button:focus {
  text-decoration: none;
  outline: 1px solid var(--ol-subtle-foreground-color);
  color: var(--ol-foreground-color);
}

.ol-zoom .ol-zoom-in {
  border-radius: 2px 2px 0 0;
}

.ol-zoom .ol-zoom-out {
  border-radius: 0 0 2px 2px;
}

.ol-attribution {
  text-align: right;
  bottom: .5em;
  right: .5em;
  max-width: calc(100% - 1.3em);
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
}

.ol-attribution a {
  color: var(--ol-subtle-foreground-color);
  text-decoration: none;
}

.ol-attribution ul {
  margin: 0;
  padding: 1px .5em;
  color: var(--ol-foreground-color);
  text-shadow: 0 0 2px var(--ol-background-color);
  font-size: 12px;
}

.ol-attribution li {
  display: inline;
  list-style: none;
}

.ol-attribution li:not(:last-child):after {
  content: " ";
}

.ol-attribution img {
  max-height: 2em;
  max-width: inherit;
  vertical-align: middle;
}

.ol-attribution button {
  flex-shrink: 0;
}

.ol-attribution.ol-collapsed ul {
  display: none;
}

.ol-attribution:not(.ol-collapsed) {
  background: var(--ol-partial-background-color);
}

.ol-attribution.ol-uncollapsible {
  bottom: 0;
  right: 0;
  border-radius: 4px 0 0;
}

.ol-attribution.ol-uncollapsible img {
  margin-top: -.2em;
  max-height: 1.6em;
}

.ol-attribution.ol-uncollapsible button {
  display: none;
}

.ol-zoomslider {
  top: 4.5em;
  left: .5em;
  height: 200px;
}

.ol-zoomslider button {
  position: relative;
  height: 10px;
}

.ol-touch .ol-zoomslider {
  top: 5.5em;
}

.ol-overviewmap {
  left: 0.5em;
  bottom: 0.5em;
}

.ol-overviewmap.ol-uncollapsible {
  bottom: 0;
  left: 0;
  border-radius: 0 4px 0 0;
}

.ol-overviewmap .ol-overviewmap-map,
.ol-overviewmap button {
  display: block;
}

.ol-overviewmap .ol-overviewmap-map {
  border: 1px solid var(--ol-subtle-foreground-color);
  height: 150px;
  width: 150px;
}

.ol-overviewmap:not(.ol-collapsed) button {
  bottom: 0;
  left: 0;
  position: absolute;
}

.ol-overviewmap.ol-collapsed .ol-overviewmap-map,
.ol-overviewmap.ol-uncollapsible button {
  display: none;
}

.ol-overviewmap:not(.ol-collapsed) {
  background: var(--ol-subtle-background-color);
}

.ol-overviewmap-box {
  border: 1.5px dotted var(--ol-subtle-foreground-color);
}

.ol-overviewmap .ol-overviewmap-box:hover {
  cursor: move;
}

.ol-overviewmap .ol-viewport:hover {
  cursor: pointer;
}

/*
 * Styles for the accessible map wrapper (MapFigure).
 * Colours: brand blue #006496 with white text = 6.44:1, hover #004a70,
 * focus ring = white / navy #0a2a3d / white (>= 3:1 on any background).
 */
.map-frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.5rem;
}

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

.map-frame__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: var(--map-frame-aspect-ratio, 4 / 3);
  background-color: #e8eef2;
}

.map-frame__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.map-frame__button {
  flex: 1 1 auto;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.5rem;
  border: 0.125rem solid #003a57;
  border-radius: 0.25rem;
  background-color: #006496;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.25;
  cursor: pointer;
}

.map-frame__button:hover {
  background-color: #004a70;
}

/* Disabled is not conveyed by colour alone: dashed border and strike-through. */
.map-frame__button[aria-disabled='true'] {
  border-style: dashed;
  background-color: #5b6770;
  border-color: #3d464d;
  text-decoration: line-through;
  cursor: not-allowed;
}

.map-frame__button[aria-disabled='true']:hover {
  background-color: #5b6770;
}

/* Focus ring: white / navy / white so it is visible on light and dark maps. */
.map-frame :focus-visible {
  outline: 0.1875rem solid #0a2a3d;
  outline-offset: 0.125rem;
  box-shadow: 0 0 0 0.3125rem #fff;
}

.map-frame__hint {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

/* ADAGUC website.
   System fonts only, rem units, no min-width on any element (reflow at 320 px and 400% zoom).
   Contrast ratios (WCAG relative luminance):
     ink #12232e on white 16.1:1, muted #455661 on white 7.6:1 / on #f3f6f8 7.0:1 / on #e3eef5 6.5:1,
     brand #006496 on white 6.4:1, navy #0a2a3d on white 14.9:1, on-dark #d4e6f1 on navy 11.6:1,
     cyan #9edcf7 on navy 9.9:1, amber #ffc857 with navy text 9.7:1, UI border #6f8392 on white 3.9:1. */

:root {
  --brand: #006496; /* ADAGUC blue, from the logo */
  --brand-dark: #004a70;
  --navy: #0a2a3d;
  --navy-2: #0e3a54;
  --ink: #12232e;
  --muted: #455661;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --soft: #e3eef5;
  --line: #c9d6de; /* decorative borders only */
  --ui-border: #6f8392; /* borders of inputs and controls, 3:1 or more */
  --cyan: #9edcf7;
  --amber: #ffc857;
  --on-dark: #d4e6f1;
  --focus: #0a2a3d;
  --font:
    'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system,
    'Helvetica Neue', 'Noto Sans', Ubuntu, Cantarell, sans-serif;
  --font-display:
    'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system,
    'Helvetica Neue', 'Noto Sans', Ubuntu, Cantarell, sans-serif;
  --mono:
    ui-monospace, 'Cascadia Code', 'SFMono-Regular', Menlo, Consolas,
    'Liberation Mono', monospace;
  --radius: 0.75rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-wrap: break-word;
}

/* the app root is a column so the footer sits at the bottom of short pages */
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

#app > main {
  flex: 1 0 auto;
}

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

/* Maps stack their own layers with high z-index values: keep them below the header and its drop-down. */
.map-frame {
  isolation: isolate;
}

img {
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  text-wrap: balance;
}

h2,
h3,
p,
ul,
ol,
dl {
  margin-top: 0;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-dark);
  text-decoration-thickness: 3px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 40rem) {
  .wrap {
    padding-inline: 1.5rem;
  }
}

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

/* ---------- focus: white / navy / white, visible on white, blue, navy and images ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px #fff;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* elements that only receive focus from code (main, headings) are not controls */
[tabindex='-1']:focus-visible {
  outline: none;
  box-shadow: none;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -6rem;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: underline;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- header ---------- */
.site-header {
  background: #fff;
  position: relative;
  z-index: 10;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  max-width: 100%;
  border-radius: 0.25rem;
  color: var(--brand);
  text-decoration: none;
}

.brand:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

.brand img {
  flex: none;
  width: 2rem;
  height: 2rem;
}

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

.search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1 1 16rem;
  max-width: 26rem;
  margin: 0;
}

.search input {
  flex: 1 1 9rem;
  min-width: 0;
  min-height: 2.75rem;
  margin: 0;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ui-border);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.search input::placeholder {
  color: #566873;
  opacity: 1;
}

.search button {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 1rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  color: #fff;
  background: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 0.5rem;
}

.search button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.search button svg {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
}

.search :focus-visible {
  position: relative;
  z-index: 1;
}

.nav-strip {
  background: var(--brand);
  color: #fff;
}

.nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.nav-list > li > a,
.allpages summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.nav-list > li > a:hover,
.allpages summary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

/* current page: bar under the item and bold text, not colour alone */
.nav-list a[aria-current='page'] {
  border-bottom-color: #fff;
  font-weight: 700;
}

.allpages summary {
  list-style: none;
}

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

.allpages[open] summary {
  background: rgba(255, 255, 255, 0.2);
  border-bottom-color: #fff;
}

.allpages summary svg {
  transition: transform 0.15s;
}

.allpages[open] summary svg {
  transform: rotate(180deg);
}

.menu-toggle {
  display: none;
  margin: 0.25rem 0;
  min-height: 2.75rem;
  padding: 0 1rem;
  font: inherit;
  font-weight: 650;
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 0.5rem;
  cursor: pointer;
}

.menu-toggle::after {
  content: '';
  display: inline-block;
  margin-left: 0.6rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}

.menu-toggle[aria-expanded='true']::after {
  transform: translateY(0.1rem) rotate(-135deg);
}

.allpages-panel {
  background: #fff;
  color: var(--ink);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-block: 0.5rem 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem 1.5rem;
}

.sitemap-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-title {
  margin: 0 0 0.25rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}

.sitemap-group li a {
  display: inline-block;
  padding-block: 0.25rem;
}

.sitemap-group a[aria-current='page'] {
  font-weight: 700;
  color: var(--ink);
  text-decoration-thickness: 3px;
}

/* narrow screens (rem based, so it also applies when the text size is increased) */
@media (max-width: 47.99rem) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .menu-toggle[aria-expanded='false'] + .nav-list {
    display: none;
  }

  .nav-list {
    flex-direction: column;
    padding-bottom: 0.5rem;
  }

  .nav-list > li > a,
  .allpages summary {
    width: 100%;
  }
}

@media (min-width: 48rem) {
  .allpages-panel {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: 100%;
    z-index: 30;
    margin: 0;
    padding: 1.5rem;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 1.5rem 3rem rgba(10, 42, 61, 0.35);
  }
}

@media (min-width: 64rem) {
  .allpages-panel {
    grid-template-columns:
      minmax(0, 0.6fr) minmax(0, 1fr) minmax(0, 1.2fr)
      minmax(0, 1fr) minmax(0, 1.6fr);
  }
}

/* ---------- search results (in the flow, under the header) ---------- */
.search-results {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding-block: 1rem 1.5rem;
}

.search-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.search-status {
  margin: 0;
  font-weight: 650;
}

.link-button {
  font: inherit;
  color: var(--brand);
  background: none;
  border: 0;
  padding: 0.5rem 0.25rem;
  min-height: 2.75rem;
  text-decoration: underline;
  cursor: pointer;
}

.result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

.result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.result-title {
  font-weight: 700;
  font-size: 1.0625rem;
}

.result-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--muted);
  border: 1px solid var(--ui-border);
  border-radius: 99px;
}

.result-desc {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.5rem 1.25rem;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid var(--brand);
  border-radius: 0.5rem;
  color: #fff;
  background: var(--brand);
  max-width: 100%;
}

.btn:hover {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
}

.btn .arrow {
  flex: none;
  transition: transform 0.15s;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.hero .btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.hero .btn-primary:hover {
  background: #ffd982;
  border-color: #ffd982;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--brand-dark);
}

.btn-light:hover {
  background: var(--soft);
  border-color: var(--soft);
  color: var(--brand-dark);
}

.ext {
  display: inline-block;
  margin-left: 0.3rem;
  vertical-align: -0.05em;
}

/* ---------- hero ---------- */
.hero {
  color: #fff;
  padding-block: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(
      48rem 28rem at 88% 0%,
      rgba(0, 100, 150, 0.6),
      transparent 70%
    ),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px) 0 0 /
      1.5rem 1.5rem,
    var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 3.5rem;
  }
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  color: var(--on-dark);
  font-size: 1.1875rem;
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--on-dark);
  font-size: 0.9375rem;
}

.hero-facts strong {
  color: #fff;
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The map panel must not clip: the map and its buttons draw focus rings outside their boxes. */
.radar-panel {
  background: var(--navy-2);
  border: 1px solid #3f6f8c;
  border-radius: 1rem;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
}

.radar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.75rem;
}

.radar-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
}

.radar-open {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--cyan);
  font-size: 0.9375rem;
}

.radar-open:hover {
  color: #fff;
}

/* map buttons on the dark panel: white buttons so they stand out from the panel */
.radar-panel .map-frame {
  margin-bottom: 0;
}

.radar-panel .map-frame__button {
  background-color: #fff;
  border-color: #fff;
  color: var(--navy);
}

.radar-panel .map-frame__button:hover {
  background-color: var(--soft);
  border-color: var(--soft);
}

.radar-panel .map-frame__button[aria-disabled='true'] {
  background-color: #e3eaee;
  border-color: #e3eaee;
  color: #4d5f6b;
}

/* ---------- sections ---------- */
.section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.section-alt {
  background: var(--bg);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 42rem;
}

.section-head h2,
.about h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  letter-spacing: -0.01em;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 56rem) {
  .about-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 3.5rem;
    align-items: start;
  }
}

.prose-lead {
  font-size: 1.1875rem;
}

.services {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.services > div {
  background: var(--bg);
  border-left: 4px solid var(--brand);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.75rem 1rem;
}

.services dt {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 1.125rem;
}

.services dd {
  margin: 0;
  color: var(--muted);
}

/* ---------- cards ---------- */
.card-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    box-shadow 0.15s,
    transform 0.15s,
    border-color 0.15s;
}

.card:hover {
  border-color: var(--ui-border);
  box-shadow: 0 0.5rem 1.5rem rgba(10, 42, 61, 0.14);
  transform: translateY(-2px);
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
}

.card-meta {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.card h3 a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.card:hover h3 a {
  color: var(--brand-dark);
  text-decoration-thickness: 3px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-body p {
  color: var(--muted);
}

.card-text {
  border-top: 4px solid var(--brand);
}

.card-go {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--brand);
}

/* the whole card is the click target; the focus ring is drawn around the whole card */
.card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.card h3 a:focus-visible {
  outline: none;
  box-shadow: none;
}

.card h3 a:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px #fff;
}

/* ---------- viewer band ---------- */
.viewer-band {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 1.25rem
    ),
    var(--brand);
  color: #fff;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.viewer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 2rem;
  align-items: center;
}

@media (min-width: 44rem) {
  .viewer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.viewer-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  color: #fff;
}

.viewer-band p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.0625rem;
}

.viewer-band .btn {
  font-size: 1.0625rem;
}

/* ---------- code and documentation ---------- */
.code-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.link-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-rows li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.link-rows li:first-child {
  border-top: 0;
}

.link-rows a {
  display: inline-block;
  padding-block: 0.15rem;
  font-weight: 700;
}

.row-note {
  display: block;
  color: var(--muted);
  font-size: 0.9375rem;
}

.row-url {
  display: block;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: 2.5rem 1.5rem;
}

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

.site-footer a:hover {
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

/* tagline and links on top, the sitemap gets the full width below */
.footer-about {
  max-width: 40rem;
}

.footer-about p:first-child {
  margin-top: 0;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  color: #fff;
  line-height: 1.3;
}

.footer-links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.footer-links a {
  display: inline-block;
  padding-block: 0.25rem;
}

.footer-sitemap h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #fff;
}

.sitemap-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

/* wide: Start (only Home) is narrow, Applications (long titles) is wide */
@media (min-width: 64rem) {
  .sitemap-grid {
    grid-template-columns:
      minmax(0, 0.5fr) minmax(0, 1fr) minmax(0, 1.2fr)
      minmax(0, 1fr) minmax(0, 1.7fr);
  }
}

.site-footer .sitemap-title {
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.875rem;
  color: #bcd5e5;
}

.site-footer .sitemap-group a[aria-current='page'] {
  color: #fff;
}

/* ---------- content pages ---------- */
.page-head {
  background: var(--soft);
  padding-block: 1.25rem 0.5rem;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.9375rem;
}

.breadcrumb li + li::before {
  content: '›';
  content: '›' / '';
  margin-right: 0.5rem;
  color: var(--muted);
}

.breadcrumb a {
  display: inline-block;
  padding-block: 0.2rem;
}

.breadcrumb li > span,
.breadcrumb [aria-current='page'] {
  display: inline-block;
  padding-block: 0.2rem;
}

.breadcrumb [aria-current='page'] {
  font-weight: 700;
}

.content-wrap {
  padding-block: 0 4rem;
}

/* Rendered markdown. Text runs in a readable column; maps, figures and code may be wider. */
.markdown {
  min-height: 40vh;
  font-size: 1.0625rem;
}

.markdown > div > * {
  max-width: 44rem;
}

.markdown > div > :is(.figure-list, ul.figure-list) {
  max-width: none;
}

.markdown > div > :is(figure, .react-component) {
  max-width: 50rem;
}

.markdown > div > pre {
  max-width: 60rem;
}

.markdown > div[role='status'] {
  padding-top: 2rem;
}

/* the page title (the h1 of the markdown) sits in the pale band under the breadcrumb */
.markdown > div > h1:first-child {
  max-width: none;
  margin: 0 0 2rem;
  padding: 0.25rem 0 1.75rem;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  background: var(--soft);
  box-shadow:
    0 0 0 100vmax var(--soft),
    0 1px 0 100vmax var(--line);
  clip-path: inset(0 -100vmax -1px -100vmax);
}

.markdown h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
}

.markdown h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.375rem;
}

.markdown h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.125rem;
}

.markdown p,
.markdown ul,
.markdown ol {
  margin-bottom: 1.25rem;
}

.markdown ul,
.markdown ol {
  padding-left: 1.5rem;
}

.markdown li {
  margin-bottom: 0.375rem;
}

.markdown a {
  overflow-wrap: anywhere;
}

.markdown img {
  max-width: 100%;
  height: auto;
}

.markdown blockquote {
  margin: 0 0 1.25rem;
  padding: 0.25rem 1rem;
  border-left: 4px solid var(--brand);
  color: var(--muted);
}

.markdown code {
  padding: 0.1em 0.35em;
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--ink);
  background: #e9eff3;
  border-radius: 0.25rem;
  overflow-wrap: anywhere;
}

/* long lines scroll inside the block only, never the page */
.markdown pre {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #eaf3f9;
  background: var(--navy);
  border-radius: 0.5rem;
}

.markdown pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  background: none;
  overflow-wrap: normal;
}

.markdown .error {
  color: #a8001a;
  font-weight: 700;
}

.markdown .date {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
  text-align: right;
}

.markdown figure {
  margin: 0 0 1.5rem;
}

.markdown figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.markdown .react-component {
  margin-bottom: 1.5rem;
}

.markdown table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  border-collapse: collapse;
}

.markdown th,
.markdown td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  text-align: left;
}

/* lists of maps and images: a grid of figures, not a table */
.markdown ul.figure-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.markdown ul.figure-list > li {
  min-width: 0;
  margin: 0;
}

.markdown ul.figure-list figure {
  height: 100%;
  margin: 0;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.markdown ul.figure-list figcaption {
  font-weight: 650;
  color: var(--ink);
}

.markdown ul.figure-list .map-frame {
  margin-bottom: 0.75rem;
}

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

  .card:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .btn,
  .search button,
  .menu-toggle {
    border: 2px solid ButtonText;
  }
}


/*# sourceMappingURL=main.css.map*/