:root {
  color-scheme: light;
  --ink: #171f25;
  --night: #1d282f;
  --line-dark: #3b484d;
  --light: #fcf8ef;
  --paper: #f5f1e8;
  --paper-alt: #ebe5d7;
  --line: #d4ccbb;
  --muted: #555d5e;
  --amber: #ffc578;
  --copper: #804320;
  --steel: #27616b;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-block-size: 100vh; margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
main { flex: 1; }
img { display: block; max-inline-size: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 5.9vw, 6rem); font-weight: 760; }
h2 { font-size: clamp(1.85rem, 3.7vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.shell { width: min(100% - 2 * clamp(1.15rem, 5.2vw, 5.5rem), 82rem); margin-inline: auto; }
.kicker { font: 700 .81rem/1.5 var(--mono); color: var(--copper); letter-spacing: .12em; text-transform: uppercase; }
.deck { max-width: 37em; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; }
.muted { color: var(--muted); }
.skip { position: absolute; z-index: 5; inset: .5rem auto auto .5rem; padding: .6rem 1rem; background: var(--light); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.site-header, .site-footer, .hero, .page-intro, .live-panel { background-color: var(--ink); color: var(--light); }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .live-panel :focus-visible { outline-color: var(--amber); }
.site-header { border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.07rem; font-weight: 760; white-space: nowrap; }
.brand small { color: var(--amber); }
.nav-list, .footer-inner ul, .section-index ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem clamp(.72rem, 2vw, 1.75rem); padding: 0; margin: 0; }
.nav-list a, .footer-inner a, .cockpit-link { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .92rem; }
.nav-list a:hover, .footer-inner a:hover, .nav-list [aria-current], .footer-inner [aria-current] { color: var(--amber); text-decoration: underline; }
.cockpit-link { padding-inline: .85rem; border: 1px solid #657279; white-space: nowrap; }
.cockpit-link:hover, .cockpit-link[aria-current] { color: var(--amber); border-color: var(--amber); }

.hero, .page-intro {
  background-image: linear-gradient(90deg, transparent 31px, #aebfc50d 32px), linear-gradient(0deg, transparent 31px, #aebfc50d 32px);
  background-size: 32px 32px;
}
.hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(2rem, 5vw, 5.75rem); align-items: center; padding-block: clamp(2.7rem, 5.3vw, 5rem) clamp(2.2rem, 4vw, 3.4rem); }
.hero-copy .kicker, .page-intro .kicker { color: var(--amber); }
.hero h1 { margin-block: .22em .24em; }
.hero h1 em { display: inline-block; color: var(--amber); font: italic 400 .87em/.99 var(--serif); letter-spacing: -.065em; }
.hero-copy .deck, .page-intro .deck { color: #dce0dc; }
.hero-actions, .related-links { display: flex; align-items: center; gap: .65rem 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.button { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; border: 1px solid transparent; padding: .63rem .92rem; font-size: .91rem; font-weight: 720; line-height: 1.35; text-decoration: none; background: var(--amber); color: var(--ink); transition: background-color .18s, border-color .18s, color .18s; }
.button:hover { background: #ffdbab; }
.button.secondary { background: var(--ink); color: var(--light); border-color: #657279; }
.button.secondary:hover { border-color: var(--amber); color: var(--amber); }
.button.ink { background: var(--ink); color: var(--light); }
.button.ink:hover { background: var(--steel); }

.project-photo img { width: 100%; background: var(--paper-alt); }
.project-photo a { display: block; }
.project-photo a:hover { box-shadow: 0 0 0 2px var(--steel); }
.project-photo figcaption, .diagram figcaption { padding: .75rem .85rem; font: .83rem/1.5 var(--mono); }
.hero-photo { position: relative; border: 1px solid #79837f; padding: .52rem; background: var(--night); box-shadow: 10px 10px 0 #11181d; }
.hero-photo::before, .hero-photo::after { position: absolute; content: ""; width: 1.35rem; height: 1.35rem; border: solid var(--amber); pointer-events: none; }
.hero-photo::before { inset: -1px auto auto -1px; border-width: 2px 0 0 2px; }
.hero-photo::after { inset: auto -1px -1px auto; border-width: 0 2px 2px 0; }
.hero-photo img { aspect-ratio: 1.18; object-fit: cover; object-position: center 54%; }
.hero-photo figcaption { padding: .6rem .35rem .1rem; color: #e2e0d5; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.hero-facts div { display: flex; flex-wrap: wrap-reverse; justify-content: flex-end; flex-direction: row-reverse; align-items: baseline; gap: .15rem .9rem; padding: 1.05rem .9rem 1.2rem; border-left: 1px solid var(--line-dark); }
.hero-facts div:first-child { border-left: 0; padding-left: 0; }
.hero-facts dt { color: #d4d8d4; font: .82rem/1.4 var(--mono); }
.hero-facts dd { font-size: clamp(1.11rem, 2vw, 1.6rem); font-weight: 720; white-space: nowrap; }

.page-intro { padding-block: clamp(2.8rem, 6vw, 5.15rem); border-bottom: 3px solid var(--copper); }
.page-intro h1 { margin-block: .15em; font-size: clamp(2.7rem, 6.2vw, 5.2rem); }
.page-intro h1:last-child { margin-bottom: 0; }
.content-section { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(1.6rem, 5vw, 5.25rem); }
.feature-copy .button { margin-top: 1.15rem; }
.prose { max-inline-size: 72ch; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1rem; }
.prose h2:not(:first-child), .prose h3:not(:first-child), .prose h4:not(:first-child) { margin-top: 1.7em; }
.prose p, .prose li { color: #353f41; }
.prose a, .text-link { color: var(--steel); font-weight: 680; }
.prose .button.ink { color: var(--light); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose h4 { font-size: 1.1rem; }
.diagram { border: 1px solid #42636a; background: #1d333a; color: var(--light); }
.diagram img { width: 100%; }
.diagram a { display: block; }
.diagram a:focus-visible { outline-offset: -4px; outline-color: var(--amber); }
.diagram figcaption { border-top: 1px solid #42636a; color: #e4e5d9; }
.paper-band { background: var(--paper-alt); border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .7rem 1.2rem; margin-bottom: 1.55rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.2vw, 1.7rem); }
.photo-grid figure, .timeline .project-photo { background: var(--light); border: 1px solid var(--line); }
.photo-grid img, .timeline img { aspect-ratio: 4/3; object-fit: cover; }
.photo-grid figure:nth-child(2) img { object-position: center 45%; }
.gallery-grid img { object-fit: contain; background: #283237; }
.gallery-grid + .prose { margin-top: 1.6rem; }

.project-specs { margin-top: clamp(2.5rem, 7vw, 5.25rem); }
.project-specs > p { margin-block: .6rem 1.4rem; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.spec-sheet { padding: clamp(1rem, 2.6vw, 1.6rem); border: 1px solid var(--line); background: var(--light); }
.spec-sheet h3 { margin-bottom: .7rem; }
.spec-sheet dl > div { display: grid; grid-template-columns: 2fr 3fr; gap: .35rem 1rem; border-top: 1px solid var(--line); padding-block: .52rem; }
.spec-sheet dt { color: var(--muted); }
.spec-sheet dd { font-weight: 630; }
.section-index { padding: .55rem 1rem; border: 1px solid var(--line); background: var(--light); margin-bottom: 1rem; }
.section-index a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; color: var(--steel); }
.timeline { list-style: none; padding: 0 0 0 clamp(1.1rem, 3.5vw, 2.75rem); margin: 2rem 0 0; border-left: 1px solid var(--copper); }
.timeline > li { position: relative; }
.timeline > li + li { margin-top: 1rem; }
.timeline > li::before { position: absolute; content: ""; left: calc(-1 * clamp(1.1rem, 3.5vw, 2.75rem) - .32rem); top: 1.1rem; width: .61rem; height: .61rem; background: var(--copper); border-radius: 50%; }
.timeline-entry { background: var(--light); padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); }
.timeline-entry .kicker { margin-bottom: .6rem; }
.timeline-entry .feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3.2rem); }
.timeline-entry .project-photo { max-width: 25rem; }

.live-section { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.live-panel, .chat-panel { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line-dark); }
.live-panel { border-top: 3px solid var(--amber); }
.chat-panel { border-color: var(--line); background: var(--light); }
.chat-panel .prose { margin-top: 1rem; }
.live-heading { display: flex; flex-wrap: wrap; gap: .6rem 1rem; justify-content: space-between; align-items: center; }
.status-label { display: inline-flex; align-items: center; gap: .55rem; color: var(--amber); font: .86rem/1.4 var(--mono); }
.status-label span { width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.readings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: 1.35rem; }
.readings > div { padding: .9rem; background: var(--night); border: 1px solid var(--line-dark); }
.readings dt, .reading-date { color: #dce0dc; }
.reading-value { font-size: clamp(1.1rem, 2.2vw, 1.55rem); font-weight: 720; }

.form-panel { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: var(--light); }
.form-panel .form-field { margin-bottom: 1rem; }
.form-panel label { display: inline-block; font-weight: 680; padding-block: .2rem; }
.form-panel input:not([type=hidden]), .form-panel textarea { display: block; width: 100%; padding: .65rem; border: 1px solid #6d7471; border-radius: .15rem; background: #fffdfa; color: var(--ink); font: inherit; }
.form-panel textarea { min-height: 8rem; resize: vertical; }
.form-panel button { background: var(--ink); color: var(--light); border: 0; padding: .7rem 1.15rem; font: 700 1rem var(--sans); cursor: pointer; }
.form-panel button:hover { background: var(--steel); }
.form-panel .required, .form-panel .error { color: #8c321b; }
.site-footer { padding-block: 2rem; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: .7rem 2rem; flex-wrap: wrap; }
.footer-inner p { color: #dce0dc; font-size: .92rem; margin-top: .2rem; }

@media (max-width: 54rem) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 .7rem; padding-top: .65rem; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; }
  .cockpit-link { grid-column: 2; grid-row: 1; }
  .hero-grid { gap: 1.45rem; }
  .hero h1 { font-size: clamp(2.45rem, 6.8vw, 4.5rem); }
  .hero-facts div { flex-direction: column-reverse; justify-content: flex-start; }
  .spec-sheet dl > div { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 42rem) {
  .hero-grid, .feature, .timeline-entry .feature, .spec-grid, .live-section { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 1.85rem; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.15rem); }
  .hero-photo { margin-right: .28rem; box-shadow: 5px 5px 0 #11181d; }
  .hero-facts div { padding-inline: .45rem; }
  .hero-facts dt { font-size: .72rem; }
  .photo-grid { grid-template-columns: 1fr; }
  .gallery-grid img { aspect-ratio: auto; }
  .gallery-grid figure:nth-child(2) img { max-height: 36rem; }
  .spec-sheet dl > div { grid-template-columns: 2fr 3fr; gap: .35rem .65rem; }
}

@media (max-width: 23rem) {
  .brand { font-size: .9rem; gap: .4rem; }
  .brand img { width: 29px; height: 29px; }
  .cockpit-link { padding-inline: .55rem; }
  .page-intro h1 { font-size: 2.24rem; overflow-wrap: anywhere; }
  .nav-list { gap: 0 .65rem; }
  .nav-list a, .cockpit-link { font-size: .84rem; }
  .readings { grid-template-columns: 1fr; }
  .hero-facts dd { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.home-trails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 1.45rem; background: var(--line); border: 1px solid var(--line); }
.home-trail { padding: clamp(.75rem, 2vw, 1.25rem); background: var(--light); }
.home-trail h3 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.home-trail h3 a { color: var(--steel); text-underline-offset: .2em; }
.home-trail p { margin-top: .35rem; color: var(--muted); }

.technik-notebook { --note: #fff4cd; }
.technik-notebook .section-index { margin-bottom: clamp(1.4rem, 4vw, 3rem); }
.technik-notebook .bench { display: grid; gap: clamp(2.1rem, 5vw, 5rem); }
.notebook-entry {
  display: grid;
  grid-template-columns: minmax(0, var(--left, 1fr)) minmax(0, var(--right, 1.12fr));
  grid-template-areas: "copy sketch";
  gap: var(--gap, clamp(1.35rem, 5vw, 5rem));
  align-items: center;
  padding-block: clamp(1.1rem, 3vw, 2.9rem);
  scroll-margin-top: 1rem;
}
.notebook-copy { grid-area: copy; }
.notebook-sketch { grid-area: sketch; min-width: 0; }
.notebook-copy .kicker { color: var(--copper); }
.notebook-copy .kicker + h2 { margin-top: .42rem; }
.notebook-entry .diagram { box-shadow: .35rem .5rem 0 #2333371a; }
.notebook-entry .diagram a:hover { box-shadow: 0 0 0 2px var(--amber); }
.notebook-entry:target h2 { text-decoration: underline; text-decoration-color: #d39d6e; text-underline-offset: .16em; }
.notebook-slip {
  position: relative;
  z-index: 1;
  max-width: min(23rem, 100%);
  margin: .45rem 0 0 auto;
  padding: .5rem .8rem .55rem;
  background: var(--note);
  color: #533728;
  border: 1px solid #cdb885;
  box-shadow: .22rem .3rem 0 #61482a17;
  font: italic clamp(1.04rem, 1.6vw, 1.25rem)/1.3 var(--serif);
}
.taped-sketch { position: relative; }
.taped-sketch::before {
  position: absolute;
  z-index: 2;
  content: "";
  width: clamp(3rem, 25%, 7rem);
  height: 1.25rem;
  inset: -.5rem auto auto 40%;
  transform: rotate(-6deg);
  background: #e6c596d9;
  border: 1px dashed #93765066;
  pointer-events: none;
}
.notebook-cooling { --left: .86fr; --right: 1.18fr; border-top: 1px solid var(--line); }
.notebook-scale { --left: 1.05fr; --right: .85fr; grid-template-areas: "sketch copy"; padding-inline: clamp(0rem, 2vw, 2rem); }
.notebook-scale .diagram { transform: rotate(-1.8deg); }
.notebook-scale .notebook-slip { margin-top: -.2rem; margin-right: -.5rem; transform: rotate(2.5deg); }
.notebook-display {
  grid-template-areas: "copy" "sketch";
  grid-template-columns: minmax(0, 1fr);
  --gap: 1.5rem;
  padding: clamp(1.1rem, 4vw, 3rem);
  background: var(--night);
  color: var(--light);
  border-top: 3px solid var(--amber);
  box-shadow: .45rem .55rem 0 #23333721;
}
.notebook-display .notebook-copy .kicker { color: var(--amber); }
.notebook-display .prose p:not(.kicker), .notebook-display .prose li { color: #e2e3dc; }
.notebook-display .note-details { max-width: 57ch; }
.notebook-display .diagram { border-color: #75654b; }
.notebook-display .notebook-slip { margin-top: -.55rem; margin-right: .85rem; transform: rotate(1.1deg); }
.notebook-lighting { --left: .84fr; --right: 1.04fr; padding-inline-start: clamp(0rem, 3vw, 2rem); }
.notebook-lighting .diagram { background: #fffaed; border-color: #bfae91; transform: rotate(1.3deg); }
.notebook-lighting .diagram figcaption, .notebook-drive .diagram figcaption { border-color: #bfae91; color: #564537; }
.notebook-monitor {
  --left: 1.2fr;
  --right: .86fr;
  grid-template-areas: "sketch copy";
  padding-inline: clamp(1rem, 3vw, 2.25rem);
  background: linear-gradient(0deg, #63848914 1px, transparent 1px), linear-gradient(90deg, #63848914 1px, transparent 1px), #e3ebE7;
  background-size: 19px 19px;
  border: 1px solid #bac9c2;
}
.notebook-monitor .diagram { box-shadow: .4rem .5rem 0 #24383729; }
.notebook-drive { --left: .82fr; --right: 1.28fr; padding-block: clamp(1.4rem, 4vw, 3.8rem); }
.notebook-drive .notebook-sketch { position: relative; padding: 0 1.75rem 1.3rem 0; }
.notebook-drive .diagram { background: #fffaed; border-color: #bfae91; }
.notebook-reference {
  position: relative;
  z-index: 1;
  width: min(15rem, 58%);
  margin: -.55rem -.95rem 0 auto;
  padding: .35rem;
  transform: rotate(3deg);
  background: var(--light);
  border: 1px solid var(--line);
  box-shadow: .25rem .35rem 0 #23333726;
}
.notebook-reference img { aspect-ratio: 1.7; object-fit: cover; object-position: center 64%; }
.notebook-reference figcaption { padding: .38rem .22rem .2rem; }
.notebook-steering {
  --left: 1fr;
  --right: .9fr;
  grid-template-areas: "sketch copy";
  padding: clamp(1.1rem, 3vw, 2.5rem);
  border: solid var(--line);
  border-width: 1px 0;
}
.notebook-steering .notebook-sketch { padding-inline: clamp(0rem, 2vw, 1.15rem); }
.notebook-outro { margin-top: clamp(2.35rem, 5vw, 4rem); }
@media (max-width: 54rem) {
  .notebook-entry { --gap: 1.45rem; }
  .notebook-reference { width: min(13rem, 66%); }
}
@media (max-width: 42rem) {
  .home-trails { grid-template-columns: minmax(0, 1fr); }
  .notebook-entry { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "sketch"; gap: 1.25rem; }
  .notebook-entry .diagram, .notebook-entry .notebook-slip, .notebook-reference { transform: none; }
  .notebook-entry .notebook-slip, .notebook-reference { margin: .6rem 0 0 auto; }
  .notebook-drive .notebook-sketch, .notebook-steering .notebook-sketch { padding: 0; }
}

.viewer-open { overflow: hidden; }
.viewer-open body {
  position: fixed;
  inset: var(--viewer-scroll-y) auto auto var(--viewer-scroll-x);
  width: 100%;
}
.image-viewer {
  width: min(75rem, calc(100% - 3rem));
  max-width: none;
  height: min(58rem, calc(100dvh - 3rem));
  max-height: none;
  padding: 0;
  background: #141c21;
  color: var(--light);
  border: 1px solid #616c70;
  box-shadow: 0 1.5rem 5rem #0009;
}
.image-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.image-viewer::backdrop { background: #0c1115df; }
.image-viewer :focus-visible { outline-color: var(--amber); }
.image-viewer [hidden] { display: none; }
.viewer-header, .viewer-footer {
  display: flex;
  align-items: center;
  gap: .55rem 1rem;
  padding: .6rem .9rem;
  background: var(--night);
}
.viewer-header { border-bottom: 1px solid var(--line-dark); }
#bildansicht-titel { font-size: 1.03rem; font-weight: 730; }
.viewer-count { font: .84rem/1 var(--mono); color: #dce0dc; }
.viewer-header button { margin-inline-start: auto; }
.viewer-footer { justify-content: space-between; border-top: 1px solid var(--line-dark); }
.viewer-caption { font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
.viewer-controls, .viewer-navigation, .viewer-zoom { display: flex; align-items: center; gap: .3rem; }
.viewer-controls { gap: .65rem; }
.image-viewer button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .22rem .64rem;
  border: 1px solid #708087;
  background: var(--ink);
  color: var(--light);
  font: 650 .87rem/1.2 var(--sans);
  white-space: nowrap;
  cursor: pointer;
}
.image-viewer button:hover { color: var(--amber); border-color: var(--amber); }
.image-viewer button[aria-disabled="true"] { color: #b0b9b9; cursor: default; border-color: #566369; }
.viewer-navigation button span, .viewer-zoom button span, .viewer-header button span { font-size: 1.25rem; line-height: .8; }
.viewer-zoom button[data-viewer="reset"] { min-width: 3.85rem; font-family: var(--mono); }
.viewer-stage { overflow: auto; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; scrollbar-color: #798990 #1b272e; }
.viewer-stage:focus-visible { outline-offset: -3px; }
.viewer-stage.is-zoomed { touch-action: pan-x pan-y pinch-zoom; }
.viewer-canvas { display: grid; place-items: center; width: max-content; min-width: 100%; min-height: 100%; }
.viewer-image { max-inline-size: none; user-select: none; }
.viewer-message { padding: 1rem; }
[data-image-viewer] { position: relative; cursor: zoom-in; }
[data-image-viewer]::after {
  content: "+" / "";
  position: absolute;
  inset: .54rem .54rem auto auto;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  background: #172125ed;
  color: var(--light);
  border: 1px solid #e8e3d7ad;
  font: 1.35rem/1 var(--mono);
  pointer-events: none;
}
[data-image-viewer]:hover::after, [data-image-viewer]:focus-visible::after {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--ink);
}
.hero-photo a:hover { box-shadow: 0 0 0 2px var(--amber); }
@media (max-width: 42rem) {
  .image-viewer { width: calc(100% - 1rem); height: calc(100dvh - 1rem); }
  .viewer-header, .viewer-footer { padding-inline: .6rem; }
  .viewer-footer { flex-wrap: wrap; }
}
@media (max-height: 32rem) {
  .image-viewer { height: calc(100dvh - .65rem); }
  .viewer-header, .viewer-footer { padding-block: .25rem; }
}
