/* Fonts are served from this site: no requests to third parties */
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/literata-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/literata-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}
:root {
  /* Type scale for About and The models: 15px body, ratio 1.25 (major third). Baseline grid 22px: every line-height, margin
     and padding there is a multiple of half of it. */
  --lh: 22px;
  --fs-1: 12px;
  --fs0: 15px;
  --fs1: 18.75px;
  --fs2: 23.4375px;
  --fs3: 29.296875px;
  /* Layout: a surveyor's map sheet. Framed page, margin ticks, the live model as the plate, the catalogue as its legend. */
  --paper: #e4e6e0;
  --sheet: #fafaf7;
  --raise: #ffffff;
  --ink: #1d2427;
  --muted: #646d72;
  --rule: #d5d9d2;
  --contour: #9b6b3c;
  --glacier: #2c6a94;
  --glacier-soft: #dbe8f0;
  --sun: #c8832f;
  --font-display: "Literata", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a0d0e;
    --sheet: #151a1d;
  --raise: #1f262a;
    --ink: #e4e7e2;
    --muted: #8f989c;
    --rule: #2a3236;
    --contour: #c99a66;
    --glacier: #79b0d6;
    --glacier-soft: #1b2b36;
    --sun: #e0a85a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0a0d0e;
  --sheet: #151a1d;
  --raise: #1f262a;
  --ink: #e4e7e2;
  --muted: #8f989c;
  --rule: #2a3236;
  --contour: #c99a66;
  --glacier: #79b0d6;
  --glacier-soft: #1b2b36;
  --sun: #e0a85a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
/* Links: one look everywhere (text links, the About link, Copy coordinates, Open in Google Maps, Clear filters) */
a,
.locator .copy {
  color: var(--glacier);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 3px;
}
a:hover,
.locator .copy:hover { text-decoration-color: currentColor; }
a:active,
.locator .copy:active { color: var(--ink); }
:focus-visible { outline: 2px solid var(--glacier); outline-offset: 2px; }

.box {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--sheet);
}
.plate::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 3;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.coord {
  position: absolute;
  z-index: 4;
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--muted);
  background: var(--sheet);
  padding: 0 6px;
}
.coord.tl { top: -7px; left: 28px; }
.coord.tr { top: -7px; right: 28px; }
.coord.bl { bottom: -7px; left: 28px; }
.coord.br { bottom: -7px; right: 28px; }
/* The corner labels sit across the plate's border: the border carries on around the part outside the plate */
.coord.bl::after,
.coord.br::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 8px;
  border: 1px solid var(--ink);
  border-top: 0;
  pointer-events: none;
}
.coord.tl::after,
.coord.tr::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 8px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  pointer-events: none;
}

.tool {
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--raise);
  color: var(--ink);
  cursor: pointer;
}

.tool svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:root[data-theme="dark"] .theme .moon,
:root:not([data-theme="dark"]) .theme .sun-ic { display: none; }
/* Viewer */
.viewer {
  --ctl: 32px;
  /* gutter of the controls from every edge of the viewer: their centres sit 44px in, like the compass */
  --gut: calc(44px - var(--ctl) / 2);
  position: relative;
  border-right: 1px solid var(--rule);
  min-height: 460px;
  background:
    radial-gradient(ellipse at 50% 60%, color-mix(in srgb, var(--glacier-soft) 55%, transparent), transparent 70%);
}
.viewer canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; touch-action: none; }
.viewer .poster {
  position: absolute;
  inset: 12% 14%;
  object-fit: contain;
  width: 72%;
  height: 76%;
  transition: opacity 0.4s ease;
}
.viewer.ready .poster { opacity: 0; pointer-events: none; }
.viewer.loading .poster { opacity: 0.35; }
.viewer .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 2px solid var(--rule);
  border-top-color: var(--glacier);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  animation: spin 0.8s linear infinite;
}
.viewer.loading .loader { opacity: 1; }
.viewer .pager {
  position: absolute;
  top: var(--gut);
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  transform: translateX(-50%);
  box-sizing: border-box;
  height: var(--ctl);
  padding: 0 3px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: color-mix(in srgb, var(--raise) 88%, transparent);
}
.viewer .pager button {
  display: grid;
  place-items: center;
  width: calc(var(--ctl) - 8px);
  height: calc(var(--ctl) - 8px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.viewer .pager button:focus-visible {
  outline-offset: -2px;
}
.viewer .pager svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.viewer .pager span {
  min-width: 52px;
  font-family: var(--font-data);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--muted);
}
.viewer .pager .pager-name {
  display: none;
  max-width: calc(100vw - 240px);
  overflow: hidden;
  padding: 0 6px;
  font: 500 13px var(--font-body);
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink);
}
.viewer.full .pager #nav-count { display: none; }
.viewer.full .pager .pager-name { display: block; }
.viewer .fs {
  position: absolute;
  right: var(--gut);
  bottom: var(--gut);
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--ctl, 32px);
  height: var(--ctl, 32px);
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: color-mix(in srgb, var(--raise) 88%, transparent);
  color: var(--ink);
  cursor: pointer;
}

.viewer .fs svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.viewer .fs .off,
.viewer.full .fs .on { display: none; }
.viewer.full .fs .off { display: block; }
.viewer:fullscreen {
  width: 100%;
  height: 100%;
  border: 0;
  background-color: var(--sheet);
}
.viewer.full.fake {
  position: fixed;
  inset: 0;
  z-index: 1000;
  min-height: 0;
  border: 0;
  background-color: var(--sheet);
}
.viewer .compass {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--raise) 72%, transparent);
  cursor: pointer;
}

