:root {
  --ink: #000;
  --gold: #e8d4a8;
  --paper: #f7f1e6;
  --muted: #c8c0b8;
  --display: "Outfit", "Avenir Next", sans-serif;
  --mono: "Outfit", "Avenir Next", sans-serif;
  --title-px: 72px;
  --sub-px: 15px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; max-width: 100%; background: #000; color: var(--gold); }
html {
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--mono);
  overflow: hidden;
  background: #000;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

#wash-stage {
  position: fixed; inset: 0; z-index: 1;
  isolation: isolate;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}
#wash-bleed {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(28px) saturate(1.15) brightness(0.62);
  transform: scale(1.18);
  opacity: 0.95;
  background: #000;
}
#wash {
  position: absolute;
  left: -2000px;
  top: 0;
  width: 2560px;
  height: 1728px;
  transform: none;
  object-fit: fill;
  opacity: 0;
  pointer-events: none;
  filter: brightness(1.34) contrast(0.84);
  background: #000;
  z-index: 0;
}
#wash-step {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: #000;
  filter: brightness(0.92) contrast(0.96);
}
@media (min-width: 760px) {
  #wash {
    width: 2560px;
    height: 1728px;
  }
}
#wash-cubes {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
}
body.in #wash-cubes { opacity: 0; visibility: hidden; }
.iris-cube {
  position: absolute;
  overflow: hidden;
  border-radius: 0.42rem;
  background: transparent;
  pointer-events: none;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgb(243 236 226 / 0.16),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
}
.iris-cube.edge-top {
  border-radius: 0 0 0.42rem 0.42rem;
}
.iris-cube.edge-bot {
  border-radius: 0.42rem 0.42rem 0 0;
}
.iris-cube .glass,
.iris-cube .crt,
.iris-cube .rim { pointer-events: none; }
.iris-cube .glass {
  position: absolute; inset: 0;
  background:
    linear-gradient(150deg, rgb(255 255 255 / 0.12) 0%, transparent 40%, rgb(0 0 0 / 0.16) 100%);
}
.iris-cube .crt {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgb(255 255 255 / 0.07) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.7;
}
.iris-cube .rim {
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 12px rgb(0 0 0 / 0.42);
}
#wash-wings {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
  filter: brightness(1.18) contrast(0.92);
}
#wash-gl {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
  filter: brightness(1.18) contrast(0.92);
}
body.wall-gl #wash-wings { display: none; }
body:not(.wall-gl) #wash-gl { display: none; }
#wash-glitch {
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
}
#wash-grade {
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}
#wash-grade::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgb(255 255 255 / 0.065) 0 1px,
    transparent 1px 3px
  );
}
#wash-grade::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(255 70 70 / 0.04), transparent 12% 88%, rgb(70 110 255 / 0.04));
  mix-blend-mode: overlay;
}
body.in #wash-stage {
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease, visibility 500ms;
}

#chrome {
  position: fixed;
  top: 0;
  left: 50%;
  right: auto;
  z-index: 14;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(56rem, calc(100vw - 2.4rem));
  transform: translateX(-50%);
  padding: 0.85rem 0;
  pointer-events: none;
  background: none;
}
#score-toggle {
  grid-column: 1;
  justify-self: start;
}
#contact-open {
  grid-column: 2;
  justify-self: center;
}
#chrome nav {
  grid-column: 3;
  justify-self: end;
}
@media (min-width: 760px) {
  :root {
    --title-px: 65px;
    --sub-px: 13.5px;
  }
  #chrome {
    width: 100%;
    left: 0;
    transform: none;
    display: block;
    padding: 0.8rem 0;
    min-height: 2.55rem;
  }
  #score-toggle {
    position: absolute;
    left: var(--music-x, 22%);
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  #contact-open {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  #chrome nav {
    position: absolute;
    left: var(--social-x, 78%);
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 0.28rem;
    width: max-content;
    justify-self: unset;
  }
  #chrome nav a.soc { padding: 0.4rem 0.06rem; }
  #chrome nav,
  #score-toggle,
  #contact-open,
  #chrome nav a { font-size: 0.81rem; }
  #ident button { font-size: 11px; padding: 0.76rem 1.08rem; }
}
@media (max-width: 759px) {
  #chrome {
    width: min(24rem, calc(100vw - 1.8rem));
    padding: 0.7rem 0;
    background: none;
  }
}
.mark { display: none; }
#chrome nav {
  display: flex; gap: 1rem; align-items: center; justify-content: flex-end;
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--paper);
  background: none;
}
@media (min-width: 760px) {
  #chrome nav { gap: 0.28rem; width: max-content; }
}
@media (max-width: 759px) {
  #chrome nav { gap: 0.85rem; }
}
#chrome nav a:hover,
#score-toggle:hover,
#contact-open:hover { color: var(--gold); }
#score-toggle,
#contact-open,
#chrome nav a {
  pointer-events: auto;
  z-index: 1;
  padding: 0.55rem 0.2rem;
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--paper);
  background: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}
