:root {
  --room: #060606;
  --room-raised: #11100e;
  --marble: #ece8e1;
  --marble-dim: #aaa59c;
  --marble-faint: #8b867d;
  --gold: #e2a84b;
  --gold-bright: #f0bf6a;
  --gold-ink: #1b1204;
  --hairline: rgba(236, 232, 225, 0.14);
  --serif:
    "Alegreya",
    "Iowan Old Style",
    Georgia,
    serif;
  --code:
    ui-monospace,
    "SF Mono",
    Menlo,
    monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 3vw, 56px);
  --statue: min(66.7svh, 40vw);
  --lean: clamp(0px, 5vw, 96px);
  --room-gap: clamp(96px, 18svh, 200px);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--room);
  scrollbar-color: #3a3630 var(--room);
  -webkit-text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  min-height: 100svh;
  background: var(--room);
  color: var(--marble);
  font: 400 19px/1.55 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--gold);
}
::selection {
  background: var(--gold);
  color: var(--gold-ink);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--gold-bright);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
code {
  font-family: var(--code);
  font-variant-ligatures: none;
}
h1,
h2 {
  margin: 0;
  font-weight: 500;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--gold-ink);
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip:focus-visible {
  transform: none;
}
.statue {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.statue canvas {
  display: block;
  -webkit-mask-image: linear-gradient(#000 84%, transparent);
  mask-image: linear-gradient(#000 84%, transparent);
}
.gallery {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(56px, 9svh, 120px);
  --side: calc((100% - var(--statue)) / 2 + var(--lean));
}
.room {
  display: grid;
  align-content: start;
  gap: 28px;
  min-width: 0;
  margin-top: var(--room-gap);
}
.left {
  align-self: flex-start;
  width: var(--side);
  padding-left: var(--gutter);
}
.right {
  align-self: flex-end;
  width: var(--side);
  padding-right: var(--gutter);
}
.left + .right,
.right + .left {
  margin-top: calc(var(--room-gap) * -1);
}
.intro + .left {
  margin-top: clamp(48px, 10svh, 120px);
}
.left > :not(.plate) {
  margin-right: calc(var(--lean) + 1.5vw);
}
.right:not(.intro) > :not(.plate) {
  margin-left: calc(var(--lean) + 1.5vw);
}
.gallery .exhibit.left {
  padding-left: 0;
}
.gallery .exhibit.right {
  padding-right: 0;
}
.exhibit.left > .label {
  padding-left: var(--gutter);
}
.exhibit.right > .label {
  padding-right: var(--gutter);
}
.exhibit .plate {
  width: 100%;
}
.exhibit.left .plate {
  border-radius: 0 14px 14px 0;
}
.exhibit.right .plate {
  border-radius: 14px 0 0 14px;
}
.intro {
  margin-top: 0;
  min-height: 100svh;
  align-content: center;
  gap: 0;
  padding-block: 48px;
}
h1 {
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.lede {
  max-width: 21em;
  margin-top: 22px;
  color: var(--marble-dim);
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.4;
}
.get {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin-top: 40px;
}
.button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 40px -18px rgba(226, 168, 75, 0.55);
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.button:hover {
  background: var(--gold-bright);
  color: var(--gold-ink);
}
.button:active {
  transform: scale(0.98);
}
.button .file {
  font-family: var(--code);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}
.command {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: rgba(6, 6, 6, 0.72);
  overflow: hidden;
}
.command code {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.5;
}
.command .line {
  display: block;
  padding-left: 2ch;
  text-indent: -2ch;
}
.prompt {
  color: var(--gold);
  user-select: none;
}
.command button {
  flex: none;
  min-width: 84px;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid var(--hairline);
  background: transparent;
  color: var(--marble-dim);
  font: 500 16px/1 var(--serif);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}
.command button:hover {
  background: var(--room-raised);
  color: var(--marble);
}
.command button:active {
  background: #1a1815;
}
.command button[data-state=done] {
  color: var(--gold);
}
.label {
  display: grid;
  gap: 12px;
  max-width: 30em;
}
.label h2 {
  font-size: clamp(34px, 3.3vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.label p {
  color: var(--marble-dim);
}
.plate {
  position: relative;
  width: min(100%, 560px);
  margin: 0;
  border-radius: 14px;
  background: var(--room-raised);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.95),
    0 18px 36px -24px rgba(0, 0, 0, 0.9);
}
.plate img {
  width: 100%;
  border-radius: inherit;
}
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(240, 191, 106, 0.1),
      rgba(6, 6, 6, 0) 45%,
      rgba(6, 6, 6, 0.28));
  box-shadow: inset 0 0 0 1px rgba(236, 232, 225, 0.08);
  pointer-events: none;
}
.left .plate {
  justify-self: end;
}
.right .plate {
  justify-self: start;
}
.close {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  justify-items: center;
  min-height: 100svh;
  gap: 24px;
  padding: 0 var(--gutter) calc(64px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.closing {
  font-size: clamp(64px, 11vw, 176px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.close p:not(.closing),
.links {
  text-shadow:
    0 0 2px var(--room),
    0 0 8px var(--room),
    0 0 18px var(--room),
    0 0 36px var(--room);
}
.note {
  max-width: 30em;
  color: var(--marble-dim);
}
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.links a {
  color: var(--marble-dim);
}
.links a:hover {
  color: var(--gold-bright);
}
.legal {
  color: var(--marble-faint);
  font-size: 15px;
}
.js .lit {
  opacity: 0;
  filter: blur(8px) brightness(0.4);
  transform: translateY(18px);
  transition:
    opacity 1100ms var(--ease-out),
    filter 1100ms var(--ease-out),
    transform 1100ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .plate.lit {
  filter: brightness(0.4);
}
.js .lit.is-lit {
  opacity: 1;
  filter: none;
  transform: none;
}
@media (max-width: 1100px) {
  :root {
    --statue: min(66.7svh, 34vw);
    --lean: 3vw;
  }
}
@media (max-width: 820px) {
  .statue {
    opacity: 0.2;
  }
  .left,
  .right,
  .left + .right,
  .right + .left,
  .intro + .left {
    align-self: stretch;
    width: auto;
    margin-top: 112px;
    padding-inline: 20px;
  }
  .intro {
    margin-top: 0;
    min-height: 92svh;
    align-content: end;
    padding-bottom: 32px;
  }
  .intro h1 {
    font-size: clamp(52px, 15vw, 80px);
  }
  .get {
    max-width: none;
  }
  .left > :not(.plate),
  .right:not(.intro) > :not(.plate) {
    margin-inline: 0;
  }
  .left .plate,
  .right .plate {
    justify-self: stretch;
  }
  .gallery .exhibit {
    padding-inline: 0;
  }
  .exhibit > .label {
    padding-inline: 20px;
  }
  .exhibit.left .plate,
  .exhibit.right .plate {
    border-radius: 0;
  }
  .label h2 {
    font-size: clamp(32px, 9vw, 42px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .lit {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
  .skip {
    transition: none;
  }
}