.viewer .compass svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.viewer .compass .n { fill: var(--contour); }
.viewer .compass .ring,
.viewer .compass .ticks {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
}
.viewer .compass .ring { stroke-opacity: 0.55; }
.viewer .compass .ticks { stroke-opacity: 0.35; }
.viewer .compass .ticks.cardinal { stroke-opacity: 0.6; }
.viewer .compass .zenith {
  fill: var(--ink);
  fill-opacity: 0.5;
}
.viewer .compass .sun-path path {
  fill: none;
  stroke: var(--sun);
  stroke-linecap: round;
}
.viewer .compass .sun-path .day {
  stroke-width: 1;
  stroke-dasharray: 1 2;
}
.viewer .compass .sun-path .done { stroke-width: 1.2; }
.viewer .compass .sun-path .halo {
  fill: var(--sun);
  fill-opacity: 0.18;
}
.viewer .compass .sun-path .dot { fill: var(--sun); }
.viewer .sun-deg {
  position: absolute;
  top: 79px;
  right: 12px;
  z-index: 2;
  width: 64px;
  font: 500 10px var(--font-data);
  font-variant-numeric: tabular-nums;
  line-height: 14px;
  text-align: center;
  white-space: nowrap;
  color: var(--muted);
}
.viewer .sun-deg .az,
.viewer .sun-deg .el { display: inline-block; }
.viewer .sun-deg .az {
  width: 4ch;
  text-align: right;
}
.viewer .sun-deg .el {
  width: 3ch;
  text-align: left;
}
.viewer .topview {
  top: 98px;
  right: var(--gut);
  display: grid;
  place-items: center;
  width: var(--ctl);
  height: var(--ctl);
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--raise) 88%, transparent);
}
.viewer .topview svg {
  width: 16px;
  height: 16px;
}
.viewer .topview rect {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
}
.viewer .compass text {
  font: 600 6.5px var(--font-data);
  fill: var(--ink);
}
.viewer .sun,
.viewer .spin {
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 3px;
  font: 500 12px var(--font-body);
  color: var(--muted);
}
.seg .check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* the circle is concentric with the pill's rounded end, like the play buttons: centre at --ctl / 2 */
  padding-left: calc(var(--ctl) / 2 - 9px);
}
.seg .check svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.seg .check circle {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.2;
}
.seg .check path {
  fill: none;
  stroke: var(--sheet);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.seg .check[aria-pressed="true"] circle {
  fill: var(--ink);
  stroke: var(--ink);
}
.seg .check[aria-pressed="true"] path { opacity: 1; }
.seg .check[aria-pressed="true"] { background: none; }
.viewer .sun .play,
.viewer .spin .play {
  display: grid;
  place-items: center;
  align-self: center;
  width: calc(var(--ctl) - 8px);
  height: calc(var(--ctl) - 8px);
  padding: 0;
  border-radius: 50%;
  color: var(--ink);
}

.viewer .sun .play svg,
.viewer .spin .play svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.viewer .sun .play .pa,
.viewer .spin .play .pa,
.viewer .sun .play[aria-pressed="true"] .pl,
.viewer .spin .play[aria-pressed="true"] .pl { display: none; }
.viewer .sun .play[aria-pressed="true"] .pa,
.viewer .spin .play[aria-pressed="true"] .pa { display: block; }
.viewer .sun .play[aria-pressed="true"],
.viewer .spin .play[aria-pressed="true"] { background: var(--glacier-soft); }
.viewer .sun input,
.viewer .spin input {
  width: 96px;
  accent-color: var(--contour);
}
.viewer .sun output {
  min-width: 5ch;
  font: 500 11px var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.viewer.loading .scalebar,
.scalebar.off { visibility: hidden; }
.overlay-tools {
  position: absolute;
  top: calc(var(--gut) + 42px);
  left: var(--gut);
  z-index: 2;
}
.overlay-tools .seg {
  box-sizing: border-box;
  height: var(--ctl);
  align-items: stretch;
}
.overlay-tools .seg button {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@media (pointer: coarse) {
  .viewer { --ctl: 40px; }
}
.viewer-bar {
  position: absolute;
  left: var(--gut);
  right: calc(var(--gut) + var(--ctl) + 10px);
  bottom: var(--gut);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}
.viewer-bar > * { pointer-events: auto; }
.viewer-bar .hint { margin-left: auto; }
.seg {
  overflow: hidden;
  border-radius: 999px;
  display: inline-flex;
  border: 1px solid var(--rule);
  background: var(--raise);
}
.seg button {
  font: 500 12px var(--font-body);
  color: var(--muted);
  background: none;
  border: 0;
  padding: 7px 14px;
  cursor: pointer;
}
.viewer-bar .seg {
  box-sizing: border-box;
  height: var(--ctl);
  align-items: stretch;
}
.viewer-bar .seg[hidden] { display: none; }
.viewer-bar .sun,
.viewer-bar .spin { align-items: center; }
.viewer-bar .seg button {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.seg button[aria-pressed="true"] { color: var(--ink); background: var(--glacier-soft); }
.hint {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--muted);
}
.looks {
  position: absolute;
  top: var(--gut);
  left: var(--gut);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.looks button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid var(--sheet);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px var(--rule);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.looks button:hover { box-shadow: 0 0 0 1px var(--ink); }
.looks button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.status {
  position: absolute;
  top: calc(var(--gut) + 38px);
  left: var(--gut);
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--muted);
}
.scalebar {
  position: absolute;
  right: calc(var(--gut) + var(--ctl) + 12px);
  bottom: calc(var(--gut) + var(--ctl) / 2);
  transform: translateY(50%);
  font-family: var(--font-data);
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}
.scalebar .bar {
  height: 6px;
  margin-top: 4px;
  border: 1px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--ink) 0 25%, transparent 25% 50%);
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}
.legend .group {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--contour);
}
.legend h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  margin: 4px 0 0;
  text-wrap: balance;
}
.legend .fullname {
  margin-top: 4px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--muted);
}
.legend .fullname[hidden] { display: none; }
.legend .elev .summit {
  margin-left: 10px;
  font: 500 13px var(--font-body);
  font-style: normal;
  color: var(--muted);
}
.legend .elev {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--glacier);
  margin-top: 2px;
}
.legend p { margin: 0; color: var(--muted); max-width: 65ch; }
/* Low-resolution models: 10 m data cells are 1 mm or more on the print; LiDAR: the LiDAR version is shown */
/* Same look as the card badges: full pills are only for things you can press */
.legend .lowres-tag,
.legend .lidar-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 0 6px;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  border-radius: 3px;
  background: var(--raise);
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--contour);
}
.legend .lidar-tag {
  margin: 0;
  text-transform: none;
  color: var(--glacier);
}
.legend .lowres-tag[hidden],
.legend .lowres-note[hidden] { display: none; }
.legend .lowres-note {
  font-size: 13px;
  border-left: 2px solid var(--contour);
  padding-left: 10px;
}
dl.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 13px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
dl.specs dt { color: var(--muted); }
dl.specs dd { margin: 0; font-family: var(--font-data); font-size: 12.5px; font-variant-numeric: tabular-nums; text-align: right; }
.actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 14px var(--font-body);
  padding: 12px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--sheet);
  cursor: pointer;
}
.btn.ghost { background: var(--raise); color: var(--ink); }
#dl-one > span { white-space: nowrap; }
.dl-meta {
  white-space: nowrap;
  font: 400 12px var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
#dl-one .dl-meta {
  font: 400 14px var(--font-body);
  color: inherit;
  opacity: 0.6;
}
.dl-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 20px;
}
.dl-also {
  margin: 0;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--contour);
}
.dl-list > button {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  line-height: inherit;
  text-align: left;
}
.dl-list > button { cursor: pointer; }
.dl-list > button > span:first-child { transition: color 0.1s; }
.dl-list > button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.dl-list .dl-meta { font-size: 12.5px; }
.dl-list > button > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dl-list > button > span:first-child::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v8.5M4 7.5 8 11.5l4-4M3 14h10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v8.5M4 7.5 8 11.5l4-4M3 14h10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn[hidden] { display: none; }
.note { font-size: 12px; color: var(--muted); min-height: 1.4em; }
.locator { display: flex; gap: 14px; align-items: flex-start; }
.locator svg { width: 104px; height: auto; flex: none; }
.locator svg {
  border: 1px solid var(--rule);
}
.locator svg .sea { fill: color-mix(in srgb, var(--glacier-soft) 45%, var(--sheet)); }
.locator svg .ctx {
  fill: color-mix(in srgb, var(--paper) 60%, var(--sheet));
  stroke: color-mix(in srgb, var(--muted) 55%, transparent);
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
}
.locator svg .land {
  fill: var(--sheet);
  stroke: color-mix(in srgb, var(--ink) 70%, transparent);
  stroke-width: 0.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.locator svg circle.on { fill: var(--contour); }
.locator svg circle.ring {
  fill: none;
  stroke: var(--contour);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.locator .ll { font-family: var(--font-data); font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.locator .copy {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 0;
  font: 500 12px var(--font-body);
  background: none;
  border: 0;
  cursor: pointer;
}
.locator .copy::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='5.5' y='5.5' width='8' height='8' rx='1.5'/%3E%3Cpath d='M10.5 5.5V3.5a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='5.5' y='5.5' width='8' height='8' rx='1.5'/%3E%3Cpath d='M10.5 5.5V3.5a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.locator .copy.maps::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M1.5 3.5 5.5 2l5 2 4-1.5v10l-4 1.5-5-2-4 1.5Z'/%3E%3Cpath d='M5.5 2v10M10.5 4v10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M1.5 3.5 5.5 2l5 2 4-1.5v10l-4 1.5-5-2-4 1.5Z'/%3E%3Cpath d='M5.5 2v10M10.5 4v10'/%3E%3C/svg%3E");
}
#dl-one::before,
#dl-hd::before,
#dl-water::before,
#dl-all::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v8.5M4 7.5 8 11.5l4-4M3 14h10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v8.5M4 7.5 8 11.5l4-4M3 14h10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Catalogue cards */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.no-match {
  margin: 0;
  padding: 24px var(--cg);
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 14px 16px 16px;
  border: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.card[hidden] { display: none; }
/* Hover: every control gets the same pale fill (only where a real hover exists) */
@media (hover: hover) {
  .tool:hover,
  .seg button:hover,
  .viewer .pager button:hover,
  .viewer .sun .play:hover,
  .viewer .spin .play:hover,
  .viewer .fs:hover,
  .viewer .compass:hover,
  .map-reset:hover,
  .search-clear:hover,
  .btn.ghost:hover,
  .filters label:hover {
    /* the colour only: the search field keeps its magnifier */
    background-color: var(--glacier-soft);
  }
  .viewer .sun input:hover,
  .viewer .spin input:hover { accent-color: color-mix(in srgb, var(--contour) 75%, var(--ink)); }
  .btn:not(.ghost):not([disabled]):hover { background-color: color-mix(in srgb, var(--ink) 82%, var(--sheet)); }
  .dl-list > button:hover > span:first-child,
  #brand:hover em { color: var(--glacier); }
  #brand:hover { color: color-mix(in srgb, var(--ink) 75%, var(--sheet)); }
  #bigmap .pt:hover .dot { fill: var(--glacier); }
}
/* Pressed: one step darker than hover, for every control */
.tool:active,
.seg button:active,
.viewer .pager button:active,
.viewer .sun .play:active,
.viewer .spin .play:active,
.viewer .fs:active,
.viewer .compass:active,
.map-reset:active,
.search-clear:active,
.btn.ghost:not([disabled]):active,
.filters label:active,
.card:active {
  background-color: color-mix(in srgb, var(--glacier) 25%, var(--sheet));
}
.btn:not(.ghost):not([disabled]):active { background-color: color-mix(in srgb, var(--ink) 68%, var(--sheet)); }
.looks button:active { box-shadow: 0 0 0 2px var(--glacier); }
.viewer .sun input:active,
.viewer .spin input:active { accent-color: var(--ink); }
.dl-list > button:active > span:first-child,
#brand:active,
#brand:active em { color: var(--ink); }
#bigmap .pt:active .dot { fill: var(--ink); }
.card:hover { background: color-mix(in srgb, var(--glacier-soft) 50%, transparent); }
.card[aria-current="true"] { background: var(--glacier-soft); }
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 4px;
}
.card .nm {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
}
.card .mt { font-family: var(--font-data); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card .mt b { color: var(--glacier); font-weight: 500; }
.card .mt b,
.card .mt span {
  display: block;
  white-space: nowrap;
}
.card .mt span:first-of-type { white-space: normal; }
.card .mt .badges {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 4px;
}
.card .mt .badge {
  display: block;
  padding: 0 5px;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  border-radius: 3px;
  background: var(--raise);
  font-size: 9px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.08em;
  color: var(--glacier);
}
.card .mt .badge.low { color: var(--contour); }

/* Map */
.map-reset {
  border-radius: 999px;
  font: 500 12px var(--font-body);
  color: var(--glacier);
  background: var(--raise);
  border: 1px solid var(--rule);
  padding: 5px 10px;
  cursor: pointer;
}
.map-reset[hidden] { display: none; }
#bigmap {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
#bigmap.panned {
  touch-action: none;
  cursor: grab;
}
#bigmap.dragging { cursor: grabbing; }
/* Hairline map: tinted sea, paper land, neighbours a shade off, every line a hairline */
#bigmap .sea {
  fill: color-mix(in srgb, var(--glacier-soft) 45%, var(--sheet));
}
#bigmap .grat {
  fill: none;
  stroke: color-mix(in srgb, var(--glacier) 22%, transparent);
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
}
#bigmap .ctx-land {
  fill: color-mix(in srgb, var(--paper) 60%, var(--sheet));
  stroke: color-mix(in srgb, var(--muted) 55%, transparent);
  stroke-width: 0.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
