/* ==========================================================================
   believeinblatt - reference-led portrait collage
   ========================================================================== */

:root {
  --paper-kraft: #d2c8b5;
  --paper-warm: #e3ddcd;
  --paper-white: #ebe5d7;
  --ink: #1a1916;
  --ink-soft: #4a463d;
  --red: #d0332d;
  --pink: #db2ba8;
  --focus: #ed1d25;
  --sheet-width: 760px;
  --eye-stage-height: clamp(32rem, min(88svh, 177.78vw), 48rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --transition: 160ms steps(2, end);
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='720' viewBox='0 0 560 720'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='5' seed='27' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23e8e1d3' surfaceScale='2.2' diffuseConstant='1'%3E%3CfeDistantLight azimuth='228' elevation='58'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='560' height='720' filter='url(%23p)' opacity='.68'/%3E%3C/svg%3E");
  --black-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='720' viewBox='0 0 560 720'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.016' numOctaves='5' seed='13' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23342f29' surfaceScale='4' diffuseConstant='1.2'%3E%3CfeDistantLight azimuth='225' elevation='50'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='560' height='720' filter='url(%23b)' opacity='.72'/%3E%3C/svg%3E");
  --font-marker: "Permanent Marker", "Arial Black", sans-serif;
  --font-hand: "Rock Salt", "Comic Sans MS", cursive;
  --font-type: "Special Elite", "Courier New", monospace;
  --font-mono: "Courier Prime", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #151411;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: #151411;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-sheet {
  position: relative;
  width: min(100%, var(--sheet-width));
  margin-inline: auto;
  overflow: clip;
  background: var(--paper-kraft);
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.5);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: var(--space-3);
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper-white);
  font-family: var(--font-type);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-3);
}

:focus-visible {
  outline: 4px dashed var(--focus);
  outline-offset: 4px;
}

/* --- masthead ----------------------------------------------------------- */

.masthead {
  position: relative;
  z-index: 3;
  min-height: 3.5rem;
  display: grid;
  place-items: center;
  padding: 0.35rem var(--space-2);
  background-color: var(--paper-kraft);
  background-image: var(--paper-grain);
  background-size: 100% 100%;
  border-bottom: 2px solid var(--ink);
}

.masthead__nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-1);
}

.masthead__nav a {
  position: relative;
  min-width: 3.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  color: var(--ink);
  font-family: var(--font-marker);
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
}

.masthead__nav a::before {
  content: "\2192";
  font-family: var(--font-hand);
  font-size: 1.2rem;
  transform: rotate(var(--arrow-rotation, -2deg));
}

.masthead__nav a:nth-child(even)::before {
  --arrow-rotation: 2deg;
}

.masthead__nav a::after {
  position: absolute;
  left: 1.8rem;
  right: 0.2rem;
  bottom: 0.28rem;
  height: 3px;
  content: "";
  background: var(--red);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: left;
  transition: transform var(--transition);
}

.masthead__nav a:hover::after,
.masthead__nav a[aria-current="true"]::after {
  transform: scaleX(1) rotate(-1deg);
}

