:root {
  color-scheme: dark;
  --bg: #151113;
  --ivory: #f5ead5;
  --gold: #e4bf82;
  --edge: #b5976954;
  --jp: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --display:
    "Baskerville", "Baskerville Old Face", "Iowan Old Style", "Times New Roman",
    serif;
  --sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  --casino: url("media/casino.avif");
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--jp);
}
body {
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  font: inherit;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #ffca73;
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
.mast,
.base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5.8vw, 100px);
}
.mast {
  min-height: 70px;
  background: #151012;
  border-bottom: 1px solid var(--edge);
  position: relative;
  z-index: 4;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
}
.brand img {
  width: 65px;
  height: 48px;
  object-fit: contain;
}
.brand span,
.eyeline,
.section-cap span,
.still-no,
.base > span {
  font: 600 10px/1.4 var(--sans);
  letter-spacing: 0.18em;
}
.brand span {
  border-left: 1px solid var(--edge);
  padding-left: 18px;
  color: #ccb398;
  font-size: 9px;
}
.head-link {
  font: 12px var(--jp);
  letter-spacing: 0.06em;
  padding: 12px 0;
}
.head-link span {
  font: 18px var(--sans);
  color: var(--gold);
  margin-left: 14px;
}
.spotlight {
  height: clamp(450px, 57vw, 590px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.spot-art,
.spot-vignette,
.room,
.room-shade,
#tableau,
#cuts {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.spot-art,
.still {
  background-position: center;
  background-size: cover;
}
.art-wheel {
  background-image: var(--casino);
  background-position: 68% 49%;
}
.art-cards {
  background-image: url("media/cards.avif");
  background-position: 60% 82%;
}
.art-chips {
  background-image: url("media/chips.avif");
  background-position: 40% 55%;
}
.art-canal {
  background-image: url("media/river.avif");
  background-position: center 57%;
}
.art-wax {
  background-image:
    url("media/seal.avif"),
    radial-gradient(ellipse at 55% 40%, #624439, #1d1919);
  background-size:
    auto 140%,
    cover;
  background-repeat: no-repeat;
  background-position:
    55% 44%,
    center;
}
.spot-art.art-wax {
  background-size:
    auto 96%,
    cover;
  background-position:
    85% center,
    center;
}
.spot-vignette {
  background:
    linear-gradient(90deg, #100b0cfa, #150c10c7 24%, #12090d0a 64%),
    linear-gradient(0deg, #100c10b5, transparent 31%);
}
.spot-copy {
  position: absolute;
  left: clamp(25px, 8.7vw, 155px);
  top: 50%;
  transform: translateY(-51%);
}
.eyeline {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e9c18b;
  font-size: 10px;
  letter-spacing: 0.22em;
}
.eyeline i {
  width: 34px;
  height: 1px;
  background: currentColor;
}
.spot-copy h1,
.inv-title h1 {
  font: normal clamp(76px, 8.7vw, 147px)/0.84 var(--display);
  letter-spacing: -0.065em;
  margin: 28px 0 22px;
  font-kerning: normal;
}
.spot-copy h1 em,
.inv-title h1 em {
  font-weight: 400;
  color: #f1ce97;
}
.spot-copy p,
.inv-title p {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #e9d8bd;
}
.button-cream {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: #eddfc6;
  color: #251a19;
  padding: 13px 19px;
  margin-top: 27px;
  font: 600 12px/1.5 var(--sans);
}
.button-cream span {
  font: 19px var(--sans);
}
.button-cream:hover {
  background: #fff6e2;
}
.spot-controls {
  position: absolute;
  right: 5.8%;
  bottom: 28px;
  display: flex;
  gap: 8px;
  align-items: center;
  font: 12px var(--sans);
  letter-spacing: 0.16em;
}
.spot-controls > span {
  padding-right: 11px;
  text-shadow: 0 1px 4px #000;
}
.spot-controls b {
  color: #c3b6a5;
  font-weight: 400;
}
.spot-controls button {
  border: 1px solid #f2ddb483;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  background: #22191acc;
  font: 18px var(--sans);
}
.catalog {
  padding: 36px 5.8% 56px;
  border-top: 1px solid var(--edge);
}
.section-cap {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 23px;
}
.section-cap h2 {
  font: normal 22px var(--jp);
  letter-spacing: 0.07em;
}
.section-cap span {
  font-size: 8px;
  color: #be9c76;
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.75vw, 32px);
}
.still {
  aspect-ratio: 1.64;
  position: relative;
  overflow: hidden;
  border: 1px solid #e7c99855;
  transition: filter 0.25s;
}
.still::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #130b0d8c, transparent 50%);
}
.still-no {
  position: absolute;
  top: 9px;
  left: 10px;
  font-size: 11px;
  color: #fff7ea;
  z-index: 1;
}
.film-card:hover .still {
  filter: brightness(1.17);
}
.card-foot {
  padding: 12px 0 0;
  display: flex;
  gap: 4px;
  justify-content: space-between;
}
.card-foot h3 {
  font: normal clamp(19px, 1.7vw, 30px)/1.05 var(--display);
}
.card-foot p {
  color: #cbb9a3;
  font-size: 11px;
  margin-top: 7px;
}
.card-foot > span {
  color: #e7bf88;
}
.base {
  font-size: 12px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid var(--edge);
  color: #d4c0a9;
}
.base > span {
  font-size: 9px;
}
.stage {
  --stock: #b79a73;
  --stock-hi: #e5cdab;
  --stock-lo: #937552;
  --stock-ink: #55402c;
  position: relative;
  isolation: isolate;
  min-height: 650px;
  height: calc(100svh - 70px);
  max-height: 1200px;
  overflow: hidden;
}
.room {
  background: var(--casino) center 48% / cover;
}
.room-shade {
  background:
    linear-gradient(90deg, #140d10e8, #190e13a8 32%, #110a0b18 69%),
    linear-gradient(0deg, #110d12c9, transparent 35%);
}
#tableau {
  pointer-events: none;
}
.wait-layout {
  position: absolute;
  inset: 4% 0 13% 8.7%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  pointer-events: none;
}
.inv-title h1 {
  font-size: clamp(75px, 7.5vw, 128px);
  margin: 17px 0 13px;
}
.inv-title p {
  font-size: 13px;
}
.letter-trigger {
  background: none;
  padding: 0;
  display: grid;
  justify-items: center;
  position: relative;
  perspective: 1050px;
  pointer-events: auto;
}
.envelope {
  display: block;
  width: clamp(265px, 26vw, 410px);
  aspect-ratio: 1.94;
  position: relative;
  color: var(--stock-ink);
  background: linear-gradient(112deg, var(--stock-lo), var(--stock-hi));
  box-shadow:
    0 13px 19px -5px #0009,
    1px 1px 0 #684f36;
  transform: rotate(-5deg);
  transform-style: preserve-3d;
  transition: transform 0.4s;
}
.envelope::before,
.flap::before,
.pocket::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("media/grain.svg") repeat;
  background-size: 115px;
  mix-blend-mode: multiply;
  opacity: 0.36;
}
.insert {
  position: absolute;
  inset: 4% 4% 7%;
  background: #f2dfbc;
  box-shadow:
    inset 0 0 0 4px #eed5ad,
    inset 0 0 0 5px #9982646b;
  transform-origin: bottom;
}
.pocket,
.flap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pocket {
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(151deg, transparent 49.6%, #e4c69966 50%, transparent 50.6%)
      right/50% 100% no-repeat,
    linear-gradient(28deg, transparent 49.4%, #57402f61 50%, transparent 50.7%)
      left/50% 100% no-repeat,
    linear-gradient(15deg, var(--stock-lo), var(--stock-hi) 88%);
}
.flap {
  height: 68%;
  clip-path: polygon(0 0, 100% 0, 51% 96%, 50% 97%, 49% 96%);
  background: linear-gradient(
    162deg,
    var(--stock-hi),
    var(--stock) 75%,
    var(--stock-lo)
  );
  transform-origin: 50% 0;
  z-index: 1;
}
.wax {
  position: absolute;
  display: block;
  top: 53%;
  left: 50%;
  width: 30%;
  aspect-ratio: 1;
  z-index: 3;
  transform: translate(-50%, -50%) rotate(5deg);
  filter: drop-shadow(2px 5px 2px #34100765);
}
.wax i {
  position: absolute;
  inset: 0;
  background: url("media/seal.avif") center/contain no-repeat;
}
.wax i:first-child {
  clip-path: polygon(
    0 0,
    54% 0,
    49% 21%,
    53% 38%,
    46% 57%,
    51% 76%,
    43% 100%,
    0 100%
  );
}
.wax i:last-child {
  clip-path: polygon(
    53.8% 0,
    100% 0,
    100% 100%,
    42.8% 100%,
    50.8% 76%,
    45.8% 57%,
    52.8% 38%,
    48.8% 21%
  );
}
.stockmark,
.postmark {
  position: absolute;
  bottom: 8%;
  font: italic 13px var(--display);
  opacity: 0.85;
}
.stockmark {
  left: 5%;
}
.postmark {
  right: 5%;
  font: 8px var(--sans);
  letter-spacing: 0.15em;
}
.open-hint {
  margin-top: 21px;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 12px var(--jp);
  letter-spacing: 0.1em;
  text-shadow: 0 1px 5px #000;
}
.open-hint span {
  width: 21px;
  height: 1px;
  background: var(--gold);
}
.open-hint b {
  color: var(--gold);
}
.letter-trigger:hover .envelope {
  transform: rotate(-3deg) translateY(-2px);
}
.venue-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  padding: 10px 5.8%;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #130e11b8;
  border-top: 1px solid var(--edge);
  color: #edddc4;
}
.venue-strip time {
  font: 24px var(--display);
  letter-spacing: 0.04em;
}
.venue-strip small,
.strip-time {
  font: 11px var(--sans);
  letter-spacing: 0.14em;
}
.strip-time {
  border-left: 1px solid var(--edge);
  padding-left: 18px;
}
.strip-place {
  font: 12px var(--jp);
  margin-left: auto;
  letter-spacing: 0.1em;
}
#cuts {
  pointer-events: none;
  z-index: 2;
}
.bypass {
  z-index: 3;
  position: absolute;
  right: 4%;
  top: 3%;
  padding: 12px 16px;
  background: #171011db;
  color: var(--ivory);
  border: 1px solid var(--edge);
  font: 12px var(--jp);
}
.bypass span {
  margin-left: 10px;
}
[data-state="unsealing"] .wax i:first-child {
  animation: fracture-left 0.8s 0.14s ease-in both;
}
[data-state="unsealing"] .wax i:last-child {
  animation: fracture-right 0.76s 0.16s ease-in both;
}
[data-state="unsealing"] .flap {
  animation: lift-flap 0.68s 0.54s ease-in-out forwards;
}
[data-state="unsealing"] .insert {
  animation: slide-insert 0.63s 0.78s ease-out forwards;
}
[data-state="unsealing"] .open-hint {
  opacity: 0;
}
[data-state="unsealing"] .envelope {
  animation: level 0.6s ease forwards;
}
[data-state="screening"] .wait-layout,
[data-state="screening"] .venue-strip {
  visibility: hidden;
}
@keyframes fracture-left {
  25% {
    transform: translate(-2%, 0) rotate(-3deg);
  }
  100% {
    transform: translate(-38%, 45%) rotate(-24deg);
    opacity: 0;
  }
}
@keyframes fracture-right {
  25% {
    transform: translate(2%, 0) rotate(3deg);
  }
  100% {
    transform: translate(27%, 55%) rotate(31deg);
    opacity: 0;
  }
}
@keyframes lift-flap {
  to {
    transform: perspective(550px) rotateX(164deg);
    filter: brightness(0.72);
  }
}
@keyframes slide-insert {
  to {
    transform: translateY(-33%);
  }
}
@keyframes level {
  to {
    transform: rotate(-1deg) scale(1.035);
  }
}
[data-edition="1"] .stage {
  --stock: #353c39;
  --stock-hi: #69716a;
  --stock-lo: #222c29;
  --stock-ink: #f6dfad;
}
[data-edition="2"] .stage {
  --stock: #743d42;
  --stock-hi: #a56061;
  --stock-lo: #542930;
  --stock-ink: #ffe0b2;
}
[data-edition="3"] .stage {
  --stock: #424552;
  --stock-hi: #6d6a78;
  --stock-lo: #2b293a;
  --stock-ink: #eadcec;
}
[data-edition="3"] .room {
  background-image:
    linear-gradient(90deg, #160e1329, transparent), url("media/tokyo.avif");
}
[data-edition="4"] .stage {
  --stock: #d8c4a2;
  --stock-hi: #faead1;
  --stock-lo: #b6a181;
}
[data-edition="1"] .room {
  background-position: center 59%;
}
[data-edition="2"] .room {
  background-position: 26% 68%;
}
[data-edition="4"] .room {
  background-position: 78% 42%;
}
#message {
  padding: clamp(20px, 5vw, 70px) 5% 35px;
  background:
    linear-gradient(#180d11a6, #130d11df),
    var(--casino) center top/cover;
}
.paper {
  margin: auto;
  max-width: 650px;
  padding: 42px clamp(28px, 6vw, 85px);
  background:
    url("media/grain.svg") 0 0/130px,
    linear-gradient(120deg, #f2e6cf, #e9dac0 60%, #f5ead7);
  color: #332922;
  outline: 1px solid #9a7c4760;
  outline-offset: -12px;
  box-shadow: 0 14px 40px #0008;
  text-align: center;
  color-scheme: light;
}
.ink-logo {
  width: 112px;
  max-height: 95px;
  object-fit: contain;
}
.paper h2 {
  font: normal clamp(25px, 3vw, 38px)/1.55 var(--jp);
  margin: 20px auto 25px;
  letter-spacing: 0.07em;
}
.prose,
.signed,
.program,
.event {
  font-size: 15px;
  line-height: 2.1;
}
.prose {
  text-align: start;
}
.prose p + p {
  margin-top: 1.2em;
}
.signed {
  text-align: right;
  margin: 1em 0 2em;
}
.program,
.event {
  border-top: 1px solid #a58b654d;
  padding-top: 20px;
  margin-top: 20px;
}
.paper h3 {
  font-size: 14px;
  letter-spacing: 0.13em;
  color: #743e37;
  margin: 0 0 12px;
}
.event strong {
  font: 30px var(--display);
  margin-right: 5px;
}
.event p + p {
  margin-top: 10px;
}
.address {
  font-size: 13px;
}
.vmap {
  width: 100%;
  height: auto;
  max-height: 225px;
  margin-top: 12px;
  --ink: #413426;
  --paper: #e8dac0;
  --line: #785f3c;
  --main: #a9782e;
  --pin: #773931;
}
.vmap__road,
.vmap__main,
.vmap__walk,
.vmap__pin-ring {
  fill: none;
}
.vmap__road {
  stroke: var(--line);
  stroke-width: 1.2;
}
.vmap__main {
  stroke: var(--main);
  stroke-width: 5;
}
.vmap__walk {
  stroke: var(--ink);
  stroke-dasharray: 3 5;
  stroke-width: 2;
}
.vmap__label {
  fill: var(--ink);
  font-size: 14px;
}
.vmap__label--sm {
  font-size: 10px;
}
.vmap__station {
  fill: var(--paper);
  stroke: var(--main);
  stroke-width: 2;
}
.vmap__station-dot {
  fill: var(--main);
}
.vmap__pin {
  fill: var(--pin);
}
.vmap__pin-ring {
  stroke: #ecd8a8;
}
.vmap__pin-core {
  fill: #ecd8a8;
}
.vmap__pulse {
  fill: none;
}
.ink-link {
  display: inline-block;
  border-bottom: 1px solid #816448;
  padding: 5px;
}
.ink-link span {
  margin-left: 18px;
}
.read-next {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 24px auto 0;
  font-size: 13px;
}
.read-next > * {
  padding: 12px 0;
  background: none;
  color: var(--ivory);
}
@media (max-width: 760px) {
  .mast {
    min-height: 57px;
  }
  .brand {
    gap: 10px;
  }
  .brand img {
    width: 52px;
    height: 39px;
  }
  .brand span {
    padding-left: 10px;
    font-size: 7px;
  }
  .head-link {
    font-size: 11px;
  }
  .head-link span {
    margin-left: 6px;
  }
  .spotlight {
    height: 490px;
  }
  .spot-art.art-wheel {
    background-position: 69% 48%;
  }
  .spot-vignette {
    background:
      linear-gradient(90deg, #160e12d9, #120c1080 44%, transparent 89%),
      linear-gradient(0deg, #160e13ba, transparent 38%);
  }
  .spot-copy {
    left: 6%;
    top: 48%;
  }
  .spot-copy h1 {
    font-size: clamp(70px, 16vw, 100px);
  }
  .spot-copy p {
    font-size: 13px;
  }
  .spot-controls {
    bottom: 17px;
  }
  .spot-controls button {
    width: 38px;
    height: 38px;
  }
  .catalog {
    padding: 26px 5.8% 36px;
  }
  .section-cap {
    margin-bottom: 18px;
  }
  .section-cap h2 {
    font-size: 20px;
  }
  .section-cap span {
    font-size: 7px;
  }
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 12px;
  }
  .card-foot h3 {
    font-size: 22px;
  }
  .card-foot p {
    font-size: 11px;
  }
  .stage {
    min-height: 580px;
    height: calc(100svh - 57px);
  }
  .room {
    background-position: 65% center;
  }
  .room-shade {
    background:
      linear-gradient(90deg, #120b0fd9, #130d1266 52%, transparent 91%),
      linear-gradient(0deg, #140d13cf, transparent 34%);
  }
  .wait-layout {
    inset: 7% 0 auto 7%;
    gap: 32px;
    align-items: flex-start;
  }
  .inv-title h1 {
    font-size: clamp(69px, 13vw, 88px);
    margin: 15px 0 14px;
  }
  .inv-title p {
    font-size: 12px;
  }
  .eyeline {
    font-size: 9px;
    gap: 9px;
  }
  .eyeline i {
    width: 22px;
  }
  .envelope {
    width: clamp(212px, 54vw, 282px);
  }
  .open-hint {
    font-size: 12px;
    margin-top: 18px;
  }
  .venue-strip {
    min-height: 57px;
    gap: 9px;
    padding-inline: 5%;
  }
  .venue-strip time {
    font-size: 19px;
  }
  .venue-strip small,
  .strip-time {
    font-size: 9px;
  }
  .strip-time {
    padding-left: 9px;
  }
  .strip-place {
    font-size: 10px;
    letter-spacing: 0;
  }
  .paper {
    padding: 35px 25px;
  }
  .prose,
  .signed,
  .program,
  .event {
    font-size: 14px;
  }
}
@media (max-width: 370px) {
  .strip-place {
    max-width: 9em;
  }
  .brand span {
    display: none;
  }
  .catalog {
    padding-inline: 5%;
  }
  .eyeline {
    font-size: 8px;
  }
}
@media (min-width: 761px) and (max-height: 730px) {
  .stage {
    min-height: 565px;
  }
  .wait-layout {
    gap: 23px;
  }
  .envelope {
    width: 255px;
  }
  .inv-title h1 {
    font-size: 79px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::after,
  *::before {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
/* Frontal paper folds catch a narrow grazing highlight at the fold. */
.flap {
  filter: drop-shadow(0 2px 0 #40291e65);
}
.pocket {
  background-color: var(--stock);
  background-image:
    linear-gradient(
      151deg,
      transparent 49.2%,
      #77533255 49.6%,
      #f4dcb866 50%,
      transparent 50.6%
    ),
    linear-gradient(
      28deg,
      transparent 49.1%,
      #684b3b44 49.7%,
      #ebd4b266 50.1%,
      transparent 50.7%
    ),
    linear-gradient(15deg, var(--stock-lo), var(--stock-hi) 88%);
}
.envelope {
  border-radius: 1px;
  box-shadow:
    0 18px 20px -7px #0009,
    0 3px 5px #140a0daa,
    inset 0 0 1px 1px #f4ddaf66;
}
.wax {
  width: 34%;
}
[data-state="screening"] .room {
  filter: brightness(0.5);
  transition: filter 0.7s;
}
@media (max-width: 760px) {
  .wait-layout {
    inset: 7% 7% 14%;
    justify-content: space-between;
    gap: 20px;
  }
  .letter-trigger {
    align-self: center;
  }
  .envelope {
    width: clamp(240px, 72vw, 345px);
  }
  .open-hint {
    margin-top: 23px;
  }
}
/* The second and third cameras isolate details on the very same felt table. */
[data-edition="1"] .room::after,
[data-edition="2"] .room::after {
  content: "";
  position: absolute;
  inset: 0 0 0 43%;
  background-size: cover;
  background-repeat: no-repeat;
  mask-image: linear-gradient(100deg, transparent 1%, #000 32%);
  opacity: 0.97;
}
[data-edition="1"] .room::after {
  background-image: url("media/cards.avif");
  background-position: 53% 70%;
}
[data-edition="2"] .room::after {
  background-image: url("media/chips.avif");
  background-position: 36% 52%;
}
[data-edition="1"] .inv-title em {
  color: #d3d8bc;
}
[data-edition="2"] .inv-title em {
  color: #e8ab9a;
}
[data-edition="3"] .inv-title em {
  color: #edcbd5;
}
[data-edition="4"] .room-shade {
  background: linear-gradient(90deg, #0e090cec 7%, #271915bd 40%, #1d10116b);
}
[data-edition="4"] .wait-layout {
  inset: 6% 9% 15%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
[data-edition="4"] .envelope {
  width: clamp(375px, 39vw, 660px);
  transform: rotate(7deg);
}
[data-edition="4"] .wax {
  width: 37%;
}
[data-edition="4"] .open-hint {
  margin-top: 38px;
}
@media (max-width: 760px) {
  [data-edition="1"] .room::after,
  [data-edition="2"] .room::after {
    inset: 22% 0 0;
    mask-image: linear-gradient(
      175deg,
      transparent 0%,
      #000 45%,
      #000 85%,
      transparent
    );
  }
  [data-edition="4"] .wait-layout {
    inset: 9% 7% 14%;
    flex-direction: column;
    align-items: flex-start;
  }
  [data-edition="4"] .envelope {
    width: min(78vw, 410px);
  }
}
/* The opened invitation keeps the paper, deep wine and hotel photography of the base. */
#message {
  padding: 0;
  background: #1b1114;
}
.letter-spread {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: start;
  gap: 7%;
  padding: clamp(34px, 6vw, 100px) 7.5%;
  background:
    linear-gradient(180deg, #190e13a8, #1b1013 94%),
    var(--casino) center top/auto min(900px, 100vh) no-repeat;
}
.margin-title {
  position: sticky;
  top: 7vh;
  padding: 4vw 0;
}
.margin-title p {
  font: normal clamp(54px, 6.5vw, 104px)/0.93 var(--display);
  letter-spacing: -0.06em;
  margin: 23px 0;
}
.margin-title em {
  font-weight: normal;
  color: var(--gold);
}
.paper {
  width: 100%;
  padding-inline: clamp(32px, 4.3vw, 76px);
}
.journey {
  position: relative;
  isolation: isolate;
  margin: 0 7.5%;
  min-height: clamp(260px, 28vw, 470px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--edge);
}
.scenery,
.afterglow {
  position: absolute;
  inset: 0;
  background: url("media/tokyo.avif") center 55% / cover;
  z-index: -2;
}
.afterglow {
  background-image: url("media/tokyo-night.avif");
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.65s cubic-bezier(0.22, 0.65, 0.25, 1);
}
.lit .afterglow {
  clip-path: inset(0);
}
.journey::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #150d12db, transparent 70%);
  z-index: -1;
}
.journey-copy {
  padding: clamp(22px, 4vw, 60px);
}
.journey-copy h2 {
  font: normal clamp(20px, 3.2vw, 44px) var(--jp);
  letter-spacing: 0.05em;
}
.lights {
  margin-top: 18px;
  background: #161013b5;
  padding: 10px 15px;
  border: 1px solid #e2c99d8c;
  font-size: 12px;
}
.lights span {
  margin-left: 16px;
  color: #f4cc8d;
}
.read-next {
  margin: 0;
  padding: 25px 5% 40px;
}
.bypass {
  z-index: 25;
}
@media (max-width: 760px) {
  .letter-spread {
    display: block;
    padding: 22px 5% 35px;
  }
  .margin-title {
    display: none;
  }
  .paper {
    padding-inline: 28px;
  }
  .journey {
    margin: 0 5%;
  }
}
.paper h2[tabindex="-1"]:focus {
  outline: none;
}
[data-edition="3"] .stage[data-state="screening"] #tableau {
  z-index: 21;
}
#message:not([hidden]) .paper {
  animation: paper-settle 0.6s cubic-bezier(0.16, 0.7, 0.32, 1) both;
}
#message:not([hidden]) .prose {
  animation: ink-develop 1.2s ease-out both;
}
@keyframes paper-settle {
  from {
    opacity: 0.3;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ink-develop {
  from {
    color: #9a764c;
    text-shadow: 0 0 5px #c39148;
  }
  to {
    color: #332922;
    text-shadow: 0 0 0 transparent;
  }
}