@media (max-width: 759px) {
  #score-toggle,
  #contact-open,
  #chrome nav a {
    background: none;
    box-shadow: none;
    backdrop-filter: none;
  }
}
#score-toggle[aria-pressed="false"] { color: var(--gold); }
#score-toggle.soc,
#chrome nav a.soc {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0;
  padding: 0.45rem 0.15rem;
}
#score-toggle.soc svg,
#chrome nav a.soc svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}
#chrome nav a.soc[aria-label="X"] svg {
  width: 0.92rem;
  height: 0.92rem;
}
#chrome nav a.soc[aria-label="YouTube"] svg {
  width: 1.28rem;
  height: 1.28rem;
}

#glass {
  display: none !important;
  position: fixed; inset: 0; z-index: 5;
  pointer-events: none; opacity: 0;
}

#wash-hit {
  position: fixed; inset: 0;
  z-index: 11;
  pointer-events: auto;
  cursor: pointer;
  background: transparent;
}
body.in #wash-hit { display: none; }
.iris-cube.title {
  cursor: default;
  pointer-events: none;
}
.iris-cube.queued {
  box-shadow:
    0 0 0 1px rgb(232 212 168 / 0.62),
    inset 0 1px 0 rgb(255 255 255 / 0.16);
}

#ident {
  position: fixed; inset: 0; z-index: 12;
  display: grid; place-items: center;
  text-align: center;
  padding: 1rem;
  pointer-events: none;
  background: none;
  transition: opacity 500ms ease, visibility 500ms;
}
body.in #ident { opacity: 0; visibility: hidden; }
#ident .copy {
  position: relative;
  width: min(52rem, 94vw);
  padding: 1.2rem 0 0.4rem;
}
#ident .copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 124%;
  height: 136%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 68% 56% at 50% 48%, rgb(0 0 0 / 0.4) 0%, rgb(0 0 0 / 0.16) 52%, transparent 78%);
  pointer-events: none;
  z-index: -1;
}
#ident .halo { display: none; }
#ident h1, #ident .brand, #ident .kicker, #ident .tag {
  position: relative;
  text-shadow:
    0 0 18px rgb(0 0 0 / 0.5),
    0 2px 12px rgb(0 0 0 / 0.35);
}
#ident h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--title-px);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--paper);
}
#ident .brand {
  margin: 0 0 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: var(--sub-px);
  color: var(--gold);
  transform: none;
}
#ident .kicker {
  margin: 0.85rem 0 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: var(--sub-px);
  color: #f0e6d2;
}
#ident .tag {
  margin: 0.55rem 0 1.15rem;
  color: #ddd6cc;
  font-size: var(--sub-px);
  letter-spacing: 0.03em;
  line-height: 1.45;
}
#ident button {
  pointer-events: auto;
  border: 1px solid var(--gold);
  border-radius: 0.42rem;
  padding: 0.85rem 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--paper);
}
#ident button:hover { background: var(--gold); color: var(--ink); }

#reel, #dots { display: none; }
.ch {
  position: relative;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: #000;
}
.ch video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
}
.ch .bg, .ch .veil, .ch .meta, .fs { display: none; }
.ch.grade { isolation: isolate; }
.ch.grade-ic04 video { filter: contrast(0.95); }
.ch.grade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: overlay;
  background: repeating-linear-gradient(
    to bottom,
    rgb(255 255 255 / 0.055) 0 1px,
    transparent 1px 3px
  );
}
#feed-host {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
#feed-host video {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  max-height: none;
  opacity: 0;
  pointer-events: none;
}

