:root {
  --font-marker: "Permanent Marker", "Segoe Print", "Bradley Hand", cursive;
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cursor {
  z-index: 2100;
}

.doodle {
  display: inline-block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doodle path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s var(--ease-io) calc(var(--dd, 0s) + var(--p, 0) * 0.22s);
}

[data-reveal].is-in .doodle path,
.hero.is-ready .doodle path {
  stroke-dashoffset: 0;
}

.note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-marker);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--accent-2);
}

.note--inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.note--inline .doodle {
  width: 4.5rem;
  height: 1rem;
  color: var(--accent);
}

.sticker {
  --r: 0deg;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem 0.5rem;
  font-family: var(--font-marker);
  font-size: clamp(0.85rem, 1.05vw, 1.05rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  border-radius: 5px;
  transform: rotate(var(--r));
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.55s var(--pop), box-shadow 0.3s var(--ease);
}

.sticker::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-bottom-left-radius: 3px;
  background: linear-gradient(225deg, var(--bg) 50%, rgba(0, 0, 0, 0.28) 50%);
}

.sticker--lilac {
  background: var(--accent-2);
  color: #1a1222;
}

.sticker--paper {
  background: #ece6f2;
  color: #1a1222;
}

.sticker--ink {
  background: #17131d;
  color: var(--accent-2);
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(var(--accent-rgb), 0.55);
}

.sticker[data-drag] {
  cursor: grab;
  touch-action: none;
}

.sticker[data-drag]:hover {
  transform: rotate(calc(var(--r) * -0.5)) scale(1.07);
}

.sticker.is-dragging {
  cursor: grabbing;
  transform: rotate(calc(var(--r) * 0.3)) scale(1.12);
  box-shadow: 0 30px 44px -16px rgba(0, 0, 0, 0.9);
}

.tape {
  position: absolute;
  z-index: 4;
  width: clamp(80px, 9vw, 120px);
  height: 28px;
  background: rgba(236, 230, 242, 0.2);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  clip-path: polygon(3% 0, 97% 0, 100% 22%, 96% 42%, 100% 62%, 96% 82%, 100% 100%, 3% 100%, 0 80%, 4% 60%, 0 40%, 4% 20%);
  pointer-events: none;
}

.tape--l {
  top: -13px;
  left: 7%;
  transform: rotate(-9deg);
}

.tape--r {
  top: -11px;
  right: 8%;
  transform: rotate(7deg);
}

.wipe {
  background: linear-gradient(180deg, #1f1728 0%, #120e18 55%, var(--bg) 100%);
}

.wipe-mark {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 801;
  width: min(40vw, 220px);
  height: auto;
  translate: -50% -50%;
  opacity: 0;
  pointer-events: none;
}

.wipe-mark.is-active {
  animation: mark-flash 0.86s var(--ease-io) forwards;
}

@keyframes mark-flash {
  0% {
    opacity: 0;
    transform: scale(0.86) rotate(-6deg);
  }
  40%,
  56% {
    opacity: 1;
    transform: scale(1) rotate(-2deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.06) rotate(1deg);
  }
}

.nav__link.is-active::after {
  transform: scaleX(0);
}

.nav__link.is-active::before {
  content: "";
  position: absolute;
  inset: -9px -15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M60 4 C 26 1, 3 12, 6 22 C 9 35, 62 39, 88 30 C 101 24, 97 7, 64 6 C 51 5, 40 8, 33 12' fill='none' stroke='%23bb9bdd' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  pointer-events: none;
}

.menu__link {
  font-family: var(--font-marker);
  font-weight: 400;
  letter-spacing: 0;
}

.hero--art {
  justify-content: center;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.spray {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

.spray--a {
  top: 6%;
  right: -8vw;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.34), transparent 64%);
}

.spray--b {
  bottom: -10%;
  left: -10vw;
  width: 34vw;
  height: 34vw;
  background: radial-gradient(circle, rgba(202, 178, 220, 0.12), transparent 64%);
}

.spray--c {
  top: 4%;
  left: 34%;
  width: 20vw;
  height: 20vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.16), transparent 64%);
}

.grid-lines--faint {
  opacity: 0.35;
}