#bigmap .land {
  fill: var(--sheet);
  stroke: color-mix(in srgb, var(--ink) 70%, transparent);
  stroke-width: 0.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
#bigmap .borders {
  fill: none;
  stroke: var(--muted);
  stroke-width: 0.5;
  stroke-dasharray: 2 2;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#bigmap.zoomed .borders { opacity: 0.7; }
#bigmap .city rect {
  fill: var(--sheet);
  stroke: var(--ink);
  stroke-width: calc(1.2px * var(--k, 1));
}
#bigmap #map-cities {
  opacity: 0;
  transition: opacity 0.3s ease;
}
#bigmap.zoomed #map-cities { opacity: 1; }
#bigmap .pt {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
#bigmap .pt .dot {
  fill: color-mix(in srgb, var(--ink) 82%, transparent);
  stroke: var(--sheet);
  stroke-width: calc(0.75px * var(--k, 1));
}
#bigmap .pt .ring {
  fill: none;
  stroke: var(--contour);
  stroke-width: calc(1px * var(--k, 1));
}
#bigmap .pt.on .dot { fill: var(--contour); }
#bigmap .pt.off { opacity: 0.15; }
#bigmap .pt:focus { outline: none; }
#bigmap .pt:focus-visible .dot {
  stroke: var(--glacier);
  stroke-width: calc(2px * var(--k, 1));
}
#bigmap .lbl {
  font-family: var(--font-data);
  font-size: calc(12px * var(--k, 1));
  fill: var(--ink);
  stroke: var(--sheet);
  stroke-width: calc(4px * var(--k, 1));
  stroke-linejoin: round;
  paint-order: stroke;
  pointer-events: none;
}
#bigmap .lbl.all { fill: var(--muted); }
/* mountain names open the mountain */
#bigmap .lbl[data-key] {
  pointer-events: auto;
  cursor: pointer;
}
@media (hover: hover) {
  #bigmap .lbl[data-key]:hover {
    fill: var(--glacier);
  }
}
#bigmap .lbl.city {
  font-family: var(--font-body);
  font-size: calc(11.5px * var(--k, 1));
  fill: var(--ink);
}
#bigmap .lbl.city.r2 { font-size: calc(10.5px * var(--k, 1)); }
#bigmap .lbl.reg {
  font-family: var(--font-body);
  font-size: calc(10px * var(--k, 1));
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--contour);
  opacity: 0.75;
}
/* neighbours: spaced capitals; seas: italic, both quiet */
#bigmap .lbl.ctry {
  font-family: var(--font-body);
  font-size: calc(9.5px * var(--k, 1));
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: color-mix(in srgb, var(--muted) 80%, transparent);
  stroke: none;
}
#bigmap .lbl.sea {
  font-family: var(--font-display);
  font-size: calc(12px * var(--k, 1));
  font-style: italic;
  letter-spacing: 0.04em;
  fill: color-mix(in srgb, var(--glacier) 70%, var(--muted));
  stroke: none;
}
#bigmap .lbl.cur {
  font-weight: 500;
  fill: var(--contour);
}
.map figcaption {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--muted);
}
.map .hint-fine { display: none; }
@media (hover: hover) and (pointer: fine) {
  .map .hint-fine { display: inline; }
  .map .hint-touch { display: none; }
}

