/* Illustrated direction: layout and artwork layered over the shared UI primitives. */
@font-face {
  font-family: Knewave;
  src: url("/fonts/knewave.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #131b20;
  --paper: #fffbed;
  --yellow: #ffe244;
  --blue: #b8e6f4;
  --pink: #ffd0da;
  --rough: Knewave, Impact, "Arial Black", sans-serif;
  background: #11171b;
}
body {
  background: var(--paper);
}
h1,
h2,
h3,
.wordmark {
  font-family: var(--rough);
  font-weight: 400;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  line-height: 1.2;
}
h3 {
  line-height: 1.2;
}
.eyebrow {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.site-header {
  position: relative;
  z-index: 2;
  background: #11171b;
  color: #fffbed;
  min-height: 98px;
  padding: 18px 5%;
  border-bottom: 0;
  gap: 35px;
}
.wordmark {
  font-size: 2.5rem;
  color: var(--yellow);
  line-height: 1;
  transform: rotate(-5deg);
  letter-spacing: 0;
}
.wordmark small {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.55rem;
  line-height: 1.4;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: var(--paper);
  margin-top: 7px;
}
.site-header nav {
  gap: 32px;
}
.site-header nav > a {
  font-size: 0.85rem;
}
.site-header nav > .nav-cta {
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.75rem;
  margin-left: 25px;
  box-shadow: 3px 3px 0 #566063;
  border: 1px solid #e7bb23;
  padding: 15px 20px;
}
.button {
  font-weight: 900;
  border-radius: 7px;
  box-shadow: 3px 4px 0 var(--ink);
  font-size: 0.9rem;
  min-height: 48px;
}
.hero {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 670px;
  padding: 75px 5%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #77bee8;
  margin: 0;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  max-width: none;
  z-index: -1;
  margin: 0;
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.hero-copy {
  position: relative;
  width: 54%;
  max-width: 760px;
  background: #fff6e4;
  padding: 36px 37px 35px;
  transform: rotate(-2deg);
  box-shadow: 0 10px 35px #25322425;
  border-radius: 5px 11px 7px 14px;
  border: 1px solid #dfcfab;
}
.hero-copy:before,
.hero-copy:after {
  content: "";
  position: absolute;
  width: 85px;
  height: 25px;
  background: #edca7990;
  top: -11px;
  transform: rotate(-13deg);
  left: 20px;
}
.hero-copy:after {
  left: auto;
  right: 16px;
  transform: rotate(15deg);
  top: auto;
  bottom: -9px;
}
.hero .eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.075em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.9rem, 4.6vw, 5.2rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
}
.hero h1 > span:not(.period) {
  color: var(--ink);
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.scribble-rule {
  height: 9px;
  background: var(--yellow);
  width: 87%;
  transform: rotate(-1deg);
  margin: 13px 0 22px;
  border-radius: 45% 4% 40% 0;
}
.hero-description {
  font-size: 1.03rem;
  line-height: 1.65;
}
.hero-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
}
.hero-actions .button {
  padding: 17px 21px;
}
.hero-actions .text-link {
  font-size: 0.85rem;
}
.hero .fineprint {
  font-size: 0.7rem;
  margin-top: 17px;
  color: #635a49;
}
.hero-note {
  position: absolute;
  right: 4%;
  top: 32px;
  font-family: var(--rough);
  font-size: 1.4rem;
  text-align: center;
  transform: rotate(9deg);
  line-height: 1.25;
  color: var(--ink);
  text-shadow: 0 1px 1px #fff8;
}
.hero-note small {
  font-size: 1rem;
}
.hero-note > span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 2.5rem;
  text-align: left;
}
.hero-stamp {
  position: absolute;
  right: 6%;
  bottom: 35px;
  background: var(--yellow);
  padding: 13px 18px;
  transform: rotate(7deg);
  font-family: var(--rough);
  font-size: 0.9rem;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.ticker {
  background: var(--yellow);
  padding: 17px 30px;
  font-size: 0.78rem;
  border-block: 0;
  gap: 24px;
}
.section {
  padding: 68px 5%;
}
.section-heading {
  margin-bottom: 30px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > p {
  font-size: 0.95rem;
}
.playground {
  background: #f8f7ed;
}
.arcade-feature {
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 32px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 #d8d6c6;
  border-radius: 10px;
  gap: 0;
  background: #17262b;
}
.arcade-feature-copy {
  padding: 32px 38px;
}
.arcade-feature .eyebrow {
  color: #f6f0dd;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.arcade-label {
  color: var(--ink);
  background: var(--yellow);
  padding: 5px 8px;
  transform: rotate(-4deg);
  font-size: 0.65rem;
}
.arcade-feature h3 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  margin: 0 0 17px;
  color: var(--paper);
}
.arcade-feature-copy > p:not(.eyebrow) {
  font-size: 0.95rem;
}
.arcade-feature-copy .arcade-caption {
  font-size: 0.7rem;
  margin-top: 20px;
}
.arcade-feature-art {
  background: #b5dedb;
  border-left: 2px solid var(--ink);
  min-height: 355px;
  background-image: linear-gradient(
    90deg,
    transparent 32.9%,
    #ffffff35 33%,
    #ffffff35 33.4%,
    transparent 33.5%,
    transparent 66.3%,
    #ffffff35 66.4%,
    #ffffff35 66.8%,
    transparent 66.9%
  );
}
.arcade-floating {
  font-size: 3rem;
  top: 30px;
}
.arcade-floating.book {
  top: 50px;
}
.arcade-floating.chicken {
  top: 28px;
}
.arcade-floating small {
  font-size: 0.61rem;
}
.arcade-mascot {
  height: 132px;
  width: 132px;
  left: calc(50% - 66px);
  bottom: 35px;
  background: var(--yellow);
}
.arcade-art-label {
  font-size: 0.64rem;
  bottom: 10px;
}
.experience-grid {
  gap: 22px;
}
.experience-card {
  padding: 20px 21px 17px;
  box-shadow: 4px 5px 0 var(--ink);
  overflow: hidden;
  border-radius: 8px;
}
.experience-card .card-top {
  font-size: 0.62rem;
  line-height: 1.4;
  margin-bottom: 20px;
}
.experience-card h3 {
  font-size: clamp(1.4rem, 2.1vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 15px;
}
.experience-card > p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex: 0;
}
.character-scene,
.generator-scene {
  height: 240px;
  position: relative;
  margin: 5px -20px -4px;
  overflow: hidden;
  flex: 1;
  min-height: 240px;
}
.character-scene img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  object-position: center bottom;
}
.character-note {
  position: absolute;
  bottom: 22px;
  right: 18px;
  font-family: var(--rough);
  font-size: 1.4rem;
  line-height: 1.2;
  transform: rotate(7deg);
  background: #fffbed;
  padding: 10px 13px;
  box-shadow: 2px 3px 0 #131b2030;
}
.science-scene .character-note {
  left: 12px;
  right: auto;
  bottom: 20px;
  font-size: 0.8rem;
  transform: rotate(-9deg);
}
.experience-card .card-action {
  margin-top: 10px;
  padding: 13px 15px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fffbed;
  min-height: 49px;
  font-size: 0.78rem;
  position: relative;
  box-shadow: 2px 3px 0 var(--ink);
  transition: transform 0.15s;
}
.experience-card.yellow .card-action {
  background: #f28cc3;
}
.experience-card.blue .card-action {
  background: #67d3ed;
}
.experience-card.pink .card-action {
  background: #ff755c;
}
.card-action:hover {
  transform: translateY(-3px);
}
.card-action span {
  font-size: 1.25rem;
}
.generator-scene {
  padding: 36px 35px 30px;
  display: flex;
  align-items: center;
}
.saying-paper {
  position: relative;
  background: #fffbed;
  border: 1px solid #8ea5a7;
  transform: rotate(-7deg);
  box-shadow: 4px 6px 0 #548f9c50;
  padding: 22px 17px;
  width: 100%;
  text-align: center;
}
.saying-paper > span {
  font:
    bold 0.55rem "Courier New",
    monospace;
}
.saying-paper strong {
  display: block;
  font-family: var(--rough);
  font-size: 1.8rem;
  line-height: 1.3;
  margin: 13px 0;
}
.saying-paper small {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
}
.paper-pin {
  position: absolute;
  top: 19px;
  left: 50%;
  font-size: 1.8rem;
  z-index: 1;
  transform: rotate(7deg);
}
.scene-annotation {
  position: absolute;
  bottom: 8px;
  left: 24px;
  right: 15px;
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  transform: rotate(-3deg);
  text-align: center;
}
.brand-break {
  background: #17262b;
  color: var(--paper);
  padding: 37px 5%;
  text-align: center;
}
.brand-break p {
  font-family: var(--rough);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  margin: 0 0 10px;
}
.brand-break > span {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  color: var(--yellow);
}
.brand-break > small {
  display: block;
  font-size: 0.85rem;
  margin-top: 15px;
  color: #c4d1d2;
}
.lab {
  background: #e7efeb;
  color: var(--ink);
}
.lab h2 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
}
.useless-panel {
  background: #c7eadf;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 4px 4px 0 var(--ink);
}
.useless-panel .label {
  color: #263b37;
  font-size: 0.65rem;
  margin-bottom: 20px;
}
.useless-panel h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}
.useless-panel .counter strong {
  color: var(--ink);
  font-family: var(--rough);
  font-size: 2.4rem;
}
.useless-panel .storage-note {
  color: #334c45;
}
.useless-panel > button {
  font-family: var(--rough);
  font-size: 1.4rem;
  line-height: 1.2;
  background: #ff5c47;
  color: #11171b;
}
.lab-notes {
  background: #d9d6ed;
  border: 2px dashed #646276;
  color: var(--ink);
  padding: 30px;
}
.lab-notes .label {
  font-size: 0.62rem;
  color: #424255;
  margin-bottom: 20px;
}
.lab-notes h3 {
  font-size: 1.5rem;
}
.lab-notes p {
  color: #333546;
  font-size: 0.9rem;
}
.lab-notes .handwritten {
  color: #343449;
  font-size: 0.85rem;
}
.merch {
  background: #fffbed;
  border: 0;
  padding-block: 65px;
  gap: 55px;
}
.merch .outlined {
  font-size: 0.65rem;
}
.merch-poster {
  position: relative;
  background: #182429;
  color: var(--yellow);
  padding: 28px 25px;
  box-shadow: 6px 6px 0 #cfcbb9;
  transform: rotate(2deg);
  margin: 10px;
}
.merch-poster strong {
  font-family: var(--rough);
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
  line-height: 1.2;
  margin: 25px 0;
}
.merch-poster strong span {
  color: #fffbed;
  -webkit-text-stroke: 0;
}
.merch-poster > span,
.merch-poster small {
  font-size: 0.6rem;
  color: #d2dadd;
}
.merch-sticker {
  position: absolute;
  bottom: 8px;
  right: -12px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--rough);
  font-size: 0.85rem;
  line-height: 1.3;
  padding: 14px;
  border: 2px solid var(--ink);
  transform: rotate(-12deg);
}
.token {
  background: #e6e6dc;
  border-top: 2px dashed #b3b4a8;
  padding-block: 60px;
  gap: 50px;
  align-items: center;
}
.token h2 {
  font-size: clamp(1.8rem, 2.65vw, 2.7rem);
  line-height: 1.25;
}
.token .eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}
.token-details {
  position: relative;
  border: 1px solid #b9b9ac;
  background: #fffdf3;
  box-shadow: 4px 5px 0 #c9c8bb;
  transform: rotate(1deg);
  border-radius: 1px;
  padding: 27px;
}
.token-details:before {
  content: "";
  position: absolute;
  width: 75px;
  height: 20px;
  background: #c9c9b9a0;
  top: -10px;
  left: calc(50% - 37px);
  transform: rotate(-5deg);
}
.token-details > .label {
  font-size: 0.63rem;
}
.token-details dd,
.token-details dt {
  font-size: 0.8rem;
}
.token-details > p {
  font-size: 0.75rem;
}
.accounting-note {
  display: inline-block;
  font-family: var(--rough);
  font-size: 0.95rem;
  transform: rotate(-4deg);
  margin-top: 5px;
}
footer {
  background: #11171b;
  color: #fffbed;
  padding: 37px 5%;
  border: 0;
}
footer p {
  font-family: var(--rough);
  font-size: 1.05rem;
  color: var(--yellow);
  transform: rotate(-4deg);
  line-height: 1.4;
}
footer > small {
  color: #aeb9bc;
}
footer > a:not(.wordmark) {
  font-size: 0.8rem;
}
dialog .experience-title {
  font-family: var(--rough);
  font-size: 1.85rem;
  line-height: 1.25;
}
dialog h3 {
  font-family: var(--rough);
  line-height: 1.3;
}
dialog h3.question {
  font-family: Arial, sans-serif;
}
.game-overlay h3 {
  font-size: 2.1rem;
}
.arcade-dialog .experience-title {
  font-size: 1.7rem;
}
.result-card h3 {
  font-size: 1.6rem;
}
.result-card .stamp {
  font-size: 0.85rem;
}
.game-overlay .button {
  font-family: Arial, sans-serif;
}
a:focus-visible,
button:focus-visible {
  outline-color: #bd3a81;
}
.skip-link {
  color: var(--ink);
}
@media (min-width: 1500px) {
  .section {
    padding-inline: max(5%, calc((100vw - 1330px) / 2));
  }
  .hero {
    padding-inline: max(5%, calc((100vw - 1380px) / 2));
    min-height: 760px;
  }
  .hero-copy {
    width: 650px;
  }
  .hero-art img {
    object-position: center 45%;
  }
}
@media (max-width: 1050px) {
  .site-header {
    padding-inline: 4%;
    gap: 20px;
  }
  .site-header nav {
    gap: 22px;
  }
  .site-header nav > .nav-cta {
    margin-left: 0;
    padding: 13px;
    font-size: 0.68rem;
  }
  .wordmark {
    font-size: 2.2rem;
  }
  .hero {
    min-height: 590px;
    padding: 60px 4%;
  }
  .hero-copy {
    padding: 28px;
    width: 57%;
  }
  .hero h1 {
    font-size: 4.5vw;
  }
  .hero .eyebrow {
    font-size: 0.57rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .hero-actions .button {
    font-size: 0.75rem;
  }
  .hero-note {
    font-size: 1.1rem;
    right: 2%;
  }
  .character-scene,
  .generator-scene {
    min-height: 210px;
    height: 210px;
  }
  .experience-card {
    padding-inline: 17px;
  }
  .character-scene {
    margin-inline: -16px;
  }
  .generator-scene {
    padding: 25px;
  }
  .saying-paper strong {
    font-size: 1.45rem;
  }
  .experience-card h3 {
    font-size: 1.7rem;
  }
  .experience-card .card-top {
    font-size: 0.56rem;
  }
  .experience-card > p {
    font-size: 0.82rem;
  }
  .lab-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 23px;
  }
  .useless-panel {
    padding: 23px;
    gap: 15px;
  }
  .useless-panel > button {
    width: 115px;
    height: 115px;
    font-size: 1.1rem;
  }
  .lab-notes {
    padding: 23px;
  }
  .token {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 17px 5%;
    min-height: 85px;
    gap: 0;
  }
  .wordmark {
    font-size: 2rem;
  }
  .wordmark small {
    font-size: 0.5rem;
  }
  .menu-toggle {
    background: #202d34;
    color: var(--paper);
    border: 1px solid #5d6a70;
    border-radius: 5px;
    padding: 10px 12px;
    min-height: 44px;
  }
  .site-header nav {
    gap: 0;
    padding-top: 20px;
  }
  .site-header nav > a {
    font-size: 0.9rem;
    border-color: #3d484e;
    padding: 16px 4px;
  }
  .site-header nav > .nav-cta {
    margin-top: 18px;
    padding: 15px;
    font-size: 0.8rem;
  }
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 33px 5% 0;
    gap: 0;
    overflow: hidden;
    background: #b8def2;
  }
  .hero-copy {
    width: 100%;
    max-width: 510px;
    padding: 25px 23px;
    transform: rotate(-1.5deg);
    z-index: 1;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 7.6vw, 3.4rem);
    line-height: 1.28;
    white-space: normal;
  }
  .hero .eyebrow {
    font-size: 0.55rem;
    margin-bottom: 15px;
    line-height: 1.7;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    font-size: 0.75rem;
    padding: 14px;
    gap: 13px;
    min-height: 50px;
    width: 100%;
  }
  .hero .fineprint {
    font-size: 0.65rem;
  }
  .scribble-rule {
    margin: 11px 0 18px;
    height: 7px;
  }
  .hero-art {
    position: relative;
    inset: auto;
    z-index: 0;
    width: calc(100% + 11.12%);
    height: 355px;
    max-width: none;
    margin-top: 4px;
  }
  .hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 88% 48%;
  }
  .hero-note {
    z-index: 1;
    top: auto;
    bottom: 250px;
    right: auto;
    left: 6%;
    font-size: 0.95rem;
    transform: rotate(-9deg);
  }
  .hero-note > span {
    transform: scaleX(-1);
    font-size: 2rem;
  }
  .hero-note small {
    font-size: 0.8rem;
  }
  .hero-stamp {
    z-index: 1;
    right: 5%;
    bottom: 19px;
    font-size: 0.72rem;
    padding: 10px 13px;
  }
  .ticker {
    padding: 14px 20px;
    font-size: 0.65rem;
    gap: 23px;
  }
  .section {
    padding: 43px 5%;
  }
  .section-heading h2 {
    font-size: 2.05rem;
  }
  .section-heading .eyebrow {
    font-size: 0.6rem;
  }
  .section-heading > p {
    font-size: 0.9rem;
    margin-top: 14px;
  }
  .section-heading > p br {
    display: none;
  }
  .arcade-feature {
    grid-template-columns: 1fr;
  }
  .arcade-feature-copy {
    padding: 26px;
  }
  .arcade-feature h3 {
    font-size: 2.2rem;
  }
  .arcade-feature-copy > p:not(.eyebrow) {
    font-size: 0.9rem;
  }
  .arcade-feature-copy .arcade-caption {
    font-size: 0.66rem;
  }
  .arcade-feature .eyebrow {
    font-size: 0.6rem;
    gap: 10px;
  }
  .arcade-feature-art {
    min-height: 265px;
    border-left: 0;
    border-top: 2px solid var(--ink);
  }
  .arcade-floating {
    font-size: 2.5rem;
    top: 20px;
  }
  .arcade-floating.book {
    top: 25px;
  }
  .arcade-floating.chicken {
    top: 21px;
  }
  .arcade-floating small {
    font-size: 0.51rem;
    padding: 4px;
  }
  .arcade-mascot {
    width: 100px;
    height: 100px;
    left: calc(50% - 50px);
    bottom: 31px;
  }
  .arcade-art-label {
    font-size: 0.57rem;
  }
  .experience-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .experience-card {
    padding: 21px 22px 18px;
  }
  .experience-card .card-top {
    font-size: 0.63rem;
  }
  .experience-card h3 {
    font-size: 2rem;
  }
  .experience-card > p {
    font-size: 0.93rem;
  }
  .character-scene,
  .generator-scene {
    height: 255px;
    min-height: 255px;
    flex: none;
    margin-inline: -20px;
  }
  .character-scene img {
    object-fit: contain;
  }
  .experience-card .card-action {
    font-size: 0.8rem;
    padding: 13px;
    min-height: 49px;
  }
  .saying-paper strong {
    font-size: 2rem;
  }
  .generator-scene {
    padding: 35px;
  }
  .saying-paper > span {
    font-size: 0.6rem;
  }
  .scene-annotation {
    font-size: 0.7rem;
  }
  .brand-break {
    padding: 30px 7%;
  }
  .brand-break p {
    font-size: 1.7rem;
    line-height: 1.35;
  }
  .brand-break > small {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .lab h2 {
    font-size: 2rem;
  }
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .useless-panel {
    padding: 25px;
    gap: 20px;
    align-items: flex-start;
  }
  .useless-panel > button {
    width: 145px;
    height: 145px;
    font-size: 1.4rem;
  }
  .useless-panel h3 {
    font-size: 1.5rem;
  }
  .lab-notes {
    padding: 25px;
  }
  .lab-notes h3 {
    font-size: 1.6rem;
  }
  .merch,
  .token {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .merch h2 {
    font-size: 2.1rem;
  }
  .merch-poster {
    margin: 0 8px 10px;
    padding: 27px 15px;
  }
  .merch-poster strong {
    font-size: 2.6rem;
  }
  .merch-poster > span {
    font-size: 0.55rem;
  }
  .merch-sticker {
    font-size: 0.7rem;
    bottom: -10px;
    padding: 11px;
  }
  .merch .outlined {
    font-size: 0.63rem;
  }
  .token h2 {
    font-size: 1.85rem;
  }
  .token .eyebrow {
    font-size: 0.59rem;
  }
  .token-details {
    padding: 23px 18px;
  }
  .token-details dt,
  .token-details dd {
    font-size: 0.75rem;
  }
  .token-details > .label {
    font-size: 0.59rem;
  }
  .token-details > p {
    font-size: 0.7rem;
  }
  .accounting-note {
    font-size: 0.9rem;
  }
  .token-description br {
    display: none;
  }
  footer {
    padding: 35px 6%;
    gap: 25px;
  }
  footer .wordmark {
    font-size: 2.2rem;
  }
  footer p {
    font-size: 1.1rem;
  }
  footer > small {
    font-size: 0.65rem;
  }
  .arcade-dialog .experience-title {
    font-size: 1.35rem;
  }
  .game-overlay h3 {
    font-size: 1.8rem;
  }
  .result-card h3 {
    font-size: 1.4rem;
  }
  dialog .experience-title {
    font-size: 1.6rem;
  }
}
/* Owner-supplied campaign art. Originals remain available for full-size viewing. */
.poster-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  display: block;
  position: absolute;
  inset: 0;
}
.poster-art .arcade-art-label {
  width: auto;
  left: 18px;
  bottom: 16px;
  background: var(--yellow);
  padding: 8px 12px;
  border: 1px solid var(--ink);
  font-size: 0.66rem;
  font-weight: 900;
}
.supplied-art {
  margin-top: 18px;
  border-block: 1px solid #131b2020;
}
.supplied-art img {
  object-fit: cover;
  object-position: 50% 72%;
}
.panic-scene img {
  object-position: 50% 68%;
}
.lab-grid {
  grid-template-columns: 1.15fr 1fr;
}
.lab-notes {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid #404b48;
  background: #f1f8ef;
}
.lab-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 60%;
  min-height: 300px;
}
.lab-note-copy {
  padding: 25px 20px;
}
.lab-note-copy h3 {
  font-size: 1.25rem;
}
.lab-note-copy p {
  font-size: 0.82rem;
}
.lab-note-copy .label {
  font-size: 0.6rem;
}
.lab-note-copy .handwritten {
  font-size: 0.72rem;
}
.memes {
  background: #182429;
  color: var(--paper);
  padding-block: 60px;
}
.memes .eyebrow {
  color: var(--yellow);
}
.memes h2 {
  font-size: clamp(2rem, 3.3vw, 3.3rem);
}
.memes .section-heading > p {
  color: #ced9dc;
}
.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
}
.meme-card {
  background: #fffbed;
  color: var(--ink);
  border: 2px solid #0c1215;
  box-shadow: 4px 5px 0 #080d0e;
  border-radius: 7px;
  overflow: hidden;
}
.meme-image-link {
  display: block;
  position: relative;
  background: #26363c;
}
.meme-image-link img {
  display: block;
  width: 100%;
  height: auto;
}
.meme-image-link:hover {
  filter: brightness(1.05);
}
.meme-caption {
  padding: 17px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.meme-caption h3 {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}
.meme-caption > a {
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
  text-underline-offset: 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (max-width: 1050px) {
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .lab-notes {
    grid-template-columns: 32% 1fr;
  }
  .lab-poster {
    height: 270px;
    min-height: 270px;
    object-position: 50% 45%;
  }
  .lab-note-copy {
    padding: 30px;
  }
  .lab-note-copy h3 {
    font-size: 1.5rem;
  }
  .lab-note-copy p {
    font-size: 0.95rem;
  }
  .lab-note-copy .label {
    font-size: 0.7rem;
  }
  .lab-note-copy .handwritten {
    font-size: 0.85rem;
  }
  .meme-caption {
    display: block;
  }
  .meme-caption > a {
    margin-top: 5px;
  }
}
@media (max-width: 760px) {
  .poster-art {
    min-height: 310px;
  }
  .poster-art > img {
    object-position: 50% 58%;
  }
  .supplied-art {
    height: 295px;
    min-height: 295px;
  }
  .lab-notes {
    grid-template-columns: 1fr;
  }
  .lab-poster {
    height: 260px;
    min-height: 260px;
    object-position: 50% 50%;
  }
  .lab-note-copy {
    padding: 25px;
  }
  .lab-note-copy h3 {
    font-size: 1.6rem;
  }
  .lab-note-copy .label {
    font-size: 0.63rem;
  }
  .meme-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .meme-card {
    max-width: 450px;
    width: 100%;
    margin: auto;
  }
  .meme-caption {
    display: flex;
    padding: 13px 16px;
  }
  .meme-caption > a {
    margin: 0;
  }
  .memes .section-heading h2 {
    font-size: 2.15rem;
  }
  .memes .section-heading > p {
    font-size: 0.88rem;
  }
  .memes {
    padding-block: 43px;
  }
  .hero-copy {
    order: 0;
  }
  .hero-art {
    order: 1;
  }
}
@media (min-width: 761px) {
  .hero-art img {
    object-position: center top;
  }
}
.generator-portrait img {
  object-position: 50% 65%;
}
.supplied-art {
  flex: none;
  height: auto;
  aspect-ratio: 1122 / 1402;
  min-height: 0;
  background: #eef4f4;
}
.character-scene img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 760px) {
  .supplied-art {
    height: auto;
  }
}

/* Shared community experiments */
.useless-panel {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 15%, #eafff4, #a8e3d1 58%, #7bc5b0);
}
.useless-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 16px, #111 16px 24px, #ffe34a 24px 32px);
  clip-path: polygon(0 0, 100% 0, 100% 14px, 0 14px);
}
.button-machine {
  flex: 0 0 210px;
  min-height: 210px;
  display: grid;
  place-items: center;
  position: relative;
  border: 4px solid #111;
  border-radius: 22px;
  background: #272a31;
  box-shadow: 8px 9px 0 #111, inset 0 0 0 5px #555b65;
  transform: rotate(2deg);
}
.button-machine #useless-button {
  width: 142px;
  height: 142px;
  border: 6px solid #350b08;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, #ff8a75, #ff3e2c 48%, #a41610 72%);
  color: white;
  font-family: var(--rough);
  font-size: 1.1rem;
  line-height: 1;
  text-shadow: 2px 2px 0 #6d0e09;
  box-shadow: 0 12px 0 #740e0b, 0 16px 18px #0009, inset 0 4px 5px #fff6;
  transform: none;
}
.button-machine #useless-button small { display: block; font: 700 .55rem Arial, sans-serif; letter-spacing: .12em; margin-bottom: 6px; }
.button-machine.is-pressed #useless-button { transform: translateY(9px); box-shadow: 0 3px 0 #740e0b, 0 6px 8px #0008, inset 0 4px 5px #fff6; }
.machine-light { position: absolute; top: 12px; right: 14px; width: 12px; height: 12px; border-radius: 50%; background: #55ff9a; box-shadow: 0 0 12px #55ff9a; }
.machine-plate { position: absolute; bottom: 8px; color: #f8f4d8; font: 700 .5rem "Courier New", monospace; }
.button-response { position: absolute; left: 30px; bottom: 14px; font: 700 .67rem "Courier New", monospace; }
.counter { display: flex; flex-direction: column; align-items: flex-start; }
.counter #counter-scope { font: 700 .7rem "Courier New", monospace; text-transform: uppercase; }

.lab-notes { grid-template-columns: minmax(250px, 42%) 1fr; align-items: stretch; }
.lab-poster { height: auto; min-height: 0; object-fit: contain; object-position: center; background: #5cf3a7; align-self: center; }

.arcade-hud span { min-width: 74px; }
.arcade-hud i { display: block; width: 72px; height: 5px; margin-top: 5px; background: #ddd; border-radius: 9px; overflow: hidden; }
.arcade-hud i::after { content: ""; display: block; width: var(--combo, 0%); height: 100%; background: linear-gradient(90deg, #ffe34a, #ff3dac); transition: width .15s; }
.player-name { display: grid; gap: 5px; width: min(280px, 90%); margin: 4px auto 10px; font: 900 .65rem "Courier New", monospace; }
.player-name input { width: 100%; padding: 9px 11px; border: 2px solid #111; border-radius: 5px; text-align: center; font-weight: 800; }
.leaderboard-shell { margin-top: 16px; }
.leaderboard { margin-top: 18px; border: 2px solid #111; background: #121525; color: white; box-shadow: 4px 4px 0 #ff3dac; }
.leaderboard-title { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #ffe34a; color: #111; font: 900 .68rem "Courier New", monospace; }
.leaderboard-title small { font-size: .56rem; }
.leaderboard ol { list-style: none; margin: 0; padding: 6px 12px 10px; }
.leaderboard li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; padding: 7px 0; border-bottom: 1px solid #ffffff24; font: 700 .76rem "Courier New", monospace; }
.leaderboard li:last-child { border-bottom: 0; }
.leaderboard li b { color: #63f7ff; }
.leaderboard li strong { color: #ffe34a; }
.leaderboard .empty-score { display: block; text-align: center; color: #c9cbe2; }

@media (max-width: 760px) {
  .button-machine { align-self: center; flex-basis: 200px; width: 200px; }
  .button-response { position: static; width: 100%; min-height: 18px; text-align: center; }
  .lab-notes { grid-template-columns: 1fr; }
  .lab-poster { width: min(100%, 430px); height: auto; margin: auto; }
  .arcade-hud { display: grid; grid-template-columns: repeat(4, 1fr); }
  .arcade-hud span { min-width: 0; }
  .arcade-hud i { width: 55px; }
}

/* The physical coin is a visual joke, never a price or buy prompt. */
.coin-display {
  display: block;
  position: relative;
  width: min(275px, 72%);
  aspect-ratio: 1;
  margin: 18px 0 -32px auto;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(8px 11px 0 #8b7a3850);
  animation: coin-float 4.5s ease-in-out infinite;
  transform-origin: center;
}
.token { overflow: hidden; }
.coin-display img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; }
.coin-display::before { content: ""; position: absolute; z-index: 0; inset: 13%; border-radius: 50%; background: #f1bd25; filter: blur(22px); opacity: .4; }
.coin-glint { position: absolute; z-index: 2; inset: 7%; border-radius: 50%; overflow: hidden; pointer-events: none; }
.coin-glint::after { content: ""; position: absolute; width: 24%; height: 135%; top: -18%; left: -35%; transform: rotate(22deg); background: linear-gradient(90deg, transparent, #fff9, transparent); animation: coin-shine 4.5s ease-in-out infinite; }
.coin-sticker { position: absolute; z-index: 3; right: -13%; bottom: 6%; padding: 8px 9px; background: var(--yellow); border: 2px solid var(--ink); box-shadow: 2px 3px 0 var(--ink); color: var(--ink); font: .57rem/1.15 var(--rough); text-align: center; transform: rotate(9deg); }
.coin-caption { clear: both; margin: 18px 0 0; font: 700 .66rem "Courier New", monospace; color: #695c2c; }
.coin-display.coin-tossed { animation: coin-toss .8s cubic-bezier(.3, .8, .4, 1) both; }
@keyframes coin-float { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-9px); } }
@keyframes coin-shine { 0%, 18% { left: -35%; } 45%, 100% { left: 125%; } }
@keyframes coin-toss { 0% { transform: rotateY(0) rotate(-5deg) scale(1); } 48% { transform: rotateY(540deg) rotate(7deg) scale(1.13); } 100% { transform: rotateY(1080deg) rotate(-5deg) scale(1); } }
@media (max-width: 760px) {
  .coin-display { width: min(310px, 88%); margin: 17px auto -22px; }
  .coin-caption { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .coin-display, .coin-glint::after, .coin-display.coin-tossed { animation: none; }
}

.stu-approval { position: relative; background: #f7a4c5; overflow: hidden; }
.stu-approval::before { content: "STU STU STU STU STU STU STU STU"; position: absolute; inset: 54% -6% auto; color: #ffffff28; font: 900 clamp(5rem, 13vw, 12rem)/.7 var(--rough); white-space: nowrap; transform: rotate(-9deg); pointer-events: none; }
.stu-approval .section-heading { position: relative; z-index: 1; }
.stu-intake { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(215px, .7fr) minmax(0, 1.3fr); gap: 42px; align-items: center; max-width: 1050px; margin: auto; }
.stu-seal { display: grid; place-items: center; align-content: center; aspect-ratio: 1; width: min(100%, 310px); margin: auto; padding: 27px; text-align: center; color: #fffbed; border: 13px double #fffbed; outline: 3px solid var(--ink); border-radius: 50%; background: radial-gradient(circle, #ef4d62 0 56%, #c52d43 57% 100%); box-shadow: 7px 8px 0 var(--ink); transform: rotate(-7deg); }
.stu-seal span, .stu-seal small { font: 800 .57rem/1.3 "Courier New", monospace; letter-spacing: .05em; }
.stu-seal strong { margin: 11px 0; color: var(--yellow); font: clamp(1.8rem, 3.5vw, 3.2rem)/.86 var(--rough); text-shadow: 3px 3px 0 #922237; }
.stu-form { background: #fffbed; border: 2px solid var(--ink); box-shadow: 7px 8px 0 #b83d56; padding: 29px; transform: rotate(1deg); }
.stu-form > .label { margin: 0 0 20px; background: var(--yellow); padding: 7px 9px; color: var(--ink); }
.stu-form > label:not(.honeypot) { display: grid; gap: 5px; margin-top: 17px; font: 900 .68rem Arial, sans-serif; letter-spacing: .06em; }
.stu-form > label > span { font: 400 .78rem/1.45 Arial, sans-serif; letter-spacing: 0; }
.stu-form input[type="url"], .stu-form input[type="text"], .stu-form textarea { width: 100%; background: white; border: 2px solid var(--ink); border-radius: 3px; padding: 11px; }
.stu-form textarea { min-height: 116px; }
.consent-list { display: grid; gap: 12px; margin: 20px 0 17px; padding: 15px; border: 1px dashed #806b70; background: #fff3f6; }
.consent-list label { display: grid; grid-template-columns: 19px 1fr; gap: 9px; align-items: start; font-size: .78rem; line-height: 1.42; }
.consent-list input { margin-top: 2px; accent-color: #d93d63; width: 17px; height: 17px; }
.honeypot { position: absolute; left: -9999px; }
.stu-warning { margin: 0 0 18px; font: 700 .73rem/1.45 "Courier New", monospace; color: #8a3145; }
.stu-status { min-height: 22px; margin: 14px 0 0; font: 700 .75rem/1.4 "Courier New", monospace; color: #614d2a; }
.stu-approval .section-heading > p br { display: initial; }
@media (max-width: 760px) { .stu-intake { grid-template-columns: 1fr; gap: 32px; } .stu-seal { width: min(245px, 72vw); } .stu-form { padding: 22px 18px; transform: rotate(.5deg); } }

/* Owner-supplied Professional STUWPID approval artwork. */
.stu-seal { display: block; padding: 0; border: 0; outline: 0; border-radius: 0; background: transparent; box-shadow: none; }
.stu-seal img { display: block; width: 100%; height: auto; filter: drop-shadow(7px 9px 0 #8a254166); }

/* STUWPID evidence wall: campaign art pinned into the world, not a uniform feed. */
.memes {
  background-color: #26353a;
  background-image: radial-gradient(#ffffff12 1px, transparent 1px), linear-gradient(135deg, #1b292e, #304248);
  background-size: 16px 16px, auto;
}
.meme-grid {
  grid-template-columns: .96fr 1.08fr .94fr;
  gap: 32px;
  padding: 27px 20px 30px;
  border: 2px dashed #d7c47777;
  background: #1a272b;
  box-shadow: inset 0 0 0 8px #101a1d;
}
.evidence-card {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #f3ead7;
  box-shadow: 5px 7px 0 #0c1315, 0 0 0 7px #f3ead7;
  padding: 10px 10px 0;
}
.evidence-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: calc(50% - 35px);
  width: 70px;
  height: 23px;
  background: #e5d1a688;
  transform: rotate(-5deg);
  z-index: 2;
}
.evidence-water { transform: rotate(-2.5deg) translateY(11px); }
.evidence-password { transform: rotate(1.5deg) translateY(-9px); }
.evidence-umbrella { transform: rotate(3deg) translateY(16px); }
.evidence-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 2px 9px;
  color: #27393d;
  font: 800 .55rem "Courier New", monospace;
  letter-spacing: .025em;
}
.evidence-meta span:last-child { color: #a0322a; }
.evidence-card .meme-image-link { border: 2px solid #172328; background: #172328; }
.evidence-card .meme-image-link:hover { filter: brightness(1.08) saturate(1.06); }
.evidence-card .meme-caption { padding: 12px 4px 13px; align-items: flex-end; }
.evidence-card .meme-caption h3 { font-family: var(--rough); font-size: .85rem; line-height: 1.15; margin-top: 3px; }
.evidence-note { display: block; color: #a0322a; font: 700 .56rem "Courier New", monospace; transform: rotate(-2deg); }
.evidence-card .meme-caption > a { padding: 7px 9px; min-height: 0; background: var(--yellow); border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); font-size: .6rem; text-decoration: none; }
.evidence-card .meme-caption > a:hover { transform: rotate(-3deg); }
@media (max-width: 760px) {
  .meme-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 28px 23px; }
  .evidence-water, .evidence-password, .evidence-umbrella { transform: none; }
  .evidence-card { max-width: 400px; }
  .evidence-card:nth-child(even) { transform: rotate(1.5deg); }
  .evidence-card:nth-child(odd) { transform: rotate(-1.5deg); }
  .evidence-card .meme-caption { padding: 13px 5px 14px; }
}