.hero--art .hero__stage {
  top: 50%;
  right: -2vw;
  left: auto;
  z-index: 1;
  width: min(52vw, 680px);
  translate: 0 -50%;
  pointer-events: auto;
  cursor: grab;
  opacity: 1;
}

.hero--art .hero__inner {
  pointer-events: none;
  gap: clamp(1.25rem, 3.5vh, 2.5rem);
}

.hero--art .hero__inner a,
.hero--art .hero__inner .sticker {
  pointer-events: auto;
}

.hero__stickers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.9rem;
}

.hero--art .hero__stickers .sticker {
  opacity: 0;
  scale: 0.3;
  transition: opacity 0.35s var(--ease), scale 0.7s var(--pop), transform 0.55s var(--pop),
    box-shadow 0.3s var(--ease);
}

.hero--art .hero__stickers .sticker:nth-child(1) { transition-delay: 0.5s, 0.5s, 0s, 0s; }
.hero--art .hero__stickers .sticker:nth-child(2) { transition-delay: 0.62s, 0.62s, 0s, 0s; }
.hero--art .hero__stickers .sticker:nth-child(3) { transition-delay: 0.74s, 0.74s, 0s, 0s; }

.hero.is-ready .hero__stickers .sticker {
  opacity: 1;
  scale: 1;
}

.hero__logo {
  position: relative;
  z-index: 1;
  width: min(52vw, 780px, 74vh);
  margin: 0;
  transform: perspective(1100px) rotateY(calc(var(--lx, 0) * 7deg)) rotateX(calc(var(--ly, 0) * -6deg))
    rotate(-2.5deg);
  transform-origin: 40% 50%;
}

.hero__logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  scale: 0.92;
  clip-path: inset(0 100% 0 0);
  filter: blur(14px) drop-shadow(0 30px 70px rgba(var(--accent-rgb), 0.3));
  transition: clip-path 1.15s var(--ease-io) 0.1s, opacity 0.4s var(--ease) 0.1s,
    scale 1.5s var(--ease-out) 0.1s, filter 1.2s var(--ease-out) 0.25s;
}

.hero.is-ready .hero__logo img {
  opacity: 1;
  scale: 1;
  clip-path: inset(-60% -60% -60% -60%);
  filter: blur(0) drop-shadow(0 30px 70px rgba(var(--accent-rgb), 0.3));
}

.hero.is-ready .hero__logo {
  animation: float 7s ease-in-out 1.4s infinite;
}

@keyframes float {
  50% {
    translate: 0 -10px;
  }
}

.hero--art .hero__foot {
  grid-template-columns: minmax(0, 32rem) auto;
  justify-content: space-between;
  align-items: end;
  padding-top: 0;
  border-top: 0;
}

.hero--art .hero__lede {
  max-width: 34ch;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.8s var(--ease) 0.7s, translate 1s var(--ease-out) 0.7s;
}

.hero.is-ready .hero__lede {
  opacity: 1;
  translate: 0 0;
}

.scroll-cue--art {
  flex-direction: column;
  gap: 0.15rem;
  color: var(--accent-2);
  letter-spacing: 0;
  text-transform: none;
}

.scroll-cue--art .doodle {
  --dd: 1.1s;
  width: 34px;
  height: 62px;
  animation: nudge 2.4s ease-in-out 3s infinite;
}

@keyframes nudge {
  50% {
    translate: 0 6px;
  }
}

.hero__notes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__notes .note {
  position: absolute;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.95s;
}

.hero.is-ready .hero__notes .note {
  opacity: 1;
}

.hero__notes .doodle {
  --dd: 1.05s;
  color: var(--accent);
}

.note--drag {
  top: 23%;
  right: calc(min(52vw, 680px) - 15vw);
  rotate: -7deg;
}

.note--drag .doodle {
  width: 92px;
  height: 46px;
  margin-top: 1.4rem;
}

.note--swap {
  right: 7vw;
  bottom: 25%;
  rotate: 4deg;
}

.note--swap .doodle {
  width: 22px;
  height: 22px;
}

.note--mesh {
  top: 15%;
  right: 5vw;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0.55rem 1.1rem;
  rotate: 5deg;
}

.note--mesh small {
  font-size: 0.72em;
  color: var(--ink-3);
}

.note--mesh .doodle {
  position: absolute;
  inset: -0.5rem -0.9rem;
  width: calc(100% + 1.8rem);
  height: calc(100% + 1rem);
}