.bulk {
  display: flex;
  flex-direction: column;
  gap: calc(var(--lh) / 2);
  margin-top: var(--lh);
}
.bulk .note { text-align: center; }

@media (min-width: 721px) {
  /* the scale sits above the full-screen button, so Rotation and Sun fit on one line beside each other */
  .viewer-bar { right: calc(var(--gut) + var(--ctl) + 10px); }
  /* the two sliders give up some length before the bar wraps (the plate is the container) */
  .viewer .sun input,
  .viewer .spin input {
    width: clamp(48px, (100cqw - 2 * var(--gut) - var(--ctl) - 400px) / 2, 96px);
  }
  .scalebar {
    right: var(--gut);
    bottom: calc(var(--gut) + var(--ctl) + 10px);
    transform: none;
  }
  .overlay-tools { top: var(--gut); }
  .looks {
    top: calc(var(--gut) + var(--ctl) + 14px);
    left: var(--gut);
    flex-direction: column;
    gap: 10px;
  }
  .status {
    top: calc(var(--gut) + var(--ctl) + 18px);
    left: calc(var(--gut) + 44px);
  }
}
@media (max-width: 720px) {
  .scalebar { display: none; }
}
@media (max-width: 560px) {
  .viewer .pager { top: calc(var(--gut) + 44px); }
  .viewer .scalebar { top: calc(var(--gut) + 92px); }
  .status { top: calc(var(--gut) + 92px); }
  .viewer .hint { display: none; }
  .viewer .sun input { width: 72px; }
  .viewer .spin { padding: 0 3px; }
  .viewer .spin label,
  .viewer .spin input { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 10px; }
  .card .mt .badges {
    top: 10px;
    left: 10px;
  }
  .coord { font-size: 9px; padding: 0 4px; }
  .coord.tl,
  .coord.bl { left: 14px; }
  .coord.tr,
  .coord.br { right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .viewer .loader { animation-duration: 3s; }
  .viewer .poster,
  #bigmap .pt,
  #bigmap .borders,
  #bigmap #map-cities { transition: none; }
}

/* ========================================================================
   App layout (since 20 Nov 2026): header, catalogue box and plate side by side, no page scroll.
   Rhythm: line heights, vertical paddings and gaps are multiples of --u (half the 22px grid).
   ======================================================================== */
:root {
  --u: 11px;
  /* outer margin around the boxes */
  --m: 12px;
  /* side gutter inside the plate: the viewer's own control gutter */
  --ppad: 24px;
  /* side gutter in the catalogue: the inset of the cards' HD badges */
  --cg: 11px;
  --bar: calc(5 * var(--u));
  --foot: 0px;
}
@media (min-width: 900px) {
  :root {
    --m: 20px;
    --ppad: 28px;
    --cg: 14px;
  }
}
@media (min-width: 900px) and (pointer: coarse) {
  :root {
    --ppad: 24px;
  }
}
/* The page scrolls one screen: from the welcome to the app, which stays fixed underneath */
body {
  min-height: calc(100vh + var(--run, 100vh));
  overflow-x: hidden;
}

/* Header: menu, logo in the middle, links and language */
.masthead {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--m);
  pointer-events: none;
}
.masthead > * {
  pointer-events: auto;
}
.mast-start,
.mast-end {
  display: flex;
  align-items: center;
  height: 100%;
}
.mast-end {
  justify-content: flex-end;
  gap: calc(2 * var(--u));
}
.intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: calc(3 * var(--u));
  letter-spacing: -0.01em;
  white-space: nowrap;
  /* optical centre: Literata's capitals sit low in the line box */
  position: relative;
  top: -1px;
}
.intro h1 a {
  color: inherit;
  text-decoration: none;
}
.intro h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--glacier);
}
.mast-links {
  display: none;
  gap: calc(2 * var(--u));
}
.mast-links a {
  color: var(--ink);
  font-size: 14px;
  line-height: var(--lh);
  text-decoration-color: transparent;
}
.mast-links a:hover {
  color: var(--glacier);
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}
.mast-links a:active {
  color: var(--ink);
}
.lang {
  border-radius: 2px;
}
.lang button {
  height: calc(3 * var(--u) - 2px);
  padding: 0 9px;
  border-radius: 0;
  font: 500 11px var(--font-data);
}
.burger {
  width: var(--tap, 40px);
  height: var(--tap, 40px);
  margin-left: -10px;
  border: 0;
  background: none;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}
