:root {
  --ink: #30382c;
  --soft: #676c5e;
  --paper: #f7f5ed;
  --line: #d7d7c9;
  --rust: #956237;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  color: var(--ink);
}
body {
  margin: 0 auto;
  padding: 0 clamp(20px, 3.3vw, 66px);
  max-width: 2100px;
  font-family: Arial, Helvetica, sans-serif;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.micro,
dt {
  font:
    600 10px/1.3 "Helvetica Neue",
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}
.micro b {
  font-weight: 400;
  opacity: 0.5;
  margin: 0 7px;
}
header {
  height: 89px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 23px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    34px/0.95 Baskerville,
    "Palatino Linotype",
    Georgia,
    serif;
  letter-spacing: -1.6px;
}
.mark {
  border: 1px solid #69755c;
  width: 36px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 18px 18px 3px 3px;
  background: #eaece0;
}
.mark svg {
  width: 26px;
  height: 32px;
  stroke-width: 1.9;
}
.headerline {
  height: 21px;
  width: 1px;
  background: var(--line);
}
.imprint,
.issue,
footer {
  color: var(--soft);
}
.issue {
  margin-left: auto;
}
main {
  display: grid;
  grid-template-columns: clamp(224px, 20vw, 310px) minmax(0, 1fr);
  gap: clamp(24px, 3.1vw, 58px);
  margin: 30px 0 24px;
}
aside {
  padding: 15px 0 0;
  display: flex;
  flex-direction: column;
}
.catalog,
.accent {
  color: var(--rust);
}
.catalog {
  display: flex;
  align-items: center;
  gap: 9px;
}
.catalog i {
  width: 23px;
  height: 1px;
  background: currentColor;
}
.catalog span {
  color: var(--soft);
  font-weight: 400;
}
.catalog span:before {
  content: "/";
  margin-right: 9px;
  color: #b2ae9f;
}
h1 {
  font:
    normal clamp(48px, 4.2vw, 79px) / 0.94 Baskerville,
    "Palatino Linotype",
    Georgia,
    serif;
  letter-spacing: -0.054em;
  margin: 24px 0 12px;
}
.latin {
  font:
    italic 20px/1.25 Baskerville,
    Georgia,
    serif;
  color: #68705c;
  margin: 0;
}
.rule {
  width: 38px;
  border-top: 1px solid #9f936f;
  margin: 23px 0 17px;
}
.blurb,
.motion p {
  font:
    16px/1.5 Baskerville,
    Georgia,
    serif;
  margin: 0;
  color: #555d4f;
}
.blurb {
  max-width: 30ch;
}
dl {
  margin: 24px 0 26px;
}
dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  gap: 8px;
}
dl > div:last-child {
  border-bottom: 1px solid var(--line);
}
dt {
  font-size: 9px;
  color: var(--soft);
}
dd {
  margin: 0;
  font:
    15px Baskerville,
    Georgia,
    serif;
}
.motion {
  margin-top: auto;
  padding-top: 10px;
}
.motion svg {
  width: 100%;
  height: 49px;
  stroke: none;
  display: block;
  margin: 9px 0 1px;
}
.motion h2 {
  font:
    normal 22px/1.3 Baskerville,
    Georgia,
    serif;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
}
.motion p {
  font-size: 14px;
  max-width: 32ch;
}
.viewer {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #cecdbd;
  background: #efeee4;
}
.scene {
  height: clamp(490px, calc(100svh - 255px), 900px);
  min-height: 0;
  position: relative;
  flex: 1;
  overflow: hidden;
  isolation: isolate;
  background: #dfcea6 url("assets/field-still.jpg") center / cover no-repeat;
}
.scene:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(37, 33, 19, 0.2), transparent 11%);
}
.scene canvas,
.scene video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  touch-action: none;
  cursor: grab;
}
.scene canvas:active {
  cursor: grabbing;
}
.toplabel,
.fullscreen,
.figlabel,
.interact {
  position: absolute;
  display: flex;
  align-items: center;
}
.toplabel {
  top: 18px;
  left: 18px;
  background: #f7f5e9e8;
  gap: 8px;
  padding: 8px 11px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #454e3b;
  border: 1px solid #f8f7ed55;
}
.toplabel span:first-child {
  background: #697953;
  width: 6px;
  height: 6px;
  border-radius: 100%;
}
.fullscreen {
  top: 17px;
  right: 17px;
  color: #3b4536;
  background: #f7f5e9df;
  padding: 7px;
  border: 1px solid #f8f7ed55;
}
.figlabel,
.interact {
  bottom: 19px;
  color: #fff9e6;
  text-shadow: 0 1px 5px #322810;
}
.figlabel {
  left: 20px;
  font:
    italic 16px Baskerville,
    Georgia,
    serif;
  gap: 9px;
}
.figlabel span {
  font-style: normal;
}
.figlabel b {
  width: 20px;
  height: 1px;
  background: currentColor;
}
.interact {
  right: 18px;
  gap: 6px;
  font-size: 9px;
  border: 0;
  background: transparent;
  padding: 3px 0;
}
.interact:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scene canvas:focus-visible {
  outline: 2px solid #8b663a;
  outline-offset: -3px;
}
.scene video {
  object-fit: cover;
}
footer a {
  color: inherit;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.maximized {
  position: fixed;
  z-index: 50;
  inset: 0;
  width: 100vw;
  height: 100dvh !important;
  background: var(--paper);
}
dialog {
  width: min(378px, calc(100% - 36px));
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 29px;
  box-shadow: 0 14px 68px #19211138;
}
dialog::backdrop {
  background: #19211566;
  backdrop-filter: blur(2px);
}
dialog h2 {
  font:
    normal 34px/1 Baskerville,
    Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 19px 0 12px;
}
dialog p {
  font:
    16px/1.45 Baskerville,
    Georgia,
    serif;
  color: var(--soft);
  margin: 0;
}
dialog .guideNote {
  font-size: 13px;
}
dialog dl {
  margin: 17px 0;
}
dialog .close {
  position: absolute;
  right: 10px;
  top: 9px;
  background: transparent;
  font: 22px Arial;
  padding: 4px 7px;
  color: var(--soft);
}
.controls {
  height: 65px;
  display: flex;
  align-items: center;
  padding: 0 17px;
  gap: 15px;
  border-top: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
button:disabled,
select:disabled {
  cursor: default;
}
button,
select {
  cursor: pointer;
  color: inherit;
  font: inherit;
}
button {
  border: 0;
}
.transport {
  width: 37px;
  height: 37px;
  background: #384731;
  color: #f7f6e9;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.transport:hover {
  background: #536448;
}
.transport svg {
  width: 16px;
  height: 16px;
}
.speed,
.rates,
.camera {
  display: flex;
  align-items: center;
}
.speed {
  gap: 13px;
}
.speed .micro {
  font-size: 9px;
  color: var(--soft);
}
.rates {
  gap: 2px;
}
.rates button {
  background: transparent;
  font-size: 12px;
  padding: 6px 9px;
  border-radius: 3px;
  color: #5b6357;
}
.rates .active {
  background: #dcdfce;
  color: #34432c;
  font-weight: 600;
}
.camera {
  margin-left: auto;
  gap: 8px;
  position: relative;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.camera svg {
  width: 16px;
  height: 16px;
}
.camera select {
  appearance: none;
  background: transparent;
  border: 0;
  font:
    13px/2 Arial,
    sans-serif;
  padding: 0 23px 0 0;
}
.camera .chev {
  pointer-events: none;
  position: absolute;
  right: 0;
}
button:focus-visible,
select:focus-visible {
  outline: 2px solid #8b663a;
  outline-offset: 3px;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 15px 0 21px;
  font-size: 9px;
}
#error {
  position: absolute;
  inset: auto 5% 10%;
  text-align: center;
  background: #f7f5eded;
  padding: 10px;
  font-size: 13px;
}
.viewer:fullscreen {
  background: var(--paper);
  width: 100%;
  height: 100%;
}
.viewer:fullscreen .scene {
  flex: 1;
}
@media (min-width: 800px) {
  .viewer {
    min-height: clamp(555px, calc(100svh - 201px), 965px);
  }
}
@media (min-width: 761px) and (max-height: 820px) {
  header {
    height: 70px;
  }
  main {
    margin: 20px 0 15px;
  }
  aside {
    padding-top: 7px;
  }
  h1 {
    font-size: 54px;
    margin: 19px 0 9px;
  }
  .rule {
    margin: 17px 0 13px;
  }
  .blurb {
    font-size: 15px;
    line-height: 1.4;
  }
  dl {
    margin: 19px 0 13px;
  }
  dl > div {
    padding: 8px 0;
  }
  .motion {
    padding-top: 2px;
  }
  .motion svg {
    height: 36px;
    margin: 6px 0 1px;
  }
  .motion p {
    font-size: 13px;
  }
  .viewer {
    min-height: clamp(475px, calc(100svh - 151px), 690px);
  }
  footer {
    padding: 12px 0 14px;
  }
}
@media (max-width: 960px) {
  .imprint {
    display: none;
  }
  .headerline {
    display: none;
  }
  .speed .micro {
    display: none;
  }
  main {
    gap: 23px;
  }
}
@media (max-width: 760px) {
  body {
    padding: 0 16px;
  }
  header {
    height: 64px;
  }
  .brand {
    font-size: 28px;
    gap: 9px;
  }
  .mark {
    width: 28px;
    height: 33px;
  }
  .mark svg {
    height: 25px;
    width: 21px;
  }
  .issue {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  main {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin: 19px 0;
  }
  aside {
    padding: 0;
  }
  .catalog {
    font-size: 8px;
  }
  h1 {
    font-size: 40px;
    line-height: 1.05;
    margin: 9px 0 3px;
  }
  h1 br {
    display: none;
  }
  h1 br:after {
    content: " ";
  }
  .latin {
    font-size: 17px;
  }
  .blurb,
  .rule,
  aside dl,
  .motion {
    display: none;
  }
  .viewer {
    height: min(69svh, 680px);
    min-height: 370px;
  }
  .controls {
    height: 54px;
    gap: 8px;
    padding: 0 9px;
  }
  .rates button {
    padding: 6px 7px;
  }
  .camera {
    padding-left: 9px;
    gap: 5px;
  }
  .camera select {
    font-size: 12px;
  }
  .toplabel {
    top: 12px;
    left: 12px;
    font-size: 8px;
  }
  .fullscreen {
    top: 11px;
    right: 11px;
  }
  .interact {
    font-size: 8px;
    right: 11px;
    bottom: 12px;
  }
  .figlabel {
    left: 12px;
    bottom: 12px;
    font-size: 14px;
  }
  footer {
    font-size: 7px;
  }
  .transport {
    width: 32px;
    height: 32px;
  }
}
