:root {
  --weup-cyan: #02c4e8;
  --weup-teal: #058c84;
  --weup-purple: #6200bd;
  --weup-lavender: #7d7bcf;
  --weup-sky: #aab6ee;
  --weup-pink: #c77bd9;
  --weup-leaf: #0bb405;
  --weup-wheat: #eed47a;
  --weup-soil: #352025;
  --weup-ink: #24131f;
  --weup-cream: #f8f6ed;
  --weup-shell: min(100% - 2rem, 1240px);
  --weup-radius: 1.25rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  overflow-x: clip;
}

body,
button,
input,
textarea,
select {
  font-family: Nunito, ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
}

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

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 4px solid #ffea58;
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  z-index: 1000;
  top: 0;
}

.weup-site-header {
  position: relative;
  z-index: auto;
  margin: 0 !important;
  padding: 0 !important;
  background: #f8fbff;
  box-shadow: 0 1px 0 rgba(36, 19, 31, .13);
  transition: box-shadow .2s ease;
}

body.admin-bar .wp-site-blocks > header.wp-block-template-part {
  top: 32px;
}

.weup-site-header.is-compact {
  box-shadow: 0 8px 24px rgba(36, 19, 31, .24);
}

.weup-site-header__bar,
.weup-site-logo img,
.weup-site-logo .custom-logo,
.weup-countdown__inner,
.weup-countdown__unit strong {
  transition: min-height .2s ease, height .2s ease, width .2s ease, padding .2s ease, font-size .2s ease;
}

.weup-site-header__bar {
  min-height: 3.45rem;
  padding: .25rem .25rem;
}

.weup-site-header.is-compact .weup-site-header__bar {
  min-height: 2.9rem;
}

.weup-site-header.is-compact .weup-site-logo img,
.weup-site-header.is-compact .weup-site-logo .custom-logo {
  height: 1.9rem;
}

.weup-site-header.is-compact .weup-announcement {
  display: none;
}