.hero.is-swapped .note--mesh {
  animation: wobble 0.6s var(--pop);
}

@keyframes wobble {
  30% {
    scale: 1.18;
  }
  60% {
    scale: 0.95;
  }
}

@media (max-width: 859px) {
  .hero--art .hero__stage {
    top: 32%;
    right: -22vw;
    width: min(96vw, 520px);
    opacity: 0.55;
  }

  .hero__logo {
    width: 92%;
  }

  .note--drag,
  .note--mesh {
    display: none;
  }

  .note--swap {
    right: 1.25rem;
    bottom: auto;
    top: 13%;
  }

  .hero--art .hero__foot {
    grid-template-columns: 1fr;
  }
}

.tapes {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(11rem, 19vw, 16rem);
  overflow: hidden;
}

.tape-band {
  position: absolute;
  left: -6%;
  right: -6%;
  padding-block: clamp(0.65rem, 1.2vw, 1rem);
  overflow: hidden;
}

.tape-band--lilac {
  z-index: 2;
  background: var(--accent-2);
  color: #17111f;
  transform: translateY(-14%) rotate(-3.6deg);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.85);
}

.tape-band--ink {
  background: #120f17;
  color: var(--accent-2);
  border-block: 1px dashed rgba(var(--accent-rgb), 0.5);
  transform: translateY(42%) rotate(3.2deg);
}

.tape-band__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.tape-band--ink .tape-band__track {
  animation-duration: 56s;
  animation-direction: reverse;
}

.tape-band__word,
.tape-band__sep {
  margin-right: clamp(1rem, 2vw, 1.75rem);
  white-space: nowrap;
}

.tape-band__word {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.1vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.tape-band--ink .tape-band__word {
  font-family: var(--font-marker);
  font-weight: 400;
  text-transform: none;
}

.tape-band__sep {
  font-size: 0.95em;
  opacity: 0.75;
}

.statement--art {
  padding-top: clamp(3rem, 7vw, 6rem);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  overflow: visible;
}

@media (min-width: 900px) {
  .statement--art {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 22rem);
    align-items: end;
  }
}

.statement--art .statement__text {
  max-width: 20ch;
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
}

.hl {
  padding: 0 0.12em;
  color: var(--ink);
  background-color: transparent;
  background-image: linear-gradient(
    100deg,
    rgba(var(--accent-rgb), 0) 0.5%,
    rgba(var(--accent-rgb), 0.55) 2.5%,
    rgba(var(--accent-rgb), 0.38) 96%,
    rgba(var(--accent-rgb), 0) 99.5%
  );
  background-repeat: no-repeat;
  background-position: 0 78%;
  background-size: 0% 62%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1.3s var(--ease-io) 0.45s;
}

[data-reveal].is-in .hl {
  background-size: 100% 62%;
}

.statement__burst {
  --dd: 1.4s;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.15em;
  vertical-align: top;
  color: var(--accent);
}

.statement--art .statement__aside {
  gap: 1.1rem;
}

.section-head--art {
  align-items: center;
  padding-bottom: 0;
  border-bottom: 0;
}

