:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #292e2c;
  background: #e6e8e6;
  font-synthesis: none;
  letter-spacing: 0;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #315f54;
  outline-offset: 5px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: #fff;
  padding: 14px;
}
.skip:focus {
  top: 16px;
}
.exhibit {
  min-height: calc(100svh - 84px);
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1376px;
  margin: auto;
  padding: 40px 60px 16px;
}
.identity {
  align-self: center;
  padding-bottom: 50px;
}
.edition {
  font:
    10px Courier New,
    monospace;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #607763;
  box-shadow: 0 0 0 3px #60776315;
}
h1 {
  font-size: 58px;
  line-height: 1.03;
  font-weight: 500;
  margin: 30px 0 22px;
}
.name-dot {
  color: #687e60;
}
.identity p {
  font-size: 16px;
  line-height: 1.5;
  color: #535b55;
  margin: 0;
}
.identity-rule {
  width: 34px;
  height: 1px;
  background: #abb2ab;
  margin: 29px 0 18px;
}
.location {
  font:
    11px Courier New,
    monospace;
  color: #636b64;
}
.phone-stage {
  position: relative;
  width: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.phone {
  width: 310px;
  height: 706px;
  position: relative;
  isolation: isolate;
  filter: drop-shadow(16px 21px 17px #23312830)
    drop-shadow(2px 4px 2px #23312835);
  flex: none;
}
.handset {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.display-frame {
  position: absolute;
  left: 16.4%;
  top: 26.65%;
  width: 67.8%;
  height: 20.75%;
  background: #a2b078;
  transform: rotate(-0.45deg);
  border-radius: 5% 5% 7% 7%;
  box-shadow: inset 2px 3px 5px #1a291b65;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.display-frame canvas {
  width: 94%;
  height: 81%;
  image-rendering: pixelated;
  display: block;
}
.physical {
  position: absolute;
  border: 0;
  background: transparent;
  padding: 0;
  touch-action: manipulation;
  min-height: 44px;
  min-width: 44px;
  z-index: 3;
  border-radius: 45%;
  transition:
    box-shadow 90ms,
    background-color 90ms,
    transform 90ms;
}
.physical:focus-visible {
  outline: 2px solid #b2e5ed;
  outline-offset: 0;
  background: #a2d7dd20;
}
.physical:active,
.physical.pressed {
  background: #16211926;
  box-shadow: inset 0 3px 5px #14241d88;
  transform: translateY(1px);
}
.power {
  top: -1%;
  left: 42%;
  width: 18%;
  height: 6%;
  z-index: 4;
}
.power:after {
  content: "";
  position: absolute;
  width: 32%;
  height: 4px;
  background: #4b504a;
  left: 34%;
  top: 10%;
  border-radius: 4px;
}
.navi {
  left: 31%;
  top: 51.7%;
  width: 37%;
  height: 5.5%;
  min-height: 44px;
  border-radius: 20% 20% 60% 60%;
}
.navi-mark {
  display: none;
}
.clear {
  left: 16%;
  top: 55%;
  width: 19%;
  height: 7%;
  transform: rotate(-30deg);
}
.up {
  left: 68%;
  top: 54.5%;
  width: 16%;
  height: 6.3%;
}
.down {
  left: 55.5%;
  top: 59.3%;
  width: 16%;
  height: 6.3%;
}
.number-pad {
  position: absolute;
  left: 12%;
  top: 64.6%;
  width: 76%;
  height: 29%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  column-gap: 4px;
  row-gap: 1px;
}
.number {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.number:nth-child(3n + 2) {
  top: 10px;
}
.number:nth-child(3n + 1) {
  transform: rotate(22deg);
}
.number:nth-child(3n) {
  transform: rotate(-22deg);
}
.number:active,
.number.pressed {
  box-shadow: inset 0 4px 6px #17211b80;
  background: #15251e20;
}
.first-hint {
  font:
    11px/1.5 Courier New,
    monospace;
  color: #565f58;
  text-align: center;
  margin: 17px -15px 0;
  min-height: 17px;
  transition: opacity 0.2s;
}
.first-hint span {
  display: block;
  font-size: 10px;
  color: #70796f;
}
.first-hint.used {
  opacity: 0;
  pointer-events: none;
}
.specimen {
  justify-self: end;
  width: 200px;
  margin-top: 140px;
}
.specimen-index {
  font:
    10px Courier New,
    monospace;
  color: #687067;
}
.specimen h2 {
  font-size: 23px;
  font-weight: 400;
  margin: 16px 0 9px;
}
.specimen p {
  font-size: 12px;
  color: #697269;
  margin: 0;
}
.specimen-rule {
  height: 1px;
  background: #bfc5bd;
  margin: 24px 0 19px;
  width: 100%;
}
.specimen dl {
  font:
    10px Courier New,
    monospace;
  margin: 0;
  color: #626b61;
}
.specimen dl div {
  display: flex;
  justify-content: space-between;
  margin: 0 0 13px;
}
.specimen dd {
  margin: 0;
  color: #3f4840;
}
.specimen-note {
  display: block;
  font:
    italic 14px/1.6 Georgia,
    serif;
  color: #6a7468;
  margin-top: 34px;
}
.page-footer {
  min-height: 84px;
  border-top: 1px solid #cdd2cc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 60px;
  padding: 15px 0;
}
.footer-caption {
  font:
    9px Courier New,
    monospace;
  color: #727970;
}
.utilities {
  display: flex;
  align-items: center;
  gap: 4px;
}
.utility {
  border: 0;
  background: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #5d675d;
  border-radius: 4px;
}
.utility:hover,
.utility[aria-pressed="true"] {
  background: #d3d9d1;
  color: #263e31;
}
.utility svg,
.text-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
}
.text-link {
  font-size: 11px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  margin-left: 9px;
  border-left: 1px solid #c3cabe;
}
.credits-link {
  font:
    10px Courier New,
    monospace;
  text-decoration: none;
  color: #66715f;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.credits-link:hover,
.text-link:hover {
  text-decoration: underline;
}
.no-script {
  padding: 20px;
  text-align: center;
}
.reduced-motion *,
.reduced-motion *:before,
.reduced-motion *:after {
  transition: none !important;
  animation: none !important;
}
@media (min-width: 1000px) and (max-height: 850px) {
  .exhibit {
    padding-top: 20px;
    gap: 25px;
    grid-template-columns: 1fr 290px 1fr;
  }
  .phone-stage {
    width: 290px;
  }
  .phone {
    width: 270px;
    height: 615px;
  }
  .first-hint {
    margin-top: 13px;
  }
  .specimen {
    margin-top: 100px;
  }
  .physical.up {
    left: 67%;
    top: 54.3%;
  }
  .physical.down {
    top: 61.5%;
    left: 54.5%;
  }
  .number-pad {
    row-gap: 0;
  }
  .page-footer {
    min-height: 70px;
  }
  .exhibit {
    min-height: calc(100svh - 70px);
  }
}
@media (max-width: 999px) {
  .exhibit {
    grid-template-columns: 1fr 310px;
    gap: 24px;
    padding: 30px;
  }
  .phone-stage {
    width: 310px;
  }
  .identity h1 {
    font-size: 46px;
  }
  .specimen {
    display: none;
  }
  .page-footer {
    margin: 0 30px;
  }
  .footer-caption {
    display: none;
  }
}
@media (max-width: 650px) {
  .exhibit {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 25px 16px 0;
    min-height: 0;
  }
  .identity {
    width: 100%;
    max-width: 330px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0;
  }
  .edition {
    grid-column: 1/-1;
    font-size: 8px;
    margin-bottom: 12px;
  }
  .identity h1 {
    font-size: 29px;
    line-height: 1;
    margin: 0;
  }
  .identity h1 br,
  .identity h1 .name-dot {
    display: none;
  }
  .identity p {
    font-size: 10px;
    line-height: 1.5;
    text-align: right;
    padding-left: 12px;
  }
  .identity-rule,
  .location {
    display: none;
  }
  .phone-stage {
    width: 310px;
  }
  .phone {
    width: 280px;
    height: 638px;
  }
  .physical.up {
    top: 54.2%;
    left: 67%;
  }
  .physical.down {
    top: 61.1%;
    left: 54.5%;
  }
  .first-hint {
    font-size: 9px;
    margin: 9px 0 0;
  }
  .first-hint span {
    font-size: 9px;
    display: inline;
  }
  .page-footer {
    margin: 15px 20px 0;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    min-height: 61px;
    gap: 8px;
  }
  .credits-link {
    font-size: 8px;
  }
  .utility {
    width: 38px;
    min-width: 38px;
  }
  .text-link {
    padding: 0 8px;
    margin-left: 2px;
    font-size: 10px;
    gap: 6px;
  }
  .utilities {
    gap: 0;
  }
}
@media (max-width: 380px) {
  .exhibit {
    padding-top: 17px;
    gap: 9px;
  }
  .phone {
    width: 270px;
    height: 615px;
  }
  .physical.down {
    top: 61.5%;
  }
  .identity {
    max-width: 306px;
  }
  .identity h1 {
    font-size: 27px;
  }
  .page-footer {
    margin-top: 9px;
  }
  .first-hint {
    max-width: 310px;
  }
  .credits-link {
    max-width: 62px;
    line-height: 1.5;
  }
  .utility {
    width: 44px;
    min-width: 44px;
  }
}
@media (min-width: 1000px) and (max-height: 850px) {
  .physical.down {
    top: 58%;
    left: 56%;
  }
}
@media (max-width: 650px) {
  .physical.down {
    top: 58%;
    left: 56%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 650px) {
  .identity {
    grid-template-columns: 3fr 2fr;
  }
  .identity h1 {
    font-size: 22px;
    white-space: nowrap;
  }
  .utility {
    width: 44px;
    min-width: 44px;
  }
}
.display-frame {
  transition:
    width 0.16s,
    height 0.16s,
    left 0.16s,
    top 0.16s;
  z-index: 2;
}
.lcd-zoomed .display-frame {
  left: 0;
  top: 25.4%;
  width: 100%;
  height: 25.2%;
  border: 4px solid #4e5846;
  border-radius: 5px;
  box-shadow:
    0 7px 16px #1a291b30,
    inset 1px 2px 3px #1a291b40;
  transform: none;
}
.lcd-zoomed .display-frame canvas {
  width: 94%;
  height: auto;
  aspect-ratio: 7/4;
}
.physical.clear,
.number:nth-child(n) {
  transform: none;
}
.physical.pressed {
  transform: translateY(1.5px);
  filter: brightness(0.9);
  box-shadow: inset 0 2px 4px #14241d70;
}
.number-pad {
  column-gap: 5px;
  row-gap: 0;
}
.number {
  border-radius: 42%;
}
.physical.up {
  left: 70%;
  top: 54.5%;
  width: 15%;
  height: 44px;
}
.physical.down {
  left: 55%;
  top: 58%;
  width: 15%;
  height: 44px;
}
.page-footer {
  flex-wrap: wrap;
}
.utilities {
  flex-shrink: 0;
}
@media (max-width: 650px) {
  .page-footer {
    justify-content: center;
    gap: 0 12px;
  }
  .credits-link {
    max-width: none;
    white-space: nowrap;
  }
  .physical.up {
    left: 72%;
    top: 54.5%;
  }
  .physical.down {
    left: 55%;
    top: 58%;
  }
  .display-frame canvas {
    width: 96%;
  }
  .lcd-zoomed .display-frame {
    left: -4%;
    width: 108%;
    top: 24%;
    height: 27%;
  }
}
@media (max-height: 600px) {
  .exhibit {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .phone {
    width: 270px;
    height: 615px;
  }
  .physical.down {
    top: 61.5%;
  }
}

/* ---------- Quick view (v2) ---------- */
.quickview {
  justify-self: end;
  width: 290px;
  margin-top: 40px;
}
.qv-label {
  font: 10px "Courier New", monospace;
  color: #687067;
  display: flex;
  align-items: center;
  gap: 10px;
}
.quickview h2 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 400;
  margin: 14px 0 8px;
}
.qv-meta {
  font-size: 12px;
  line-height: 1.6;
  color: #697269;
  margin: 0;
}
.qv-rule {
  height: 1px;
  background: #bfc5bd;
  margin: 22px 0 16px;
}
.featured {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.featured li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 12px;
}
.qv-project {
  font-size: 15px;
  text-decoration: none;
  color: #292e2c;
}
.qv-project:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.featured small {
  grid-column: 1;
  font: 10px/1.7 "Courier New", monospace;
  color: #626b61;
}
.qv-source {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  font-size: 11px;
  color: #3f5d4f;
  text-decoration: none;
}
.qv-source:hover {
  text-decoration: underline;
}
.qv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qv-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #c3cabe;
  border-radius: 4px;
  font-size: 12px;
  color: #263e31;
  text-decoration: none;
}
.qv-btn[hidden] {
  display: none;
}
.qv-btn:hover {
  background: #d3d9d1;
}
.qv-btn.primary {
  flex: 1 1 100%;
  justify-content: center;
  background: #263e31;
  border-color: #263e31;
  color: #eef1ec;
}
.qv-btn.primary:hover {
  background: #315f54;
}
.qv-btn svg,
.qv-source svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.7;
}
.qv-note {
  font: italic 13px/1.6 Georgia, serif;
  color: #6a7468;
  margin: 22px 0 0;
}
.qv-key {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin: 0 2px;
  border: 1px solid #b9c2b6;
  border-radius: 6px;
  font: 12px "Courier New", monospace;
  font-style: normal;
  color: #263e31;
  text-decoration: none;
  vertical-align: 1px;
}
.qv-key:hover {
  background: #d3d9d1;
}
@media (min-width: 1000px) and (max-height: 850px) {
  .quickview {
    margin-top: 20px;
  }
  .qv-rule {
    margin: 16px 0 12px;
  }
}
@media (max-width: 999px) {
  .exhibit {
    grid-template-areas: "identity phone" "quick phone";
    grid-template-rows: auto 1fr;
    row-gap: 0;
  }
  .identity {
    grid-area: identity;
    align-self: end;
    padding-bottom: 28px;
  }
  .phone-stage {
    grid-area: phone;
  }
  .quickview {
    grid-area: quick;
    justify-self: start;
    align-self: start;
    width: 100%;
    max-width: 320px;
    margin: 0;
  }
}
@media (max-width: 650px) {
  .quickview {
    max-width: 330px;
    margin: 22px 0 0;
  }
  .identity {
    padding-bottom: 0;
  }
}
