:root {
  --night: #07090f;
  --wall: #0c0f18;
  --zinc: #dde1e8;
  --zinc-2: #9aa1ae;
  --red: #d8432c;
  --ochre: #d6ae5c;
  --line: rgba(221, 225, 232, .32);
  --serif:
    "Instrument Serif",
    "Times New Roman",
    serif;
  --sans:
    "Manrope",
    system-ui,
    sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-in: cubic-bezier(.6, 0, .8, .3);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme=dark]) {
    --night: #e7e3da;
    --wall: #d4cfc4;
    --zinc: #1b1d22;
    --zinc-2: #5a5e66;
    --red: #b8301b;
    --ochre: #8a6a24;
    --line: rgba(27, 29, 34, .3);
    color-scheme: light;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--zinc);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 1.5px solid var(--ochre);
  outline-offset: 4px;
  border-radius: 999px;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 18px;
  background: var(--zinc);
  color: var(--night);
  border-radius: 999px;
  transition: top .3s var(--ease);
}
.skip:focus {
  top: 16px;
}
.thread {
  position: fixed;
  left: clamp(10px, 2.2vw, 30px);
  top: 0;
  width: 10px;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
}
.thread path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--draw, 1);
}
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px) 18px clamp(36px, 5vw, 64px);
  pointer-events: none;
}
.bar > * {
  pointer-events: auto;
}
.mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--zinc);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.bar nav {
  display: flex;
  gap: clamp(10px, 2vw, 26px);
  align-items: center;
  font-size: 15px;
}
.bar nav a {
  opacity: .78;
  transition: opacity .3s var(--ease);
}
.bar nav a:hover {
  opacity: 1;
}
.ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px 900px 999px 950px;
  border: 1.2px solid var(--line);
  opacity: 1 !important;
  transition:
    border-color .4s var(--ease),
    background .4s var(--ease),
    color .4s var(--ease),
    transform .4s var(--ease);
}
.ring:hover {
  border-color: var(--zinc);
  background: color-mix(in srgb, var(--zinc) 8%, transparent);
  transform: rotate(-1.2deg);
}
.big-ring {
  padding: 14px 30px;
  font: 500 16px/1 var(--sans);
  color: var(--zinc);
  background: none;
  cursor: pointer;
}
.stage {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}
.stage::after,
.station::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(transparent, var(--night));
  pointer-events: none;
  z-index: 1;
}
.station::before {
  inset: 0 0 auto 0;
  background: linear-gradient(var(--night), transparent);
}
.hero-text {
  position: absolute;
  left: clamp(40px, 7vw, 110px);
  top: clamp(90px, 16vh, 170px);
  z-index: 2;
  max-width: min(560px, 78vw);
  pointer-events: none;
}
.wire-title {
  margin: 0;
  font-weight: 400;
}
.wire-title svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.wire-title text {
  font: italic 400 172px/1 var(--serif);
  fill: transparent;
  stroke: var(--zinc);
  stroke-width: 1;
  stroke-dasharray: 3200;
  stroke-dashoffset: 3200;
  transition: stroke-dashoffset 2.6s var(--ease), fill .9s var(--ease) 1.5s;
}
.wire-title text + text {
  transition-delay: .35s, 1.85s;
}
.is-in .wire-title text {
  stroke-dashoffset: 0;
  fill: color-mix(in srgb, var(--zinc) 6%, transparent);
}
.lede {
  margin: 8px 0 0;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--zinc-2);
  max-width: 30ch;
}
.hint {
  position: absolute;
  left: 50%;
  bottom: 72px;
  translate: -50% 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--zinc-2);
  margin: 0;
  pointer-events: none;
}
.hint .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffeacb;
  box-shadow: 0 0 18px 6px rgba(255, 228, 190, .55);
  animation: breathe 2.6s ease-in-out infinite;
}
.hint-touch {
  display: none;
}
@media (hover: none) {
  .hint-mouse {
    display: none;
  }
  .hint-touch {
    display: inline;
  }
}
@keyframes breathe {
  50% {
    transform: scale(.6);
    opacity: .6;
  }
}
.down {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  z-index: 2;
  width: 24px;
  height: 40px;
}
.down svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--zinc-2);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.statement {
  padding: clamp(90px, 16vh, 180px) clamp(40px, 9vw, 140px);
  display: grid;
  gap: 10px;
}
.big {
  margin: 0;
  font: 400 clamp(36px, 6.4vw, 92px)/1.02 var(--serif);
  letter-spacing: -.01em;
  max-width: 16ch;
}
.big + .string + .big {
  justify-self: end;
  text-align: right;
  font-style: italic;
  color: var(--zinc-2);
}
.string {
  width: 100%;
  height: 120px;
  color: var(--zinc-2);
  overflow: visible;
}
.station .pill {
  position: absolute;
  z-index: 3;
  bottom: clamp(70px, 12vh, 120px);
  max-width: min(380px, calc(100% - 64px));
  padding: 22px 26px 24px;
  border-radius: 34px 40px 36px 30px;
  background: color-mix(in srgb, var(--night) 62%, transparent);
  border: 1.2px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.station.left .pill {
  left: clamp(40px, 7vw, 110px);
}
.station.right .pill {
  right: clamp(16px, 6vw, 96px);
}
.pill .num {
  font: italic 400 18px/1 var(--serif);
  color: var(--ochre);
}
.pill h2 {
  margin: 6px 0 2px;
  font: 400 clamp(30px, 3.4vw, 44px)/1.02 var(--serif);
}
.pill .sub {
  margin: 0 0 10px;
  color: var(--zinc-2);
  font-size: 15px;
}
.pill .meta {
  margin: 0;
  font-size: 14px;
  color: var(--zinc-2);
}
.pill .price {
  margin: 10px 0 16px;
  font-size: 18px;
  font-weight: 500;
}
.pill .ring {
  font-size: 15px;
  cursor: pointer;
  background: none;
  color: inherit;
  font-family: inherit;
}
.station-note {
  position: absolute;
  z-index: 3;
  top: clamp(90px, 14vh, 140px);
  right: clamp(16px, 6vw, 96px);
  margin: 0;
  max-width: 24ch;
  text-align: right;
  font: italic 400 clamp(20px, 2vw, 26px)/1.2 var(--serif);
  color: var(--zinc-2);
}
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.station .pill {
  opacity: 0;
  transform: translateY(34px) scale(.97);
  transition: opacity .8s var(--ease), transform 1s var(--ease);
}
.station.is-in .pill {
  opacity: 1;
  transform: none;
  transition-delay: .25s;
}
.station-note {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .8s var(--ease), transform 1s var(--ease);
}
.station.is-in .station-note {
  opacity: 1;
  transform: none;
  transition-delay: .5s;
}
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(90px, 14vh, 160px) clamp(40px, 9vw, 140px);
}
.portrait {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 44% 56% 48% 52% / 38% 42% 58% 62%;
  outline: 1.2px solid var(--line);
  outline-offset: 10px;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.about h2,
.contact h2 {
  margin: 0 0 18px;
  font: 400 clamp(38px, 5vw, 72px)/1 var(--serif);
}
.about p {
  max-width: 46ch;
  color: var(--zinc);
}
.muted {
  color: var(--zinc-2) !important;
  font-style: italic;
}
.contact {
  padding: clamp(80px, 12vh, 140px) clamp(40px, 9vw, 140px) clamp(90px, 14vh, 160px);
}
.form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
  max-width: 980px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--zinc-2);
  letter-spacing: .03em;
}
.field.wide {
  grid-column: 1 / -1;
}
.field input,
.field select,
.field textarea {
  font: 400 16px/1.4 var(--sans);
  color: var(--zinc);
  background: color-mix(in srgb, var(--zinc) 4%, transparent);
  border: 1.2px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px;
  transition: border-color .3s var(--ease);
  width: 100%;
}
.field textarea {
  border-radius: 28px;
  resize: vertical;
  min-height: 120px;
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      var(--zinc-2) 50%),
    linear-gradient(
      135deg,
      var(--zinc-2) 50%,
      transparent 50%);
  background-position: calc(100% - 24px) 55%, calc(100% - 18px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field select option {
  background: var(--night);
}
.field :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--zinc);
}
.form .big-ring {
  justify-self: start;
}
.form-msg {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.6em;
  color: var(--zinc-2);
}
.form-msg.err {
  color: var(--ochre);
}
.hp {
  position: absolute;
  left: -9999px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(40px, 9vw, 140px) 34px;
  font-size: 14px;
  color: var(--zinc-2);
  border-top: 1.2px solid var(--line);
}
.foot p {
  margin: 0;
}
.foot a:hover {
  color: var(--zinc);
}
.piece {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1.2px solid var(--line);
  border-radius: 40px;
  background: var(--wall);
  color: var(--zinc);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(.97);
  transition:
    opacity .5s var(--ease),
    transform .6s var(--ease),
    overlay .6s allow-discrete,
    display .6s allow-discrete;
}
.piece:not([open]) {
  display: none;
}
.piece[open] {
  opacity: 1;
  transform: none;
}
@starting-style {
  .piece[open] {
    opacity: 0;
    transform: translateY(30px) scale(.97);
  }
}
.piece.is-closing {
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition-timing-function: var(--ease-in);
}
.piece::backdrop {
  background: rgba(3, 4, 8, .7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition:
    opacity .5s var(--ease),
    overlay .6s allow-discrete,
    display .6s allow-discrete;
}
.piece[open]::backdrop {
  opacity: 1;
}
@starting-style {
  .piece[open]::backdrop {
    opacity: 0;
  }
}
.piece.is-closing::backdrop {
  opacity: 0;
}
.close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.2px solid var(--line);
  background: color-mix(in srgb, var(--wall) 70%, transparent);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.close:hover {
  border-color: var(--zinc);
  transform: rotate(90deg);
}
.close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--zinc);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.piece-view {
  position: relative;
  min-height: min(72svh, 680px);
  background:
    radial-gradient(
      60% 55% at 50% 40%,
      color-mix(in srgb, #ffeed6 13%, transparent),
      transparent 70%);
}
.piece-info {
  padding: 56px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.piece-info h2 {
  margin: 0;
  font: 400 clamp(32px, 3.4vw, 48px)/1.02 var(--serif);
}
.piece-sub {
  margin: 0 0 10px;
  color: var(--zinc-2);
}
.piece-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin: 8px 0;
  font-size: 15px;
}
.piece-meta dt {
  color: var(--zinc-2);
}
.piece-meta dd {
  margin: 0;
}
.piece-price {
  margin: 12px 0 14px;
  font-size: 22px;
  font-weight: 500;
}
.piece-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.piece-choice:empty {
  display: none;
}
.piece-choice button {
  font: 500 14px/1 var(--sans);
  color: var(--zinc-2);
  background: none;
  border: 1.2px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.piece-choice button[aria-pressed=true] {
  color: var(--night);
  background: var(--zinc);
  border-color: var(--zinc);
}
.piece-cta {
  align-self: flex-start;
}
.piece-scale {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 120px;
  margin: 10px 0 4px;
  font-size: 12px;
  color: var(--zinc-2);
}
.piece-scale:empty {
  display: none;
}
.piece-scale .bar-o,
.piece-scale .bar-a {
  width: 2px;
  background: var(--zinc);
  border-radius: 2px;
  position: relative;
  transform-origin: bottom;
  animation: grow 1s var(--ease) both;
}
.piece-scale .bar-a {
  width: 46px;
  background: none;
  border: 1.2px dashed var(--line);
  border-radius: 4px;
}
.piece-scale span {
  white-space: nowrap;
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
}
.sv {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.sv.is-drag {
  cursor: grabbing;
}
.sv-frame {
  position: absolute;
  inset: 7% 8% 9%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  transition: opacity .12s linear;
  pointer-events: none;
  filter: drop-shadow(26px 30px 22px rgba(0, 0, 0, .55));
}
.sv-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.sv-hint::after {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(var(--p, 0) * 100% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--zinc);
}
@media (max-width: 860px) {
  body {
    font-size: 16px;
  }
  .bar nav a:not(.ring) {
    display: none;
  }
  .station .pill {
    left: 16px !important;
    right: 16px !important;
    max-width: none;
    bottom: 46px;
    padding: 18px 20px 20px;
  }
  .station-note {
    top: 92px;
    left: 40px;
    right: 16px;
    text-align: left;
    max-width: none;
  }
  .about {
    grid-template-columns: 1fr;
    padding-left: 40px;
    padding-right: 16px;
  }
  .portrait {
    max-width: 320px;
  }
  .statement,
  .contact {
    padding-left: 40px;
    padding-right: 16px;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .foot {
    padding-left: 40px;
    padding-right: 16px;
    flex-direction: column;
    gap: 6px;
  }
  .piece {
    grid-template-columns: 1fr;
    border-radius: 30px;
    overflow-y: auto;
  }
  .piece-view {
    min-height: 54svh;
  }
  .piece-info {
    padding: 22px 22px 30px;
    overflow: visible;
  }
  .hint {
    bottom: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .rv,
  .station .pill,
  .station-note {
    opacity: 1;
    transform: none;
  }
  .wire-title text {
    stroke-dashoffset: 0;
  }
}