.section-head--art .section-head__title {
  position: relative;
  font-size: var(--t-xl);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.section-head__scribble {
  position: absolute;
  left: 0;
  bottom: -0.45em;
  width: min(100%, 9em);
  height: 0.38em;
  color: var(--accent);
  --dd: 0.3s;
}

.card--art .card__numeral {
  top: 2.6rem;
  font-family: var(--font-marker);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(var(--accent-rgb), 0.24);
  -webkit-text-stroke: 0;
  rotate: -6deg;
}

.card--art .card__head {
  border-bottom-style: dashed;
}

.card--art .card__title {
  position: relative;
  justify-self: start;
}

.card--art.card--flip .card__title {
  justify-self: end;
}

.card__scribble {
  --dd: 0.35s;
  position: absolute;
  left: 0;
  bottom: -0.32em;
  width: 100%;
  height: 0.3em;
  color: var(--accent);
}

.card--art .card__frame {
  position: relative;
  grid-column: 1 / -1;
  rotate: var(--tilt, 0deg);
  transition: opacity 0.95s var(--ease-out) var(--reveal-d, 0s),
    transform 1.05s var(--ease-out) var(--reveal-d, 0s), rotate 0.75s var(--pop), translate 0.75s var(--pop);
}

.card--art:hover .card__frame,
.card--art:focus-visible .card__frame {
  rotate: 0deg;
  translate: 0 -8px;
}

.card--art .card__visual {
  aspect-ratio: 16 / 10;
  border: 0;
  box-shadow: 0 0 0 7px #1a1621, 0 0 0 8px rgba(var(--ink-rgb), 0.08),
    0 50px 90px -40px rgba(0, 0, 0, 0.95);
}

.card--art:hover .card__visual,
.card--art:focus-visible .card__visual {
  box-shadow: 0 0 0 7px #1d1726, 0 0 0 8px rgba(var(--accent-rgb), 0.45),
    0 60px 100px -40px rgba(0, 0, 0, 0.95);
}

.card__sticker {
  position: absolute;
  right: 1.1rem;
  bottom: -1rem;
  z-index: 5;
}

.card--flip .card__sticker {
  right: auto;
  left: 1.1rem;
}

.card--art:hover .card__sticker {
  transform: rotate(calc(var(--r) * -0.4)) scale(1.06);
}

@media (min-width: 900px) {
  .card--art .card__frame {
    grid-column: 1 / 9;
  }

  .card--art.card--flip .card__frame {
    grid-column: 5 / -1;
    order: 2;
  }

  .card--art .card__visual {
    aspect-ratio: 16 / 9;
  }
}

.cta--art {
  border-top: 1px dashed var(--line-2);
}

.cta__go {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-2);
}

.cta__go .note {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.cta__go .doodle {
  --dd: 0.3s;
  width: clamp(90px, 10vw, 140px);
  height: clamp(45px, 5vw, 70px);
  color: var(--accent);
  transition: translate 0.5s var(--pop);
}

.cta__go:hover .doodle {
  translate: 10px 0;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  background: radial-gradient(circle at 50% 42%, #1a1322 0%, #07060a 68%);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
  cursor: pointer;
}

.intro.is-leaving {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.intro__window {
  width: min(92vw, 640px);
  overflow: hidden;
  background: #0f0d13;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 10px;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95), 0 0 140px -20px rgba(var(--accent-rgb), 0.4);
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.95);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease-out);
  cursor: default;
}

.intro.is-in .intro__window {
  opacity: 1;
  transform: none;
}

.intro.is-leaving .intro__window {
  transform: scale(1.05) translate3d(0, -30px, 0);
}

.intro__bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.85rem;
  background: #141119;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
  font: 500 0.7rem/1 var(--font-display);
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.intro__lights {
  display: flex;
  gap: 6px;
}

.intro__lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a2433;
}

.intro__lights i:first-child {
  background: var(--accent);
}

.intro__title {
  flex: 1;
  text-align: center;
  color: var(--ink-2);
}

.intro__stage {
  position: relative;
  aspect-ratio: 640 / 474;
  background-color: #0c0b0f;
  background-image: conic-gradient(#121017 25%, #0d0b11 0 50%, #121017 0 75%, #0d0b11 0);
  background-size: 18px 18px;
}

.intro__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro__log {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 400 0.66rem/1.6 ui-monospace, "Cascadia Code", Consolas, monospace;
  color: rgba(var(--ink-rgb), 0.55);
  text-shadow: 0 1px 3px #000;
}

.intro__log {
  transition: opacity 0.6s var(--ease);
}

.intro.is-rendering .intro__log {
  opacity: 0;
}

.intro__log li {
  animation: log-in 0.3s var(--ease-out) both;
}

.intro__log li:last-child {
  color: var(--accent-2);
}

@keyframes log-in {
  from {
    opacity: 0;
    translate: -6px 0;
  }
}

.intro__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 0.6rem 0.85rem;
  border-top: 1px solid rgba(var(--ink-rgb), 0.08);
  font: 500 0.66rem/1.2 ui-monospace, "Cascadia Code", Consolas, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.intro__state {
  margin-left: auto;
  color: var(--accent-2);
}

.intro__bar-progress {
  height: 2px;
  background: rgba(var(--ink-rgb), 0.06);
}

.intro__bar-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.intro__note {
  order: -1;
  margin: 0 0 0 -16rem;
  font-family: var(--font-marker);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--accent-2);
  transform: rotate(-6deg);
  animation: note-in 0.6s var(--ease-out) 0.3s both;
}

