:root {
  color-scheme: dark;
  --ink: #f2eeeb;
  --muted: rgba(242, 238, 235, .55);
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --sans: Arial, "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: #080509; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: #080509; background: #f2eeeb; }
.experience {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 360px;
  overflow: hidden;
  isolation: isolate;
  background: #080509;
  cursor: crosshair;
}
#art-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.atmosphere {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 24%, rgba(5, 4, 8, .12) 62%, rgba(5, 4, 8, .75) 112%),
    linear-gradient(180deg, rgba(4, 3, 7, .28), transparent 24%, transparent 66%, rgba(4, 3, 7, .50));
}
.grain {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.frame {
  position: absolute;
  z-index: 2;
  inset: 15px;
  border: 1px solid rgba(245, 238, 233, .11);
  pointer-events: none;
}
.topbar {
  position: absolute;
  z-index: 3;
  top: clamp(1.25rem, 3.2vh, 2.5rem);
  right: var(--gutter);
  left: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(242, 238, 235, .62);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.08em;
  transition: border-color .25s ease, color .25s ease, transform .5s ease;
}
.brand span { color: #ff7058; }
.brand:hover { color: #ff7058; border-color: #ff7058; transform: rotate(12deg); }
.edition {
  color: rgba(242, 238, 235, .66);
  font: 9px var(--mono);
  letter-spacing: .18em;
}
.wordmark {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: clamp(5.5rem, 11vh, 9rem);
  left: var(--gutter);
  pointer-events: none;
}
.wordmark h1 {
  margin: 0;
  color: rgba(246, 242, 239, .91);
  font-size: clamp(3.45rem, 16.7vw, 17rem);
  font-weight: 500;
  line-height: .78;
  letter-spacing: -.105em;
  white-space: nowrap;
  mix-blend-mode: screen;
}
.scene-controls {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2.2vw, 1.8rem);
}
.scene-readout {
  display: flex;
  align-items: center;
  gap: .36rem;
  color: rgba(242, 238, 235, .84);
  font: 10px var(--mono);
  letter-spacing: .08em;
}
.scene-divider { color: rgba(242, 238, 235, .35); }
.scene-pagination { display: flex; align-items: center; gap: .38rem; }
.scene-step {
  display: grid;
  width: 25px;
  height: 22px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.scene-step::before {
  display: block;
  width: 9px;
  height: 1px;
  background: rgba(242, 238, 235, .42);
  content: "";
  transition: width .3s ease, background-color .3s ease;
}
.scene-step.is-active::before { width: 21px; background: #f2eeeb; }
.scene-arrows { display: flex; align-items: center; gap: .2rem; }
.arrow-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(242, 238, 235, .24);
  border-radius: 50%;
  background: rgba(8, 5, 9, .15);
  color: rgba(242, 238, 235, .74);
  font-size: 13px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.arrow-button:hover, .arrow-button:focus-visible {
  border-color: rgba(255, 112, 88, .85);
  background: rgba(8, 5, 9, .42);
  color: #ff9279;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .6rem .85rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: #080509;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}
:focus-visible { outline: 1px solid #ff9279; outline-offset: 4px; }
@media (max-width: 620px) {
  .frame { inset: 10px; }
  .topbar { top: 1.15rem; }
  .brand { width: 28px; height: 28px; }
  .edition { font-size: 8px; }
  .wordmark { bottom: 6.2rem; }
  .wordmark h1 { font-size: 16.4vw; }
  .scene-controls {
    right: var(--gutter);
    bottom: 1.35rem;
    left: var(--gutter);
    justify-content: space-between;
    gap: .55rem;
  }
  .scene-readout { min-width: 47px; }
  .scene-pagination { margin-left: auto; }
  .scene-arrows { gap: .12rem; }
  .arrow-button { width: 28px; height: 28px; }
}
@media (max-width: 360px) {
  .wordmark h1 { font-size: 15.5vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.top-meta { display: flex; align-items: center; gap: clamp(.55rem, 1.6vw, 1.1rem); }
.top-divider { width: 1px; height: 11px; background: rgba(242, 238, 235, .22); }
.countdown {
  display: flex;
  align-items: baseline;
  gap: .12em;
  color: rgba(242, 238, 235, .79);
  font: 9px var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
  white-space: nowrap;
}
.countdown-part { display: inline-flex; align-items: baseline; gap: .12em; }
.countdown-unit { color: rgba(242, 238, 235, .46); font: 8px var(--sans); }
.countdown-colon { color: rgba(242, 238, 235, .32); }
.visit-counter {
  display: flex;
  align-items: baseline;
  gap: .42em;
  color: rgba(242, 238, 235, .42);
  font: 8px var(--mono);
  letter-spacing: .09em;
  white-space: nowrap;
}
.visit-label { color: rgba(242, 238, 235, .38); font-size: 7px; letter-spacing: .14em; }
.visit-value {
  min-width: 4ch;
  color: rgba(242, 238, 235, .58);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
@media (max-width: 620px) {
  .edition, .top-divider { display: none; }
  .countdown { font-size: 8px; }
  .countdown-unit { font-size: 7px; }
  .visit-counter { margin-left: -.2rem; font-size: 7px; }
  .visit-label { display: none; }
  .visit-value { min-width: 3ch; }
}