.burger span {
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before {
  transform: translateY(-6px);
}
.burger span::after {
  transform: translateY(6px);
}
.menu-open .burger span {
  background: transparent;
}
.menu-open .burger span::before {
  transform: rotate(45deg);
}
.menu-open .burger span::after {
  transform: rotate(-45deg);
}
@media (min-width: 900px) {
  .mast-links {
    display: flex;
  }
}

/* The menu: a drawer under the header with every link */
.scrim {
  position: fixed;
  z-index: 18;
  inset: 0;
  background: rgb(0 0 0 / 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.drawer {
  position: fixed;
  z-index: 19;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  overflow-y: auto;
  padding: calc(var(--bar) + 2 * var(--u)) var(--m) calc(3 * var(--u));
  border-right: 1px solid var(--rule);
  background: var(--sheet);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.28s;
}
.menu-open .drawer {
  transform: none;
  visibility: visible;
}
.menu-open .scrim {
  opacity: 1;
  visibility: visible;
}
.drawer nav {
  display: flex;
  flex-direction: column;
}
.drawer h3 {
  margin: 0;
  color: var(--muted);
  font: 11px/var(--lh) var(--font-data);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.drawer nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: calc(4 * var(--u));
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
}
.drawer nav a:hover {
  color: var(--glacier);
}
.drawer nav a:active {
  color: var(--ink);
}
.drawer .settings .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: calc(4 * var(--u));
}
.drawer .fine {
  margin: auto 0 0;
  color: var(--muted);
  font: 11px/var(--lh) var(--font-data);
}
.drawer .fine strong {
  font-weight: 500;
  color: var(--ink);
}

/* The two boxes */
.app {
  position: fixed;
  inset: calc(var(--bar) + var(--m)) var(--m) calc(var(--m) + var(--foot));
}
.catalogue {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.plate-wrap {
  position: fixed;
  z-index: 15;
  inset: var(--bar) 0 0;
  padding: var(--m);
  background: var(--paper);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s;
}
.plate-open .plate-wrap {
  transform: none;
  visibility: visible;
}
.plate {
  height: 100%;
  container-type: inline-size;
}
@media (min-width: 900px) {
  :root {
    --cat: 44vw;
  }
  .catalogue {
    right: auto;
    width: var(--cat);
  }
  .plate-wrap,
  .plate-open .plate-wrap {
    position: absolute;
    inset: 0 0 0 calc(var(--cat) + var(--m));
    z-index: auto;
    padding: 0;
    background: none;
    transform: none;
    visibility: visible;
    transition: none;
  }
}
@media (min-width: 1280px) {
  :root {
    --cat: calc(50vw - 1.5 * var(--m));
  }
}

/* Catalogue box: title, search, Filters, Map/List; the filters open under them */
.cat-head {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--u) calc(2 * var(--u));
  padding: var(--u) var(--cg) calc(var(--u) - 1px);
  border-bottom: 1px solid var(--rule);
}
/* The count sits at the end of the search field, before the clear button once something is typed */
.cat-count {
  position: absolute;
  top: 50%;
  right: 11px;
  font-family: var(--font-data);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--contour);
  pointer-events: none;
  transform: translateY(-50%);
}
.search.typed .cat-count {
  right: 34px;
}
.search.filtered .search-in {
  padding-right: 96px;
}
/* Phones: the total only shows once the list is narrowed, so the placeholder has room */
@media (max-width: 599px) {
  .search:not(.filtered) .cat-count {
    display: none;
  }
  .search:not(.filtered) .search-in {
    padding-right: 8px;
  }
}
/* mirrors the magnifier: its centre as far from the right edge as the magnifier's is from the left (17.5px) */
.search-clear {
  position: absolute;
  top: 50%;
  right: 6.5px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
}
.search-clear svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.search-clear[hidden] {
  display: none;
}
.cat-head .tools {
  flex: 1 1 320px;
  display: flex;
  gap: 6px;
}
/* Square controls with the chip type: round pills are for the model and the map only */
.search {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
}
.search-in,
.tbtn {
  height: calc(3 * var(--u));
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--raise);
  color: var(--ink);
  font: 500 12.5px var(--font-body);
}
.search-in {
  width: 100%;
  padding: 0 44px 0 30px;
  background: var(--raise) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23646d72' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5 14 14'/%3E%3C/svg%3E") 11px center / 13px no-repeat;
  cursor: text;
}
.search-in::placeholder {
  color: var(--muted);
}
.search-in:focus {
  border-color: var(--ink);
  outline: none;
}
.tbtn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  white-space: nowrap;
  cursor: pointer;
}
.tbtn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tbtn .n {
  font-family: var(--font-data);
  color: var(--contour);
}
.tbtn[aria-expanded="true"] {
  border-color: var(--ink);
}
#v-toggle .i-list,
#v-toggle .l-list,
#v-toggle[aria-pressed="true"] .i-map,
#v-toggle[aria-pressed="true"] .l-map {
  display: none;
}
#v-toggle[aria-pressed="true"] .i-list,
#v-toggle[aria-pressed="true"] .l-list {
  display: inline;
}
@media (hover: hover) {
  .tbtn:hover {
    background-color: var(--glacier-soft);
  }
}
.tbtn:active {
  background-color: color-mix(in srgb, var(--glacier) 25%, var(--sheet));
}
/* Filters: the checkbox lists, on the 22px grid */
.filters {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--u) calc(2 * var(--u));
  max-height: 55vh;
  overflow-y: auto;
  margin: 0 calc(-1 * var(--cg));
  padding: var(--u) var(--cg) 0;
  border-top: 1px solid var(--rule);
}
.filters[hidden] {
  display: none;
}
.filters fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.filters fieldset.wide {
  grid-column: 1 / -1;
}
.filters fieldset.wide .opts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  column-gap: calc(2 * var(--u));
}
.filters legend {
  padding: 0;
  color: var(--muted);
  font: 11px/var(--lh) var(--font-data);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -6px;
  padding: 0 6px;
  border-radius: 2px;
  font-size: 13px;
  line-height: var(--lh);
  cursor: pointer;
}
.filters input {
  margin: 0;
  accent-color: var(--glacier);
}
.filters .n {
  margin-left: auto;
  color: var(--contour);
  font: 11px var(--font-data);
}
.filters .ffoot {
  grid-column: 1 / -1;
  min-height: var(--u);
}
.filters .clear {
  padding: 0;
  border: 0;
  background: none;
  color: var(--glacier);
  font: 13px/var(--lh) var(--font-body);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 3px;
  cursor: pointer;
}
.filters .clear:hover {
  text-decoration-color: currentColor;
}
.filters .clear:active {
  color: var(--ink);
}
.filters .clear[hidden] {
  display: none;
}
/* The list: the site's cards, the last column's rule under the box frame; fades where there is more */
.cat-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cat-scroll[hidden],
.map[hidden] {
  display: none;
}
.cat-scroll .grid {
  margin-right: -1px;
  border-top: 0;
  border-left: 0;
}
.cat-scroll,
.pscroll,
.filters {
  --fu: 0px;
  --fd: 0px;
  /* eased: the edge stays faint for longer, then gives way to the content */
  --fade: linear-gradient(transparent, rgb(0 0 0 / 0.08) calc(var(--fu) * 0.3), rgb(0 0 0 / 0.4) calc(var(--fu) * 0.62), rgb(0 0 0 / 0.82) calc(var(--fu) * 0.86), #000 var(--fu), #000 calc(100% - var(--fd)), rgb(0 0 0 / 0.82) calc(100% - var(--fd) * 0.86), rgb(0 0 0 / 0.4) calc(100% - var(--fd) * 0.62), rgb(0 0 0 / 0.08) calc(100% - var(--fd) * 0.3), transparent);
  -webkit-mask-image: var(--fade);
  mask-image: var(--fade);
}
.cat-scroll.more-up {
  --fu: 28px;
}
.cat-scroll.more-down {
  --fd: 96px;
}
/* where there is more to scroll, the plate fades into it */
.pscroll.more-up {
  --fu: 33px;
}
.pscroll.more-down {
  --fd: 55px;
}
.filters.more-up {
  --fu: 22px;
}
.filters.more-down {
  --fd: 22px;
}
.card {
  gap: 0;
  padding: calc(2 * var(--u)) var(--cg) calc(2 * var(--u) - 1px);
  container-type: inline-size;
}
.card img {
  height: round(down, 100cqw, var(--u));
  margin-bottom: var(--u);
}
.card .nm,
.card .mt {
  line-height: var(--lh);
}
.card .mt .badges {
  top: var(--u);
  left: var(--cg);
}
@media (min-width: 900px) {
  .cat-scroll .grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
}
@media (max-width: 560px) {
  .card {
    padding: calc(2 * var(--u)) var(--cg) calc(2 * var(--u) - 1px);
  }
  .card .mt .badges {
    top: var(--u);
    left: var(--cg);
  }
}
/* The map: like the model, round controls of the viewer's size */
.map {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.map #bigmap {
  flex: 1;
  min-height: 0;
}
.map-ctl {
  position: absolute;
  top: var(--u);
  right: var(--cg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-ctl button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: color-mix(in srgb, var(--raise) 88%, transparent);
  color: var(--ink);
  cursor: pointer;
}
.map-ctl svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
@media (hover: hover) {
  .map-ctl button:hover {
    background: var(--glacier-soft);
  }
}
.map-ctl button:active {
  background: color-mix(in srgb, var(--glacier) 25%, var(--sheet));
}
.map .map-reset {
  position: absolute;
  top: var(--u);
  left: var(--cg);
}
.map figcaption {
  flex: none;
  padding: var(--u) var(--cg);
  line-height: var(--lh);
}

/* The plate: one scrolling column. Place, name, height and pager; the viewer; description, downloads, the rest. */
.plate::before {
  z-index: 7;
}
/* The tab rises 4.5px above the frame; the figures sit just under the inner rule's line (cap top 3.75px inside the
   frame), at 10px on every screen */
.plate .coord {
  z-index: 8;
  font-size: 10px;
  line-height: 22px;
  padding: 0 6px;
}
.plate .coord.tl,
.plate .coord.tr {
  top: -4.5px;
}
.plate .coord.bl,
.plate .coord.br {
  bottom: -4.5px;
}
.plate .coord.tl::after,
.plate .coord.tr::after,
.plate .coord.bl::after,
.plate .coord.br::after {
  height: 5.5px;
}
/* The background stops just past the inner rule, so it never covers the place line under it */
.plate .coord.tl,
.plate .coord.tr {
  background: linear-gradient(var(--sheet) 12px, transparent 12px);
}
.plate .coord.bl,
.plate .coord.br {
  background: linear-gradient(to top, var(--sheet) 12px, transparent 12px);
}
.pscroll {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Viewer sizing, all CSS. The plate's scroller is the size container (cqw, cqh).
   --bands: the controls' rows above and below the free area; --least: the smallest viewer;
   --res-cta: room kept under the viewer for the description and the Download button (the header and viewer
   shrink to leave it); when the plate is tall enough for a full-size viewer and the small map as well, the viewer
   stops at the size that leaves the map in view too (header 12u + viewer + map block) */
.pscroll {
  container-type: size;
  --bands: 274px;
  --least: calc(var(--bands) + 88px);
  --res-cta: 11px;
}
.pfirst {
  flex: none;
  display: flex;
  flex-direction: column;
  max-height: calc(100cqh - var(--res-cta));
}
@media (min-width: 900px) {
  .pscroll {
    --bands: 144px;
    --least: calc(var(--bands) + min((100cqw - 58px) * 4 / 5, 200px));
    --res-cta: calc(18 * var(--u));
  }
  /* one column (map under the downloads): 132 + 506 + 344 */
  @container (min-height: 982px) {
    .vframe {
      max-height: max(var(--least), 100cqh - 132px - 506px);
    }
  }
}
@media (min-width: 1280px) {
  /* two columns (map beside the downloads): 132 + 286 + 344 */
  @container (min-height: 762px) {
    .vframe {
      max-height: max(var(--least), 100cqh - 132px - 286px);
    }
  }
}
.phead {
  position: relative;
  flex: none;
  padding: var(--u) calc(var(--ppad) + 5px) var(--u);
}
.phead .group {
  font-family: var(--font-data);
  font-size: 11px;
  line-height: var(--lh);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--contour);
}
.phead h2 {
  margin: 0;
  padding-left: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: calc(3 * var(--u));
  text-wrap: balance;
}
.phead .fullname {
  font-family: var(--font-data);
  font-size: 12px;
  line-height: var(--lh);
  color: var(--muted);
}
.phead .fullname[hidden] {
  display: none;
}
.phead .elev-row {
  display: flex;
  align-items: center;
  gap: var(--u);
  min-height: calc(4 * var(--u));
}
.phead .elev {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: calc(3 * var(--u));
  color: var(--glacier);
}
.phead .elev .summit {
  margin-left: 10px;
  font: 500 13px var(--font-body);
  font-style: normal;
  color: var(--muted);
}
.phead .lowres-tag {
  padding: 0 6px;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  border-radius: 3px;
  background: var(--raise);
  font: 500 10px/16px var(--font-data);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--contour);
}
.phead .lowres-tag[hidden] {
  display: none;
}
/* Phones: back to the catalogue is a chevron on the name's first line, on the content edge */
.back {
  position: absolute;
  top: calc(var(--u) + var(--lh));
  left: calc(var(--ppad) + 5px - 10px);
  display: grid;
  place-items: center;
  width: 28px;
  height: calc(3 * var(--u));
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.back svg,
.pnav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover) {
  .back:hover {
    background: var(--glacier-soft);
  }
}
.back:active {
  background: color-mix(in srgb, var(--glacier) 25%, var(--sheet));
}
/* Previous / next: phones on the height's line, desktop on the name's line */
.pnav {
  position: absolute;
  right: calc(var(--ppad) + 5px);
  bottom: calc(var(--u) + (4 * var(--u) - 3 * var(--u)) / 2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pnav .tbtn {
  width: calc(3 * var(--u));
  padding: 0;
}
.pnav .tbtn svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
}
#nav-count {
  min-width: 7ch;
  text-align: center;
  color: var(--muted);
  font: 13px var(--font-data);
  font-variant-numeric: tabular-nums;
}
/* The viewer: phones get a free 4:5 area between its controls (height worked out by safeArea() in app.js) */
.vframe {
  position: relative;
  flex: none;
  display: flex;
  /* the free area between the controls is 4:5; it gives way first when the screen is short */
  flex: 0 1 auto;
  height: calc(var(--bands) + (100cqw - 58px) * 5 / 4);
  min-height: var(--least);
  margin: 0 5px;
  border-top: 1px solid var(--rule);
}
.vframe .viewer {
  flex: 1;
  min-height: 0;
  border: 0;
}
.plate .legend {
  flex: none;
  gap: calc(2 * var(--u));
  margin: 0 5px;
  padding: calc(2 * var(--u) - 1px) var(--ppad) calc(2 * var(--u));
  border-top: 1px solid var(--rule);
}
.plate .legend p {
  font-size: 15px;
  line-height: var(--lh);
}
.plate dl.specs {
  gap: 0 16px;
  padding: 0;
  border: 0;
  line-height: var(--lh);
}
.plate dl.specs dd {
  white-space: nowrap;
}
.plate .actions {
  gap: var(--u);
}
.plate .btn {
  height: calc(4 * var(--u));
  padding: 0 16px;
}
/* Other versions: a quiet label and plain rows on the 11px grid, set off by a hairline */
.plate .dl-list {
  gap: 0;
  margin: calc(var(--u) / 2) 0 0;
  padding-top: var(--u);
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: var(--lh);
}
.plate .dl-also {
  margin: 0 0 calc(var(--u) / 2);
  font: 13px/var(--lh) var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.plate .dl-list > button {
  padding: calc(var(--u) / 2) 0;
}
.plate .dl-list .dl-meta {
  font-size: 12px;
}
.plate .note:empty {
  display: none;
}
@media (min-width: 900px) {
  .back {
    display: none;
  }
  .phead {
    padding-top: calc(2 * var(--u));
  }
  .phead h2 {
    padding: 0 180px 0 0;
    font-size: 34px;
    line-height: calc(4 * var(--u));
  }
  .phead .elev-row {
    min-height: calc(3 * var(--u));
  }
  .pnav {
    top: calc(2 * var(--u) + var(--lh) + var(--u) / 2);
    bottom: auto;
  }
}
@media (min-width: 1280px) {
  .plate .legend {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: calc(2 * var(--ppad));
    align-items: start;
  }
  .plate .legend > p,
  .plate .lowres-note {
    grid-column: 1 / -1;
  }
  .plate .actions {
    grid-column: 2;
    grid-row: 2 / span 2;
  }
  .plate .locator {
    grid-column: 1;
    grid-row: 2;
  }
  .plate dl.specs {
    grid-column: 1;
    grid-row: 3;
  }
}

/* Footer: the credits, in order of importance; what doesn't fit drops off the end */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 calc(2 * var(--u));
  height: calc(2 * var(--lh));
  overflow: hidden;
  margin: calc(2 * var(--u)) var(--cg) calc(3 * var(--u));
  color: var(--muted);
  font: 11px/var(--lh) var(--font-data);
}
.foot span {
  white-space: nowrap;
}
.foot .data {
  display: flex;
  flex-wrap: wrap;
  gap: 0 calc(2 * var(--u));
}
.foot.fixed {
  display: none;
}
@media (min-width: 900px) {
  :root {
    --foot: calc(var(--lh) + 2 * var(--u));
  }
  .foot.in-list {
    display: none;
  }
  .foot.fixed {
    display: flex;
    position: fixed;
    left: var(--m);
    right: var(--m);
    bottom: calc(2 * var(--u));
    height: var(--lh);
    margin: 0;
  }
  .foot.fixed .data {
    flex-wrap: nowrap;
  }
}
/* The pager lives in the plate header; inside the viewer it shows only in full screen, as before */
.viewer:not(.full) .pager {
  display: none;
}
/* Full screen without the Fullscreen API (iPhone): nothing around the viewer may contain or clip it */
.app:has(.viewer.fake),
.plate-wrap:has(.viewer.fake) {
  z-index: 30;
}
.plate:has(.viewer.fake) {
  container-type: normal;
}
.pscroll:has(.viewer.fake) {
  -webkit-mask-image: none;
  mask-image: none;
}
/* The Credits link opens About at Data and authors, with room above the heading */
#credits {
  scroll-margin-top: var(--lh);
}
/* Header: no bar; the menu on the left, credits, appearance and language on the right */
.mast-theme {
  width: calc(3 * var(--u));
  height: calc(3 * var(--u));
  border-radius: 2px;
}
.mast-theme svg {
  width: 15px;
  height: 15px;
}
/* Logo and welcome above the catalogue: in the column's flow on phones and tablets, as tall as the model's header beside it */
@media (max-width: 899px) {
  .app {
    display: flex;
    flex-direction: column;
  }
  .intro {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--u) / 2);
    padding: 0 var(--cg) calc(2 * var(--u));
    text-align: center;
  }
  .intro h1 {
    font-size: 36px;
    line-height: calc(4 * var(--u));
  }
  .intro p {
    max-width: 46ch;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: var(--lh);
    text-wrap: balance;
  }
  .catalogue {
    position: relative;
    flex: 1;
    min-height: 0;
  }
}
@media (min-width: 900px) {
  .app {
    --intro-h: calc(12 * var(--u));
  }
  .intro {
    position: absolute;
    z-index: auto;
    top: 0;
    right: auto;
    left: 0;
    width: var(--cat);
    height: var(--intro-h);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--u);
    padding: 0 calc(2 * var(--cg)) var(--u);
    text-align: center;
    transform: none;
  }
  .intro h1 {
    font-size: 44px;
    line-height: calc(4 * var(--u));
  }
  .intro p {
    display: block;
    max-width: 52ch;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: var(--lh);
    text-wrap: balance;
  }
  .catalogue {
    top: var(--intro-h);
  }
}
/* Narrow screens: the open menu covers the header's own controls */
@media (max-width: 719px) {
  .menu-open .mast-end {
    visibility: hidden;
  }
}
/* Welcome: a box across the top with the logo and the welcome line; the app sits below it. Scrolling its height
   moves the app up into place, the box fades a little as it goes and the logo settles to the left, above the catalogue. */