/* --- hero poster -------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--paper-kraft);
}

.hero__art {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  background: var(--paper-kraft);
  transform: translate(var(--jitter-x, 0), var(--jitter-y, 0));
}

.hero__continuation {
  position: relative;
  margin: 0;
  background: var(--paper-kraft);
  transform: translate(var(--jitter-x, 0), var(--jitter-y, 0));
}

.hero__continuation > img {
  width: 100%;
  height: auto;
}

.hero__art > img {
  width: 100%;
  height: auto;
}

.hero__poster {
  position: relative;
  z-index: 0;
}

.hero-eyes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-eye {
  position: absolute;
  display: block;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: grayscale(1) contrast(1.12) brightness(0.92);
  transform: rotate(var(--eye-rotation, 0deg));
  transform-origin: center;
}

.hero-eye[data-eye-state="half"],
.hero-eye[data-eye-state="closed"] {
  opacity: 1;
}

.hero-eye--pair[data-eye-state="half"] {
  background-image: url("../img/reference/hero-eyes/pair-half.webp");
}

.hero-eye--pair[data-eye-state="closed"] {
  background-image: url("../img/reference/hero-eyes/pair-closed-a.webp");
}

.hero-eye--pair.hero-eye--variant-b[data-eye-state="closed"] {
  background-image: url("../img/reference/hero-eyes/pair-closed-b.webp");
}

.hero-eye--single[data-eye-state="half"] {
  background-image: url("../img/reference/hero-eyes/single-half.webp");
}

.hero-eye--single[data-eye-state="closed"] {
  background-image: url("../img/reference/hero-eyes/single-closed.webp");
}

.hero-eye--single {
  background-size: cover;
}

.hero-eye--upper-left {
  z-index: 1;
  left: 0;
  top: 43.33%;
  width: 34.17%;
  height: 8.57%;
}

.hero-eye--middle-left {
  z-index: 1;
  left: 0;
  top: 51.48%;
  width: 34.17%;
  height: 8.24%;
}

.hero-eye--center {
  z-index: 3;
  left: 34.03%;
  top: 52.39%;
  width: 18.89%;
  height: 8.57%;
}

.hero-eye--lower-left {
  z-index: 1;
  left: 0;
  top: 58.9%;
  width: 52.22%;
  height: 11.61%;
  clip-path: polygon(0 0, 65% 0, 65% 18%, 100% 18%, 100% 100%, 0 100%);
}

.hero-eye--upper-right {
  z-index: 1;
  --eye-rotation: 4deg;
  left: 85.28%;
  top: 37.31%;
  width: 11.53%;
  height: 7.08%;
  clip-path: polygon(4% 0, 96% 4%, 100% 94%, 2% 100%);
}

.hero-eye--cluster-top {
  z-index: 3;
  --eye-rotation: 9deg;
  left: 52.78%;
  top: 63.84%;
  width: 10.83%;
  height: 4.78%;
  clip-path: polygon(4% 0, 100% 12%, 94% 100%, 0 85%);
}

.hero-eye--cluster-pair {
  z-index: 2;
  --eye-rotation: -4deg;
  left: 52.36%;
  top: 66.56%;
  width: 20.14%;
  height: 6.92%;
  clip-path: polygon(5% 8%, 95% 0, 100% 90%, 3% 100%);
}

.hero-eye--lower-center {
  z-index: 4;
  --eye-rotation: 2deg;
  left: 71.67%;
  top: 69.69%;
  width: 11.67%;
  height: 5.68%;
  clip-path: polygon(3% 0, 100% 7%, 94% 100%, 0 96%);
}

.hero-eye--lower-right {
  z-index: 4;
  --eye-rotation: 5deg;
  left: 86.11%;
  top: 68.53%;
  width: 13.89%;
  height: 6.18%;
  clip-path: polygon(2% 0, 100% 8%, 94% 100%, 0 92%);
}

/* pasted over the printed tag of a dead account; same cream stock, live link */
.hero-tag {
  position: absolute;
  z-index: 2;
  left: 66%;
  top: 62.9%;
  width: 25%;
  height: 4.2%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7dfca;
  color: #262219;
  font-family: var(--font-type);
  font-size: 0.95rem;
  font-size: 2.5cqw;
  line-height: 1;
  text-decoration: none;
  transform: rotate(-2deg);
  clip-path: polygon(0 18%, 4% 0, 96% 6%, 100% 30%, 99% 86%, 94% 100%, 3% 94%, 1% 70%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.art-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
}

.art-hotspot--tickets {
  left: 19%;
  top: 20%;
  width: 69%;
  height: 7%;
}

.art-hotspot--join {
  right: 0;
  bottom: 3%;
  width: 48%;
  height: 23%;
}

.art-hotspot--continuation-signup {
  top: 0;
  right: 0;
  width: 48%;
  height: 60%;
}

.art-hotspot:focus-visible {
  background: rgba(219, 43, 168, 0.16);
  outline-color: var(--pink);
  outline-offset: -5px;
}

.hero__event-meta {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

/* --- shared paper ------------------------------------------------------- */

.paper {
  position: relative;
  background-color: var(--paper-white);
  background-image: var(--paper-grain);
  background-size: 100% 100%;
}

.paper::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(26, 25, 22, 0.06);
  mix-blend-mode: multiply;
}

.paper-label {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0.15rem 0.45rem 0.05rem;
  background: #e7dfcf;
  color: var(--ink);
  font-family: var(--font-marker);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4rem;
  transform: rotate(-1.5deg);
}

.paper-label--large {
  font-size: 1.8rem;
  transform: rotate(1deg);
}

/* --- bio --------------------------------------------------------------- */

.bio {
  position: relative;
  z-index: 2;
  min-height: var(--eye-stage-height);
  margin-top: -1.25rem;
  background: var(--paper-white);
}

.eye-reel__sticky {
  position: relative;
  height: var(--eye-stage-height);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--paper-white);
  background-image: var(--paper-grain);
  background-size: 100% 100%;
}

