/* Home page v3 (Joe 2026-10-14: "more like an actual game and less text", parallax, a lightbox, play the beta here).
   Layers on site.css; depth-tagged elements move by --py (set per frame in site.js, 0 when reduced motion). */
.home .hero{position:relative;min-height:500px;padding:110px 58px 48px;background:none;overflow:hidden;isolation:isolate}
.hero-bg{position:absolute;inset:-4% -3% -18%;background:url('/assets/img/keyart-hero.webp?v=20261116') center 42%/cover;z-index:-3;transform:translate3d(var(--mx,0px),var(--py,0px),0) scale(1.04);will-change:transform}
.hero-glow{position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse 34% 26% at 62% 58%,#ffb24a33,transparent 70%),linear-gradient(0deg,#061c29cc,transparent 42%),linear-gradient(90deg,#061c2955,transparent 45%)}
[data-depth]{transform:translate3d(0,var(--py,0px),0)}
.hero-copy{position:relative;z-index:2}
.home .hero-note{max-width:560px;animation:drop-in .8s cubic-bezier(.2,1.4,.4,1) both}
.home .hero-note h1{font-size:clamp(46px,5.4vw,72px);line-height:.98}
.home .hero-note p{font:400 21px/1.2 var(--paint);color:#5a2a17;margin:0}
.home .hero-actions{animation:drop-in .8s .15s cubic-bezier(.2,1.4,.4,1) both}
@keyframes drop-in{from{opacity:0;transform:translateY(-30px) rotate(-6deg)}}
.button.big{min-height:70px;font-size:30px;padding:14px 34px}
.beta-tag{position:absolute;right:-10px;top:-14px;background:#f2c230;color:#3a1c06;font:400 15px/1 var(--button);padding:6px 9px 5px;border-radius:4px;transform:rotate(9deg);box-shadow:0 2px 0 #7a4b0c,0 4px 6px #0007;text-shadow:none;letter-spacing:.5px;text-transform:uppercase}
.play-tri{width:0;height:0;border-left:15px solid currentColor;border-top:9px solid transparent;border-bottom:9px solid transparent}
.hero-lantern{z-index:1;left:auto;right:330px;top:24px;width:80px;height:120px;animation:flicker 3.2s infinite steps(1)}
@keyframes flicker{0%,100%{filter:drop-shadow(0 0 18px #ffb13a99)}12%{filter:drop-shadow(0 0 10px #ffb13a55)}14%{filter:drop-shadow(0 0 22px #ffb13aaa)}60%{filter:drop-shadow(0 0 14px #ffb13a77)}}
.swing-sign{position:absolute;right:34px;top:-4px;z-index:2;transform-origin:50% 0}
.swing-sign span{display:block;margin-top:70px;width:96px;padding:16px 8px;background:#98713e var(--wood) center/400px;border:3px solid #5d3e22;box-shadow:0 6px 10px #000a;color:#1b120a;text-align:center;font:400 25px/1 var(--paint);text-shadow:0 1px #caa56b;transform-origin:50% -70px;animation:swing 4.5s ease-in-out infinite}
.swing-sign span:before{content:'';position:absolute;left:50%;top:-70px;width:2px;height:70px;background:#c7a06b;box-shadow:2px 0 #362c18}
@keyframes swing{0%,100%{transform:rotate(-9deg)}50%{transform:rotate(-2deg)}}
.bobber{position:absolute;left:61%;bottom:9%;z-index:1;width:78px}
.bobber img{position:relative;display:block;width:78px;height:auto;animation:bob 2.6s ease-in-out infinite;filter:drop-shadow(0 6px 4px #0008)}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(9px) rotate(5deg)}}
.ripple{position:absolute;left:50%;bottom:-6px;width:120px;height:26px;margin-left:-60px;border:2px solid #ffe7b6aa;border-radius:50%;animation:ripple 2.6s ease-out infinite;opacity:0}
.ripple.r2{animation-delay:1.3s}
@keyframes ripple{0%{transform:scale(.3);opacity:.9}100%{transform:scale(1.6);opacity:0}}
.fireflies{position:absolute;inset:0;z-index:0;pointer-events:none}
.fireflies i{position:absolute;width:5px;height:5px;border-radius:50%;background:#ffe88a;box-shadow:0 0 10px 3px #ffd54a99;opacity:0;animation:fly 7s ease-in-out infinite}
.fireflies i:nth-child(1){left:12%;top:30%}.fireflies i:nth-child(2){left:28%;top:62%;animation-delay:1s}.fireflies i:nth-child(3){left:47%;top:22%;animation-delay:2.2s}.fireflies i:nth-child(4){left:66%;top:40%;animation-delay:3.1s}.fireflies i:nth-child(5){left:80%;top:68%;animation-delay:.5s}.fireflies i:nth-child(6){left:90%;top:28%;animation-delay:4s}.fireflies i:nth-child(7){left:38%;top:44%;animation-delay:5s}.fireflies i:nth-child(8){left:55%;top:70%;animation-delay:2.7s}.fireflies i:nth-child(9){left:72%;top:16%;animation-delay:6s}.fireflies i:nth-child(10){left:20%;top:80%;animation-delay:3.6s}.fireflies i:nth-child(11){left:8%;top:52%;animation-delay:4.6s}.fireflies i:nth-child(12){left:60%;top:55%;animation-delay:1.7s}
@keyframes fly{0%{opacity:0;transform:translate(0,0)}20%{opacity:1}50%{transform:translate(26px,-30px)}80%{opacity:.9}100%{opacity:0;transform:translate(-10px,-55px)}}

/* ---- the game window: in-frame on a desktop, /play/ on a phone */
.launch{padding:22px 24px;background:linear-gradient(#321c1233,#321c1233),var(--wood) center/800px;position:relative}
.launch:before{content:'';position:absolute;inset:0 0 auto;height:18px;background:url('/assets/img/rope.webp?v=20261015b') center/440px 18px repeat-x;z-index:3}
.launch-frame{position:relative;aspect-ratio:16/8;min-height:340px;border:23px solid transparent;border-image:var(--frame) 40 / 23px / 0 stretch;background:#06131a;display:flex;align-items:center;justify-content:center;overflow:hidden;isolation:isolate;box-shadow:0 5px 12px #0008}
.launch-town{position:absolute;inset:0 -12%;background:url('/assets/img/town.webp?v=20261015d') center 60%/cover;transform:translate3d(var(--pan,0px),0,0);will-change:transform;z-index:-2}
.launch-frame:after{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 38% 48% at 50% 50%,#08151dcc,#08151d55 70%,transparent),linear-gradient(0deg,#ff8a3a22,transparent 50%)}
.launch-copy{text-align:center;color:#fff1d1;text-shadow:0 3px 5px #000;padding:20px;z-index:2}
.launch-copy h2{font-size:clamp(36px,4.6vw,62px);transform:rotate(-3deg);margin-bottom:22px}
.stamp{display:inline-block;margin-bottom:14px;padding:6px 14px 4px;border:3px solid #f2c230;color:#f2c230;font:400 18px/1 var(--button);text-transform:uppercase;letter-spacing:1.5px;transform:rotate(-4deg);text-shadow:none;background:#1a0f0899}
.launch-note{display:block;margin-top:14px;font:600 18px/1.2 var(--condensed);color:#f3dfba}
.wobble{animation:wobble 3.5s ease-in-out infinite}
@keyframes wobble{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(-3deg)}92%{transform:rotate(2.5deg)}95%{transform:rotate(-1.5deg)}}
.launch-props{position:absolute;right:10px;bottom:0;width:250px;height:auto;z-index:1;filter:drop-shadow(0 5px 3px #0008)}
.launch-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:4;background:#06131a}
.launch-frame.live .launch-copy,.launch-frame.live .launch-props{display:none}
.fullscreen{position:absolute;right:14px;bottom:14px;z-index:5;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;background:#141c20e6;color:#f7ecd3;border:2px solid #9c6b3e;border-radius:5px;font:400 18px/1 var(--button)}
.fullscreen[hidden]{display:none}
.fullscreen svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2}

/* ---- about: three pictures, three lines */
.home .about{padding:44px 35px 40px}
.about-title{text-align:center;color:#fff1d3;font-size:clamp(34px,3.6vw,48px);text-shadow:0 3px 4px #21150d;margin-bottom:30px}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;max-width:1000px;margin:0 auto}
/* Polaroids NAILED to the wall (Joe 2026-10-15: "these are taped ... it'd be one thing if they were anchored with like a
   push pin or a nail and then it rotated when you went over it"). Each hangs off one nail and swings about it on hover,
   settling back like a real print would; it never lifts or straightens. */
.tile{all:unset;box-sizing:border-box;cursor:zoom-in;display:block;position:relative;background:#f4e4c6 var(--paper) center/500px;padding:14px 14px 16px;box-shadow:0 8px 16px #000a;--hang:-2deg;transform:rotate(var(--hang));transform-origin:50% 4px;text-align:center}
.tile:nth-child(2){--hang:1.5deg;margin-top:10px}.tile:nth-child(3){--hang:-1deg}
.tile:hover,.tile:focus-visible{animation:nail-swing 1.6s cubic-bezier(.3,0,.3,1) both}
@keyframes nail-swing{0%{transform:rotate(var(--hang))}18%{transform:rotate(calc(var(--hang) + 7deg))}38%{transform:rotate(calc(var(--hang) - 5deg))}58%{transform:rotate(calc(var(--hang) + 3deg))}78%{transform:rotate(calc(var(--hang) - 1.2deg))}100%{transform:rotate(var(--hang))}}
.tile:before{content:'';position:absolute;left:50%;top:-6px;width:22px;height:22px;margin-left:-11px;border-radius:50%;z-index:2;
  background:radial-gradient(circle at 38% 34%,#fff8e6 0 1.5px,#c9bba2 3px,#7e6f5a 6px,#3b2f22 9px,#1c150e 11px);box-shadow:0 3px 3px #000a}
.tile:after{content:'';position:absolute;left:50%;top:-1px;width:2px;height:10px;margin-left:-1px;background:#5b4a37;z-index:1;opacity:.6}
.tile img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:50% 62%}
.tile-sign{display:block;margin-top:12px;font:400 29px/1.1 var(--paint);color:#8c281b}
.tile small{display:block;font:600 18px/1.3 var(--condensed);color:#3c3326}

/* ---- gallery + lightbox */
.home .gallery{padding:34px 35px 40px}
.home .section-heading h2{margin:0}
.shots .shot{all:unset;box-sizing:border-box;flex:0 0 210px;scroll-snap-align:start;cursor:zoom-in;display:block;text-align:center;transition:transform .2s}
.shots .shot:hover,.shots .shot:focus-visible{transform:translateY(-6px) rotate(-1deg)}
.shots .shot img{display:block;width:100%;height:auto;border:14px solid transparent;border-image:var(--frame) 40 / 14px / .08 round;border-radius:8px;background:#06131a;box-shadow:0 8px 18px #0007}
.shots .shot span{display:block;margin-top:10px;font:400 19px/1.2 var(--paint);color:#f3dfba}
.lightbox{padding:0;border:0;background:transparent;max-width:none;max-height:none;width:100vw;height:100dvh;overflow:hidden}
.lightbox::backdrop{background:#020b10ee;backdrop-filter:blur(3px)}
.lightbox[open]{display:flex;align-items:center;justify-content:center}
.lightbox figure{margin:0;display:flex;flex-direction:column;align-items:center;max-height:100%}
.lightbox img{max-width:calc(100vw - 32px);max-height:calc(100dvh - 92px);width:auto;height:auto;border:8px solid #5b4c3b;border-radius:20px;box-shadow:0 10px 50px #000;touch-action:pan-y;animation:lb-in .22s ease-out}
@keyframes lb-in{from{opacity:0;transform:scale(.94)}}
.lightbox figcaption{margin-top:10px;color:#f7ecd3;font:400 22px/1.2 var(--paint)}
.lb-close,.lb-nav{position:fixed;z-index:2;width:52px;height:52px;border-radius:50%;background:#f7ecd3 var(--paper);color:#142e38;border:3px solid #a7733e;font:400 24px/1 var(--button);box-shadow:0 3px 8px #0009}
.vidbox{padding:0;border:0;background:transparent;max-width:none;max-height:none;width:100vw;height:100dvh;overflow:hidden}
.vidbox::backdrop{background:#020b10f2;backdrop-filter:blur(3px)}
.vidbox[open]{display:flex;align-items:center;justify-content:center}
.vidbox video{width:min(calc(100vw - 24px),calc((100dvh - 120px)*16/9));aspect-ratio:16/9;background:#000;border:6px solid #5b4c3b;border-radius:16px;box-shadow:0 10px 50px #000;animation:lb-in .22s ease-out}
.vidbox video.tall{width:min(calc(100vw - 16px),calc((100dvh - 90px)*9/16));height:auto;aspect-ratio:9/16;border-width:4px}
.lb-close{top:14px;right:14px}.lb-prev{left:14px;top:50%;margin-top:-26px}.lb-next{right:14px;top:50%;margin-top:-26px}
.lb-count{position:fixed;top:24px;left:20px;color:#f7ecd3;font:400 18px/1 var(--button)}

.home .closing{padding:26px}.home .closing h2{margin-bottom:12px}.home .closing img{width:150px;height:auto}

@media(max-width:900px){.launch-frame{aspect-ratio:auto;min-height:360px}.tiles{gap:18px}.tile-sign{font-size:24px}}
@media(max-width:640px){
  .home .hero{min-height:560px;padding:200px 16px 26px}
  .hero-bg{background-position:40% 50%}
  .hero-lantern{right:auto;left:14px;top:14px;width:58px;height:87px}
  .swing-sign{right:10px}.swing-sign span{width:76px;font-size:19px;padding:11px 6px;margin-top:40px;transform-origin:50% -40px}.swing-sign span:before{top:-40px;height:40px}
  /* the bobber floats in the open water under the buttons, right of the browser link (Joe 2026-11-12: at top:150px it
     sank half behind the note) */
  .bobber{left:auto;right:6%;top:auto;bottom:8px;width:44px}.bobber img{width:44px}.ripple{width:84px;margin-left:-42px}
  .home .hero-note h1{font-size:46px}.home .hero-note p{font-size:17px}
  .home .hero-actions .button{width:100%}.beta-tag{right:8px}.button.big{font-size:27px;min-height:62px}
  .launch{padding:16px 10px}
  .launch-frame{min-height:330px;border-width:14px;border-image-width:14px}
  .launch-town{background-position:30% 60%}
  .launch-copy{padding:18px 10px 90px}.launch-copy h2{font-size:34px}
  .launch-props{width:120px}
  .home .about{padding:32px 16px}
  .tiles{grid-template-columns:1fr;gap:28px;max-width:340px}
  .tile:nth-child(2){transform:rotate(1.5deg)}
  .home .gallery{padding:28px 0 32px 16px}.home .section-heading{padding-right:16px}
  .shots .shot{flex-basis:62vw}
  .lb-nav{top:auto;bottom:16px;margin:0}.lb-prev{left:calc(50% - 64px)}.lb-next{right:calc(50% - 64px)}
  .lightbox img{max-height:calc(100dvh - 140px);border-width:5px;border-radius:14px}
  .lightbox figure{margin-bottom:50px}
}
@media(prefers-reduced-motion:reduce){.hero-bg,[data-depth],.launch-town{transform:none!important}.fireflies,.ripple{display:none}.bobber img,.swing-sign span,.hero-lantern,.wobble,.home .hero-note,.home .hero-actions,.lightbox img{animation:none}.tile,.shots .shot{transition:none}}
/* closing: Gravy (the possum) and Biscuit (the raccoon) flank the holler button (Joe 2026-10-15) */
.home .closing img{width:170px;height:auto;filter:drop-shadow(0 6px 5px #0007)}.home .closing img.jim{transform:scaleX(-1)}
.home .closing{justify-content:center}.closing-sub{margin:0 0 14px;font:400 20px/1.3 var(--marker);color:#5a3a1c}
@media(max-width:640px){.home .closing img{width:110px}}
/* v5 (Joe 2026-10-15: "these little nails.. so fake.. no texture", "bad bg border/square edges on See the game", the beta badge
   "as img?"). Every surface is a PAINTED sprite with real alpha (web/hillbillyyacht.club/art/*.txt prompts), never CSS-drawn:
   torn notepaper 9-sliced so its burnt edge survives any size, real hammered nail heads, a cream plank for the second button,
   a cardboard price tag for the beta. */
.home .hero-note,.story{clip-path:none;background:none;border:38px solid transparent;border-image:url('/assets/img/note-paper.webp?v=1') 150 fill / 38px stretch;padding:0 6px;filter:drop-shadow(0 6px 5px #1a0c05b0)}
.home .hero-note{position:relative}
.home .hero-note h1{margin-bottom:8px}
.home .hero-note:before,.home .hero-note:after,.story:before,.story:after{content:'';position:absolute;top:-24px;width:30px;height:30px;border:0;box-shadow:none;background:url('/assets/img/nail-1.webp?v=1') center/contain no-repeat;filter:drop-shadow(1px 3px 1px #0009);opacity:1}
.home .hero-note:before,.story:before{left:-16px}
.home .hero-note:after,.story:after{left:auto;right:-16px;background-image:url('/assets/img/nail-2.webp?v=1');transform:rotate(40deg)}
.button.cream{background:none;border:0 solid transparent;border-width:0 34px;border-image:url('/assets/img/plank.webp?v=1') 0 120 fill / 0 34px stretch;--bt:0px;--bx:34px;padding:0 4px;min-height:62px;color:#2a1a0e;text-shadow:0 1px 0 #fff4d9}
.stamp.price{display:inline-grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;width:300px;height:106px;padding:12px 18px 10px 98px;box-sizing:border-box;border:0;background:url('/assets/img/price-tag.webp?v=1') center/100% 100% no-repeat;transform-origin:10% 40%;transform:rotate(-5deg);animation:tag-swing 5s ease-in-out infinite;filter:drop-shadow(0 5px 4px #000a)}
@keyframes tag-swing{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(-1deg)}}
.stamp.price em{grid-column:1/3;font:400 17px/1 var(--button);font-style:normal;color:#4a2c12;letter-spacing:1.5px;text-align:left}
.stamp.price s{color:#3a2a1a;font:400 24px/1 var(--button);opacity:1;text-shadow:none;justify-self:start}
.stamp.price s:after{background:#d3311c;height:4px;top:48%;transform:rotate(-12deg);opacity:1}
.stamp.price b{font:400 40px/.9 var(--marker);color:#d3311c;text-shadow:none;transform:rotate(-8deg);margin:0}
/* the story: who made this, on the same nailed notepaper */
.story{position:relative;max-width:820px;margin:52px auto 0;color:#2b1d12;transform:rotate(-.6deg)}
.story h3{font:400 clamp(30px,3.4vw,42px)/1.05 var(--paint);color:#8c281b;margin:0 0 12px}
.story p{font:600 20px/1.45 var(--condensed);margin:0 0 12px}
.story p a{color:#8c281b}
.story-stats{list-style:none;display:flex;flex-wrap:wrap;gap:10px 26px;margin:6px 0 12px;padding:0}
.story-stats li{font:600 15px/1.1 var(--condensed);text-transform:uppercase;letter-spacing:1px;color:#5a3a1c}
.story-stats b{display:block;font:400 34px/1 var(--marker);color:#1e3a46;letter-spacing:0;text-transform:none}
.story-sign{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.story-sign span{font:400 34px/1 var(--marker);color:#1e3a46;transform:rotate(-4deg)}
.caps{display:flex;gap:14px}
.cap{position:relative;display:grid;place-items:center;width:64px;height:64px;background:url('/assets/img/cap-blue.webp?v=1') center/contain no-repeat;filter:drop-shadow(0 3px 2px #0008);transition:transform .25s}
.cap.x{background-image:url('/assets/img/cap-black.webp?v=1')}
.cap svg{width:26px;height:26px;fill:#f3e6c8;opacity:.92}
.cap:hover,.cap:focus-visible{transform:rotate(-25deg) scale(1.08)}
@media(max-width:640px){
  .home .hero-note,.story{border-width:24px;border-image-width:24px;box-sizing:border-box}.home .hero-note{width:100%;max-width:400px}
  .story{margin-top:36px}.story p{font-size:17px}.story-stats{gap:8px 16px}.story-stats b{font-size:26px}
  .button.cream{border-width:0 26px;border-image-width:0 26px;--bx:26px;min-height:52px}
  .stamp.price{width:270px;height:96px;padding-left:88px}.stamp.price b{font-size:34px}
}
@media(prefers-reduced-motion:reduce){.stamp.price{animation:none}}
/* the polaroids hang off the same painted nail */
.tile:before{top:-12px;width:30px;height:30px;margin-left:-15px;border-radius:0;background:url('/assets/img/nail-1.webp?v=1') center/contain no-repeat;box-shadow:none;filter:drop-shadow(1px 3px 1px #0009)}
.tile:nth-child(2):before{background-image:url('/assets/img/nail-2.webp?v=1')}.tile:nth-child(3):before{background-image:url('/assets/img/nail-sq.webp?v=1');width:26px;height:26px;margin-left:-13px}
.tile:after{display:none}
/* the radio albums strip (rewritten by tools/bands.py between <!--albums--> markers from Radio/stores.json) */
.albums-home{max-width:1100px;margin:0 auto;padding:46px 20px 30px;text-align:center;color:#f7ecd3}
.albums-home h2{font:400 44px/1.05 var(--paint);margin:0 0 8px;color:#ffcf6a;text-shadow:0 3px 0 #0008}
.albums-home p{font-size:18px;margin:0 auto 22px;max-width:640px}
.albums-home .lps{display:flex;justify-content:center;gap:clamp(6px,1.6vw,18px);margin-bottom:22px}
.albums-home .lp{flex:0 1 190px;transform:rotate(var(--r));transition:transform .2s}
.albums-home .lp:hover{transform:rotate(0) translateY(-6px) scale(1.04)}
.albums-home .lp img{display:block;width:100%;height:auto;border-radius:6px;box-shadow:0 10px 22px #000b}
.albums-home .svcs{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px;text-decoration:none}
.albums-home .svc{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;font:700 15px/1 system-ui,sans-serif;color:#fff}
.albums-home .svc.spotify{background:#1db954;color:#06170b}.albums-home .svc.apple{background:#fa2d48}.albums-home .svc.youtube{background:#f00}.albums-home .svc.amazon{background:#25d1da;color:#062a2c}
.albums-home .svc.soon{opacity:.55}
@media (max-width:640px){.albums-home h2{font-size:32px}.albums-home .lps{flex-wrap:wrap}.albums-home .lp{flex-basis:30%}}

/* THE BETA BADGE is the loading screen's Betta (Joe 2026-10-22): FW1's Betta clinging to the rusty BETA plate, hung
   off the Play button's corner - no rope here (Joe 2026-10-23), the plate swings off its top-right bolt hole. */
.button.red .beta-tag.betta{background:none;padding:0;border-radius:0;box-shadow:none;width:80px;height:auto;right:-30px;top:-74px;transform-origin:90% 41%;filter:drop-shadow(0 5px 6px #0008);animation:betta-swing 3.7s ease-in-out 1.2s infinite;pointer-events:none}
@keyframes betta-swing{0%,100%{transform:rotate(4deg)}50%{transform:rotate(-3deg)}}
/* THIS VISITOR'S STORE (site.js sets html[data-os]): a phone gets its store under Play in Browser, a computer gets
   the Steam wishlist. Hidden without JS - the plaques further down still list every store. */
.hero-actions{flex-wrap:wrap}
.hero-store{display:none;width:auto;min-height:56px;padding:6px 22px}
html[data-os=android] .hero-store[data-os=android],html[data-os=ios] .hero-store[data-os=ios],html[data-os=desktop] .hero-store[data-os=desktop]{display:flex}
/* A PHONE GETS THE APP, NOT THE BROWSER (Joe 2026-11-04: a web player gets no push and forgets us; an install
   lasts). On Android/iPhone the store button leads, first, and Play in Browser drops to one small text link. */
.hero-web{display:none}
html[data-os=android] .hero-actions>.button.red.big,html[data-os=ios] .hero-actions>.button.red.big{display:none}
html[data-os=android] .hero-store,html[data-os=ios] .hero-store{order:-1}
/* THE STORE IS THE BIGGEST BUTTON ON EVERY DEVICE (Joe 2026-11-09, crossing out a small dark App Store pill: "the
   biggest call to action is downloading it in your app store"): iPhone -> App Store, Android -> Google Play,
   any computer -> the Steam wishlist. It leads, full red, the size of the old Play button; on a computer Play in
   Browser drops to the cream second button. */
.hero-actions>.hero-store{order:-1;min-height:76px;padding:10px 28px 10px 16px;gap:14px;justify-content:center;color:#fff5de;filter:drop-shadow(0 3px 2px #0006);animation:wobble 3.5s ease-in-out 1.4s infinite}
.hero-actions>.hero-store:before{filter:none}
.hero-actions>.hero-store strong{font:400 28px/1.1 var(--paint,Arial),Arial,sans-serif;letter-spacing:.01em;text-shadow:0 2px 0 #4a1a0d}
.hero-actions>.hero-store .app-ico{flex:none;width:54px;height:54px}
html[data-os=desktop] .hero-actions>.button.red.big{order:0;min-width:0;min-height:62px;padding:0 4px;font-size:23px;color:#2a1a0e;text-shadow:0 1px 0 #fff4d9;background:none;border:0 solid transparent;border-width:0 34px;border-image:url('/assets/img/plank.webp?v=1') 0 120 fill / 0 34px stretch;--bt:0px;--bx:34px}
html[data-os=desktop] .hero-actions>.button.red.big .beta-tag{display:none}
html[data-os=android] .hero-web,html[data-os=ios] .hero-web{display:block;width:100%;order:2;margin-top:2px;font-size:15px;color:#f3e6c8;opacity:.85;text-align:center;text-decoration:underline;text-shadow:0 1px 3px #000c}
/* ...and its plaque in "Take the club with you" gets a marker arrow. NO yellow outline on either (Joe 2026-11-12: "yellow
   border highlighting which you select doesn't fit UI guidelines") - the store button says it by being the biggest red
   plank and wobbling like it's screwed on. */
.platform.pick{position:relative}
.pick-arrow{position:absolute;left:50%;bottom:calc(100% + 6px);width:120px;margin-left:-60px;color:#d8352a;pointer-events:none;text-align:center;animation:pick-nudge 1.1s ease-in-out infinite}
.pick-arrow b{display:block;font:400 21px/1 var(--marker);transform:rotate(-6deg)}
.pick-arrow svg{display:block;width:40px;height:30px;margin:0 auto;fill:none;stroke:currentColor;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;transform:rotate(55deg)}
@keyframes pick-nudge{0%,100%{translate:0 0}50%{translate:0 5px}}
.stores:has(.pick){margin-top:62px}
@media(max-width:640px){
  .button.red .beta-tag.betta{width:72px;right:-8px;top:-59px}
  .hero-store{width:100%;min-height:54px}
  .stores:has(.pick){margin-top:22px}
  .pick-arrow{left:auto;margin:0;right:calc(100% + 2px);bottom:auto;top:-22px;width:64px}
  .pick-arrow b{font-size:17px}.pick-arrow svg{width:46px;transform:none}
  @keyframes pick-nudge{0%,100%{translate:0 0}50%{translate:5px 0}}
}
@media(prefers-reduced-motion:reduce){.beta-tag.betta,.pick-arrow{animation:none}}

/* ---- the store button the OS picks wears the app icon (the neon tile that hung beside the logo retired - Joe crossed
   it out 2026-10-25) */
.app-ico{position:relative;flex:none;width:40px;height:40px}
.app-ico>img:first-child{display:block;width:40px;height:40px;border-radius:9px;box-shadow:0 0 0 2px #ff4fd8,0 0 8px #ff4fd8aa}
.app-ico .platform-logo{display:none}
.hero-actions>.hero-store .app-ico>img:first-child{width:54px;height:54px;border-radius:12px;box-shadow:0 0 0 2px #fff5de,0 2px 6px #0008}
@media(max-width:640px){.home .hero-lantern{display:none}
  .hero-actions>.hero-store{min-height:72px}.hero-actions>.hero-store strong{font-size:25px}}

/* ---- rope, not chain, and a plank with the words BURNED into it (Joe 2026-10-25: "it needs real rope ... more consistent",
   the plank "burned in ... a little bit opaque, improving the border so it stands out ... different funny statements, very
   similar to how we have it in the game"). rope-v.webp is the site's own rope.webp turned upright, cut on whole twists so it
   tiles. The plank's line comes from the game's porch-sign pool (signs.js). */
/* the board is ONE plank of the game kit's sawn wood (tools/plank_board.py): no css box (Joe: "very bad and square"), no
   seams through the words (Joe: "just a regular plank of wood that the text is on"). Lettering stays between its two nails. */
.swing-sign span{position:relative;display:flex;align-items:center;justify-content:center;width:230px;height:86px;padding:9px 45px 8px 26px;
  border:0;background:url('/assets/img/sign-planks.webp?v=20261025b') center/100% 100% no-repeat;box-shadow:0 11px 10px -7px #000a}
/* ONE nail in the header beam, two ropes in a V from it to the plank's nails (Joe 2026-10-25 circled the old two straight
   ropes: they rotated about a point between them, so one top sank into the header and the other dropped out of it, cut).
   The plank swings about the nail itself, so both rope tops stay under its head at every angle. Numbers are geometry:
   pivot = midpoint of the plank's nails (7% / 84% of sign-planks.webp) at --drop above the plank; L = hypot(dx, dy). */
.swing-sign{top:0;right:34px}
.swing-sign span{margin-top:72px;transform-origin:45.5% -72px}
.swing-sign span:before,.swing-sign span:after{content:'';position:absolute;top:-113px;left:10.5px;width:11px;height:117px;right:auto;
  transform-origin:50% 100%;transform:rotate(49.4deg);box-shadow:none;background:url('/assets/img/rope-v.webp?v=1') center bottom/11px auto repeat-y;
  filter:drop-shadow(1px 2px 1px #0008)}
.swing-sign span:after{left:187.5px;transform:rotate(-49.4deg)}
.home header .hang-nail{position:absolute;right:146px;bottom:-16px;width:26px;height:26px;z-index:3;pointer-events:none;
  background:url('/assets/img/nail-1.webp?v=1') center/contain no-repeat;filter:drop-shadow(1px 3px 1px #0009)}
.swing-sign b{display:block;font:400 26px/.94 var(--paint);color:#2b1407;opacity:.92;mix-blend-mode:multiply;white-space:nowrap;
  text-shadow:0 1px 0 #f6dfb055,0 -1px 0 #4a230c;-webkit-text-stroke:.6px #3a1a08;transition:opacity .45s,filter .45s}
.swing-sign b.swap{opacity:0;filter:blur(3px)}
@media(max-width:640px){
  .swing-sign{right:10px}
  .swing-sign span{width:180px;height:68px;padding:7px 34px 6px 22px;margin-top:52px;transform-origin:45.5% -52px}
  .swing-sign span:before,.swing-sign span:after{top:-85px;left:7px;height:89px;transform:rotate(51.1deg)}
  .swing-sign span:after{left:146px;transform:rotate(-51.1deg)}
  .home header .hang-nail{right:97px;width:22px;height:22px;bottom:-14px}
  .swing-sign b{font-size:21px}
}
/* the gameplay loop (Joe 2026-11-12: "showing video loop in bg here and reducing white space.. needs to look more typical and
   the see the game basically plays this same video"). Computer: the game plays in the wall's wooden phone case beside the
   headline. Phone: the loop IS the hero, the note shrinks to its words and the buttons sit on a dark foot. Tap = trailer. */
.hero-vid{position:absolute;z-index:1;right:300px;top:26px;width:236px;aspect-ratio:567/1000;transform:rotate(2deg);filter:drop-shadow(0 14px 16px #000b)}
.hero-vid video{position:absolute;left:13.76%;top:8.5%;width:69.66%;height:74.6%;object-fit:cover;border-radius:6%/3.2%;background:#000}
.hero-case{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.home .hero-lantern{display:none}
.bobber{left:auto;right:96px;bottom:5%}
.home .hero-note{width:fit-content}
@media(max-width:900px){.hero-vid{right:24px;top:110px;width:190px}.swing-sign{display:none}}
@media(max-width:640px){
  .home .hero{min-height:0;padding:300px 14px 18px}
  .hero-vid{inset:0;width:auto;aspect-ratio:auto;transform:none;filter:none;z-index:-2}
  .hero-vid video{inset:0;width:100%;height:100%;border-radius:0;object-position:50% 28%}
  .hero-case,.fireflies,.bobber{display:none}
  .swing-sign{display:block}
  .hero-glow{background:linear-gradient(0deg,#061c29e6 0,#061c2966 34%,transparent 52%)}
  .home .hero-note{width:fit-content;max-width:100%}
  .home .hero-note h1{font-size:40px}.home .hero-note p{font-size:16px}
}
/* the FAKE press strip (tools/press.py; Joe 2026-11-12): a rolling belt of made-up outlets, then made-up festival
   laurels. DEADPAN: it must read real at a glance ("it should really take a second look"), so the lead-in is a plain
   small-caps "AS SEEN IN" and the laurels print in the festival-standard Trajan-style caps (Cinzel, OFL, self-hosted),
   never our paint font. Logos are one cream ink (tools/press_cut.py), the laurel is painted. */
@font-face{font-family:Laurel;src:url('/assets/fonts/cinzel.woff2') format('woff2');font-weight:400 900;font-display:swap}
.press{position:relative;padding:22px 0 18px;text-align:center;color:#f7ecd3;overflow:hidden;border-top:4px solid #241c13;border-bottom:4px solid #241c13;background:linear-gradient(#1b1009d9,#1b1009e6),var(--wood) center/640px}
.press-lead{margin:0 16px 14px;font:600 14px/1 var(--condensed,Arial),Arial,sans-serif;letter-spacing:3.5px;text-transform:uppercase;color:#d9c79f;transition:opacity .35s}
.press-lead.out{opacity:0}
.press-belt{overflow:hidden;-webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.press-track{display:flex;width:max-content;animation:press-roll 48s linear infinite}
.press-track,.press-track>span{align-items:center;gap:54px}
.press-track>span{display:flex;padding-right:54px}
.press-track img{height:52px;width:auto;opacity:.86;filter:drop-shadow(0 2px 1px #0008)}
.press-belt:hover .press-track{animation-play-state:paused}
@keyframes press-roll{to{transform:translateX(-50%)}}
.awards{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;list-style:none;margin:20px auto 0;padding:0 16px;max-width:1200px}
.award{display:flex;flex-direction:column;align-items:center;justify-content:center;width:214px;aspect-ratio:360/235;padding:0 50px 6px;background:url('/assets/img/press/laurel.webp?v=20261112') center/contain no-repeat;line-height:1.05}
.award{font-family:Laurel,'Trajan Pro',Georgia,serif;text-align:center;color:#fffaf0;text-transform:uppercase;text-shadow:0 1px 2px #000a}
.award b{font:700 12px/1.15 Laurel,Georgia,serif;letter-spacing:1.6px}
.award em{font:600 9.5px/1.25 Laurel,Georgia,serif;font-style:normal;letter-spacing:.8px;margin-top:5px;color:#efe3c6}
.award span{font:500 9.5px/1.25 Laurel,Georgia,serif;letter-spacing:.8px;margin-top:5px;color:#efe3c6}
.award small{font:500 9.5px/1 Laurel,Georgia,serif;letter-spacing:2.5px;margin-top:5px;color:#d9c79f}
.press-fine{margin:12px 16px 0;font:400 11px/1.3 Georgia,serif;color:#a8987a;opacity:.7}
@media(max-width:640px){
  .press{padding:18px 0 14px}.press-lead{font-size:12px;letter-spacing:3px;margin-bottom:12px}
  .press-track img{height:40px}.press-track,.press-track>span{gap:38px}.press-track>span{padding-right:38px}
  .awards{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:4px;margin-top:14px}
  .awards::-webkit-scrollbar{display:none}
  .award{flex:0 0 190px;width:190px;padding:0 50px 4px;scroll-snap-align:center}
}
@media(prefers-reduced-motion:reduce){.press-track{animation:none}.press-belt{overflow-x:auto}}

/* Joe 2026-11-12: desktop Play in Browser = the same plank as See the game (two looks in the hero, not three) */
@media(max-width:640px){html[data-os=desktop] .hero-actions>.button.red.big{border-width:0 26px;border-image-width:0 26px;--bx:26px;min-height:52px}}

/* Joe 2026-11-12 (phone hero): the headline plank shrinks to ONE typed line (site.js types the headline + tagline in
   turn) so the gameplay loop shows; the swinging sign drops to ~73% (every rope number scaled by the same k = 132/180,
   so the V geometry and the nail pivot are unchanged). */
@media(max-width:640px){
  .home .hero-note.typer{width:100%;max-width:100%;border-width:16px 18px;border-image-width:16px 18px;padding:0 4px}
  .home .hero-note.typer:before,.home .hero-note.typer:after{width:22px;height:22px;top:-15px}
  .home .hero-note.typer h1{font-size:30px;line-height:1.1;min-height:1.1em;margin:0;white-space:nowrap}
  .home .hero-note.typer p{display:none}
  .type-ink:after{content:'';display:inline-block;width:3px;height:.85em;margin-left:3px;vertical-align:-.08em;background:currentColor;animation:type-caret 1s steps(1) infinite}
  .swing-sign span{width:132px;height:50px;padding:5px 25px 4px 16px;margin-top:38px;transform-origin:45.5% -38px}
  .swing-sign span:before,.swing-sign span:after{top:-62px;left:5px;width:8px;height:65px;background-size:8px auto;transform:rotate(51.1deg)}
  .swing-sign span:after{left:107px;transform:rotate(-51.1deg)}
  .home header .hang-nail{right:73px;width:18px;height:18px;bottom:-12px}
  .swing-sign b{font-size:15px}
}
@keyframes type-caret{50%{opacity:0}}

/* Joe 2026-11-12: phone hero = 3 things max (note + store/Steam + See the game). Play in Browser drops to the small
   "or play in your browser" link on a phone, the same as a real Android/iPhone visit already shows. */
@media(max-width:640px){
  html[data-os=desktop] .hero-actions>.button.red.big{display:none}
  html[data-os=desktop] .hero-web{display:block;width:100%;order:2;margin-top:2px;font-size:15px;color:#f3e6c8;opacity:.85;text-align:center;text-decoration:underline;text-shadow:0 1px 3px #000c}
}
/* the laurels roll the OTHER way under the logos (the hopping frog was cut, Joe 2026-11-16) */
.awards-belt{margin-top:18px}
.awards-belt .awards{display:flex;flex-wrap:nowrap;gap:10px;margin:0;padding:0 10px 0 0;max-width:none;overflow:visible;justify-content:flex-start}
.awards-belt .award{flex:0 0 214px}
.press-track.rev{gap:0;animation:press-roll 60s linear infinite reverse}
.awards-belt:hover .press-track{animation-play-state:paused}
@media(max-width:640px){.awards-belt{margin-top:14px}.awards-belt .awards{gap:4px;padding-right:4px}.awards-belt .award{flex:0 0 190px;scroll-snap-align:none}}
@media(prefers-reduced-motion:reduce){.press-track.rev{animation:none}}

/* Joe 2026-11-12 (phone hero, round 3): the logo's hang-down buried the game's HUD at the top of the loop, and the loop was
   cropped to fit a short hero. Now the loop shows WHOLE (9:16, full width) starting below the logo's overhang, the hero
   takes the screen's height to hold it, and the typed note is a small slip (~60% wide), not a full-width plank. */
@media(max-width:640px){
  .home .hero{display:flex;flex-direction:column;justify-content:flex-end;padding:0 14px 18px;min-height:calc(var(--vtop) + 100vw * 16 / 9);--vtop:28px;background:#0a1a20}
  .hero-vid{inset:var(--vtop) 0 auto;height:calc(100vw * 16 / 9)}
  .hero-vid video{object-position:50% 0}
  .home .hero-bg{display:none}
  .home .hero-note.typer{width:62%;max-width:62%;border-width:12px 14px;border-image-width:12px 14px;transform:rotate(-2deg)}
  .home .hero-note.typer h1{font-size:23px}
  .home .hero-note.typer:before,.home .hero-note.typer:after{width:18px;height:18px;top:-12px}
}
/* Joe 2026-11-16 ("the Free on Steam button should expand when you hover"): the plank's endless wobble owns `transform`,
   so the shared hover scale never showed. `scale`/`translate` are separate properties and stack on top of the wobble. */
.hero-actions>.hero-store{transition:scale .18s ease,translate .18s ease}
.hero-actions>.hero-store:hover,.hero-actions>.hero-store:focus-visible{scale:1.1;translate:0 -3px}
@media(prefers-reduced-motion:reduce){.hero-actions>.hero-store:hover,.hero-actions>.hero-store:focus-visible{scale:1.04;translate:none}}

/* the REVIEWS strip under the laurels (tools/reviews.py, Joe 2026-11-16): parody five-star papers dealt off the kit deck,
   then the one real one-star as Steam's own page, his Call of Duty review as the reply, and a wall influencer's answer. */
.reviews{padding:34px 20px 26px;text-align:center;background:linear-gradient(#0b1f27e6,#0b1f27f2),var(--wood) center/640px;color:#f7ecd3;border-top:3px solid #241c13}
.rv-h{font:400 42px/1.05 var(--paint);color:#ffcf6a;text-shadow:0 3px 0 #0008;margin:0 0 20px}
.rv-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;max-width:1080px;margin:0 auto;text-align:left}
.rv-row .k-card{margin:0}
.rv-who{display:flex;align-items:center;gap:12px;margin:0 0 8px}
.rv-face{flex:none;width:56px;height:56px;object-fit:cover;border-radius:50%;border:3px solid #6a4a22;box-shadow:0 2px 0 #0005;transform:rotate(-4deg)}
.rv-card:nth-child(even) .rv-face{transform:rotate(3deg)}
.rv-st{display:flex;gap:2px;margin:0 0 3px}
.rv-st img{width:22px;height:auto;filter:drop-shadow(0 1px 0 #0006)}
.rv-name{font:700 15px/1.1 var(--hand);color:#5a3d1c}
.rv-nm{text-decoration:none}.rv-nm:hover .rv-name{text-decoration:underline}
.rv-at{color:#2c6aa0;font-weight:700;text-decoration:none}.rv-at:hover{text-decoration:underline}
.rv-row .k-card p{font-size:21px}
.rv-one{max-width:760px;margin:34px auto 0}
.rv-one .k-strip{transform:rotate(-2deg)}
.rv-lead{font:400 20px/1.3 var(--hand);margin:8px 0 12px}
.rv-shot{display:block;border:3px solid #3d4a5c;border-radius:6px;overflow:hidden;box-shadow:0 8px 20px #000b;transition:transform .15s}
.rv-shot:hover{transform:translateY(-2px)}
.rv-shot img{display:block;width:100%;height:auto}
.rv-reply{position:relative;margin:14px 0 0 64px;text-align:left}
.rv-reply:before{content:'';position:absolute;left:-40px;top:-6px;width:26px;height:34px;border-left:3px solid #c9a46a;border-bottom:3px solid #c9a46a;border-radius:0 0 0 12px}
.rv-tag{font:400 18px/1.2 var(--hand);margin:0 0 6px;color:#efe3c6}
.rv-infl{display:flex;gap:10px;align-items:flex-start;background:#fff;color:#111;border-radius:16px;padding:10px 14px;box-shadow:0 6px 16px #0009;font:15px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif}
.rv-infl:before{top:-18px}
.rv-av img{display:block;width:44px;height:44px;border-radius:50%;object-fit:cover}
.rv-infl p{margin:0}
.rv-infl b{display:inline-flex;align-items:center;gap:4px;margin-right:6px;color:#111}
.rv-infl a{color:#111;text-decoration:none}
.rv-infl .sc-ai{margin-left:6px;font-size:11px;color:#8a7a5c}
.reviews .press-fine{margin-top:18px}
@media(max-width:900px){.rv-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.reviews{padding:26px 12px 20px}.rv-h{font-size:32px}.rv-row{grid-template-columns:1fr;gap:12px}.rv-row .k-card:nth-child(n+5){display:none}
  .rv-reply{margin-left:34px}.rv-reply:before{left:-26px;width:18px}}
.rv-row>.k-card:nth-child(odd){padding:30px 42px 30px 40px}
/* WORDS NEVER WEAR A filter (site.css, same block): the note paper's shadow is a soft box-shadow tucked under the torn
   edge; the price tag + store plate shadows ride a layer under their words. */
.home .hero-note,.story{filter:none;box-shadow:0 14px 16px -12px #1a0c05d0}
.stamp.price{filter:none;isolation:isolate;position:relative}
.stamp.price:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:inherit;filter:drop-shadow(0 5px 4px #000a)}
.hero-actions>.hero-store{filter:none}
.hero-actions>.hero-store:before{filter:drop-shadow(0 3px 2px #0006)}