.weup-site-header.is-compact .weup-countdown__inner {
  display: grid;
  width: min(100% - 1rem, 960px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  padding: .3rem 0;
}

.weup-site-header.is-compact .weup-countdown__label {
  display: none;
}

.weup-site-header.is-compact .weup-countdown__units {
  gap: clamp(.3rem, 2vw, 1rem);
}

.weup-site-header.is-compact .weup-countdown__unit strong {
  width: clamp(2.15rem, 4vw, 2.85rem);
  border-width: 2px;
  font-size: clamp(.95rem, 2.3vw, 1.3rem);
}

.weup-site-header.is-compact .weup-countdown__unit strong::after {
  inset: 2px;
}

.weup-site-header.is-compact .weup-countdown__unit strong + span {
  margin-top: .1rem;
  font-size: .55rem;
}

.weup-site-header.is-compact .weup-countdown__cta {
  margin: 0;
  white-space: nowrap;
}

.weup-site-header > .weup-countdown {
  width: 100%;
  max-width: none !important;
}

.weup-site-logo img,
.weup-site-logo .custom-logo {
  width: auto;
  height: 2.45rem;
  object-fit: contain;
}

.weup-primary-nav {
  width: 100%;
}

.weup-primary-nav .wp-block-navigation__container {
  width: 100%;
  justify-content: space-around;
  gap: clamp(.55rem, 4vw, 2.5rem);
}

.weup-primary-nav .wp-block-navigation-item__content {
  color: #111;
  font-size: clamp(.72rem, 2.8vw, 1rem);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.weup-primary-nav .current-menu-item > .wp-block-navigation-item__content,
.weup-primary-nav .wp-block-navigation-item__content:hover {
  box-shadow: inset 0 -.25rem #efa6ed;
}

.weup-site-header .wp-block-site-logo {
  display: none;
}

.weup-main,
.weup-main > .wp-block-post-content {
  margin: 0 !important;
  padding: 0 !important;
}

.weup-main > .wp-block-post-content > * {
  margin-block-start: 0;
}

.weup-section-shell {
  width: var(--weup-shell);
  margin-inline: auto;
}

.weup-eyebrow {
  margin: 0 0 .6rem;
  color: var(--weup-purple);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wp-block-button__link,
.weup-register-trigger {
  box-shadow: 0 4px 0 var(--weup-ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.weup-register-trigger:hover,
.weup-register-trigger:focus-visible {
  box-shadow: 0 1px 0 var(--weup-ink);
  transform: translateY(3px);
}

.is-style-register .wp-block-button__link {
  border-color: #34203d;
  background: linear-gradient(180deg, #df9bec, #a84fce);
  color: #24131f;
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-style: italic;
  text-shadow: 2px 2px 0 #fff;
}

.is-style-pixel .wp-block-button__link {
  border-radius: .25rem;
  background: #7f1ab8;
  color: #fff;
  box-shadow: 0 4px 0 #3b0a5f;
  text-transform: uppercase;
}

.is-style-collectible-card {
  border: 3px solid var(--weup-ink);
  border-radius: var(--weup-radius);
  background: #fff;
  box-shadow: 7px 7px 0 var(--weup-purple);
}

.is-style-rpg-panel {
  border: .4rem solid var(--weup-cyan);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 5px 0 var(--weup-teal);
}

.is-style-gold-frame img {
  border: clamp(.25rem, 1vw, .55rem) ridge #d9ad44;
  background: #1a0f16;
  box-shadow: 0 5px 15px rgba(53, 32, 37, .35);
}

/* Shared layered Dreamland hero. */
.weup-dreamland-hero {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: clamp(1rem, 5vw, 3rem) 0 0 !important;
  background: #8293ec;
  isolation: isolate;
}

.weup-dreamland-hero::before {
  content: none;
}

.weup-hero-media {
  position: relative;
  z-index: 4;
  width: min(88%, 920px);
  margin-inline: auto;
}

.weup-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 760px);
  margin: 0 auto clamp(1.5rem, 5vw, 3rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 3px solid rgba(36, 19, 31, .8);
  border-radius: 1.5rem;
  background: rgba(248, 246, 237, .9);
  box-shadow: 8px 8px 0 rgba(98, 0, 189, .8);
  backdrop-filter: blur(6px);
}

.weup-hero-copy h1 { margin-block: 0 .75rem; }

.weup-hero-media .weup-video-panel__frame {
  box-sizing: border-box;
  border: clamp(.2rem, 1vw, .5rem) ridge #d5a339;
  box-shadow: 0 6px 20px rgba(52, 20, 79, .28);
}

.weup-hero-media .weup-video-panel__frame iframe {
  display: block;
}

.weup-dreamland-world {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(31rem, 70vw, 44rem);
  margin-top: clamp(1rem, 6vw, 4rem);
  overflow: hidden;
  background: #8293ec url('../images/scene/background-theme-flat.svg') center / 100% 100% no-repeat;
  isolation: isolate;
}

.weup-scene-stage {
  --weup-well-right: 12%;
  --weup-well-width: clamp(4.5rem, 9vw, 6.5rem);
  --weup-hatch-width: clamp(2.75rem, 5vw, 3.75rem);
  --weup-scratch-width: clamp(2.75rem, 5vw, 3.7rem);
  --weup-crow-width: clamp(3rem, 5.5vw, 4.25rem);
  --weup-companion-gap: clamp(.1rem, .35vw, .3rem);
  position: absolute;
  z-index: 2;
  inset: 0 0 13%;
  width: 100%;
  min-height: 0;
  margin: 0 !important;
  background: transparent;
}

.weup-scene-stage .wp-block-image {
  position: absolute;
  z-index: 2;
  margin: 0;
  pointer-events: none;
}

.weup-scene-stage .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.weup-prop--banky img,
.weup-prop--tree img,
.weup-prop--well img,
.weup-prop--sun img,
.weup-prop--hatch img,
.weup-prop--scratch img,
.weup-prop--crow img,
.weup-prop--note-red img,
.weup-prop--note-blue img {
  animation: none !important;
}

.weup-prop--banky {
  bottom: 0;
  left: 1%;
  width: clamp(4.6rem, 10vw, 7.5rem);
}

.weup-prop--tree {
  bottom: 0;
  left: 50%;
  width: clamp(6.5rem, 14vw, 10rem);
  transform: translateX(-50%);
}

.weup-prop--well {
  right: var(--weup-well-right);
  bottom: 0;
  width: var(--weup-well-width);
}

.weup-prop--hatch {
  right: calc(var(--weup-well-right) + var(--weup-well-width) + var(--weup-companion-gap));
  bottom: 0;
  width: var(--weup-hatch-width);
}

.weup-prop--scratch {
  right: calc(var(--weup-well-right) - var(--weup-scratch-width) - var(--weup-companion-gap));
  bottom: 0;
  width: var(--weup-scratch-width);
}

.weup-prop--crow {
  right: calc(var(--weup-well-right) + clamp(.75rem, 1.8vw, 1.125rem));
  bottom: clamp(3.8rem, 7.4vw, 5.4rem);
  width: var(--weup-crow-width);
}

.weup-prop--sun {
  top: 5%;
  right: 5%;
  width: clamp(2.8rem, 5vw, 3.75rem);
}

.weup-prop--note-red {
  bottom: 25%;
  left: 21%;
  width: clamp(1rem, 4vw, 2.2rem);
}

.weup-prop--note-blue {
  right: 23%;
  bottom: 27%;
  width: clamp(1rem, 4vw, 2.2rem);
}

.weup-register-lockup {
  position: absolute;
  z-index: 6;
  top: 3%;
  left: 50%;
  width: clamp(9rem, 38vw, 17rem);
  margin: 0 !important;
  text-align: center;
  transform: translateX(-50%);
}

.weup-prop--comic-bubble {
  bottom: 17%;
  left: 2%;
  width: clamp(8rem, 24vw, 17rem);
}

.weup-register-lockup .wp-block-image {
  position: relative;
  width: clamp(4rem, 16vw, 7rem);
  margin-inline: auto;
}

.weup-register-lockup .weup-registration-drop {
  position: relative;
  width: clamp(2.25rem, 8vw, 4rem);
  margin: .25rem auto 0;
  opacity: .82;
}

.weup-registration-drop img {
  transform-origin: 50% 0;
}

.weup-registration-drop.is-dropping img {
  animation: weup-registration-drop 1.4s cubic-bezier(.24, .82, .29, 1) both;
}

@keyframes weup-registration-drop {
  0% { opacity: 0; transform: translateY(-4rem) scale(.72); }
  24% { opacity: 1; }
  74% { opacity: 1; transform: translateY(2rem) scale(1); }
  100% { opacity: 0; transform: translateY(5rem) scale(.94); }
}

.weup-register-lockup .wp-block-buttons {
  margin-top: .5rem;
}

.weup-register-lockup .wp-block-button__link,
.weup-register-lockup .weup-global-cta {
	display: inline-block;
	min-height: 0;
	padding: .25rem .65rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #c778dc;
  font-size: clamp(1.15rem, 6vw, 2.25rem);
  font-style: italic;
  text-shadow: -2px -2px 0 #24131f, 2px -2px 0 #24131f, -2px 2px 0 #24131f, 2px 2px 0 #24131f;
}

.weup-underground {
  position: absolute;
  z-index: 3;
  inset: 87% 0 0;
  min-height: 0;
  margin: 0 !important;
  background: transparent;
  box-shadow: none;
}

.weup-underground::before,
.weup-underground::after {
  content: none;
}

.weup-underground__seed {
  position: absolute;
  z-index: 2;
  top: 2%;
  left: 50%;
  width: clamp(2.8rem, 6vw, 4.25rem);
  margin: 0;
  transform: translateX(-50%);
}

.weup-underground__treasure {
  position: absolute;
  right: 6%;
  bottom: 5%;
  width: clamp(2.8rem, 6vw, 4.5rem);
  margin: 0;
}

.weup-underground__treasure img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.weup-community-metric {
  position: absolute;
  z-index: 3;
  top: 24%;
  left: 5%;
  margin: 0 !important;
  padding: .35rem .8rem;
  background: #d2a4ed;
  color: #5913a0;
  font-size: clamp(2rem, 9vw, 4rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.weup-support-strip {
  margin: 0 !important;
  padding: 0 !important;
  background: #343434;
}

.weup-support-strip img {
  display: block;
  width: 100%;
  max-height: clamp(4rem, 10vw, 8rem);
  height: auto;
  object-fit: contain;
}

/* Home model and steps. */
.weup-vibe-section {
  margin: 0 !important;
  padding: clamp(1.5rem, 4vw, 3.25rem) max(1rem, calc((100% - 980px) / 2)) !important;
  background: linear-gradient(160deg, #ce86db, #ba70d1);
}

.weup-vibe-grid {
  display: grid;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.weup-vibe-grid .wp-block-image {
  margin: 0;
}

.weup-vibe-grid > .wp-block-image img {
  display: block;
  width: min(100%, 20rem);
  max-height: 22rem;
  margin-inline: auto;
  object-fit: contain;
}

.weup-vibe-copy {
  padding: .65rem;
  border: 2px solid rgba(36, 19, 31, .35);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .18);
}

.weup-vibe-copy h2 {
  margin-top: 0;
  color: var(--weup-cyan);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
}

.weup-vibe-diagram {
  width: min(100%, 13rem);
  margin: 1rem auto 0 !important;
}

.weup-vibe-diagram img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.weup-steps {
  display: grid;
  grid-auto-rows: 1fr;
  gap: .55rem;
  margin-top: 1.25rem;
}

.weup-step {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: center;
  gap: .6rem;
  box-sizing: border-box;
  height: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: .65rem;
  border: 2px solid rgba(52, 32, 61, .2);
  border-radius: .85rem;
  background: rgba(246, 229, 245, .68);
}

.weup-step:nth-child(2) { background: rgba(182, 127, 231, .68); }
.weup-step:nth-child(3) { background: rgba(197, 160, 255, .68); }
.weup-step:nth-child(4) { background: rgba(238, 174, 138, .68); }
.weup-step:nth-child(5) { background: rgba(240, 217, 247, .72); }

.weup-step__icon {
  width: 3.5rem;
  margin: 0 !important;
  align-self: center;
  justify-self: center;
}

.weup-step__icon img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.weup-step p {
  width: 100%;
  margin: 0;
  font-size: clamp(.86rem, 2.8vw, 1rem);
}

.weup-reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .75, .25, 1);
}

.weup-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:where(.weup-step, .weup-event-card, .weup-character-card, .is-style-collectible-card) {
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  :where(.weup-step, .weup-event-card, .weup-character-card, .is-style-collectible-card):hover,
  :where(.weup-event-card, .weup-character-card, .is-style-collectible-card):focus-within {
    z-index: 2;
    filter: saturate(1.06);
    transform: translateY(-.35rem) rotate(-.25deg);
  }
}

.weup-validation-section {
  margin: 0 !important;
  padding: 0 max(1rem, calc((100% - 900px) / 2)) clamp(3rem, 8vw, 6rem) !important;
  background: #ba70d1;
  text-align: center;
}

.weup-about-section,
.weup-video-gallery-section,
.weup-editorial-section {
  margin: 0 !important;
  padding: clamp(3rem, 8vw, 7rem) 1rem !important;
}

.weup-about-section { background: #f8f6ed; }

.weup-about-section__grid {
  display: grid;
  width: var(--weup-shell);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-inline: auto;
}

.weup-video-gallery-section { background: #c77bd9; }

.weup-video-gallery {
  display: grid;
  gap: 1.25rem;
}

.weup-video-gallery .weup-video-panel__frame {
  border: 3px solid #24131f;
  box-shadow: 6px 6px 0 #6200bd;
}

.weup-editorial-section { background: #aab6ee; }

.weup-validation-section h2 {
  margin: 0 0 .8rem;
  color: #fff;
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Game Story. */
.weup-story-narrative {
  margin: 0 !important;
  padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100% - 1120px) / 2)) !important;
  background: #070506;
  color: #fff;
}

.weup-story-narrative h2,
.weup-story-narrative h3 {
  color: #fff;
}

.weup-story-narrative__grid {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.weup-story-scroll {
  position: relative;
  box-sizing: border-box;
  display: flex;
  width: min(100%, 24rem);
  aspect-ratio: 320 / 612;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: clamp(.9rem, 2.4vw, 1.25rem);
  margin-inline: auto;
  padding: 22% 8% 6%;
  background: url('../images/story/game-story-frame.png') center / contain no-repeat;
  color: #fff;
  overflow: hidden;
}

.weup-story-scroll p {
  width: 100%;
  margin: 0;
  font-size: clamp(1.08rem, 2.6vw, 1.3rem);
  line-height: 1.42;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.weup-story-brandboard {
  display: grid;
  gap: 2rem;
}

.weup-story-poster img {
  display: block;
  width: min(100%, 26rem);
  max-height: 26rem;
  margin-inline: auto;
  object-fit: contain;
}

.weup-awa-board {
  padding: 1rem;
  border: .5rem double #fff;
  background: #f5f5f5;
  color: #111;
  text-align: center;
}

.weup-awa-board h3 {
  margin: 0;
  border-bottom: 3px solid #111;
  color: #111;
  font: 900 clamp(2.2rem, 8vw, 4rem)/.9 Nunito, sans-serif;
  letter-spacing: .12em;
}

.weup-awa-board p {
  margin: .25rem 0 .8rem;
  color: #111;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.weup-awa-board__faces {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
}

.weup-awa-board__faces .wp-block-image {
  display: flex;
  height: clamp(5.5rem, 18vw, 9rem);
  align-items: flex-end;
  margin: 0;
}

.weup-awa-board__faces img {
  display: block;
  width: 100%;
  height: 100%;
  background: #aaa;
  filter: grayscale(1);
  object-fit: contain;
  object-position: center bottom;
}

.weup-character-section {
  margin: 0 !important;
  padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100% - 1120px) / 2)) !important;
  background: #eef4ff;
}

.weup-character-section h2 {
  margin-bottom: 2.5rem;
}

.weup-invented-section {
  margin: 0 !important;
  padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100% - 1040px) / 2)) !important;
  background: #2bbbd0;
  text-align: center;
}

.weup-invented-section h2 {
  color: #fff;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  text-transform: uppercase;
}

.weup-invented-grid {
  display: grid;
  grid-template-columns: minmax(4.5rem, .22fr) minmax(0, .78fr);
  align-items: stretch;
  gap: 0;
  width: min(100%, 68rem);
  margin-inline: auto;
}

.weup-camera-icon,
.weup-wemix-icon,
.weup-wemix-media {
  position: relative;
  z-index: 2;
  margin: 0 !important;
}

.weup-camera-icon img,
.weup-wemix-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.weup-camera-icon {
  align-self: center;
  transform: translateX(8%);
}

.weup-camera-icon img {
  height: auto;
}

.weup-wemix-media {
  display: grid;
  grid-template-columns: 34% 66%;
  align-items: end;
}

.weup-wemix-icon {
  align-self: end;
}

.weup-wemix-icon img {
  height: auto;
  object-position: right center;
}

.weup-wemix-media .weup-video-panel {
  position: relative;
  z-index: 3;
  align-self: stretch;
}

.weup-invented-grid .weup-video-panel__frame {
  border: 5px solid #fff;
}

.weup-polaroids {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.weup-polaroids .wp-block-image {
  width: min(42%, 10rem);
  margin: 0;
}

/* Tour. */
.weup-tour-map-section {
  position: relative;
  margin: 0 !important;
  padding: clamp(2rem, 7vw, 5rem) max(1rem, calc((100% - 1120px) / 2)) clamp(1rem, 4vw, 3rem) !important;
  background: #8493ed;
}

.weup-tour-map-composition {
  position: relative;
  width: min(100%, 70rem);
  margin: clamp(1.5rem, 4vw, 3rem) auto 0 !important;
  padding-right: clamp(2.75rem, 8vw, 5rem);
}

.weup-tour-chain {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3;
  width: clamp(6rem, 18vw, 12rem);
  margin: 0 !important;
  transform: translateY(-42%);
  pointer-events: none;
}

.weup-tour-chain img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.weup-tour-past {
  margin: 0 !important;
  padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100% - 1120px) / 2)) !important;
  background: #e4b261;
}

.weup-tour-past__header {
  width: min(75%, 26rem);
  margin: 0 auto 2rem;
}

.weup-tour-past__feature {
  display: grid;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.weup-tour-past__feature img {
  display: block;
  width: 100%;
  height: auto;
}

.weup-tour-event-photo {
  margin: 0 !important;
  background: transparent !important;
}

.weup-tour-event-photo img {
  background: transparent !important;
}

/* White Paper. */
.weup-paper-cover-wrap {
  display: grid;
  width: min(76%, 560px);
  place-items: center;
  margin-inline: auto;
}

.weup-paper-cover-wrap img {
  display: block;
  width: 100%;
  border: 1px solid rgba(36, 19, 31, .2);
  box-shadow: 0 8px 20px rgba(53, 32, 37, .25);
}

.weup-origin-section {
  margin: 0 !important;
  padding: clamp(.5rem, 2vw, 1.5rem) !important;
  background: #efc1c5;
}

.weup-origin-art {
  width: min(100%, 1010px);
  margin: 0 auto !important;
}

.weup-origin-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.weup-resource-panel {
  position: relative;
  margin: 0 !important;
  padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100% - 1080px) / 2)) !important;
  background: #2e1b1e url('../images/whitepaper/resource-bottom.webp') center / cover no-repeat;
  color: #fff;
}

