:root {
  --ink: #263630;
  --muted: #778079;
  --accent: #cb8043;
  --green: #3d6250;
  --paper: #f2f1eb;
  --line: #dedfd5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 4vw;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.brand strong {
  font-size: 18px;
  letter-spacing: 1px;
}
.brand small {
  font-size: 8px;
  display: block;
  letter-spacing: 2.2px;
  margin-top: 5px;
  font-weight: 400;
}
.logo {
  font-size: 36px;
  color: var(--green);
}
.edition {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}
.edition i {
  font-style: normal;
  font-size: 9px;
  margin-left: 22px;
}
header button {
  border: 0;
  background: none;
  font-size: 11px;
}
main {
  max-width: 1700px;
  margin: auto;
  padding: 32px 4vw 0;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}
.kicker {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--muted);
}
h1 {
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -1.5px;
  font-weight: 600;
  margin: 12px 0 0;
}
h1 em {
  font-style: normal;
  color: #818777;
}
.heading > p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
nav {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
nav button {
  flex: 1;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: none;
  padding: 17px 20px;
  position: relative;
}
nav button:first-child {
  padding-left: 0;
}
nav button:last-child {
  border-right: 0;
}
nav button:after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: var(--green);
  left: 0;
  right: 0;
  transform: scaleX(0);
  transition: transform 0.3s;
}
nav button.active:after {
  transform: scaleX(1);
}
nav b {
  font-size: 24px;
  font-weight: 400;
  color: #afb5a7;
}
nav button.active b {
  color: var(--accent);
}
nav span {
  font-size: 13px;
  font-weight: 600;
}
nav small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
  font-weight: 400;
}
nav i {
  margin-left: auto;
  font-size: 8px;
  font-style: normal;
  letter-spacing: 1.8px;
  color: #9b9f95;
}
.exhibit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  min-height: 600px;
  border: 1px solid #d6d8ce;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 65px #2133270b;
}
.viewport {
  position: relative;
  min-height: 600px;
  background: #111d22;
  overflow: hidden;
}
canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  touch-action: none;
  cursor: grab;
}
canvas:active {
  cursor: grabbing;
}
.view-top {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.view-top > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #bfd0cb;
  display: flex;
  align-items: center;
  gap: 7px;
}
.view-top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a0bd79;
  box-shadow: 0 0 10px #b6dd9b;
}
.view-top b {
  font-size: 7px;
  font-weight: 400;
  color: #78928e;
  margin-left: 8px;
}
.view-top > div {
  display: flex;
  gap: 5px;
}
.view-top button {
  border: 1px solid #8bafa332;
  background: #14272cbf;
  color: #bed0c9;
  font-size: 9px;
  padding: 7px 9px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
}
.view-top button[aria-pressed="true"] {
  background: #bcceb61b;
  border-color: #b4c9a26b;
  color: #e4ecd9;
}
.view-bottom {
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 8px;
  color: #91a8a1;
  pointer-events: none;
}
.compass {
  position: absolute;
  bottom: 63px;
  left: 23px;
  font-size: 7px;
  color: #6c8983;
  text-align: center;
  line-height: 1.8;
}
.compass b {
  margin: 0 8px;
  font-weight: 400;
}
.focus-pill {
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #899e7855;
  border-radius: 20px;
  color: #dee8d3;
  background: #162a27cc;
  padding: 8px 17px;
  font-size: 10px;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
#annotations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #132729df;
  backdrop-filter: blur(5px);
  border: 1px solid #a8c7ab55;
  border-radius: 5px;
  color: #d7e6d9;
  font-size: 9px;
  padding: 6px 10px;
  pointer-events: auto;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.hotspot:before {
  content: "+";
  color: #d5a16f;
  margin-right: 6px;
}
.hotspot.active {
  border-color: #dd9e63;
  background: #3f3529e8;
}
.hotspot:hover {
  background: #344c44;
}
aside {
  padding: 27px 26px;
  background: #fafaf4;
  display: flex;
  flex-direction: column;
}
aside .kicker {
  font-size: 8px;
}
h2 {
  font-weight: 600;
  font-size: 29px;
  line-height: 1.35;
  letter-spacing: -1px;
  margin: 17px 0 14px;
}
.lead {
  font-size: 11px;
  line-height: 1.95;
  color: #798175;
  margin: 0 0 20px;
}
.process {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 19px;
}
.process button {
  border: 1px solid #dfe2d7;
  background: #f0f2e9;
  font-size: 9px;
  border-radius: 5px;
  padding: 7px 8px;
  flex: 1;
  white-space: nowrap;
}
.process button.active {
  background: var(--green);
  color: #f1f4e8;
  border-color: var(--green);
}
#controls {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
label,
.control-label {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
label b,
.control-label b {
  font-weight: 500;
  color: var(--accent);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--green);
  cursor: pointer;
  margin: 0;
}
.ticks {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #9a9f91;
  margin-top: 8px;
}
.control-buttons {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.primary {
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  padding: 12px;
  font-size: 11px;
  flex: 1;
}
.secondary {
  border: 1px solid var(--line);
  background: none;
  padding: 8px 11px;
  font-size: 10px;
  border-radius: 6px;
}
.primary:disabled {
  opacity: 0.5;
  cursor: wait;
}
.detail {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 17px;
}
.detail > span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #a0a58f;
}
.detail h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 10px 0;
}
.detail p {
  font-size: 10px;
  line-height: 1.9;
  color: #788172;
  margin: 0;
}
.meter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: auto;
}
.meter b {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.swatches {
  display: flex;
  gap: 11px;
  margin-bottom: 15px;
}
.swatches button {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid #fafaf4;
  box-shadow: 0 0 0 1px #d4dbcc;
}
.swatches button.active {
  box-shadow: 0 0 0 2px var(--green);
}
.story-strip {
  display: flex;
  gap: 35px;
  justify-content: space-between;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.story-strip h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 8px 0 0;
}
.story-strip p {
  font-size: 11px;
  line-height: 1.8;
  color: #7b8376;
  max-width: 500px;
  margin: 0;
}
.story-strip button {
  border: 0;
  background: none;
  font-size: 11px;
  color: var(--green);
  white-space: nowrap;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 8px;
  color: #999f92;
  letter-spacing: 1px;
}
#loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #b6c9ba;
  background: #142125;
  z-index: 2;
}
#loading span {
  height: 25px;
  width: 25px;
  border: 1px solid #96ad8055;
  border-top-color: #bdce9d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  max-width: 570px;
  width: 90%;
  border: 1px solid #d0d4c5;
  background: var(--paper);
  border-radius: 14px;
  padding: 35px;
  color: var(--ink);
}
dialog::backdrop {
  background: #08191ddd;
  backdrop-filter: blur(7px);
}
dialog p {
  font-size: 12px;
  line-height: 1.9;
  color: #6d796d;
}
dialog a {
  display: block;
  font-size: 12px;
  text-decoration: none;
  color: var(--green);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
#close {
  position: absolute;
  right: 14px;
  top: 9px;
  border: 0;
  background: none;
  font-size: 25px;
}
@media (min-width: 1550px) {
  .exhibit {
    grid-template-columns: minmax(0, 1fr) 365px;
    min-height: 680px;
  }
  .viewport {
    min-height: 680px;
  }
  aside {
    padding: 33px;
  }
  .lead {
    font-size: 12px;
  }
  h2 {
    font-size: 35px;
  }
  .detail p {
    font-size: 11px;
  }
}
@media (max-width: 1000px) {
  .exhibit {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .view-top b {
    display: none;
  }
  .view-top {
    left: 15px;
    right: 15px;
  }
  .view-top button {
    padding: 6px;
  }
  .view-bottom > span:last-child {
    display: none;
  }
  nav i {
    display: none;
  }
  .heading > p {
    display: none;
  }
  .story-strip {
    gap: 18px;
  }
  .story-strip p {
    max-width: 40%;
  }
}
@media (max-width: 720px) {
  header {
    height: 68px;
  }
  .edition {
    display: none;
  }
  main {
    padding-top: 23px;
  }
  .heading {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 29px;
    line-height: 1.45;
  }
  h1 em {
    display: block;
  }
  .kicker {
    font-size: 8px;
  }
  nav button {
    gap: 8px;
    padding: 14px 9px;
  }
  nav b {
    font-size: 18px;
  }
  nav span {
    font-size: 11px;
  }
  nav small {
    font-size: 8px;
  }
  .exhibit {
    grid-template-columns: 1fr;
  }
  .viewport {
    min-height: 450px;
  }
  aside {
    padding: 25px;
  }
  .view-top > span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .view-top {
    top: 14px;
  }
  .view-top > div {
    gap: 3px;
  }
  .view-top button {
    font-size: 8px;
    padding: 6px 5px;
  }
  .hotspot {
    font-size: 8px;
    padding: 5px 7px;
  }
  .meter {
    margin-top: 20px;
  }
  .story-strip {
    flex-wrap: wrap;
  }
  .story-strip p {
    max-width: none;
    order: 3;
    width: 100%;
  }
  footer > span:last-child {
    display: none;
  }
}
:root {
  --ink: #eaf0ee;
  --muted: #8ca0a8;
  --accent: #efac6b;
  --green: #efac6b;
  --paper: #08151e;
  --line: #ffffff18;
}
body {
  background: #08151e;
}
header {
  height: 74px;
  padding: 0 4vw;
  border-color: #ffffff12;
}
.logo {
  color: #efac6b;
}
.brand strong {
  font-size: 17px;
}
.brand small {
  color: #7e959f;
}
.edition {
  color: #8198a2;
}
header button {
  color: #adbec5;
}
main {
  max-width: none;
  padding: 0;
}
.heading {
  display: none;
}
nav {
  position: absolute;
  top: 92px;
  left: 4vw;
  right: 4vw;
  z-index: 5;
  width: 520px;
  margin: 0;
  border: 0;
  gap: 4px;
}
nav button,
nav button:first-child {
  padding: 10px 13px;
  border: 1px solid #ffffff15;
  background: #0b1c26c9;
  border-radius: 8px;
  gap: 10px;
  backdrop-filter: blur(18px);
}
nav button:last-child {
  border: 1px solid #ffffff15;
}
nav button.active {
  background: #eeb078;
  color: #15252d;
  border-color: #eeb078;
}
nav b {
  font-size: 18px;
  color: #788e97;
}
nav button.active b,
nav button.active small {
  color: #36434a;
}
nav span {
  font-size: 11px;
}
nav small {
  font-size: 8px;
  color: #8aa2aa;
}
nav i,
nav button:after {
  display: none;
}
.exhibit {
  position: relative;
  display: block;
  min-height: 760px;
  height: calc(100vh - 74px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.viewport {
  height: 100%;
  min-height: 760px;
}
.view-top {
  top: 24px;
  left: auto;
  right: 4vw;
}
.view-top > span {
  display: none;
}
.view-top button {
  font-size: 10px;
  border-radius: 25px;
  padding: 9px 13px;
  background: #0a1c2780;
  border-color: #ffffff1a;
  color: #9fb4bd;
}
.view-top button[aria-pressed="true"] {
  color: #edb580;
  border-color: #edb58066;
  background: #edb58015;
}
aside {
  position: absolute;
  left: 4vw;
  top: 112px;
  width: 350px;
  padding: 0;
  background: none;
  pointer-events: none;
  display: block;
}
aside h2 {
  font-size: 36px;
  line-height: 1.36;
  font-weight: 500;
  letter-spacing: -1.2px;
  margin: 14px 0 16px;
  text-shadow: 0 2px 25px #08151e;
}
aside .kicker {
  font-size: 9px;
  color: #dca16c;
  letter-spacing: 2.5px;
}
.lead {
  font-size: 11px;
  line-height: 1.95;
  color: #91a6af;
  max-width: 300px;
}
.process,
#controls {
  pointer-events: auto;
}
.process {
  position: fixed;
  bottom: 115px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  gap: 5px;
  z-index: 6;
}
.process button {
  flex: none;
  background: #102631b3;
  border: 1px solid #ffffff1a;
  border-radius: 20px;
  color: #91a8b2;
  padding: 9px 17px;
  backdrop-filter: blur(16px);
  font-size: 10px;
}
.process button.active {
  background: #eeb078;
  color: #182c37;
  border-color: #eeb078;
}
#controls {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  padding: 14px 21px;
  background: #10232dcc;
  backdrop-filter: blur(24px);
  border: 1px solid #ffffff18;
  border-radius: 14px;
  z-index: 6;
}
#controls label {
  font-size: 9px;
  color: #8ba4ae;
  margin-bottom: 6px;
}
input[type="range"] {
  accent-color: #eeb078;
  height: 3px;
}
.ticks {
  display: none;
}
.control-buttons {
  margin-top: 12px;
  gap: 8px;
}
.primary {
  background: #eeb078;
  color: #182c37;
  border-radius: 6px;
  padding: 9px;
  font-size: 10px;
}
.secondary {
  color: #acbcc1;
  border-color: #ffffff1a;
  font-size: 9px;
}
.detail {
  position: fixed;
  right: 4vw;
  bottom: 190px;
  width: 260px;
  border: 0;
  padding: 0;
  text-shadow: 0 2px 10px #08151e;
  pointer-events: auto;
}
.detail > span {
  color: #bd9067;
  font-size: 8px;
  letter-spacing: 2px;
}
.detail h3 {
  color: #e0e8e9;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}
.detail p {
  color: #8ea3ad;
  font-size: 10px;
  line-height: 1.95;
}
.meter {
  margin-top: 30px;
  padding-top: 13px;
  font-size: 9px;
  width: 280px;
}
.meter b {
  color: #eeb078;
  font-size: 12px;
}
.view-bottom {
  bottom: 24px;
  left: 4vw;
  right: 4vw;
  font-size: 8px;
  color: #627b87;
}
.view-bottom > span:last-child {
  display: none;
}
.focus-pill {
  top: 100px;
  bottom: auto;
  left: 58%;
  font-size: 9px;
  border-color: #dca16c33;
  background: #0e242e99;
  color: #c4b4a0;
}
.compass {
  bottom: 62px;
  left: 4vw;
}
.hotspot {
  border-color: #d6b18b44;
  background: #0a202ade;
  color: #bad1d7;
  font-size: 9px;
}
.story-strip {
  padding: 25px 4vw;
  border-color: #ffffff13;
  background: #0a1922;
}
.story-strip h3 {
  font-size: 16px;
  color: #c9d6db;
}
.story-strip p {
  color: #78939f;
  font-size: 10px;
}
.story-strip button {
  color: #eeb078;
}
footer {
  padding: 21px 4vw;
  color: #597583;
  font-size: 8px;
}
dialog {
  background: #10232e;
  color: #dce7e8;
  border-color: #ffffff22;
}
dialog p {
  color: #93a9b1;
}
dialog a {
  color: #eeb078;
  border-color: #ffffff18;
}
.products {
  display: flex;
  gap: 6px;
  margin-bottom: 7px;
}
.products button {
  border: 1px solid #ffffff20;
  background: #ffffff05;
  border-radius: 8px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #a4bac3;
  flex: 1;
  justify-content: center;
}
.products button span {
  font-size: 20px;
  line-height: 1;
  color: #e8bd91;
}
.products button.active {
  border-color: #eeb07888;
  background: #eeb07817;
  color: #ecc096;
}
.control-label {
  color: #9bb0b8;
  font-size: 9px;
  margin-bottom: 8px;
}
.control-label b {
  color: #edb078;
}
#product-note {
  font-size: 9px;
  line-height: 1.6;
  color: #91a8b1;
  margin: 5px 0 10px;
}
body:has(.products) .process {
  bottom: 225px;
}
body:has(.products) .detail {
  bottom: 265px;
}
@media (min-width: 1550px) {
  .exhibit,
  .viewport {
    min-height: 820px;
  }
  aside {
    width: 385px;
    top: 145px;
  }
  aside h2 {
    font-size: 43px;
  }
  .lead {
    font-size: 12px;
  }
  .detail {
    width: 290px;
  }
}
@media (max-width: 1000px) {
  aside {
    width: 270px;
  }
  aside h2 {
    font-size: 29px;
  }
  .lead {
    max-width: 235px;
    font-size: 10px;
  }
  .detail {
    width: 210px;
    right: 3vw;
  }
  .view-top {
    right: 3vw;
  }
  .view-top button {
    font-size: 9px;
    padding: 8px;
  }
  .process button {
    padding: 9px 12px;
  }
}
@media (max-width: 720px) {
  header {
    height: 65px;
  }
  .brand strong {
    font-size: 15px;
  }
  .exhibit {
    height: 900px;
    min-height: 900px;
  }
  .viewport {
    min-height: 900px;
  }
  nav {
    top: 80px;
    left: 5vw;
    right: 5vw;
    width: auto;
  }
  nav button,
  nav button:first-child {
    padding: 8px;
    gap: 7px;
  }
  nav span {
    font-size: 10px;
  }
  nav b {
    font-size: 15px;
  }
  aside {
    top: 105px;
    left: 5vw;
    width: 90%;
  }
  aside h2 {
    font-size: 28px;
    margin: 9px 0;
    line-height: 1.3;
  }
  .lead {
    max-width: 330px;
    font-size: 10px;
  }
  .meter {
    display: none;
  }
  .view-top {
    top: 265px;
    left: 5vw;
    right: auto;
    gap: 5px;
  }
  .view-top button {
    padding: 8px 10px;
  }
  .focus-pill {
    top: 322px;
    left: 50%;
  }
  .detail {
    position: absolute;
    top: 650px;
    bottom: auto;
    left: 5vw;
    right: 5vw;
    width: auto;
  }
  .detail p {
    max-width: 380px;
  }
  .detail h3 {
    font-size: 15px;
    margin: 6px 0;
  }
  .detail > span {
    display: none;
  }
  #controls {
    position: absolute;
    bottom: 20px;
    left: 5vw;
    transform: none;
    width: 90%;
    padding: 12px 16px;
  }
  .process {
    position: absolute;
    bottom: 133px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    justify-content: center;
  }
  .process button {
    padding: 8px 10px;
    font-size: 9px;
  }
  body:has(.products) .process {
    bottom: 235px;
  }
  body:has(.products) .detail {
    top: 590px;
    bottom: auto;
  }
  .view-bottom,
  .compass {
    display: none;
  }
  .story-strip {
    padding: 22px 5vw;
  }
  .story-strip p {
    max-width: 100%;
    width: 100%;
  }
  footer {
    padding: 20px 5vw;
  }
  canvas {
    height: 100%;
  }
  dialog {
    padding: 25px;
  }
}
@media (min-width: 721px) {
  .exhibit {
    height: calc(100vh - 74px);
    min-height: 620px;
  }
  .viewport {
    min-height: 620px;
  }
  .process {
    bottom: 155px;
  }
  aside {
    top: 110px;
  }
  .detail {
    bottom: 190px;
  }
  .view-bottom {
    bottom: 15px;
  }
  body:has(.products) .process {
    bottom: 253px;
  }
  body:has(.products) .detail {
    bottom: 275px;
  }
}
@media (max-width: 720px) {
  aside {
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    padding: 0;
  }
  aside > #chapter-no {
    position: absolute;
    top: 115px;
    left: 5vw;
  }
  aside > h2 {
    position: absolute;
    top: 140px;
    left: 5vw;
    width: 90%;
    margin: 0;
    font-size: 27px;
  }
  aside > .lead {
    position: absolute;
    top: 223px;
    left: 5vw;
    width: 85%;
    margin: 0;
    font-size: 10px;
  }
  #controls {
    left: 5vw;
    width: 90%;
    bottom: 20px;
  }
  .process {
    bottom: 140px;
    width: 94%;
  }
  .process button {
    padding: 8px 9px;
  }
  body:has(.products) .process {
    bottom: 251px;
  }
  body:has(.products) .detail {
    top: 550px;
  }
  .detail {
    top: 650px;
    left: 5vw;
    width: 90%;
  }
  .view-top {
    top: 295px;
  }
  .focus-pill {
    top: 350px;
  }
}
@media (min-width: 721px) {
  .viewport:after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 36%;
    background: linear-gradient(90deg, #08151eef 0%, #08151eb8 63%, #08151e00 100%);
    pointer-events: none;
    z-index: 1;
  }
  aside {
    z-index: 2;
  }
  .view-top,
  #annotations,
  .view-bottom,
  .focus-pill,
  .compass {
    z-index: 3;
  }
  .detail {
    padding: 14px 16px;
    background: #0b1d27b3;
    backdrop-filter: blur(9px);
    border: 1px solid #ffffff0a;
    border-radius: 10px;
  }
}
nav {
  width: 710px;
}
nav button,
nav button:first-child {
  padding: 10px 12px;
}
.line-actions {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}
.line-actions button {
  flex: 1;
  border: 1px solid #b6c4c52b;
  background: #ffffff06;
  color: #b6c7cd;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 10px;
  white-space: nowrap;
}
.line-actions #line-bad {
  color: #efbc8e;
  border-color: #efbc8e44;
}
.line-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ffffff12;
  padding-top: 10px;
  margin-bottom: 12px;
  font-size: 10px;
  color: #91d5be;
}
.line-readout button {
  font-size: 9px;
  border: 0;
  color: #7f9ca9;
  background: none;
}
body[data-scene="3"] #controls {
  width: 610px;
}
body[data-scene="3"] .process {
  bottom: 235px;
  gap: 5px;
}
body[data-scene="3"] .process button {
  padding: 9px 13px;
}
body[data-scene="3"] .detail {
  bottom: 275px;
}
body[data-scene="3"] aside h2 {
  font-size: 32px;
}
body[data-scene="3"] .lead {
  max-width: 275px;
  font-size: 10px;
}
body[data-scene="3"] .viewport:after {
  width: 29%;
}
body[data-scene="3"] .focus-pill {
  left: 58%;
  top: 90px;
}
#line-reference {
  max-width: 1000px;
  width: 90%;
  max-height: 88vh;
  overflow: auto;
}
#line-ref-close {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 25px;
  border: 0;
  background: none;
  color: #b6c9d0;
}
.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reference-grid img {
  width: 100%;
  border-radius: 7px;
  display: block;
}
.reference-grid img:first-child {
  grid-column: 1/-1;
}
.reference-grid img:last-child {
  max-height: 400px;
  object-fit: contain;
  background: #0a1b25;
}
.process button.skipped {
  opacity: 0.35;
  text-decoration: line-through;
}

/* Institute identity and unobstructed presentation stage */
.legacy-copy {
  display: none !important;
}
.brand strong {
  font-size: 18px;
  letter-spacing: 1px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 5px;
  color: #c9a784;
  margin-top: 7px;
}
.edition {
  font-size: 12px;
  letter-spacing: 1px;
}
.viewport:after,
body[data-scene="3"] .viewport:after {
  display: none;
}
.story-strip {
  justify-content: flex-end;
  padding: 15px 4vw;
}
.story-strip button {
  font-size: 11px;
}
footer {
  font-size: 9px;
  color: #849ba5;
}
.detail {
  border-color: #ffffff14;
}
