/* Landing page artwork is CSS/SVG; cartoon placeholders can be replaced with images. */
:root { --landing-width: 1160px; --paper: #e8e3d4; --muted: #abc0ce; --yellow: #ffda68; }
.landing { background: radial-gradient(ellipse at 0 16%, #0b233044, transparent 36%), radial-gradient(ellipse at 100% 62%, #13263966, transparent 40%), #050d12; position: relative; }
.landing::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .13; background-image: url("landing/grain.svg"); }
.content-section { position: relative; max-width: var(--landing-width); width: calc(100% - 64px); margin: auto; padding: 112px 0; border-bottom: 1px solid #29414c; scroll-margin-top: 35px; }
.section-label { display: flex; align-items: center; gap: 12px; color: #7996a7; font-size: 10px; letter-spacing: .19em; margin: 0 0 24px; }
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--cyan); }
.landing h2, .landing h3, .site-footer h2 { text-transform: uppercase; }
.landing h2 { margin: 0 0 26px; color: var(--yellow); font-size: clamp(26px, 3.3vw, 42px); line-height: 1.15; letter-spacing: -.055em; text-shadow: 2px 2px #79542655; }
.landing p { color: #bed0dc; font-size: 14px; line-height: 1.85; margin: 0 0 18px; }
.landing strong { color: #f6e5ac; }
.landing a:not(.play-button) { color: var(--cyan); text-underline-offset: 5px; }
.landing a:hover { color: #fff; }
.about-copy { max-width: 780px; }
.about-copy .lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.65; color: #e1ebef; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: 30px; }
.about-columns p:last-child { margin-bottom: 0; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr) .8fr; gap: 20px; margin-top: 44px; align-items: center; }
.feature { background: linear-gradient(145deg,#0b202c,#07131d); border: 1px solid #395567; outline: 1px solid #102c3b; outline-offset: -5px; padding: 25px 16px; text-align: center; min-height: 190px; position: relative; }
.feature::before, .feature::after { content: '+'; position: absolute; color: #7293a7; font-size: 12px; top: 0; left: 3px; }
.feature::after { top: auto; left: auto; bottom: 0; right: 3px; }
.feature h3 { color: var(--yellow); font-size: 19px; margin: 7px 0 8px; }
.feature p { font-size: 12px; line-height: 1.6; margin: 0; }
.feature img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.pixel-hero { display: inline-block; width: 120px; height: 120px; background: url('moviecuts-lunch-run-hero-v4-native120.png') 0 -240px / 720px 840px; image-rendering: pixelated; }
.feature .pixel-hero { width: 64px; height: 64px; background-size: 384px 448px; background-position: 0 -128px; }
.scribble { font-family: 'Bradley Hand', 'Segoe Print', 'Comic Sans MS', cursive; color: #77a8c2; font-size: 22px; line-height: 1.4; transform: rotate(-7deg); text-align: center; }
.scribble svg { width: 115px; height: 85px; display: block; margin: 14px auto 0; }
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.note { position: relative; color: #234d88; padding: 42px 28px 32px 45px; margin: 30px 0 0; transform: rotate(-4deg); background: repeating-linear-gradient(0deg, transparent 0 23px, #809cbf55 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, #809cbf55 23px 24px), linear-gradient(120deg, #c8c4b6, #f2eedf 20%, #e3decd 50%, #f4f0e3 51%, #ded8c7 85%); box-shadow: 8px 14px 25px #0008; clip-path: polygon(1% 0, 98% 1%, 100% 11%, 98% 20%, 100% 32%, 99% 45%, 100% 60%, 98% 74%, 100% 94%, 97% 100%, 84% 99%, 72% 100%, 53% 99%, 39% 100%, 22% 99%, 1% 100%, 0 83%, 1% 64%, 0 48%, 1% 30%, 0 10%); font-family: 'Bradley Hand', 'Segoe Print', 'Comic Sans MS', cursive; }
.note::before { content: ''; position: absolute; top: 12px; bottom: 12px; left: 9px; width: 13px; background: radial-gradient(circle, #071018 0 5px, transparent 6px) center top / 13px 32px repeat-y; }
.note::after { content: ''; width: 125px; height: 125px; position: absolute; right: -36px; bottom: 44px; border: 8px solid #aa784425; border-radius: 50%; box-shadow: 0 0 6px #aa784422, inset 0 0 6px #aa784422; pointer-events: none; }
.note h3 { font: inherit; font-size: 30px; margin: 0 0 28px; text-align: center; text-decoration: underline; text-underline-offset: 9px; }
.keys { display: grid; grid-template-columns: 1fr 22px 1fr; gap: 22px 12px; align-items: center; font-size: 20px; }
.keys kbd { font: inherit; border: 2px solid #234d88; padding: 3px 5px; text-align: center; box-shadow: 2px 2px 0 #234d8833; transform: rotate(2deg); white-space: nowrap; }
.note .note-sign { color: #234d88; font: inherit; font-size: 21px; text-align: right; margin: 30px 0 0; line-height: 1.3; transform: rotate(-3deg); }
.tape { position: absolute; width: 116px; height: 32px; background: #c7bb9599; border-left: 2px dashed #d2c6a0; border-right: 2px dashed #d2c6a0; top: -12px; right: 18px; transform: rotate(8deg); z-index: 2; }
.note-wrap { position: relative; }
.note-wrap > .tape { top: 17px; left: 5px; right: auto; transform: rotate(-15deg); }
.photo { position: relative; margin: 0 0 38px; padding: 11px 11px 4px; background: linear-gradient(135deg,#d7d7cc,#eee9dc 60%,#bdbeb5); transform: rotate(2deg); box-shadow: 0 12px 32px #0007; }
.photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #475159; }
.photo figcaption { color: #23446b; font-family: 'Bradley Hand', 'Segoe Print', cursive; font-size: 19px; padding: 10px 0; text-align: center; }
.how-copy h2 { margin-top: 6px; }
.corrected { position: relative; text-decoration: line-through; text-decoration-color: #8892ea; text-decoration-thickness: 3px; color: #8fa3b3; }
.correction { font-family: 'Bradley Hand', 'Segoe Print', cursive; color: var(--yellow); display: inline-block; border-bottom: 2px solid var(--yellow); transform: rotate(-2deg); }
.pro-tip { border-left: 3px solid #68cde5; background: linear-gradient(100deg,#0f2e3f,#0a202c88); padding: 22px 26px; margin-top: 26px; }
.pro-tip h3 { margin: 0 0 12px; color: var(--yellow); font-size: 14px; }
.pro-tip p { margin: 0; font-size: 14px; }
.origin-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: start; }
.origin-top p:last-child { margin-bottom: 0; }
.evolution { display: grid; grid-template-columns: 1fr 50px .6fr 50px 1fr; align-items: center; gap: 15px; margin-top: 58px; }
.evolution figure { margin: 0; text-align: center; min-width: 0; }
.evolution figcaption { font-size: 12px; letter-spacing: .13em; margin-top: 24px; color: #a9d8ed; }
.evolution .arrow { color: var(--yellow); font-size: 44px; font-family: cursive; text-align: center; }
.evolution .pixel-hero { transform: scale(1.35); }
.evolution .game-still { width: 100%; aspect-ratio: 1.2; object-fit: cover; border: 4px solid #628192; box-shadow: 7px 7px 0 #0005; }
.cartoon-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; position: relative; width: 100%; aspect-ratio: 4 / 5; padding: 18px; border: 9px solid #e2e0d5; background: radial-gradient(circle at 70% 25%,#43849966,transparent 45%), repeating-linear-gradient(-35deg,transparent 0 12px,#fff03 12px 13px), #173443; box-shadow: 7px 12px 18px #0006; transform: rotate(-4deg); }
.cartoon-placeholder svg { width: 85%; max-height: 210px; color: #88b9c8; }
.cartoon-placeholder b { font-size: 16px; line-height: 1.25; text-align: center; margin-top: 14px; color: #e2e6d9; }
.cartoon-placeholder small { margin-top: 12px; font-size: 8px; letter-spacing: .16em; color: #b4c6c9; }
.chaos-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.chaos-top .scribble { font-size: 27px; }
.gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; padding: 38px 5px 34px; }
.gallery .cartoon-placeholder:nth-child(2) { transform: rotate(4deg); background-color: #41372f; }
.gallery .cartoon-placeholder:nth-child(3) { transform: rotate(-3deg); background-color: #283b31; }
.gallery .cartoon-placeholder:nth-child(4) { transform: rotate(3deg); background-color: #33334a; }
.gallery .cartoon-placeholder b { font-size: 14px; }
.follow-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; }
.follow-row span { font-size: 12px; letter-spacing: .15em; color: #a8becc; }
.landing .play-button { border-radius: 4px; min-height: 52px; font-size: 12px; box-shadow: 0 0 24px #ffb52e22, 3px 4px 0 #6c470d; }
.bottom-sections { max-width: var(--landing-width); width: calc(100% - 64px); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 85px; }
.bottom-sections .content-section { width: 100%; border: 0; }
.bottom-sections h2 { font-size: 29px; }
.build { display: inline-flex; gap: 9px; align-items: center; border: 1px solid #34525f; color: var(--cyan); padding: 8px 11px; font-size: 10px; letter-spacing: .1em; margin-bottom: 24px; }
.build::before { content: ''; width: 6px; height: 6px; background: #80dcc8; box-shadow: 0 0 7px #80dcc8; }
.upcoming { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.upcoming span { border-bottom: 1px dashed #577789; padding: 5px 0; margin-right: 12px; font-size: 10px; color: #9eb2bd; }
.contact-links { display: grid; gap: 20px; margin-top: 30px; }
.contact-links small { display: block; font-size: 10px; color: #7f9baa; letter-spacing: .15em; margin-bottom: 8px; }
.email-pending { color: #8fa4b0; font-size: 14px; }
.site-footer { position: relative; background: #040a0f; border-top: 1px solid #29414c; padding: 45px 0; }
.footer-inner { max-width: var(--landing-width); width: calc(100% - 64px); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 48px; image-rendering: pixelated; }
.footer-brand h2 { color: var(--yellow); font-size: 23px; letter-spacing: -.06em; margin: 0; }
.footer-brand small { color: var(--cyan); font-size: 9px; letter-spacing: .09em; }
.footer-links { text-align: center; font-size: 10px; line-height: 2.3; color: #829caa; }
.footer-links a, .footer-links button { color: #b5cbd8; text-decoration: none; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; }
.footer-links a:hover, .footer-links button:hover { color: var(--yellow); }
.footer-sign { font-size: 10px; color: #a4c6d9; line-height: 1.9; }
.intro .play-meta { font-size: 10px; letter-spacing: .05em; margin-top: 18px; color: #83b9d4; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; }
.mobile-menu-panel a { display: block; padding: 8px; color: #c6dfeb; text-decoration: none; }
.mobile-menu-panel:not([hidden]) { display: block; }
@media (max-width: 900px) { .how-grid { gap: 42px; } .keys { font-size: 16px; gap: 22px 8px; } .note { padding-left: 34px; padding-right: 18px; } .feature-row { grid-template-columns: repeat(3,1fr); } .feature-row > .scribble { display: none; } .bottom-sections { gap: 42px; } .gallery { gap: 14px; } .cartoon-placeholder { border-width: 6px; padding: 12px; } .footer-inner { flex-wrap: wrap; } }
@media (max-width: 640px) { .content-section { width: calc(100% - 40px); padding: 72px 0; } .about-columns, .how-grid, .origin-top, .chaos-top, .bottom-sections { grid-template-columns: 1fr; gap: 24px; } .landing p { font-size: 14px; } .section-label { font-size: 9px; } .feature-row { gap: 9px; margin-top: 30px; } .feature { padding: 20px 9px; min-height: 183px; } .feature p { font-size: 10px; } .feature h3 { font-size: 16px; } .note-wrap { max-width: 380px; margin: 0 auto 30px; width: calc(100% - 16px); } .keys { font-size: 20px; } .note { padding: 36px 28px 30px 40px; } .photo { margin: 5px 5px 35px; } .evolution { grid-template-columns: 1fr 22px .6fr 22px 1fr; gap: 5px; margin-top: 35px; } .evolution .arrow { font-size: 24px; } .evolution .pixel-hero { transform: scale(.7); margin: 0 -30px; } .evolution figcaption { font-size: 8px; letter-spacing: .04em; margin-top: 15px; } .evolution .cartoon-placeholder { padding: 8px; border-width: 5px; } .evolution .cartoon-placeholder b { font-size: 10px; margin-top: 5px; } .evolution .cartoon-placeholder small { display: none; } .evolution .game-still { aspect-ratio: 4/5; border-width: 3px; } .chaos-top .scribble { font-size: 22px; text-align: right; padding-right: 15px; } .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 12px; gap: 24px; } .gallery .cartoon-placeholder { flex: 0 0 70%; scroll-snap-align: center; } .follow-row { align-items: flex-start; flex-direction: column; gap: 16px; } .bottom-sections { width: calc(100% - 40px); gap: 0; } .bottom-sections .content-section { border-bottom: 1px solid #29414c; } .bottom-sections .content-section:last-child { border: 0; } .footer-inner { width: calc(100% - 40px); flex-direction: column; align-items: flex-start; gap: 25px; } .footer-links { text-align: left; } .intro .play-button { display: inline-flex; margin-top: 22px; } }
.photo img, .evolution .game-still { height: auto; aspect-ratio: 4 / 3; }
.cartoon-placeholder { background: radial-gradient(circle at 70% 25%,#43849966,transparent 45%), repeating-linear-gradient(-35deg,transparent 0 12px,#ffffff03 12px 13px), #173443; }
@media (max-width: 640px) { .evolution { grid-template-columns: minmax(0,1fr) 18px minmax(0,.6fr) 18px minmax(0,1fr); } .evolution .game-still { aspect-ratio: 4 / 3; } }
/* Rotated paper decorations must not create a horizontal page scrollbar. */
html { overflow-x: clip; }
.landing { overflow-x: clip; }

/* Handwritten paper artwork prepared from the supplied layout reference. */
.handwritten-note { display: block; width: 100%; height: auto; filter: drop-shadow(5px 12px 15px #0006); }
.how-grid > .note-wrap { margin-top: 20px; }
@media (max-width: 640px) { .how-grid > .note-wrap { width: 100%; max-width: 420px; margin: 0 auto 24px; } }

/* Little pen-and-paper details from the art direction. */
.social-icon { flex: 0 0 27px; width: 27px; height: 27px; }
.follow-row .play-button { gap: 13px; padding: 12px 20px; }
.cta-arrow { font-size: 26px; margin-left: 10px; line-height: 1; transition: transform .2s ease; }
.follow-row .play-button:hover .cta-arrow { transform: translateX(4px); }
.runner-margin { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 74px 0 0; color: #7ca6bd; transform: rotate(-4deg); }
.runner-sketch { width: 105px; height: 160px; }
.runner-margin .scribble { font-size: 22px; text-align: left; }
.drawn-star { display: block; font-family: cursive; font-size: 50px; margin: 8px 0 0 35px; transform: rotate(12deg); }
.pro-tip { position: relative; padding-left: 75px; border: 0; clip-path: polygon(0 3%, 95% 0, 98% 6%, 96% 10%, 100% 14%, 98% 90%, 100% 96%, 3% 100%, 0 93%, 2% 89%); }
.tip-bulb { position: absolute; top: 26px; left: 20px; width: 36px; height: 50px; color: #ffda68; overflow: visible; }
.contact-method { display: flex; align-items: center; gap: 17px; }
.contact-icon { width: 34px; height: 34px; flex: 0 0 34px; }
.instagram-icon { color: #f24bce; filter: drop-shadow(0 0 6px #f02cb32b); }
.mail-icon { color: #73dfff; transform: rotate(-4deg); }
.coming-soon { position: relative; display: flex; width: 205px; min-height: 105px; align-items: center; gap: 8px; padding: 19px 18px; margin: 36px 0 28px 5px; color: #244a7a; background: repeating-linear-gradient(0deg,transparent 0 17px,#809cbf33 17px 18px),repeating-linear-gradient(90deg,transparent 0 17px,#809cbf33 17px 18px),linear-gradient(140deg,#c6c1af,#eee9dc 40%,#d8d1bd 70%,#efeadd); box-shadow: 5px 8px 10px #0005; transform: rotate(-8deg); border-radius: 2px 24px 2px 4px; font: 23px/1.2 'Bradley Hand','Segoe Print','Comic Sans MS',cursive; }
.coming-soon::after { content: ''; position: absolute; right: 0; top: 0; border-left: 23px solid #b3ab95; border-top: 23px solid #050d12; }
.coming-soon .tape { width: 68px; height: 22px; top: -9px; left: 14px; right: auto; transform: rotate(14deg); }
.coming-soon svg { width: 54px; height: 62px; }
.droid-margin { display: flex; flex-direction: column; align-items: flex-end; margin-top: 40px; padding-right: 14px; color: #849de0; }
.droid-margin > svg { width: 156px; height: 119px; margin-top: 15px; transform: rotate(4deg); }
.speech-sketch { position: relative; padding: 15px 21px; border: 1.5px solid #9692ea; border-radius: 7px 9px 11px 5px; transform: rotate(-7deg); font: 16px/1.5 'Bradley Hand','Segoe Print','Comic Sans MS',cursive; text-align: center; }
.speech-sketch::after { content: ''; position: absolute; right: 40px; bottom: -12px; width: 13px; height: 19px; border-right: 1.5px solid #9692ea; background: #050d12; transform: skewY(-35deg); }
.footer-sign { display: flex; align-items: center; gap: 18px; }
.coffee-sketch { width: 43px; height: 55px; color: #86d0e9; transform: rotate(7deg); }
@media (max-width: 900px) { .runner-margin { gap: 5px; } .runner-margin .scribble { font-size: 16px; } }
@media (max-width: 640px) {
  .runner-margin { margin-top: 30px; justify-content: flex-end; padding-right: 10px; }
  .runner-sketch { width: 65px; height: 100px; }
  .runner-margin .scribble { font-size: 16px; }
  .drawn-star { font-size: 30px; margin-top: 0; }
  .follow-row .play-button { width: 100%; padding: 12px; gap: 9px; font-size: 11px; }
  .cta-arrow { margin-left: auto; }
  .droid-margin { margin-top: 38px; }
  .coming-soon { width: 190px; }
}

.bottom-sections { align-items: start; }
.bottom-sections .content-section { margin: 0; }

/* One visual language from the CRT hero through the final credits. */
:root {
  --crt-white: #f2f6ff;
  --crt-blue: #347bf0;
  --crt-violet: #75419d;
  --crt-heading-shadow: 2px 0 0 #285aaa, -2px 0 0 #643779,
    0 0 19px #729bff42, 0 4px 16px #000;
  --arcade-border: #345167;
  --arcade-surface: #091421;
}
.intro h1,
.landing h2 {
  color: var(--crt-white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 1000;
  letter-spacing: .025em;
  text-shadow: var(--crt-heading-shadow);
}
.intro h1 { line-height: 1.04; }
.landing h2 {
  font-size: clamp(27px, 3.1vw, 42px);
  line-height: 1.12;
  margin-bottom: 30px;
  text-wrap: balance;
}
.bottom-sections h2 { font-size: clamp(25px, 2.35vw, 32px); }
.landing {
  background:
    linear-gradient(#000, transparent 160px),
    radial-gradient(ellipse at 0 20%, #18376035, transparent 40%),
    radial-gradient(ellipse at 100% 56%, #2b164e35, transparent 38%),
    #050b13;
}
.landing::before {
  opacity: .18;
  background-image: url("landing/grain.svg"),
    repeating-linear-gradient(0deg, #8aafff0c 0 1px, transparent 1px 4px);
}
.content-section { border-bottom-color: #45628455; }
.content-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, #73dfff, #667eff 65%, transparent);
  box-shadow: 0 0 10px #5386ff33;
}
.section-label { color: #8aabc4; letter-spacing: .16em; line-height: 1.7; }
.section-label::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #8bcfff;
  box-shadow: 10px 0 0 #456a9b, 0 0 10px #69bfff55;
  margin-right: 10px;
}
.landing p { color: #bdccdf; }
.landing strong { color: #ffe19b; }
.about-copy .lead { color: #e1e9f7; }
.feature {
  background:
    repeating-linear-gradient(0deg, #a0bdff04 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 50% 0, #2c4d7940, transparent 75%),
    var(--arcade-surface);
  border-color: var(--arcade-border);
  outline-color: #1e3149;
  box-shadow: inset 0 1px 0 #a9d7ff16, 0 8px 22px #0003;
}
.feature h3 {
  letter-spacing: .09em;
  color: #ffdb77;
  text-shadow: 2px 2px 0 #794a28, 0 0 14px #ffb52e30;
}
.feature::before, .feature::after { color: #8ab2d6; }
.feature img, .feature .pixel-hero { filter: drop-shadow(0 0 9px #77b9ff22); }
.play-button,
.landing .play-button {
  border: 1px solid #ffe7a1;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffdc78, #ffc140 48%, #ffb62b 49%, #ffc447);
  color: #17120d;
  box-shadow: inset 0 2px 0 #fff6cc77, inset 0 -3px 0 #c28024,
    0 0 0 2px #5b391a, 0 0 25px #ffb52e25;
  text-shadow: none;
}
.landing .play-button:hover { color: #17120d; }
.play-button:active { transform: translateY(1px); }
.pro-tip {
  background: linear-gradient(110deg, #102941, #102034cc);
}
.pro-tip h3 { letter-spacing: .07em; text-shadow: 0 0 12px #ffc64e33; }
.evolution figcaption { color: #acd6ff; text-shadow: 0 0 10px #5386ff44; }
.evolution .game-still { border-color: #527494; box-shadow: 0 0 0 1px #a4c4ff33, 7px 7px 0 #0005; }
.evolution .arrow { text-shadow: 0 0 14px #ffdc6844; }
.build {
  border-color: #456b87;
  border-radius: 2px;
  background: #0a1828;
  box-shadow: inset 0 1px 0 #9ccaff12;
  color: #96d9ff;
}
.upcoming span { color: #a1b8d0; border-bottom-color: #476586; }
.landing a:not(.play-button) { color: #91d6ff; text-decoration-color: #517f9c; }
.landing a:not(.play-button):hover { color: #d7edff; text-shadow: 0 0 12px #81beff66; }
.contact-links small { color: #93aec7; }
.site-footer {
  border-top-color: #34506c;
  background: radial-gradient(ellipse at 50% 100%, #101a2d, transparent 75%), #04080e;
}
.footer-brand h2 { text-shadow: 2px 2px 0 #724321, 0 0 16px #ffb52e22; }
.footer-sign { color: #9fbad6; }
.bottom-sections .content-section::after { display: none; }
@media (max-width: 640px) {
  .landing h2 { font-size: clamp(25px, 6.6vw, 31px); letter-spacing: .015em; }
  .bottom-sections h2 { font-size: clamp(23px, 6vw, 28px); }
  .section-label { font-size: 9px; letter-spacing: .12em; }
  .intro h1, .landing h2 {
    text-shadow: 1.5px 0 0 #285aaa, -1.5px 0 0 #643779, 0 0 16px #729bff42;
  }
}

/* Shared reading typography; handwritten notes and small UI labels stay distinct. */
:root {
  --reading-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --reading-color: #bdccdf;
  --reading-line-height: 1.85;
}
.landing p,
.intro > p:not(.play-meta) {
  font-family: var(--reading-font);
  font-weight: 400;
  letter-spacing: normal;
  line-height: var(--reading-line-height);
  color: var(--reading-color);
  text-transform: none;
}
.intro > p:not(.play-meta) {
  max-width: 680px;
  margin: 22px auto 24px;
  font-size: 16px;
  text-shadow: none;
}
.about-copy .lead {
  font-size: 16px;
  line-height: var(--reading-line-height);
  color: var(--reading-color);
}

/* Three closing columns, matching the original layout. */
.bottom-sections {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .85fr);
  gap: 36px;
  align-items: stretch;
}
.bottom-sections > * { min-width: 0; }
.bottom-sections #contact {
  padding-left: 30px;
  border-left: 1px solid #45628455;
}
.bottom-sections h2 { font-size: clamp(23px, 2.1vw, 28px); }
.bottom-doodle {
  margin: 0;
  padding: 68px 14px 80px 24px;
  border-left: 1px solid #45628455;
  align-items: center;
  justify-content: flex-start;
}
/* The run counter now leads the final doodle rather than occupying the footer. */
.bottom-doodle .run-counter {
  align-self: center;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: min(100%, 300px);
  max-width: 100%;
  margin: 0 0 24px;
}
.bottom-doodle .counter-controller {
  margin-bottom: 24px;
}
.bottom-doodle .counter-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
}
.bottom-doodle .counter-label::before,
.bottom-doodle .counter-label::after {
  content: "";
  height: 2px;
  flex: 1 1 0;
  background: #234454;
}
.bottom-doodle .counter-readout {
  margin-top: 0;
}
.bottom-doodle .counter-digits {
  margin-inline: auto;
}
.bottom-doodle .speech-sketch { font-size: 16px; padding: 14px 12px; }
.bottom-doodle > svg { width: min(100%, 180px); height: 140px; margin-top: 28px; }
@media (max-width: 900px) {
  .bottom-sections { grid-template-columns: 1fr; gap: 0; }
  .bottom-sections #contact {
    padding-left: 0;
    border-left: 0;
  }
  .bottom-sections .content-section {
    padding: 64px 0;
    border-bottom: 1px solid #45628455;
  }
  .bottom-doodle { border-left: 0; padding: 48px 20px 64px; }
  .bottom-doodle .speech-sketch { font-size: 16px; }
}

/* More Chaos: copy and CTA beside a row of overlapping cartoon prints. */
.chaos-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.9fr);
  gap: 32px;
  align-items: center;
}
.chaos-layout > * { min-width: 0; }
.chaos-copy h2 { font-size: clamp(27px, 2.8vw, 36px); text-align: left; }
.chaos-copy p { font-size: 14px; margin-bottom: 14px; }
.chaos-copy .follow-row { display: block; margin-top: 24px; }
.chaos-copy .follow-row > span { display: none; }
.chaos-copy .play-button { width: 100%; padding: 10px 12px; gap: 9px; font-size: 10px; }
.chaos-copy .social-icon { width: 24px; height: 24px; flex-basis: 24px; }
.chaos-copy .cta-arrow { margin-left: auto; }
.chaos-layout .gallery {
  display: flex;
  gap: 0;
  padding: 26px 10px;
  margin: 0;
  overflow: visible;
}
.chaos-layout .gallery .cartoon-placeholder {
  flex: 0 0 28%;
  aspect-ratio: 3 / 5;
  border-width: 5px;
  padding: 8px;
}
.chaos-layout .gallery .cartoon-placeholder + .cartoon-placeholder { margin-left: -4%; }
.chaos-layout .gallery .cartoon-placeholder:nth-child(1) { transform: rotate(-10deg) translateY(-5px); }
.chaos-layout .gallery .cartoon-placeholder:nth-child(2) { transform: rotate(6deg) translateY(6px); }
.chaos-layout .gallery .cartoon-placeholder:nth-child(3) { transform: rotate(-6deg); }
.chaos-layout .gallery .cartoon-placeholder:nth-child(4) { transform: rotate(5deg) translateY(8px); }
.chaos-layout .gallery .cartoon-placeholder svg { width: 100%; height: 105px; }
.chaos-layout .gallery .cartoon-placeholder b { font-size: 9px; margin-top: 8px; }
.chaos-layout .gallery .cartoon-placeholder small { font-size: 6px; letter-spacing: 0; }
@media (min-width: 641px) and (max-width: 1000px) {
  .chaos-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
}
@media (max-width: 640px) {
  .chaos-layout { grid-template-columns: 1fr; gap: 28px; }
  .chaos-copy .play-button { width: fit-content; padding: 12px 16px; font-size: 11px; }
  .chaos-layout .gallery { overflow-x: auto; padding: 26px 15px; gap: 22px; scroll-snap-type: x mandatory; }
  .chaos-layout .gallery .cartoon-placeholder { flex-basis: 65%; aspect-ratio: 4 / 5; padding: 14px; }
  .chaos-layout .gallery .cartoon-placeholder + .cartoon-placeholder { margin-left: 0; }
  .chaos-layout .gallery .cartoon-placeholder b { font-size: 14px; }
  .chaos-layout .gallery .cartoon-placeholder small { font-size: 8px; }
  .chaos-layout .gallery .cartoon-placeholder svg { height: 140px; }
}
.chaos-copy .play-button span { color: inherit; font-size: inherit; letter-spacing: .04em; }
.chaos-copy .play-button .cta-arrow { font-size: 24px; }

/* Uneven pencil sketches: soft grain, retraced contours and wonky proportions. */
.runner-margin .drawn-star {
  width: 53px;
  height: 53px;
  margin: 8px 0 0 30px;
  overflow: visible;
  transform: rotate(9deg);
}
.runner-sketch, .coffee-sketch, .droid-margin > svg { overflow: visible; }
.speech-sketch {
  border-radius: 11px 5px 14px 7px / 5px 13px 7px 11px;
  border-width: 1px 2px 1.5px 1px;
  outline: 1px solid #9692ea35;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .runner-margin .drawn-star { width: 38px; height: 38px; margin-top: 0; }
}

/* Story and gameplay photo together; controls note alongside the instructions. */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.about-layout > * { min-width: 0; }
.about-layout .about-copy { max-width: none; }
.about-layout h2 { text-align: left; }
.about-art { padding-top: 26px; }
.about-art .photo { margin: 0 8px; }
.how-grid > .note-wrap { margin-top: 0; }
.how-copy h2 { margin-top: 0; }
@media (max-width: 900px) {
  .about-layout { gap: 36px; }
}
@media (max-width: 640px) {
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-art { padding-top: 0; }
}

/* Tips below the controls; the running doodle below the explanation. */
.note-wrap > .pro-tip { margin-top: 34px; }
.how-copy > .runner-margin { margin-top: 34px; justify-content: flex-end; padding-right: 28px; }
@media (max-width: 640px) {
  .how-copy > .runner-margin { padding-right: 10px; }
}

/* Final supplied cartoons retain their full composition and embedded signature. */
.chaos-layout .gallery .cartoon-print {
  position: relative;
  flex: 0 0 28%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 3px solid #e2e0d5;
  box-shadow: 7px 12px 18px #0006;
  scroll-snap-align: center;
}
.chaos-layout .gallery .cartoon-print + .cartoon-print { margin-left: -4%; }
.cartoon-print img { display: block; width: 100%; height: auto; }
.chaos-layout .gallery .cartoon-print:nth-child(1) { transform: rotate(-10deg) translateY(-5px); }
.chaos-layout .gallery .cartoon-print:nth-child(2) { transform: rotate(6deg) translateY(6px); }
.chaos-layout .gallery .cartoon-print:nth-child(3) { transform: rotate(-6deg); }
.chaos-layout .gallery .cartoon-print:nth-child(4) { transform: rotate(5deg) translateY(8px); }
@media (max-width: 640px) {
  .chaos-layout .gallery .cartoon-print { flex-basis: 72%; }
  .chaos-layout .gallery .cartoon-print + .cartoon-print { margin-left: 0; }
}

/* Black content backdrop; the final footer keeps its own gradient. */
.landing { background: #000; }
.landing::before { display: none; }
.speech-sketch::after { background: #000; }
.coming-soon::after { border-top-color: #000; }

/* Landing-page spacing and the play call-to-action. */
.content-section,
.bottom-sections .content-section { padding: 50px 0; }
#about { border-top: 1px solid #45628488; }
.intro {
  width: min(calc(100% - 64px), var(--landing-width));
  padding-top: calc(var(--table-line) + clamp(130px, 9vw, 170px));
}
.intro-highlight { color: #ffda68; font-size: clamp(25px, 4.1vw, 36px); }
.intro .play-button { margin: 0 auto; }
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin-top: 42px;
  background: transparent;
  text-shadow: none;
}
.benefit { min-width: 0; padding: 10px 16px 22px; }
.benefit + .benefit { border-left: 1px solid #29435488; }
.benefit svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #70c9ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px #55b6ff55);
}
.benefit--heart svg { stroke: #f35c95; filter: drop-shadow(0 0 5px #f35c9577); }
.benefit--sandwich img { width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 5px #ffb84f55); }
.benefit h2 { margin: 11px 0 6px; color: #bceeff; font-size: 14px; line-height: 1.4; letter-spacing: .04em; text-shadow: 0 0 7px #70c9ff55; }
.benefit p { margin: 0; color: #d4d9e3; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .01em; text-transform: none; }

/* Controls, instructions and the sandwich sketch share one row. */
.how-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.5fr) minmax(0, .5fr); gap: 24px; }
.how-grid > * { min-width: 0; }
.how-grid > .note-wrap { margin-top: 0; }
.note { margin-top: 14px; padding: 32px 20px 25px 37px; }
.note h3 { font-size: 23px; margin-bottom: 25px; }
.keys { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); gap: 16px 5px; font-size: 14px; }
.keys kbd { padding: 4px 2px; }
.note .note-sign { font-size: 17px; margin-top: 24px; }
.how-copy .pro-tip { margin-top: 28px; }
.how-grid > .runner-margin { margin: 70px 0 0; padding: 0; align-self: start; justify-content: center; flex-direction: column; gap: 2px; }
.how-grid > .runner-margin .scribble { text-align: center; font-size: 17px; }
.how-grid > .runner-margin .drawn-star { margin: 8px auto 0; }

/* The closing motto is plain text beside the droid. */
.bottom-doodle .speech-sketch { border: 0; outline: 0; padding: 0; border-radius: 0; }
.bottom-doodle .speech-sketch::after { display: none; }
.footer-sign > span { display: inline-flex; align-items: center; gap: 5px; }
.footer-heart { width: 17px; height: 17px; flex: 0 0 17px; fill: #f34955; stroke: #ff9298; stroke-width: 1; filter: drop-shadow(0 0 5px #f3495566); }

@media (max-width: 900px) {
  .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
  .how-grid > .runner-margin { grid-column: 1 / -1; margin: 8px 0 0; flex-direction: row; }
  .benefit { padding-inline: 10px; }
  .benefit h2 { font-size: 11px; }
  .bottom-sections .content-section { padding: 50px 0; }
}
@media (max-width: 700px), (max-width: 1100px) and (pointer: coarse) {
  .intro { width: min(calc(100% - 40px), var(--landing-width)); padding-top: 12px; }
  .intro .play-button { display: inline-flex; margin-top: 22px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n + 3) { border-top: 1px solid #29435488; padding-top: 20px; }
}
@media (max-width: 640px) {
  .content-section { padding: 50px 0; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid > .note-wrap { width: min(100%, 420px); margin: 0 auto; }
  .how-grid > .runner-margin { grid-column: auto; }
  .benefit h2 { font-size: 10px; }
  .benefit p { font-size: 10px; }
}

/* Align the landing header with the 1160px-wide legal-page header. */
.hero > .brand { display: none; }
.mobile-header {
  position: absolute;
  z-index: 70;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  padding: 0;
  display: block;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.mobile-header-inner {
  width: calc(100% - 64px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mobile-header:has(.mobile-menu-panel:not([hidden])) {
  border-bottom-color: #73dfff1f;
  background: rgb(4 7 10 / 78%);
}
.mobile-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.mobile-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px #ff5b1888);
}
.mobile-brand .brand-title {
  color: #ffd85b;
  font-size: 26px;
  font-weight: 1000;
  letter-spacing: -.07em;
  line-height: .95;
  text-shadow: 2px 2px 0 #3a164d;
}
.mobile-menu-toggle {
  flex: 0 0 44px;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: #dff7ff;
  transform-origin: center;
  transition: transform .18s ease, opacity .18s ease;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu-panel {
  position: absolute;
  z-index: 60;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  padding: 22px clamp(20px, 4vw, 64px);
  border: 0;
  border-bottom: 1px solid #26313a;
  border-radius: 0;
  background: linear-gradient(180deg, #04070af8, #060b10f8);
  box-shadow: none;
  color: #b9cad4;
  font-size: 11px;
  line-height: 1.5;
}
.mobile-menu-panel:not([hidden]) { display: block; animation: navigation-drop .2s ease-out both; }
.mobile-menu-panel[hidden] { display: none; }
.mobile-menu-panel nav {
  width: min(100%, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}
.mobile-menu-panel a {
  display: block;
  padding: 9px 4px;
  color: #c6dfeb;
  text-align: center;
  text-decoration: none;
  letter-spacing: .06em;
}
.mobile-menu-panel a:hover,
.mobile-menu-panel a:focus-visible { color: #ffda68; }
@keyframes navigation-drop {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1101px) {
  .mobile-menu-panel {
    position: static;
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .mobile-menu-panel nav { gap: 8px; }
  .mobile-menu-panel a { white-space: nowrap; }
  .mobile-menu-panel:not([hidden]) { animation: none; }
}
@media (max-width: 700px), (max-width: 1100px) and (pointer: coarse) {
  .mobile-header {
    position: relative;
    height: 44px;
    border-bottom-color: transparent;
    background: transparent;
  }
  .mobile-header-inner {
    width: 100%;
    padding-inline: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0;
  }
  .mobile-brand { grid-column: 1; justify-self: start; gap: 8px; }
  .mobile-brand img { width: 32px; height: 32px; }
  .mobile-brand .brand-title { font-size: 22px; }
  .mobile-menu-toggle { grid-column: 2; justify-self: end; width: 42px; height: 42px; padding: 9px; }
  .mobile-menu-panel { padding: 16px 20px 19px; }
  .mobile-menu-panel nav { grid-template-columns: 1fr; gap: 0; }
  .mobile-menu-panel a { padding: 9px 4px; text-align: center; }
}
@media (orientation: landscape) and (max-width: 700px),
       (orientation: landscape) and (pointer: coarse) and (max-width: 1100px) {
  .mobile-header { height: 40px; }
  .mobile-brand { gap: 9px; }
  .mobile-brand img { width: 36px; height: 36px; }
  .mobile-brand .brand-title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel:not([hidden]) { animation: none; }
}

/* Quiet legal note at the end of the existing game introduction. */
#about .film-reference-note {
  max-width: 90ch;
  margin-top: 28px;
  color: #99a8ba;
  overflow-wrap: break-word;
}
#about .film-reference-note h3 {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  text-transform: none;
}
#about .film-reference-note p {
  margin: 0 0 8px;
  color: inherit;
  font-size: 13px;
  line-height: 1.8;
}
#about .film-reference-note p:last-child { margin-bottom: 0; }