.eye-reel__sticky::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(26, 25, 22, 0.07);
}

.eye-reel.is-dark .eye-reel__sticky {
  background-color: #171613;
  background-image: var(--black-grain);
}

.eye-reel__figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.eye-reel__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: translate(var(--jitter-x, 0), var(--jitter-y, 0));
}

/* --- vault -------------------------------------------------------------- */

.vault-section {
  position: relative;
  background: var(--paper-kraft);
}

.paper--vault {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 6% 2.5rem;
  clip-path: polygon(
    0 0.8%, 5% 0.15%, 11% 0.75%, 18% 0.1%, 26% 0.8%, 34% 0.15%,
    43% 0.65%, 52% 0.12%, 61% 0.8%, 70% 0.2%, 79% 0.7%, 88% 0.1%,
    95% 0.8%, 100% 0.2%, 100% 99.2%, 94% 100%, 87% 99.35%,
    78% 99.9%, 68% 99.2%, 58% 100%, 48% 99.3%, 38% 99.9%,
    28% 99.25%, 18% 100%, 9% 99.35%, 0 99.9%
  );
}

.vault-heading {
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.vault-heading h2 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--font-marker);
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.65rem;
}

.vault-heading p,
.vault__after {
  width: min(100%, 41rem);
  margin: 0 auto;
  font-family: var(--font-type);
  font-size: 1rem;
  line-height: 1.42;
  text-align: center;
}

.vault-frame {
  width: min(82%, 35rem);
  margin: 1.5rem auto 0.75rem;
  text-align: center;
}

.vault-frame img {
  width: 100%;
  height: auto;
  transform: translate(var(--jitter-x, 0), var(--jitter-y, 0));
}

.vault-frame figcaption {
  margin-top: 0.2rem;
  font-family: var(--font-hand);
  font-size: 0.7rem;
  line-height: 1.4;
}

.vault__after {
  margin-top: 0.5rem;
}

.vault__ticket-link {
  align-self: center;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  margin-top: 0.55rem;
  color: var(--ink);
  font-family: var(--font-marker);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

/* --- vault evidence prints ---------------------------------------------- */

.vault-evidence {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.25rem;
  padding-inline: 2%;
}

.vault-print {
  position: relative;
  width: 27%;
  margin: 0.9rem -1.25% 0;
  padding: 4.5% 4.5% 2.5%;
  background: #f1ecdf;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
  transform: rotate(var(--tilt, 0deg));
  transition: transform var(--transition);
}

.vault-print:nth-child(1) { --tilt: -4deg; }
.vault-print:nth-child(2) { --tilt: 3deg; top: 0.4rem; }
.vault-print:nth-child(3) { --tilt: -2deg; }
.vault-print:nth-child(4) { --tilt: 4deg; }
.vault-print:nth-child(5) { --tilt: -3deg; top: 0.4rem; }
.vault-print:nth-child(6) { --tilt: 2deg; }

.vault-print:hover {
  z-index: 2;
  transform: rotate(0deg) scale(1.06);
}

.vault-print img {
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.05);
}

.vault-print figcaption {
  margin-top: 0.45rem;
  font-family: var(--font-hand);
  font-size: 0.62rem;
  line-height: 1.4;
  text-align: center;
}

/* --- instagram transmissions ------------------------------------------- */

.instagram-section {
  position: relative;
  isolation: isolate;
  padding: 4.75rem 5% 6.5rem;
  overflow: hidden;
  background-color: #c7bda9;
  background-image: var(--paper-grain);
  background-size: 100% 100%;
  border-top: 2px solid var(--ink);
}

.instagram-section::before {
  position: absolute;
  inset: 1.2rem -8% auto;
  z-index: -1;
  height: 1px;
  content: "";
  background: rgba(26, 25, 22, 0.25);
  box-shadow: 0 0.42rem 0 rgba(26, 25, 22, 0.08);
  transform: rotate(-1deg);
}

.instagram-section__inner {
  position: relative;
  width: min(100%, 43rem);
  margin-inline: auto;
}