.welcome {
  position: fixed;
  top: calc(var(--bar) + var(--m));
  right: var(--m);
  left: var(--m);
  height: clamp(242px, 40vh, 440px);
  overflow: hidden;
}
/* Etna's contour lines as a watermark, drawn from the model: on the page background, around the logo, always there */
/* An image on its own compositor layer, drawn once at its largest size and scaled down: scrolling only changes
   its transform, so the browser never redraws the lines */
.watermark {
  --wm: 0.4545;
  position: fixed;
  z-index: -1;
  top: calc(var(--bar) + var(--m) + 6 * var(--u));
  left: calc(var(--m) + var(--cat) / 2);
  width: min(3080px, calc(var(--cat) * 3.52));
  max-width: none;
  height: auto;
  opacity: 0.09;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%) scale(var(--wm));
  will-change: transform;
}
[data-theme="dark"] .watermark {
  opacity: 0.1;
  filter: invert(1);
}
.hero-cap {
  position: absolute;
  right: var(--cg);
  bottom: var(--u);
  font: 11px/var(--lh) var(--font-data);
  color: var(--muted);
}
.pscroll[hidden] {
  display: none;
}
.intro {
  z-index: 31;
  transform-origin: 50% 50%;
}
/* While the welcome is up, the panels don't scroll: the wheel and the finger move the page */
.landing .cat-scroll,
.landing .pscroll {
  overflow: hidden;
}
/* Phones: the logo and its line at the top of the catalogue are the welcome */
@media (max-width: 899px) {
  .welcome {
    display: none;
  }
  .intro {
    position: relative;
    z-index: 14;
  }
  .watermark {
    left: 50%;
    width: 286vw;
  }
}

