:root {
  --lime: #ceff00;
  --ink: #141b10;
  --forest: #264a2d;
  --cream: #fff2ca;
  --orange: #f15b26;
  --heading: 'Bangers', Impact, sans-serif;
  --hand: 'Patrick Hand', 'Comic Sans MS', cursive;
  --gutter: clamp(24px, 3vw, 64px);
}
* { box-sizing: border-box; }
html { background: var(--lime); }
body { margin: 0; color: var(--ink); font: 20px/1.2 var(--hand); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; color: inherit; }
::selection { background: var(--orange); color: var(--ink); }
.poster { width: 100%; min-height: 100svh; padding: 0 var(--gutter); overflow: clip; display: grid; grid-template-rows: 88px minmax(0, 1fr) 37px; }
header { display: flex; align-items: center; gap: 32px; border-bottom: 3px solid var(--ink); position: relative; z-index: 4; }
.brand { font: 46px/.9 var(--heading); white-space: nowrap; transform: rotate(-3deg); }
.brand > span:first-child { font-size: 30px; }
.brand-arrow { display: inline-block; color: var(--orange); margin-left: 13px; font-size: 48px; transform: rotate(12deg); }
.nav-note { margin-right: auto; font-size: 21px; transform: rotate(-5deg); }
nav { display: flex; gap: 19px; }
.button { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 10px 22px; background: var(--cream); border: 3px solid var(--ink); border-radius: 3px 7px 2px 5px; box-shadow: 5px 5px 0 var(--ink); font: 24px/1 var(--heading); letter-spacing: .5px; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 3px 3px 0 var(--ink); background: #fffbe8; }
.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
a:focus-visible, button:focus-visible { outline: 3px dashed var(--orange); outline-offset: 7px; }
.nav-button { min-width: 123px; transform: rotate(-2deg); }
.nav-button:nth-child(2) { background: var(--orange); transform: rotate(2deg); }
.nav-button:nth-child(3) { transform: rotate(-1deg); }
main { position: relative; display: grid; grid-template-columns: 39% 61%; grid-template-rows: 47% 21% 32%; height: calc(100svh - 125px); min-height: 610px; isolation: isolate; }
.title-block { grid-area: 1 / 1; position: relative; z-index: 2; align-self: start; margin-top: 24px; width: max-content; }
.eyebrow { display: flex; align-items: center; gap: 9px; font: 18px/1 var(--heading); letter-spacing: 2px; }
.status-dot { width: 10px; height: 10px; background: var(--orange); border: 2px solid var(--ink); border-radius: 50%; }
h1 { width: max-content; margin: 22px 0 0 -6px; font-family: var(--heading); line-height: .77; letter-spacing: -3px; transform: rotate(-4deg); transform-origin: left center; }
h1 > span { display: block; font-size: clamp(112px, 15svh, 205px); font-weight: 400; }
h1 strong { display: block; font-size: clamp(180px, 24svh, 330px); font-weight: 400; color: var(--forest); -webkit-text-stroke: 2px var(--ink); text-shadow: 5px 6px var(--cream); animation: wobble 10s infinite; }
.period { color: var(--orange); text-shadow: 4px 5px var(--ink); }
.ticker { display: inline-block; position: absolute; bottom: 4%; left: 88%; padding: 8px 16px; border: 3px solid var(--ink); box-shadow: 4px 4px var(--ink); background: var(--cream); font: clamp(22px, 2vw, 35px)/1 var(--heading); transform: rotate(-8deg); white-space: nowrap; }
.character { position: absolute; width: min(65vw, 91svh); aspect-ratio: 1; right: -2vw; top: -5svh; z-index: 0; pointer-events: none; }
.character img { display: block; width: 100%; height: auto; animation: float 8s ease-in-out infinite; mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 96%, transparent); mask-composite: intersect; }
.wanted { position: absolute; z-index: 1; right: 3vw; top: 10svh; width: clamp(126px, 10vw, 180px); padding: 10px; border: 3px solid var(--ink); background: var(--cream); text-align: center; font-family: var(--heading); transform: rotate(12deg); box-shadow: 5px 5px var(--ink); }
.wanted::before { content: ''; width: 54px; height: 17px; position: absolute; top: -10px; left: calc(50% - 27px); background: #e3ba75b3; transform: rotate(-6deg); }
.wanted strong { display: block; font-size: clamp(30px, 2.7vw, 48px); border-bottom: 2px solid; }
.wanted span { display: block; font-size: 23px; margin: 9px 0 5px; }
.wanted small { font-size: 17px; }
.annotation { position: absolute; z-index: 2; left: -4%; top: 12%; font-size: clamp(23px, 2vw, 33px); line-height: .95; transform: rotate(-9deg); }
.annotation svg { display: block; width: 110px; margin: 5px 0 0 38px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.morals { position: absolute; z-index: 2; right: 3%; top: 57%; font: clamp(18px, 1.6vw, 27px)/1 var(--heading); border: 3px solid var(--ink); border-radius: 50%; padding: 15px 13px; background: var(--orange); transform: rotate(12deg); text-align: center; }
.tagline { grid-area: 2 / 1; z-index: 2; align-self: start; padding-top: 3px; }
.tagline p { margin: 0; font: clamp(28px, 3.65svh, 46px)/1.07 var(--heading); letter-spacing: .3px; }
.tagline p > span { display: inline-block; background: var(--ink); color: var(--lime); padding: 1px 10px 4px; margin: 3px 0 3px -9px; transform: rotate(-1deg); }
.secondary { font-size: clamp(20px, 2.5svh, 29px); margin-top: 3px; }
h2 { margin: 0; font: 34px/1 var(--heading); letter-spacing: 1px; }
.legend { grid-area: 3 / 1; position: relative; z-index: 2; align-self: end; margin: 0 28px 13px 0; padding: 13px 20px 12px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 5px 5px var(--ink); transform: rotate(-1.5deg); }
.legend::before { content: ''; position: absolute; width: 67px; height: 18px; background: #d0a969b3; top: -11px; left: 43%; transform: rotate(5deg); }
.legend-top { display: flex; justify-content: space-between; align-items: center; }
.legend-top > span { color: var(--orange); font-size: 35px; line-height: .6; }
.legend p { font-size: clamp(17px, 1.16vw, 23px); margin: 7px 0; line-height: 1.12; }
.legend .no-morals { font-family: var(--heading); font-size: clamp(17px, 1.2vw, 23px); margin: 10px 0; }
.alignment { display: flex; justify-content: space-between; border-top: 2px dashed #141b1066; padding-top: 7px; font: 17px/1 var(--heading); letter-spacing: .6px; }
.alignment b { color: var(--forest); font-weight: 400; }
.meter { display: flex; align-items: center; gap: 9px; margin-top: 7px; font: 13px/1 var(--heading); }
.meter > div { flex: 1; height: 4px; background: var(--ink); position: relative; }
.meter i { position: absolute; right: 0; top: -4px; width: 12px; height: 13px; background: var(--orange); border: 2px solid var(--ink); }
.contract { grid-area: 3 / 2; z-index: 3; align-self: end; margin: 0 7px 13px 8px; background: var(--forest); color: var(--cream); padding: clamp(16px, 1.3vw, 26px); border: 4px solid var(--ink); box-shadow: 6px 6px var(--ink); border-radius: 4px 11px 3px 7px; transform: rotate(.7deg); }
.contract-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.contract-heading > span { font-size: clamp(20px, 1.5vw, 27px); color: var(--lime); transform: rotate(-5deg); }
.address-row { display: flex; align-items: center; gap: 10px; padding: 7px; background: var(--cream); border: 3px solid var(--ink); color: var(--ink); }
.address-row code { flex: 1; min-width: 0; overflow-wrap: anywhere; padding-left: 9px; font-size: clamp(14px, 1.1vw, 20px); }
.copy { min-width: 115px; background: var(--lime); font-size: 22px; padding: 8px 13px; box-shadow: 3px 3px var(--ink); }
.actions { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 14px; margin-top: 15px; }
.actions .button { color: var(--ink); white-space: nowrap; font-size: clamp(19px, 1.65vw, 31px); padding: 14px 8px; gap: 10px; }
.actions .buy { background: var(--orange); }
.actions .buy:hover { background: #ff7640; }
.refund { text-align: center; font: 15px/1 var(--heading); letter-spacing: 1.6px; margin: 15px 0 0; }
.doodle { position: absolute; z-index: -1; opacity: .14; pointer-events: none; font-family: var(--heading); }
.doodle-one { font-size: 90px; left: 41%; top: 40%; transform: rotate(15deg); }
.doodle-two { font-size: 100px; right: 1%; top: 36%; }
footer { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: var(--lime); position: relative; z-index: 3; font: 14px/1 var(--heading); letter-spacing: 1.3px; }
footer > span:last-child { font: 20px/1 var(--hand); letter-spacing: 0; }
#notice { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); z-index: 10; padding: 12px 20px; border: 3px solid var(--ink); background: var(--cream); color: var(--ink); box-shadow: 5px 5px var(--ink); text-align: center; }
#notice:empty { display: none; }
@keyframes float { 50% { transform: translateY(-5px); } }
@keyframes wobble { 0%, 92%, 100% { transform: rotate(0); } 95% { transform: rotate(1deg); } 98% { transform: rotate(-1deg); } }

/* Short desktop screens: preserve readable controls, tighten the paper notes. */
@media (min-width: 901px) and (max-height: 820px) {
  .poster { grid-template-rows: 74px minmax(0, 1fr) 31px; }
  main { height: calc(100svh - 105px); min-height: 610px; grid-template-rows: 44% 21% 35%; }
  .title-block { margin-top: 18px; }
  h1 { margin-top: 19px; }
  h1 > span { font-size: 14svh; }
  h1 strong { font-size: 22svh; }
  .eyebrow { font-size: 16px; }
  .legend { padding: 10px 16px; }
  .legend h2 { font-size: 29px; }
  .legend p { font-size: 17px; margin: 5px 0; }
  .legend .no-morals { margin: 7px 0; font-size: 17px; }
  .alignment { font-size: 16px; padding-top: 5px; }
  .contract { padding: 14px 17px; }
  .contract h2 { font-size: 29px; }
  .contract-heading { margin-bottom: 10px; }
  .actions { margin-top: 12px; }
  .actions .button { padding: 11px 8px; }
  .refund { margin-top: 12px; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  :root { --gutter: 25px; }
  main { grid-template-columns: 40% 60%; }
  h1 > span { font-size: min(12vw, 14svh); }
  h1 strong { font-size: min(19vw, 22svh); }
  .ticker { font-size: 22px; left: 80%; }
  .nav-note { font-size: 18px; }
  .nav-button { min-width: 102px; font-size: 21px; padding: 10px 15px; }
  .legend { margin-right: 22px; padding: 12px 13px; }
  .legend p { font-size: 17px; }
  .legend .no-morals { font-size: 16px; }
  .actions { gap: 10px; }
  .actions .button { font-size: 17px; gap: 5px; }
  .contract { padding: 14px 12px; }
  .contract h2 { font-size: 27px; }
  .copy { min-width: 92px; font-size: 20px; }
  .address-row code { font-size: 13px; }
  .annotation { left: 4%; top: 10%; font-size: 22px; }
  .annotation svg { width: 80px; }
}

/* Mobile and portrait tablets get a deliberate poster sequence. */
@media (max-width: 900px) {
  :root { --gutter: clamp(20px, 4vw, 34px); }
  .poster { display: block; }
  header { flex-wrap: wrap; gap: 15px; padding: 19px 0 16px; }
  .brand { font-size: 38px; }
  .brand > span:first-child { font-size: 26px; }
  .brand-arrow { font-size: 35px; margin-left: 7px; }
  .nav-note { margin: 0 0 0 auto; font-size: 17px; }
  nav { width: 100%; gap: 15px; }
  .nav-button { flex: 1; min-width: 0; font-size: 22px; padding: 9px; }
  main { height: auto; min-height: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: auto; }
  .title-block { grid-area: 1 / 1; margin-top: 27px; }
  .eyebrow { font-size: 15px; letter-spacing: 1.5px; }
  h1 { margin-top: 20px; }
  h1 > span { font-size: clamp(108px, 20vw, 164px); }
  h1 strong { font-size: clamp(173px, 32vw, 263px); }
  .ticker { left: 81%; bottom: 5%; font-size: clamp(22px, 4vw, 31px); padding: 7px 12px; }
  .character { grid-area: 2 / 1; position: relative; width: calc(100% + 2 * var(--gutter)); right: auto; top: auto; margin: -10px calc(-1 * var(--gutter)) -35px; }
  .character img { mask-image: linear-gradient(to bottom, #000 90%, transparent); }
  .annotation { left: 6%; top: 6%; font-size: clamp(22px, 3.8vw, 30px); }
  .annotation svg { width: 75px; margin-left: 30px; }
  .wanted { top: 5%; right: 8%; width: clamp(115px, 20vw, 150px); padding: 8px; }
  .wanted strong { font-size: 30px; }
  .wanted span { font-size: 20px; margin: 7px 0 4px; }
  .wanted small { font-size: 15px; }
  .morals { right: 4%; top: 65%; font-size: clamp(17px, 3vw, 24px); padding: 12px 10px; }
  .tagline { grid-area: 3 / 1; padding: 0; margin-bottom: 30px; }
  .tagline p { font-size: clamp(31px, 5.8vw, 44px); }
  .secondary { font-size: 23px; margin-top: 6px; }
  .legend { grid-area: 4 / 1; margin: 0 0 31px; padding: 18px 20px; transform: rotate(-1deg); }
  .legend h2 { font-size: 35px; }
  .legend p { font-size: 20px; margin: 9px 0; }
  .legend .no-morals { font-size: 20px; margin: 12px 0; }
  .alignment { font-size: 18px; }
  .meter { font-size: 14px; }
  .contract { grid-area: 5 / 1; margin: 0 0 25px; padding: 17px 13px; transform: rotate(.5deg); }
  .contract h2 { font-size: 27px; }
  .contract-heading > span { font-size: 18px; }
  .address-row { padding: 7px; gap: 6px; }
  .address-row code { padding-left: 0; font-size: 12px; }
  .copy { min-width: 78px; font-size: 19px; padding: 8px; gap: 7px; }
  .actions { grid-template-columns: 1fr; gap: 14px; }
  .actions .button { justify-content: space-between; padding: 14px; font-size: 25px; }
  .refund { font-size: 13px; letter-spacing: 1px; }
  .doodle { display: none; }
  footer { min-height: 42px; font-size: 10px; letter-spacing: .7px; }
  footer > span:last-child { font-size: 17px; white-space: nowrap; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .character { width: 82%; margin: -170px -5% -40px auto; }
  .title-block { z-index: 2; }
  .tagline { margin-top: -25px; }
  .legend p { font-size: 22px; }
  .actions { grid-template-columns: 1fr 1.45fr 1fr; }
  .actions .button { font-size: 21px; padding: 14px 9px; }
}
@media (max-width: 370px) {
  .nav-note { font-size: 14px; }
  .brand { font-size: 33px; }
  h1 > span { font-size: 101px; }
  h1 strong { font-size: 162px; }
  .ticker { left: 77%; font-size: 20px; }
  .legend { padding: 17px 14px; }
  .legend p { font-size: 18px; }
  .contract-heading > span { font-size: 16px; }
  .contract h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Final optical adjustments: annotations stay clear of the face and copy. */
@media (min-width: 1151px) { .annotation { left: -8%; } }
@media (max-width: 599px) {
  .character { margin-bottom: 0; }
  .annotation { display: none; }
  .wanted { width: 108px; top: 3%; right: 7%; }
  .wanted strong { font-size: 27px; }
  .wanted span { font-size: 18px; }
  .wanted small { font-size: 14px; }
}
@media (min-width: 1600px) {
  h1 > span { font-size: min(17svh, 225px); }
  h1 strong { font-size: min(27svh, 355px); }
}
@media (max-width: 1150px) { .annotation { display: none; } }
@media (min-width: 600px) and (max-width: 900px) {
  .character { margin-bottom: 0; }
  .tagline { margin-top: 0; }
}
@media (max-width: 370px) {
  main { grid-template-columns: minmax(0, 1fr); }
  .tagline p { font-size: 29px; }
}

/* Move only the artwork; its labels and the surrounding layout stay anchored. */
@media (min-width: 901px) {
  .character img { translate: -5vw -8svh; }
}
@media (min-width: 901px) {
  .character img {
    translate: -15vw -8svh;
    scale: .9;
    transform-origin: top center;
  }
}

/* The replacement artwork has its own transparent background. */
.character img { mask-image: none; }


/* Keep the divider behind the artwork, with navigation above it. */
header { z-index: auto; border-bottom-color: transparent; }
header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: var(--ink);
  z-index: 0;
  pointer-events: none;
}
header > * { position: relative; z-index: 4; }

/* Small label placement adjustments. */
.ticker { translate: 20px 46px; }
.morals { translate: clamp(-32px, -2vw, -12px) clamp(-32px, -2vw, -12px); }



/* Forest artwork sits behind the entire composition. */
.poster {
  background-image: url('assets/bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}
/* Soften the forest behind the left-hand copy to preserve contrast. */
.poster {
  background-image: linear-gradient(90deg, #ceff00e6, #ceff00b3 24%, transparent 48%), url('assets/bg.png');
}

/* Bring the wanted sticker closer to the character. */
.wanted { translate: -40px 0; }

/* Keep the handwritten warning to the left of the character. */
.annotation { translate: -140px -30px; }


/* Loot is behind the mascot and above the forest background. */
.character::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 85%;
  aspect-ratio: 3 / 2;
  right: 0;
  top: 29%;
  background: url('assets/money.png') center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 900px) {
  .character::before { width: 90%; right: -8%; top: 27%; }
}

/* Place the loot to the left, still behind the mascot. */
.character::before { right: 52%; }
@media (max-width: 900px) {
  .character::before { right: 22%; }
}

/* Enlarge the loot and extend it farther left behind the mascot. */
.character::before { width: 105%; right: 58%; }
@media (max-width: 900px) {
  .character::before { width: 105%; right: 28%; }
}

/* Raise and enlarge the loot farther to the left. */
.character::before { width: 120%; right: 65%; top: 17%; }
@media (max-width: 900px) {
  .character::before { width: 120%; right: 35%; top: 17%; }
}