.weup-resource-panel h2,
.weup-resource-panel h3 {
  color: #fff;
}

.weup-resource-panel__grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.weup-resource-panel__cover img {
  display: block;
  width: min(100%, 24rem);
  margin-inline: auto;
}

.weup-resource-panel__qr img {
  width: min(100%, 12rem);
  padding: .6rem;
  border-radius: 1rem;
  background: #fff;
}

/* Horizontal editorial cards: functional without JavaScript. */
.weup-card-strip-wrap {
  position: relative;
}

.weup-card-strip {
  display: grid;
  grid-auto-columns: min(82vw, 22rem);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: .5rem .5rem 1.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--weup-purple) rgba(255, 255, 255, .3);
}

.weup-card-strip > * {
  scroll-snap-align: center;
}

.weup-card-strip__controls {
  display: flex;
  justify-content: center;
  gap: .65rem;
  margin-top: .5rem;
}

.weup-card-strip__controls button {
  min-width: 3rem;
  min-height: 3rem;
  border: 2px solid var(--weup-ink);
  border-radius: 50%;
  background: #fff;
  color: var(--weup-purple);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 900;
}

.weup-card-strip__controls button:disabled {
  cursor: default;
  opacity: .4;
}

.weup-site-footer {
  margin: 0 !important;
  padding: 0 !important;
  background: #5600b5;
  color: #fff;
}