/* About and The models: pages in the plate, with the model's header shape; tabs on the third line */
.plate.page .coord {
  letter-spacing: 0;
}
.ptabs {
  display: flex;
  height: calc(3 * var(--u));
  margin-top: calc(var(--u) / 2);
}
.ptabs a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  color: var(--ink);
  font: 500 12.5px/1 var(--font-body);
  text-decoration: none;
}
.ptabs a + a {
  border-left: 0;
}
.ptabs a:first-child {
  border-radius: 2px 0 0 2px;
}
.ptabs a:last-child {
  border-radius: 0 2px 2px 0;
}
.ptabs a[aria-current="page"] {
  background: var(--glacier-soft);
}
/* The pages' text: one column on the plate's margins, on the 11px grid */
.pgbody {
  padding: calc(2 * var(--u)) calc(var(--ppad) + 5px) calc(5 * var(--u));
  border-top: 1px solid var(--rule);
}
.page[hidden] {
  display: none;
}
.page .byline {
  margin: 0 0 calc(3 * var(--u));
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: calc(3 * var(--u));
  color: var(--glacier);
}
.page section + section {
  margin-top: calc(4 * var(--u));
}
.page h3 {
  margin: 0 0 var(--u);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px;
  line-height: calc(3 * var(--u));
}
.page p,
.page li {
  max-width: 64ch;
  margin: 0 0 var(--u);
  font-size: 15px;
  line-height: var(--lh);
}
.page p:last-child {
  margin-bottom: 0;
}
.page ul {
  margin: var(--u) 0 0;
  padding-left: 18px;
}
.page li {
  margin: 0;
}
.page strong {
  font-weight: 600;
}
.page .cite {
  margin-top: calc(2 * var(--u));
  padding: var(--u) calc(1.5 * var(--u));
  border: 1px solid var(--rule);
  font: 11.5px/var(--lh) var(--font-data);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.page .cite p {
  max-width: none;
  font: inherit;
}
.page .bulk {
  align-items: flex-start;
}
@supports (animation-timeline: scroll()) {
  /* the page's whole scroll range is the welcome's run */
  .app,
  .welcome,
  .intro,
  .watermark,
  .foot.fixed {
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: scroll(root);
  }
  .app {
    animation-name: app-up;
  }
  .welcome {
    animation-name: welcome-out;
  }
  .intro {
    animation-name: intro-settle;
  }
  /* while the welcome is up the two panels start level; the catalogue then makes room for the logo */
  @media (min-width: 900px) {
    .catalogue {
      animation: cat-room linear both;
      animation-timeline: scroll(root);
    }
  }
  .foot.fixed {
    animation-name: foot-in;
  }
  /* the contours grow as the page scrolls and stay large behind the app */
  .watermark {
    animation-name: watermark-grow;
  }
  /* phones have no welcome box; a running animation would also make the app the frame of the plate overlay */
  @media (max-width: 899px) {
    .app,
    .intro,
    .foot.fixed {
      animation: none;
    }
  }
}
@keyframes app-up {
  from {
    transform: translateY(var(--run, 0px));
  }
  to {
    transform: none;
  }
}
@keyframes welcome-out {
  to {
    opacity: 0;
    transform: translateY(calc(var(--run, 0px) * -0.25));
  }
}
@keyframes intro-settle {
  from {
    transform: translate(var(--hx, 0px), var(--hy, 0px)) scale(var(--hs, 1));
  }
  to {
    transform: none;
  }
}
@keyframes cat-room {
  from {
    transform: translateY(calc(-1 * var(--intro-h, 0px)));
  }
  to {
    transform: none;
  }
}
@keyframes watermark-grow {
  from {
    transform: translate(-50%, -50%) scale(0.4545);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes foot-in {
  from {
    opacity: 0;
  }
}
/* In the app a panel that reaches its end doesn't hand the scroll on to the page */
.in-app .cat-scroll,
.in-app .pscroll,
.in-app .filters,
.in-app #bigmap {
  overscroll-behavior: contain;
}
/* no rubber-band bounce of the whole page (iPad, iPhone, trackpads) */
html {
  overscroll-behavior-y: none;
}
/* Phones and tablets in portrait: the plate runs the length of its content and the overlay scrolls, so the box
   visibly carries on below the screen; the viewer still fits under the header with a peek of what follows */
@media (max-width: 899px) {
  .plate-wrap {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .plate {
    height: auto;
  }
  .plate .pscroll {
    height: auto;
    overflow: visible;
    container-type: inline-size;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .plate .pfirst {
    max-height: none;
  }
  .vframe {
    height: min(calc(var(--bands) + (100cqw - 58px) * 5 / 4), 100svh - var(--bar) - var(--m) - 18 * var(--u));
  }
}
.map-ctl button:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
#bigmap .lbl.all.lit {
  fill: var(--ink);
}
/* Phones: more room above the name; the name first, then region · province · type, then the height; prev/next only
   in full screen (the viewer's own pager) */
@media (max-width: 899px) {
  .phead {
    display: flex;
    flex-direction: column;
    padding-top: calc(3 * var(--u));
  }
  .phead h2 {
    order: 1;
  }
  .phead .fullname {
    order: 2;
    padding-left: 18px;
  }
  .phead .group {
    order: 3;
    padding-left: 18px;
  }
  .phead .elev-row {
    order: 4;
    padding-left: 18px;
    min-height: calc(3 * var(--u));
  }
  .back {
    top: calc(3 * var(--u));
  }
  /* centred on the name's x-height, not on its line box */
  .back svg {
    translate: 0 4.5px;
  }
  .phead h2 {
    cursor: pointer;
  }
  @media (hover: hover) {
    .phead h2:hover,
    .phead:has(h2:hover) .back {
      color: var(--glacier);
    }
  }
  .pnav {
    display: none;
  }
}
dl.specs .times {
  font-family: var(--font-body);
}