.instagram-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.instagram-heading__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-type);
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.instagram-heading h2 {
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-marker);
  font-size: clamp(2.6rem, 8vw, 4.1rem);
  font-weight: 400;
  line-height: 0.95;
  transform: rotate(-1deg);
}

.instagram-heading h2::after {
  display: block;
  width: 104%;
  height: 0.22rem;
  margin: 0.45rem 0 0 -2%;
  content: "";
  background: var(--red);
  transform: rotate(0.5deg);
}

.instagram-heading__profile {
  min-height: 2.75rem;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.55rem 0.75rem 0.42rem;
  background: var(--ink);
  color: var(--paper-white);
  font-family: var(--font-type);
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--red);
  transform: rotate(1.5deg);
  transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

.instagram-heading__profile:hover,
.instagram-heading__profile:focus-visible {
  background: var(--paper-white);
  color: var(--ink);
  transform: rotate(-0.5deg) translate(-2px, -2px);
}

.instagram-section__intro {
  width: min(100%, 35rem);
  margin: 1.6rem 0 0;
  font-family: var(--font-type);
  font-size: 0.98rem;
  line-height: 1.45;
}

.instagram-feed-status {
  width: max-content;
  max-width: 100%;
  margin: 1rem 0 0 auto;
  padding: 0.3rem 0.55rem 0.22rem;
  border: 1px solid rgba(26, 25, 22, 0.52);
  color: rgba(26, 25, 22, 0.78);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transform: rotate(0.7deg);
}

.instagram-feed-status.is-live {
  border-color: #315738;
  color: #25442b;
}

.instagram-feed-status.is-stale {
  border-color: var(--red);
  color: #7b201e;
}

.instagram-board {
  position: relative;
  width: min(97%, 40rem);
  margin: 2.5rem auto 0;
  padding: clamp(0.35rem, 1.5vw, 0.7rem);
  background: #0b0b0a;
  color: var(--paper-white);
  box-shadow: 0.55rem 0.7rem 0 rgba(26, 25, 22, 0.34);
  transform: rotate(-0.65deg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.instagram-board::before,
.instagram-board::after {
  position: absolute;
  top: -1rem;
  z-index: 2;
  width: 5.6rem;
  height: 1.75rem;
  content: "";
  pointer-events: none;
  background: rgba(225, 211, 175, 0.82);
  box-shadow: 0 1px 2px rgba(26, 25, 22, 0.18);
}

.instagram-board::before {
  left: 8%;
  transform: rotate(-7deg);
}

.instagram-board::after {
  right: 8%;
  transform: rotate(6deg);
}

.instagram-board:hover {
  box-shadow: 0.4rem 0.5rem 0 rgba(26, 25, 22, 0.4);
  transform: rotate(0deg) translateY(-0.2rem);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2px, 0.6vw, 4px);
  background: #050505;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  color: var(--paper-white);
  cursor: pointer;
  text-decoration: none;
}

.instagram-post > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--transition), transform var(--transition);
}

.instagram-post:hover > img,
.instagram-post:focus-visible > img {
  filter: brightness(0.72) contrast(1.08);
  transform: scale(1.035);
}