.weup-site-footer__inner {
  min-height: 7rem;
  justify-content: center;
  gap: .75rem;
  padding-block: 1.25rem;
}

.weup-footer-logo {
  display: none;
}

.weup-footer-copy {
  margin: 0;
  color: #fff;
  opacity: .84;
}

.weup-social-links {
  margin: 0;
}

.weup-archive,
.weup-singular,
.weup-error-page {
  min-height: 58vh;
  padding-block: clamp(3rem, 8vw, 7rem);
}

@media (min-width: 720px) {
  .weup-site-header .wp-block-site-logo { display: block; }
  .weup-primary-nav { width: auto; }
  .weup-site-header__bar { min-height: 4.25rem; }
  .weup-countdown__inner { width: min(100% - 2rem, 880px); }
  .weup-dreamland-world { height: 40rem; }
  .weup-vibe-grid,
  .weup-story-narrative__grid,
  .weup-tour-past__feature,
  .weup-resource-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weup-step { grid-template-columns: 4.75rem 1fr; padding: 1rem 1.25rem; }
  .weup-step__icon { width: 4.25rem; }
  .weup-wemix-media { grid-template-columns: 33.2% 66.8%; }
}

@media (min-width: 780px) {
  .weup-about-section__grid,
  .weup-video-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .weup-dreamland-hero { padding-top: 3.5rem !important; }
  .weup-hero-media { width: min(64%, 980px); }
  .weup-dreamland-world { height: 44rem; margin-top: 2rem; }
  .weup-register-lockup { top: 4%; }
  .weup-community-metric { left: max(5%, calc((100% - 1240px) / 2)); }
  .weup-vibe-grid { grid-template-columns: .8fr 1.2fr; }
  .weup-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .weup-step { grid-column: span 2; }
  .weup-step:nth-child(4) { grid-column: 2 / span 2; }
  .weup-step:nth-child(5) { grid-column: 4 / span 2; }
  .weup-story-narrative__grid { grid-template-columns: .85fr 1.15fr; }
  .weup-resource-panel__grid { grid-template-columns: .75fr 1.25fr; }
}