@keyframes note-in {
  from {
    opacity: 0;
    translate: 0 10px;
  }
}

.intro.is-complete .intro__note {
  color: var(--ink);
}

.intro__skip {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  border-radius: 999px;
  font: 500 var(--t-meta) / 1 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.intro__skip:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.intro__skip kbd {
  font: inherit;
  font-size: 0.8rem;
  opacity: 0.7;
}

@media (max-width: 720px) {
  .intro__note {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doodle path {
    stroke-dashoffset: 0;
  }

  .hl {
    background-size: 100% 62%;
  }

  .hero__logo img {
    clip-path: none;
    filter: drop-shadow(0 30px 70px rgba(var(--accent-rgb), 0.3));
  }
}

.page-head__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.page-head--art .page-head__title {
  position: relative;
  margin-top: 0;
  font-size: clamp(3.5rem, 13vw, 11rem);
}

.page-head--art .spray--a {
  top: -30%;
  right: -18vw;
}

.page-head__scribble {
  --dd: 0.5s;
  position: absolute;
  left: 0;
  bottom: -0.12em;
  width: 100%;
  height: 0.2em;
  color: var(--accent);
}

.page-head__stickers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.8rem;
  padding-bottom: 1rem;
}

.page-head__note {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  rotate: -2deg;
  transform-origin: 0 50%;
}

.page-head__note .doodle {
  --dd: 0.8s;
  width: 26px;
  height: 48px;
}

.work__no {
  font-family: var(--font-marker);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(var(--accent-rgb), 0.7);
  -webkit-text-stroke: 0;
  rotate: -7deg;
}

.work__title {
  position: relative;
}

.work__scribble {
  --dd: 0.3s;
  position: absolute;
  left: 0;
  bottom: -0.3em;
  width: 100%;
  height: 0.28em;
  color: var(--accent);
}

.work__media {
  height: 100%;
  border: 0;
  box-shadow: 0 0 0 7px #1a1621, 0 0 0 8px rgba(var(--ink-rgb), 0.08),
    0 50px 90px -40px rgba(0, 0, 0, 0.95);
}

.card--art:hover .work__media,
.card--art:focus-visible .work__media {
  box-shadow: 0 0 0 7px #1d1726, 0 0 0 8px rgba(var(--accent-rgb), 0.45),
    0 60px 100px -40px rgba(0, 0, 0, 0.95);
}

.work .work__rule {
  height: 0;
  background: none;
  border-top: 1px dashed var(--line-2);
}

.note--small {
  font-size: 1.05rem;
}

.about-hero {
  overflow-x: clip;
}

.about-hero > * {
  position: relative;
  z-index: 1;
}

.about-hero .spray--a {
  position: absolute;
  z-index: 0;
  top: -10%;
  right: -16vw;
}

.about-hero__hi {
  display: inline-flex;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  rotate: -6deg;
}

.about-hero__hi .doodle {
  --dd: 0.5s;
  width: 70px;
  height: 16px;
  color: var(--accent);
}

.about-hero__grid .page-head__stickers {
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.about-hero__stage {
  cursor: grab;
}

.about-hero__spin {
  position: absolute;
  left: -1.5rem;
  bottom: 6%;
  rotate: -8deg;
}

.about-hero__spin .doodle {
  --dd: 0.9s;
  width: 64px;
  height: 32px;
  color: var(--accent);
}

.chapter__no {
  font-family: var(--font-marker);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0;
  rotate: -8deg;
  transform-origin: 0 50%;
}

.chapter__title {
  position: relative;
  justify-self: start;
}

.chapter__scribble {
  --dd: 0.35s;
  position: absolute;
  left: 0;
  bottom: -0.25em;
  width: 100%;
  height: 0.24em;
  color: var(--accent);
}

.chapter__keywords {
  font-family: var(--font-marker);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: left;
  color: rgba(var(--accent-rgb), 0.75);
  -webkit-text-stroke: 0;
  rotate: -5deg;
}

.polaroid {
  position: relative;
  width: min(100%, 15rem);
  margin: 0;
  padding: 12px 12px 3.2rem;
  background: #ece6f2;
  rotate: var(--tilt, -3deg);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.9);
  transition: rotate 0.6s var(--pop), scale 0.6s var(--pop);
}

.polaroid:hover {
  rotate: 0deg;
  scale: 1.03;
}

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  padding: 1rem;
  background: #17131d;
}

.polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  justify-content: center;
  font-size: 1.2rem;
  color: #1a1222;
}

.polaroid .tape--l {
  top: -12px;
  left: 32%;
}

.chapter__note {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  rotate: -5deg;
}

.chapter__note .doodle {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.chapter__doodle {
  display: block;
  width: min(80%, 220px);
  color: var(--accent);
}

.chapter__doodle .doodle {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
}

.sticker-pile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.8rem;
  max-width: 18rem;
}

.sticker-pile .sticker {
  padding: 0.75rem 1.1rem 0.65rem;
  font-size: 1.2rem;
}

@media (min-width: 960px) {
  #chapter-01 .chapter__body {
    grid-column: 4 / 10;
  }

  #chapter-01 .chapter__aside {
    grid-column: 10 / -1;
    grid-row: 2;
    align-self: start;
    padding-top: 1.5rem;
  }
}

.on-coarse {
  display: none;
}

@media (pointer: coarse) {
  .on-fine {
    display: none;
  }

  .on-coarse {
    display: inline;
  }
}

.heroia {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(4rem, 10vw, 8rem);
  border-top: 1px dashed var(--line-2);
}

.heroia__head {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.heroia__head .chapter__no {
  color: var(--accent);
}

.heroia__title {
  position: relative;
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.heroia__intro {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.2rem;
  max-width: 58ch;
  color: var(--ink-2);
  line-height: 1.8;
}

.heroia__lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.heroia__lead a {
  color: var(--accent-2);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  transition: color 0.3s var(--ease), background-size 0.4s var(--ease);
}

.heroia__lead a:hover {
  color: var(--ink);
}

.heroia__note {
  rotate: -4deg;
  justify-self: start;
}

.heroia__note .doodle {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.heroia__principles {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.heroia__kicker {
  font-family: var(--font-display);
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.heroia__kicker span {
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 400;
}

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 640px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .principles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.principle {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.4rem 1.4rem 1.6rem;
  background: #141119;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 4px;
  rotate: var(--tilt, 0deg);
  box-shadow: 0 24px 40px -26px rgba(0, 0, 0, 0.9);
  transition: rotate 0.6s var(--pop), border-color 0.4s var(--ease), translate 0.6s var(--pop);
}

.principle:hover {
  rotate: 0deg;
  translate: 0 -4px;
  border-color: rgba(var(--accent-rgb), 0.55);
}

.principle__no {
  font-family: var(--font-marker);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent);
}

.principle__title {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.principle p {
  font-size: var(--t-small);
  line-height: 1.7;
  color: var(--ink-2);
}

.heroia__links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 960px) {
  .heroia__head {
    grid-column: 1 / 6;
  }

  .heroia__intro {
    grid-column: 7 / -1;
    align-self: end;
  }
}

.visual__img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 1.3s var(--ease-out);
}

.card:hover .visual__img--alt,
.card:focus-visible .visual__img--alt {
  opacity: 1;
}

.detail__shot {
  position: relative;
  margin: clamp(3rem, 7vw, 5.5rem) 0 0;
  rotate: var(--tilt, 0deg);
}

.detail__shot-frame {
  aspect-ratio: 16 / 9;
  border: 0;
  box-shadow: 0 0 0 7px #1a1621, 0 0 0 8px rgba(var(--ink-rgb), 0.08),
    0 50px 90px -40px rgba(0, 0, 0, 0.95);
}

.detail__shot figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: -2rem;
  rotate: -4deg;
}

.detail__cons {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px dashed rgba(var(--accent-rgb), 0.4);
  border-radius: 4px;
  rotate: -0.6deg;
}

.detail__cons-title {
  font-size: 1.35rem;
}

.detail__cons ul {
  display: grid;
  gap: 0.5rem;
}

.detail__cons li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-2);
}

.detail__cons li::before {
  content: "\00d7";
  position: absolute;
  left: 0;
  top: -0.1em;
  font-family: var(--font-marker);
  font-size: 1.25em;
  color: var(--accent);
}