#desk { display: none; }

@media (max-width: 899px) {
  #glass { display: none !important; opacity: 0 !important; }
  #reel {
    display: block;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    background: #000;
  }
  body.in #reel { opacity: 1; pointer-events: auto; }
  #dots {
    display: flex; flex-direction: column; gap: 0.38rem;
    position: fixed; right: 0.7rem; top: 50%; transform: translateY(-50%);
    z-index: 7; opacity: 0; pointer-events: none;
  }
  body.in #dots { opacity: 1; }
  #dots b {
    width: 6px; height: 6px; border-radius: 50%;
    border: 1px solid var(--gold); display: block; opacity: 0.35;
  }
  #dots b.on { background: var(--gold); opacity: 1; }
  #index, #desk, #typekit, #deck, #hint, #orderkit { display: none !important; }
  .ch .bg, .ch .veil, .ch .meta { display: block; }
  .ch .bg {
    position: absolute; inset: -8%;
    background-size: cover; background-position: center;
    filter: blur(28px) saturate(1.08);
    opacity: 0.34;
    transform: scale(1.08);
  }
  .ch.portrait .bg { opacity: 0.42; }
  .ch .veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 0.28), transparent 18%, transparent 58%, rgb(0 0 0 / 0.78));
    pointer-events: none;
    z-index: 2;
  }
  .ch .meta {
    position: absolute; left: 1.15rem; right: 3.2rem; bottom: 1.4rem;
    z-index: 4; pointer-events: none;
  }
  .ch .idx {
    margin: 0 0 0.4rem;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.78;
  }
  .ch h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.7rem, 8vw, 2.6rem);
    line-height: 0.94;
    color: var(--paper);
    text-shadow: 0 1px 16px rgb(0 0 0 / 0.55);
  }
  .ch .note {
    margin: 0.5rem 0 0;
    max-width: 22rem;
    color: #d4ccc4;
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (min-width: 900px) {
  body.in.desk #desk {
    display: grid;
    position: fixed;
    inset: 3.4rem 16.4rem 7.4rem 1.4rem;
    z-index: 7;
    grid-template-columns: 15.5rem minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 1.4rem;
    align-items: stretch;
  }
  #slate {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 0.4rem;
    min-width: 0;
  }
  #slate-num {
    margin: 0 0 0.7rem;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
  }
  #slate-title {
    margin: 0;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--paper);
  }
  #slate-meta {
    margin: 0.7rem 0 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--gold);
  }
  #slate-note {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    max-width: 16.5rem;
  }
  #slate-note a,
  .ch .note a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    pointer-events: auto;
  }
  #slate-note a:hover,
  .ch .note a:hover { color: var(--paper); }
  #stage {
    position: relative;
    align-self: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 100%;
    background: #000;
    border-radius: 22px;
    overflow: hidden;
    outline: none;
    box-shadow:
      0 0 0 7px #000,
      0 0 0 8px rgb(232 212 168 / 0.32);
  }
  #stage video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    background: #000;
    border-radius: 22px;
  }
  #stage video.portrait { object-fit: contain; }
  #stage-shield {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: pointer;
  }
  #stage video::-webkit-media-controls,
  #stage video::-webkit-media-controls-enclosure,
  #stage video::-webkit-media-controls-overlay-enclosure,
  #stage video::-webkit-media-controls-overlay-play-button,
  .ch video::-webkit-media-controls,
  .ch video::-webkit-media-controls-enclosure,
  .ch video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  #stage { isolation: isolate; }
  #stage.grade-ic04 video { filter: contrast(0.95); }
  #grade {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
  }
  #stage.grade #grade { display: block; }
  #grade::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      rgb(255 255 255 / 0.055) 0 1px,
      transparent 1px 3px
    );
  }
  #grade::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(255 70 70 / 0.035), transparent 12% 88%, rgb(70 110 255 / 0.035));
    mix-blend-mode: overlay;
  }
  #strip {
    position: fixed;
    left: 1.4rem; right: 16.4rem; bottom: 1.15rem;
    z-index: 8;
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.55rem 0 0.2rem;
    scrollbar-width: none;
  }
  #strip::-webkit-scrollbar { display: none; }
  #strip button {
    flex: 0 0 auto;
    width: 4.6rem;
    padding: 0;
    position: relative;
    opacity: 0.42;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  #strip button img {
    display: block;
    width: 4.6rem;
    height: 2.9rem;
    object-fit: cover;
    background: #111;
    outline: 1px solid rgb(232 212 168 / 0.16);
  }
  #strip button span {
    display: block;
    margin-top: 0.28rem;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
  }
  #strip button:hover,
  #strip button.on { opacity: 1; }
  #strip button.on img { outline-color: var(--gold); }
  #index {
    display: none;
    position: fixed;
    top: 3.4rem; right: 0; bottom: 0;
    z-index: 8;
    width: 15.2rem;
    overflow-y: auto;
    padding: 0.4rem 1rem 1.4rem 0.7rem;
    background: linear-gradient(90deg, transparent, rgb(0 0 0 / 0.72));
  }
  body.in.desk #index { display: block; }
  #index button {
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    gap: 0.55rem;
    width: 100%;
    padding: 0.42rem 0;
    text-align: left;
    color: rgb(232 212 168 / 0.42);
    border-bottom: 1px solid rgb(232 212 168 / 0.08);
  }
  #index button span {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding-top: 0.18rem;
  }
  #index button em {
    font-style: normal;
    font-family: var(--display);
    font-size: 0.92rem;
    line-height: 1.2;
  }
  #index button:hover,
  #index button.on { color: var(--paper); }
  #index button.on span { color: var(--gold); }
}