@media (max-width: 719px) {
  .weup-site-header__bar { justify-content: center !important; }
  .weup-primary-nav .wp-block-navigation__responsive-container-open { display: none; }
  .weup-primary-nav .wp-block-navigation__responsive-container { position: static; display: block; width: 100%; }
  .weup-primary-nav .wp-block-navigation__responsive-container-content { padding: 0 !important; }
  .weup-primary-nav .wp-block-navigation__container { flex-direction: row !important; }
  .weup-story-scroll {
    width: min(100%, 21rem);
    padding: 22% 8% 6%;
  }
  .weup-story-scroll p {
    font-size: clamp(1rem, 4.8vw, 1.18rem);
    line-height: 1.4;
  }
  .weup-invented-grid { grid-template-columns: minmax(4rem, .22fr) minmax(0, .78fr); }
  .weup-wemix-media {
    position: relative;
    grid-template-columns: 1fr;
  }
  .weup-wemix-media .weup-video-panel--mobile-dialog {
    position: absolute;
    z-index: 5;
    inset: 0;
    height: 100%;
  }
  .weup-rpg-dialogue { grid-template-columns: 6rem 1fr; }
  .weup-rpg-dialogue__box { margin-left: -1rem; padding: 1rem; }
  .weup-site-header.is-compact .weup-countdown__inner { grid-template-columns: 1fr; }
  .weup-site-header.is-compact .weup-countdown__cta { display: none; }
}

@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
}

@media (max-width: 600px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .weup-prop--banky img,
  .weup-prop--sun img,
  .weup-prop--hatch img,
  .weup-prop--scratch img,
  .weup-prop--crow img,
  .weup-prop--note-red img,
  .weup-prop--note-blue img { animation: none !important; }
  .weup-registration-drop.is-dropping img { animation: none !important; opacity: 1; transform: none; }
  .weup-reveal { opacity: 1; transform: none; }
}