.prose {
  display: grid;
  gap: 1.1rem;
  color: var(--ink-2);
  line-height: 1.8;
}

.prose > p:first-child {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.25rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li::marker {
  color: var(--accent);
}

.prose a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  color: var(--ink);
}

.prose strong {
  color: var(--ink);
  font-weight: 500;
}

.prose blockquote {
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-marker);
  color: var(--accent-2);
}

.prose code {
  padding: 0.1em 0.35em;
  background: var(--bg-3);
  border-radius: 3px;
  font-size: 0.9em;
}

.prose hr {
  border: 0;
  border-top: 1px dashed var(--line-2);
}

.prose img {
  max-width: 100%;
  height: auto;
}

.prose__shot {
  position: relative;
  margin: clamp(1.5rem, 4vw, 3rem) 0 clamp(1rem, 3vw, 2rem);
  rotate: 1deg;
}

.prose__shot img {
  width: 100%;
  box-shadow: 0 0 0 7px #1a1621, 0 0 0 8px rgba(var(--ink-rgb), 0.08),
    0 50px 90px -40px rgba(0, 0, 0, 0.95);
}

.prose__shot:nth-of-type(even) {
  rotate: -1.2deg;
}

.detail__summary {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.5;
}

.latest {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(3rem, 7vw, 6rem) 0;
}

.latest__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
}

.latest__title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-l);
  letter-spacing: -0.04em;
}

.latest__star {
  width: 0.7em;
  height: 0.7em;
  color: var(--accent);
}

.latest__notes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.pin-note {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #ece6f2;
  color: #1d1626;
  rotate: var(--tilt, 0deg);
  box-shadow: 0 26px 44px -24px rgba(0, 0, 0, 0.9);
  transition: rotate 0.6s var(--pop), translate 0.6s var(--pop);
}

.pin-note:hover {
  rotate: 0deg;
  translate: 0 -4px;
}

.pin-note__pin,
.band__pin {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e9d8ff, var(--accent) 45%, #5b3b86 100%);
  box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.7);
}

.pin-note__date {
  color: #6e4d9e;
  font-size: 1rem;
}

.pin-note__title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1d1626;
}

.pin-note__summary {
  font-size: var(--t-small);
  line-height: 1.65;
  color: #3e3448;
}

.pin-note .prose {
  color: #3e3448;
  font-size: var(--t-small);
}

.pin-note .prose > p:first-child {
  color: #3e3448;
  font-size: inherit;
}

.pin-note .prose a,
.pin-note .link {
  color: #4a2d78;
}

.pin-note .link::after {
  background: rgba(29, 22, 38, 0.2);
}

.band {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 680;
  width: min(22rem, calc(100vw - 2rem));
  animation: band-in 0.7s var(--pop) 0.4s both;
}

.band[hidden] {
  display: none;
}

@keyframes band-in {
  from {
    opacity: 0;
    translate: 0 30px;
    rotate: 4deg;
  }
}

.band__note {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 2.6rem 1.15rem 1.25rem;
  background: #ece6f2;
  color: #1d1626;
  rotate: -1.5deg;
  box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.9);
}

.band__pin {
  left: 2.2rem;
}

.band__kicker {
  font-size: 0.95rem;
  color: #6e4d9e;
}

.band__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.band__summary {
  font-size: var(--t-small);
  line-height: 1.55;
  color: #3e3448;
}

.band__link {
  justify-self: start;
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a2d78;
  border-bottom: 1px solid rgba(74, 45, 120, 0.35);
}

.band__close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.35rem;
  line-height: 1;
  color: #3e3448;
  border-radius: 50%;
}

.band__close:hover {
  background: rgba(29, 22, 38, 0.08);
}

.prerender {
  max-width: 60rem;
  margin-inline: auto;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
  display: grid;
  gap: 1rem;
  color: var(--ink-2);
}

.prerender h1 {
  font-size: var(--t-xl);
  color: var(--ink);
}

.prerender h2 {
  margin-top: 1.5rem;
  font-size: var(--t-m);
  color: var(--ink);
}

.prerender a {
  color: var(--accent-2);
}

.prerender img {
  max-width: 100%;
  height: auto;
}

.prerender ul {
  display: grid;
  gap: 0.75rem;
}