#hint {
  position: fixed;
  left: 0; right: 16.4rem; bottom: 5.85rem;
  z-index: 8;
  margin: 0;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: rgb(232 212 168 / 0.5);
  opacity: 0;
  pointer-events: none;
}
body.in.desk #hint { opacity: 1; }

#typekit {
  position: fixed;
  left: 1rem; bottom: 5.4rem;
  z-index: 20;
  width: auto;
  pointer-events: auto;
}
#typekit-toggle {
  border: 1px solid rgb(232 212 168 / 0.28);
  padding: 0.4rem 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
  background: rgb(8 7 12 / 0.88);
}
#typekit .panel {
  display: none;
  width: 15.5rem;
  margin-top: 0.4rem;
  padding: 0.75rem 0.85rem;
  background: rgb(8 7 12 / 0.88);
  border: 1px solid rgb(232 212 168 / 0.28);
}
#typekit.open .panel { display: block; }
#deck {
  display: none !important; /* parked — re-enable by removing this line */
  position: fixed;
  left: 1rem; bottom: 1rem;
  z-index: 20;
  width: 15.5rem;
  padding: 0.65rem 0.75rem;
  background: rgb(8 7 12 / 0.88);
  border: 1px solid rgb(232 212 168 / 0.28);
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  gap: 0.4rem;
  align-items: center;
}
body.in #typekit, body.in #deck { display: none; }

#orderkit {
  position: fixed;
  left: 1rem;
  top: 4.1rem;
  z-index: 21;
  pointer-events: auto;
}
#orderkit-toggle {
  border: 1px solid rgb(232 212 168 / 0.28);
  padding: 0.4rem 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
  background: rgb(8 7 12 / 0.88);
}
#orderkit .panel {
  display: none;
  width: 17.4rem;
  margin-top: 0.4rem;
  padding: 0.7rem 0.75rem 0.8rem;
  background: rgb(8 7 12 / 0.92);
  border: 1px solid rgb(232 212 168 / 0.28);
  max-height: calc(100dvh - 6.5rem);
  overflow: auto;
}
#orderkit.open .panel { display: block; }
#orderkit p {
  margin: 0 0 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}
#order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#order-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 0.4rem;
  align-items: center;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgb(232 212 168 / 0.1);
  cursor: grab;
  color: var(--paper);
  font-size: 11px;
}
#order-list li.dragging { opacity: 0.4; }
#order-list span:first-child {
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 10px;
}
#order-list em {
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#order-list .ops { display: flex; gap: 0.15rem; }
#order-list .ops button {
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgb(232 212 168 / 0.22);
  color: var(--gold);
  font-size: 9px;
  line-height: 1;
}
#orderkit .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.65rem;
}
#order-reset {
  border: 1px solid rgb(232 212 168 / 0.28);
  padding: 0.35rem 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}