.instagram-post:focus-visible {
  z-index: 3;
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.instagram-post.is-active {
  z-index: 2;
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.instagram-post__missing {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, transparent 46%, rgba(196, 40, 35, 0.45) 47% 52%, transparent 53%),
    #171512;
  color: var(--paper-white);
  font-family: var(--font-hand);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.instagram-post::before {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 1;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.instagram-post[data-post-type="reel"]::before {
  content: "\25B6";
}

.instagram-post[data-post-type="carousel"]::before {
  content: "\25A3";
}

.instagram-post::after {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  z-index: 1;
  min-width: 3.15rem;
  min-height: 2rem;
  display: grid;
  place-items: center;
  content: "VIEW";
  background: var(--paper-white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(0.35rem) rotate(-2deg);
  transition: opacity var(--transition), transform var(--transition);
}

.instagram-post[data-post-type="reel"]::after {
  content: "PLAY";
}

.instagram-post[data-post-type="carousel"]::after {
  content: "OPEN";
}

.instagram-post:hover::after,
.instagram-post:focus-visible::after,
.instagram-post.is-active::after {
  opacity: 1;
  transform: translateY(0) rotate(-2deg);
}

.instagram-board figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.2rem 0.05rem;
  font-family: var(--font-type);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.instagram-viewer {
  position: relative;
  width: min(100%, 42rem);
  margin: 3.2rem auto 0;
  padding: clamp(0.7rem, 2vw, 1rem);
  border: 1px solid rgba(245, 240, 230, 0.28);
  background-color: #15130f;
  background-image: var(--black-grain);
  background-size: 100% 100%;
  color: var(--paper-white);
  box-shadow: 0.65rem 0.75rem 0 rgba(26, 25, 22, 0.3);
  transform: rotate(0.4deg);
  animation: instagram-viewer-arrive 240ms ease-out both;
}

.instagram-viewer[hidden] {
  display: none;
}

.instagram-viewer::before {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  width: 6.8rem;
  height: 1.45rem;
  content: "";
  pointer-events: none;
  background: rgba(225, 211, 175, 0.84);
  box-shadow: 0 1px 2px rgba(26, 25, 22, 0.25);
  transform: translateX(-50%) rotate(-2deg);
}

@keyframes instagram-viewer-arrive {
  from {
    opacity: 0;
    transform: translateY(0.8rem) rotate(0.4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0.4deg);
  }
}

.instagram-viewer__header,
.instagram-viewer__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.instagram-viewer__header {
  padding: 0.45rem 0.25rem 0.8rem;
}

.instagram-viewer__eyebrow {
  margin: 0 0 0.25rem;
  color: #d45b55;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.instagram-viewer h3 {
  max-width: 30rem;
  margin: 0;
  font-family: var(--font-marker);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 400;
  line-height: 1.08;
}

.instagram-viewer__close {
  min-height: 2.4rem;
  flex: 0 0 auto;
  padding: 0.45rem 0.6rem 0.34rem;
  border: 1px solid rgba(245, 240, 230, 0.52);
  border-radius: 0;
  background: transparent;
  color: var(--paper-white);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.instagram-viewer__close:hover,
.instagram-viewer__close:focus-visible {
  border-color: var(--paper-white);
  background: var(--paper-white);
  color: var(--ink);
}

.instagram-viewer__stage {
  position: relative;
  min-height: min(76vh, 46rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(245, 240, 230, 0.16);
  background: #050505;
}

.instagram-viewer__stage::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "LOADING TRANSMISSION";
  color: rgba(245, 240, 230, 0.42);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
}

.instagram-viewer__embed {
  position: relative;
  z-index: 1;
  width: min(100%, 33.75rem);
  height: min(76vh, 46rem);
  min-height: 36rem;
  border: 0;
  background: #fff;
}

.instagram-viewer__footer {
  align-items: center;
  padding: 0.7rem 0.25rem 0.15rem;
  font-family: var(--font-type);
  font-size: 0.72rem;
  line-height: 1.3;
}

.instagram-viewer__footer time {
  color: rgba(245, 240, 230, 0.66);
}

.instagram-viewer__footer a {
  color: var(--paper-white);
  text-underline-offset: 0.2rem;
}

.instagram-viewer__footer a:hover,
.instagram-viewer__footer a:focus-visible {
  color: #dc625d;
}

.instagram-section__note {
  width: max-content;
  max-width: 88%;
  margin: 1.4rem 4% 0 auto;
  font-family: var(--font-hand);
  font-size: 0.72rem;
  line-height: 1.5;
  transform: rotate(-2deg);
}

/* --- join / footer ------------------------------------------------------ */

.join {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5.5rem 4% 2.5rem;
  background-color: #1b1916;
  background-image: var(--black-grain);
  background-size: 100% 100%;
  color: #f5f0e6;
}

.join::before {
  position: absolute;
  top: -1.6rem;
  left: 0;
  right: 0;
  height: 2rem;
  content: "";
  background: #1b1916;
  clip-path: polygon(
    0 82%, 4% 43%, 9% 75%, 14% 30%, 20% 72%, 27% 38%, 33% 80%,
    40% 34%, 47% 76%, 54% 28%, 61% 72%, 68% 33%, 75% 78%,
    82% 35%, 89% 72%, 95% 31%, 100% 69%, 100% 100%, 0 100%
  );
}

.join__tear {
  position: absolute;
  top: 0;
  left: 49.8%;
  width: 1px;
  height: 100%;
  background: rgba(245, 240, 230, 0.06);
}

.join__notice {
  width: min(91%, 38.75rem);
  height: auto;
  margin-top: -3rem;
  transform: rotate(-1.5deg);
  filter: drop-shadow(0 0.3rem 0.2rem rgba(0, 0, 0, 0.3));
}

.join__heading {
  display: grid;
  gap: 0.45rem;
  margin: 1.1rem 0 1.2rem;
  text-align: center;
}

.join__heading .join__label {
  width: max-content;
  margin: 0 auto;
  font-family: var(--font-marker);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

.join__heading p {
  margin: 0;
  font-family: var(--font-type);
  font-size: 1rem;
}

.signup-art {
  position: relative;
  width: min(96%, 40.625rem);
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  transform: rotate(-0.5deg);
  transition: transform var(--transition), filter var(--transition);
}

.signup-art:hover,
.signup-art:focus-visible {
  transform: rotate(0.5deg) scale(1.015);
  filter: brightness(1.08);
}

.signup-art__frame {
  width: 100%;
  height: auto;
  grid-area: 1 / 1;
  transition: opacity var(--transition);
}

.signup-art__frame--light {
  opacity: 0;
}

.signup-art.is-lit .signup-art__frame--dark,
.signup-art:hover .signup-art__frame--dark,
.signup-art:focus-visible .signup-art__frame--dark {
  opacity: 0;
}

.signup-art.is-lit .signup-art__frame--light,
.signup-art:hover .signup-art__frame--light,
.signup-art:focus-visible .signup-art__frame--light {
  opacity: 1;
}

.join__fine {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 1.5rem 0 0;
  padding-top: var(--space-4);
  font-family: var(--font-type);
  font-size: 0.88rem;
}

.join__fine a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.noscript {
  max-width: var(--sheet-width);
  margin: 0 auto;
  padding: var(--space-4);
  background: var(--paper-white);
  color: var(--ink);
  font-family: var(--font-type);
}

/* --- micro details ------------------------------------------------------- */

::selection {
  background: var(--pink);
  color: var(--paper-white);
}

.sheet-tape {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 8;
  width: 5px;
  height: 100%;
  pointer-events: none;
  background: var(--red);
  opacity: 0.75;
  transform: scaleY(var(--scroll-progress, 0));
  transform-origin: top;
}

/* --- blacklight ---------------------------------------------------------- */

.hero__art img {
  -webkit-touch-callout: none;
}

.hero-uv-hint {
  position: absolute;
  z-index: 2;
  left: 3%;
  bottom: 2.5%;
  margin: 0;
  color: var(--paper-white);
  font-family: var(--font-type);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  opacity: 0.65;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero__art.is-uv::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: rgba(14, 10, 26, 0.55);
}

.hero-uv {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms steps(2, end);
  -webkit-mask-image: radial-gradient(circle 130px at var(--uv-x, 50%) var(--uv-y, 42%), #000 0 70%, transparent 100%);
  mask-image: radial-gradient(circle 130px at var(--uv-x, 50%) var(--uv-y, 42%), #000 0 70%, transparent 100%);
}

.hero__art.is-uv .hero-uv {
  opacity: 1;
}

.hero-uv__note {
  position: absolute;
  margin: 0;
  color: #e3b8ff;
  font-family: var(--font-hand);
  text-shadow: 0 0 7px rgba(214, 143, 255, 0.9);
}

.hero-uv__note--watcher {
  left: 8%;
  top: 10%;
  font-size: 1.5rem;
  transform: rotate(-3deg);
}

.hero-uv__note--tickets {
  left: 30%;
  top: 29%;
  font-size: 0.95rem;
  transform: rotate(2deg);
}

.hero-uv__note--schedule {
  right: 6%;
  top: 55%;
  font-size: 1.1rem;
  transform: rotate(3deg);
}

.hero-uv__note--vault {
  left: 12%;
  top: 80%;
  font-size: 1rem;
  transform: rotate(-2deg);
}

/* --- stop-motion registration ------------------------------------------ */

html[data-boil="1"] {
  --jitter-x: 0.45px;
  --jitter-y: -0.35px;
}

html[data-boil="2"] {
  --jitter-x: -0.35px;
  --jitter-y: 0.4px;
}

@media (min-width: 800px) and (min-height: 700px) {
  .hero__art,
  .hero__continuation {
    width: min(100%, calc(59.3svh - 2.65rem));
    margin-inline: auto;
  }

  .hero__art > img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 620px) {
  .masthead {
    min-height: 3rem;
    padding-inline: 0.15rem;
  }

  .masthead__nav {
    gap: 0;
  }

  .masthead__nav a {
    min-width: 0;
    min-height: 2.75rem;
    padding-inline: 0.15rem;
    font-size: 0.74rem;
  }

  .masthead__nav a::before {
    font-size: 0.92rem;
  }

  .masthead__nav a::after {
    left: 1.25rem;
  }

  .bio__paper {
    padding: 3.75rem 3.5% 3rem;
  }

  .section-heading {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .paper-label {
    font-size: 1.08rem;
  }

  .paper-label--large {
    font-size: 1.35rem;
  }

  .ransom-title {
    font-size: 1.72rem;
    min-height: 2.8rem;
    gap: 0.05rem;
  }

  .bio__numbers {
    margin-top: 2rem;
    font-size: 1.45rem;
  }

  .bio__copy,
  .vault-heading p,
  .vault__after {
    font-size: 0.88rem;
  }

  .paper--vault {
    justify-content: flex-start;
    padding: 4rem 5% 2rem;
  }

  .vault-heading h2 {
    font-size: 2.6rem;
  }

  .vault-frame {
    width: 92%;
    margin-top: 1rem;
  }

  .vault-frame figcaption {
    font-size: 0.62rem;
  }

  .vault-print {
    width: 42%;
  }

  .vault-print figcaption {
    font-size: 0.55rem;
  }

  .instagram-section {
    padding: 4rem 4% 5.5rem;
  }

  .instagram-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .instagram-heading h2 {
    font-size: clamp(2.05rem, 9.7vw, 2.75rem);
    white-space: nowrap;
  }

  .instagram-heading__profile {
    align-self: flex-end;
  }

  .instagram-section__intro {
    margin-top: 1.35rem;
    font-size: 0.88rem;
  }

  .instagram-feed-status {
    margin-top: 0.85rem;
    font-size: 0.55rem;
  }

  .instagram-board {
    width: 98%;
    margin-top: 2rem;
  }

  .instagram-board figcaption {
    font-size: 0.62rem;
  }

  .instagram-post::before {
    top: 0.3rem;
    right: 0.3rem;
    font-size: 0.7rem;
  }

  .instagram-post::after {
    right: 0.3rem;
    bottom: 0.3rem;
    min-width: 2.6rem;
    min-height: 1.6rem;
    font-size: 0.5rem;
  }

  .instagram-viewer {
    width: 100%;
    margin-top: 2.6rem;
    padding: 0.55rem;
    box-shadow: 0.38rem 0.5rem 0 rgba(26, 25, 22, 0.32);
  }

  .instagram-viewer__header {
    gap: 0.65rem;
    padding-inline: 0.1rem;
  }

  .instagram-viewer h3 {
    font-size: 1.12rem;
  }

  .instagram-viewer__close {
    min-height: 2.25rem;
    padding-inline: 0.45rem;
    font-size: 0.55rem;
  }

  .instagram-viewer__stage,
  .instagram-viewer__embed {
    height: min(76vh, 42rem);
    min-height: 31rem;
  }

  .instagram-viewer__footer {
    align-items: flex-start;
    font-size: 0.62rem;
  }

  .join {
    padding-top: 4.5rem;
  }

  .join__notice {
    width: 96%;
    margin-top: -2.5rem;
  }

  .join__heading {
    margin-top: 0.65rem;
  }

  .signup-art {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::after {
    opacity: 0.1;
  }

  .eye-reel__sticky {
    position: relative;
  }

  .hero__art,
  .hero__continuation,
  .hero-eye,
  .eye-reel__frame,
  .vault-frame img,
  .signup-art {
    transform: none;
  }

  .hero-eye {
    display: none;
  }

  .masthead__nav a::after,
  .signup-art,
  .signup-art__frame,
  .vault-print,
  .instagram-heading__profile,
  .instagram-board,
  .instagram-viewer,
  .instagram-post > img,
  .instagram-post::after,
  .hero-uv {
    transition: none;
  }

  .instagram-heading h2,
  .instagram-heading__profile,
  .instagram-board,
  .instagram-viewer,
  .instagram-section__note {
    transform: none;
  }

  .instagram-viewer {
    animation: none;
  }
}