#order-note {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
#deck strong {
  display: block;
  font-size: 12px;
  color: var(--paper);
}
#deck small {
  display: block;
  margin-top: 0.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}
#deck button {
  border: 1px solid rgb(232 212 168 / 0.28);
  height: 2rem;
  color: var(--paper);
}
#typekit p {
  margin: 0 0 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}
#typekit label {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
#typekit select {
  width: 100%;
  background: #111;
  color: var(--paper);
  border: 1px solid rgb(232 212 168 / 0.28);
  padding: 0.35rem 0.4rem;
  font: inherit;
}

@media (max-width: 759px) {
  #wash-bleed,
  #wash-glitch,
  #wash-step { display: none !important; }
  #wash {
    position: absolute;
    left: -2000px !important;
    top: 0 !important;
    width: 1280px !important;
    height: 720px !important;
    transform: none !important;
    opacity: 0;
    pointer-events: none;
    filter: none;
  }
  #wash-grade::before { background: repeating-linear-gradient(to bottom, rgb(255 255 255 / 0.04) 0 1px, transparent 1px 5px); }
  #wash-grade::after { display: none; }
  #wash-bleed {
    filter: none;
    transform: none;
  }
  .iris-cube {
    border-radius: 0.5rem;
    background: transparent;
    box-shadow: 0 0 0 1px rgb(243 236 226 / 0.12);
  }
  .iris-cube .crt {
    mix-blend-mode: overlay;
    opacity: 0.7;
    background: repeating-linear-gradient(
      to bottom,
      rgb(255 255 255 / 0.07) 0 1px,
      transparent 1px 3px
    );
  }
  .iris-cube .glass {
    background: linear-gradient(160deg, rgb(255 255 255 / 0.08) 0%, transparent 42%, rgb(0 0 0 / 0.16) 100%);
  }
  .iris-cube .rim { box-shadow: inset 0 0 8px rgb(0 0 0 / 0.35); }
  #ident h1 { white-space: normal; font-size: clamp(2.4rem, 12vw, 4rem); }
}

/* DEV KITS off. Restore: SHOW_DEV_KITS = true in vault/live.js */
#orderkit, #typekit { display: none !important; }
@media (min-width: 900px) {
  html.dev-kits #orderkit { display: block !important; }
  html.dev-kits body:not(.in) #typekit { display: block !important; }
}

#contact {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  background: rgb(0 0 0 / 0.72);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  touch-action: manipulation;
}
#contact[hidden] { display: none !important; }
#contact .sheet {
  width: min(28rem, 100%);
  max-width: 100%;
  margin: 0 auto;
  background: #070707;
  border: 1px solid rgb(232 212 168 / 0.22);
  padding: 2rem 1.6rem 1.4rem;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 759px) {
  #contact {
    align-items: stretch;
    justify-content: flex-start;
    padding: max(0.7rem, env(safe-area-inset-top, 0px)) 0.75rem max(0.7rem, env(safe-area-inset-bottom, 0px));
    background: rgb(0 0 0 / 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  #contact .sheet {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.4rem 1rem 1.1rem;
  }
  #contact textarea { max-height: 8.5rem; }
}
#contact .eyebrow {
  margin: 0 0 0.4rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
#contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.02em;
  text-align: center;
}
#contact .lede {
  margin: 0.45rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}
#contact label {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
#contact input,
#contact textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgb(232 212 168 / 0.28);
  color: var(--paper);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.45rem 0;
  resize: vertical;
}
#contact input:focus,
#contact textarea:focus { outline: none; border-bottom-color: var(--gold); }
#contact .trap {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#contact-send {
  margin-top: 0.6rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 0.7rem 1.4rem;
}
#contact-send:hover { background: var(--gold); color: #111; }
#contact-send:disabled { opacity: 0.5; cursor: wait; }
#contact-close {
  position: absolute;
  top: 0.85rem; right: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--muted);
}
#contact-close:hover { color: var(--paper); }
#contact-status {
  min-height: 1.2em;
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
