:root{--ox:#4b071d;--burg:#290711;--plum:#160817;--black:#070508;--ivory:#f5e6c6;--gold:#d1aa5a;--gold2:#a77b35;--ink:#28151b}
*{box-sizing:border-box}html,body{margin:0;background:#050406;color:var(--ivory);font-family:Georgia,'Times New Roman',serif;min-height:100%;-webkit-tap-highlight-color:transparent}button{cursor:pointer}.shell{max-width:520px;margin:auto;min-height:100vh;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 4%,#62102d 0,#330a1b 26%,transparent 49%),radial-gradient(circle at 100% 55%,#35102f 0,transparent 38%),linear-gradient(180deg,#280812,#150814 52%,#09060b);box-shadow:0 0 80px #000}.shell:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0008,transparent 18%,transparent 82%,#0008),radial-gradient(ellipse at center,transparent 45%,#0008 100%)}.screen{position:relative;z-index:2;padding:26px 22px 42px;min-height:100vh}.center{text-align:center}.ornament{text-align:center;color:var(--gold);margin:8px}.welcome .screen,.finale .screen{padding:0}.hero{display:flex;min-height:100vh;align-items:flex-end;text-align:center}.heroPhoto{position:absolute;inset:0;background:url('assets/night-house.jpg') center/cover no-repeat;filter:saturate(.62) contrast(1.08) brightness(.68)}.heroShade{position:absolute;inset:0;background:linear-gradient(180deg,#09040a55 0,#19051077 30%,#250713d9 64%,#09050aed 100%),radial-gradient(circle at 50% 45%,transparent,#050306aa 82%)}.heroContent{position:relative;z-index:3;width:100%;padding:42px 24px 38px}.eyebrow,.date,.sub,.progress{letter-spacing:.19em;text-transform:uppercase}.eyebrow{font-size:.72rem;color:var(--gold)}.names{font-size:2.65rem;line-height:1.05;margin:11px 0 0;text-shadow:0 3px 18px #000}.script{font-size:1.48rem;font-style:italic;color:var(--gold);margin:4px 0 16px}.logo{width:min(64%,270px);display:block;margin:16px auto;filter:drop-shadow(0 10px 24px #000c);opacity:.94}.logo.small{width:min(55%,230px)}.date{font-size:.78rem;color:#ecd7a9;margin:18px 0}.tagline{font-size:1.08rem;line-height:1.55;font-style:italic;color:#f2dfbb;text-shadow:0 2px 10px #000}.btn{width:100%;border:1px solid #d9b96f;background:linear-gradient(180deg,#781238,#4c0924 58%,#310716);color:#fff0d1;padding:16px 18px;border-radius:12px;font:700 .96rem Georgia;letter-spacing:.08em;box-shadow:inset 0 1px #fff4,0 9px 26px #000b;margin-top:20px}.btn:active{transform:translateY(1px)}.install{border:0;background:transparent;color:#d9bf8a;margin-top:15px;font:italic .86rem Georgia;text-decoration:underline;text-underline-offset:4px}.ios{font-size:.82rem;color:#d9bf8a;margin:14px auto 0;max-width:270px}.ios p{line-height:1.45}.card{background:linear-gradient(145deg,#fffaf0,#ecddc0);color:var(--ink);border:1px solid #d0aa60;border-radius:14px;padding:20px;box-shadow:0 14px 35px #000a,inset 0 0 0 1px #fff9;margin-top:16px}.card h2{font-size:1.35rem;line-height:1.35;color:#481129}.card p{line-height:1.62;margin:.2rem 0}.rules{padding:0;list-style:none}.rules li{display:flex;gap:12px;margin:15px 0;line-height:1.38}.rules li>span:first-child{font-size:1.25rem}.notice{border:1px solid #ad874a;background:#36101e;padding:12px;border-radius:9px;color:#f2dbaf;font-size:.9rem;line-height:1.45}.top{display:flex;justify-content:space-between;align-items:center;color:#d8bd88;border-bottom:1px solid #d1aa5a44;padding-bottom:12px}.progress{font-size:.7rem;color:var(--gold)}.menuMark{font-size:.7rem;color:var(--gold)}.chapter{font-size:4.8rem;line-height:.8;color:#7b204344;position:absolute;right:16px;top:62px;font-style:italic}h1{font-weight:500;font-size:2.12rem;line-height:1.04;margin:27px 0 8px;color:#f5dfb7;text-shadow:0 2px 13px #000}.sub{font-size:.72rem;color:var(--gold)}.location{font-size:.83rem;color:#ccb27c;margin:9px 0 14px}.photoWrap{position:relative;margin:16px -4px 5px}.photoWrap:after{content:'';position:absolute;inset:0;border-radius:12px;box-shadow:inset 0 0 42px #0008;pointer-events:none}.photo{width:100%;display:block;border-radius:12px;max-height:330px;object-fit:cover;border:1px solid #b9914b;filter:saturate(.8) contrast(1.04);box-shadow:0 12px 28px #000b}.portrait{object-position:center center;max-height:410px;filter:sepia(.18) saturate(.75) contrast(1.05)}.caption{text-align:center;font-size:.76rem;font-style:italic;color:#d1b986;margin:7px}.quote{border-left:3px solid var(--gold2);padding-left:13px;font-style:italic}.choices button{display:block;width:100%;margin:9px 0;padding:13px;border-radius:9px;border:1px solid #c79c52;background:#4c0924;color:#fff1d1;font:1rem Georgia}.path{text-align:center;margin:22px -4px 8px;padding:62px 20px;border:1px solid #70562f;border-radius:13px;background:radial-gradient(circle at 50% 38%,#8b5b1c2e 0,transparent 24%),linear-gradient(#090609,#030304);box-shadow:inset 0 0 65px #000,0 14px 30px #000}.path .lantern{font-size:3.3rem;color:#d5a752;text-shadow:0 0 12px #d79531,0 0 30px #b7651b}.path h2{color:#ead4a5;font-size:1.45rem}.path p{color:#bda987;line-height:1.7}.darkShell{background:linear-gradient(180deg,#0b070c,#050406 55%,#020203)}.darkShell:after{background:radial-gradient(circle at 50% 35%,transparent 20%,#000 90%)}.darkShell h1{color:#ead7b2}.darkCard{background:#0b080b;color:#d8c6a4;border-color:#574629;box-shadow:0 10px 30px #000}.darkIntro{text-align:center;color:#bca681;font-style:italic;font-size:.88rem;padding:13px 18px;border-top:1px solid #6f5832;border-bottom:1px solid #6f5832;margin:18px 0}.gravegrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gravegrid figure{margin:0}.gravegrid img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:9px;border:1px solid #7b6237;filter:brightness(.72) saturate(.55);box-shadow:0 8px 22px #000}.gravegrid figcaption{text-align:center;font-size:.72rem;color:#ad9872;margin-top:5px}.tiny{font-size:.75rem;color:#bba584;margin-top:21px;line-height:1.55}.divider{height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);margin:20px 0}.finale .heroPhoto{filter:saturate(.55) brightness(.55)}.nightmode{background:#000}@media(max-width:380px){.screen{padding-left:17px;padding-right:17px}.names{font-size:2.25rem}h1{font-size:1.9rem}}

.buildVersion{margin-top:10px;font:400 .58rem/1.2 Arial,sans-serif;letter-spacing:.08em;color:#d9bf8a;opacity:.42;text-align:center;user-select:none}
.modeCards{display:grid;gap:12px;margin:24px 0 8px}.modeCards button{background:#120910dc;border:1px solid #b38b49;border-radius:13px;padding:17px;color:#f5e6c6;font-family:Georgia;text-align:left;box-shadow:0 10px 25px #0009}.modeCards b{display:block;color:#d1aa5a;letter-spacing:.16em;font-size:.7rem}.modeCards span{display:block;font-size:1.28rem;margin:4px 0}.modeCards small{color:#c7b18a}.gps{width:100%;margin:12px 0 4px;padding:10px 12px;border:1px solid #80663b;border-radius:9px;background:#0c090c;color:#d8c29a;font:700 .8rem Georgia;text-align:center}.gps.near{border-color:#d1aa5a;box-shadow:0 0 18px #d1aa5a33}.gps small{opacity:.65;margin-left:6px}.manual{display:block;margin:14px auto 0;border:0;background:transparent;color:#bfa77b;text-decoration:underline;text-underline-offset:4px;font:italic .82rem Georgia}.ff{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:18px 0 0}.ff button{border:1px solid #695432;background:#0a070a;color:#aa9672;padding:11px 4px;font:700 .65rem Georgia;letter-spacing:.08em}.ff button.active{background:#5a0c29;color:#f4dfb7;border-color:#c9a456}.decision{margin-top:14px;padding:16px;border:1px solid #5f4a2d;border-radius:12px;background:#0a070ad9}.decision p{line-height:1.45}.darkEyebrow{margin-top:24px}.choices button.picked{outline:2px solid #e1bd70;outline-offset:2px}.buildVersion{opacity:.7}
/* v6 production additions */
.storyEvidence{margin:14px 0;padding:14px;border:1px solid rgba(201,163,88,.35);background:rgba(255,255,255,.035);border-radius:14px}.storyEvidence .label{font-size:.72rem;letter-spacing:.16em;color:#d6b66b;font-weight:800}.quoteBig{font-family:Georgia,serif;font-size:1.25rem;line-height:1.45;color:#f4e7c4;margin:10px 0}.audioRow{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.audioRow button{border:1px solid rgba(214,182,107,.45);background:#261229;color:#f3e4be;border-radius:999px;padding:10px 13px}.optional{margin:18px 0;padding:16px;border:1px dashed rgba(214,182,107,.5);border-radius:16px;background:rgba(93,24,53,.22)}
.btsIntro{text-align:center;margin:14px 0 18px}.btsIntro h2{margin-bottom:6px}.btsCount{font-size:.8rem;color:#d6b66b;letter-spacing:.08em}.personGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.personCard{border:1px solid rgba(214,182,107,.35);background:#211124;border-radius:14px;padding:0;overflow:hidden;color:#f6ecd5;text-align:left}.personCard img{width:100%;height:125px;object-fit:cover;display:block;filter:brightness(.82)}.personCard span{display:block;padding:10px 11px}.personCard b{display:block;font-family:Georgia,serif}.personCard small{color:#c8b88f}.btsStage{position:relative;height:360px;border-radius:18px;overflow:hidden;background:#0b0710;border:1px solid rgba(214,182,107,.4);margin:14px 0}.btsStage .portraitLayer,.btsStage .graveLayer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.btsStage .portraitLayer{opacity:0;transition:opacity 1.6s ease;filter:sepia(.18) contrast(1.04)}.btsStage.revealed .portraitLayer{opacity:.78}.btsStage .graveLayer{object-fit:contain;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.7));transition:transform 1.6s ease,opacity 1.6s ease}.btsStage.revealed .graveLayer{transform:translateY(105px) scale(.72);opacity:.88}.btsName{text-align:center}.btsName h2{margin:8px 0 2px}.btsStory{margin-top:14px}.backPeople{width:100%;margin-top:10px}.sourceNote{font-size:.72rem;color:#9f927c;margin-top:12px}.letterCard{background:#efe3c8;color:#2b211d;border-radius:12px;padding:15px;font-family:Georgia,serif;line-height:1.45;transform:rotate(-.3deg);box-shadow:0 8px 30px rgba(0,0,0,.28)}.choicePrompt{font-weight:700;color:#f1ddb0}.silence{letter-spacing:.16em;font-size:.72rem;color:#d6b66b;text-align:center;margin-top:10px}.liveBadge{display:inline-block;border:1px solid rgba(214,182,107,.45);border-radius:999px;padding:5px 9px;font-size:.65rem;letter-spacing:.14em;color:#d6b66b;margin-bottom:8px}

/* v6.1 — production photo alignment fix. Preserve full archival images; never crop faces. */
.photo.portrait{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center top;
  background:#09070a;
}
/* Behind the Stone: both source images stay geometrically intact. */
.btsStage{
  height:min(72vh,560px);
  min-height:420px;
  background:#070609;
}
.btsStage .portraitLayer{
  object-fit:contain;
  object-position:center top;
  background:#070609;
  padding:0;
}
.btsStage .graveLayer{
  object-fit:contain;
  object-position:center center;
  background:#070609;
  padding:12px;
}
/* On reveal, make the person the primary image and move the stone to a clear inset,
   rather than placing a large gravestone over the person's torso. */
.btsStage.revealed .portraitLayer{opacity:1}
.btsStage.revealed .graveLayer{
  width:34%;
  height:34%;
  inset:auto 14px 14px auto;
  transform:none;
  opacity:1;
  object-fit:contain;
  object-position:center;
  padding:5px;
  background:#0a080be8;
  border:1px solid rgba(214,182,107,.65);
  border-radius:10px;
  box-shadow:0 8px 24px #000c;
}
.personCard img{
  object-position:center center;
}
/* v6.2 show engine */
button{font:inherit}.icon{background:none;border:0;color:#e7c78d;font-size:22px}.arrival{position:relative;border-radius:20px;overflow:hidden;margin:14px 0 18px;min-height:430px;background:#08050a}.arrival>img{width:100%;height:430px;object-fit:cover}.arrivalShade{position:absolute;inset:0;background:linear-gradient(transparent 30%,rgba(7,3,9,.92))}.arrivalWords{position:absolute;left:20px;right:20px;bottom:18px}.arrivalWords p{font-size:20px;line-height:1.3;color:#fff}.stage{margin:18px 0}.hint,.minimal{color:#cdbfc9;font-size:14px;line-height:1.5}.controls{display:flex;gap:8px;margin:10px 0}.controls button{flex:1;padding:11px;border:1px solid #694f64;background:#1d101f;color:#eadbc7;border-radius:12px}.cinema,.letter,.remedy{position:relative;overflow:hidden;min-height:500px;border:1px solid #594057;border-radius:22px;background:radial-gradient(circle at 50% 25%,#392235,#0b070c 72%);padding:18px;text-align:center}.wide{width:100%;height:320px;object-fit:cover;border-radius:15px}.portraitMain{max-width:100%;max-height:340px;object-fit:contain;border-radius:14px}.dim{filter:brightness(.45)}.bigDate{font-family:Georgia,serif;font-size:28px;font-weight:700;color:#f1d49a;margin:16px 0 7px}.captionLine{font-size:12px;letter-spacing:2px;color:#e8d9c3;margin:8px 0 16px}.action{border:1px solid #b58b52;background:#32172b;color:#f5dfb0;padding:14px 16px;border-radius:14px;font-weight:800;letter-spacing:.5px}.danger{background:#451515}.bigQuote{font-family:Georgia,serif;color:#f5e4c1;font-size:34px;line-height:1.1;margin:70px 5px 20px}.smallQuote{font-size:25px}.cargo,.evidence,.timeline{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:14px 0}.cargo span,.evidence b,.timeline span{border:1px solid #795d6f;background:#160d16;padding:8px 10px;border-radius:20px;font-size:11px;letter-spacing:1px}.ingredients{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ingredients button{padding:16px 6px;border:1px solid #72526a;background:#241321;color:#eee;border-radius:12px}.ingredients button.used{background:#684927}.pot{font-size:80px;margin:25px}.revealText{font-family:Georgia,serif;font-size:24px;color:#f0d399}.portraitMorph{height:360px;position:relative}.portraitMorph img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.portraitMorph #dead{opacity:0;transition:opacity .08s linear}.yearSlider{width:100%;accent-color:#c59a5c}.yearRead{font-family:Georgia,serif;font-size:40px;color:#f0d399}.war{background:radial-gradient(circle at 50% 20%,#3b413d,#111214 70%)}.plane{font-size:90px;animation:fly 3s linear infinite}@keyframes fly{from{transform:translateX(-160px) rotate(-10deg)}to{transform:translateX(160px) rotate(10deg)}}.ghost{max-width:82%;max-height:330px;object-fit:contain;filter:sepia(.5) contrast(1.1);opacity:.75;mix-blend-mode:screen}.pulse{animation:pulse 2.2s infinite}@keyframes pulse{50%{opacity:.3;filter:sepia(1) blur(2px)}}.scan:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 4px,rgba(255,255,255,.04) 5px);pointer-events:none}.candles{display:flex;justify-content:center;gap:12px;margin:18px}.candles button{font-size:30px;background:#21121d;border:1px solid #6e5265;color:#5b4a52;border-radius:50%;width:52px;height:52px}.candles .lit{color:#ffd56b;box-shadow:0 0 24px #d59b45}.letter{background:linear-gradient(135deg,#3b2b20,#17100d);padding-top:70px}.street{background:linear-gradient(#11141a,#211b1a)}.trolleyShape{font-size:150px;color:#b69362;margin-top:80px;animation:approach 2.8s infinite}@keyframes approach{from{transform:scale(.25);opacity:.25}to{transform:scale(1.2);opacity:1}}.headline{font-family:Georgia,serif;font-size:34px;color:#f3d49c;margin:50px 0}.walk b{display:block;font-size:86px;color:#f0d399}.walk span{letter-spacing:2px}.cemetery{background:#020304}.glow{font-size:160px;color:#b8ff70;text-shadow:0 0 16px #8cff46,0 0 40px #66d637}.peopleGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.peopleGrid button{background:#160d16;border:1px solid #5f4659;color:#eee;border-radius:14px;padding:8px}.peopleGrid img{width:100%;height:150px;object-fit:cover;border-radius:9px}.peopleGrid span{display:block;padding:8px 3px}.peopleGrid .met{border-color:#c49b5e}.meetStage{margin-top:18px}.revealPair{height:390px;position:relative}.revealPair img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .8s}.revealPair .face{opacity:0}.revealPair.revealed .stone{opacity:0}.revealPair.revealed .face{opacity:1}.showHero{min-height:80vh;display:flex;flex-direction:column;justify-content:center;text-align:center}.showHero small{margin-top:30px;color:#806f79}.next{margin-top:14px}.primary{font-size:17px}
/* v6.3 story-flow preview */
.autoShot{transition:opacity .45s ease,filter .45s ease}.autoShot.fade{opacity:.08;filter:blur(3px)}.autoDots{font-size:10px;letter-spacing:9px;color:#a98254;margin-top:14px}.storyWords{margin:18px auto 0;max-width:90%;font-size:19px;line-height:1.45;color:#f0dfbf}.storyWords span{font-size:13px;letter-spacing:.06em}.storyWords strong{display:inline-block;color:#f3d49c;margin:3px}.shedScene>.wide{height:245px;filter:brightness(.58)}.ghostPair{display:flex;align-items:flex-end;justify-content:center;gap:8px;margin:-82px auto 8px;position:relative;z-index:2}.ghostPair>div{width:43%;position:relative}.ghostPair img{width:100%;height:220px;object-fit:contain;filter:grayscale(1) sepia(.25) brightness(1.18) contrast(1.05);opacity:.64;mix-blend-mode:screen;mask-image:linear-gradient(to bottom,#000 65%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 65%,transparent 100%);animation:ghostDrift 4s ease-in-out infinite alternate}.ghostPair div:nth-child(2) img{animation-delay:-2s}.ghostPair b{display:block;font-size:10px;letter-spacing:.18em;color:#d7b774}@keyframes ghostDrift{to{transform:translateY(-5px);opacity:.78}}.stoneStrip{display:flex;gap:5px;overflow-x:auto;padding:7px 0 2px}.stoneStrip img{height:125px;width:78px;object-fit:contain;background:#09070a;border:1px solid #564453;border-radius:7px}.autoMorph #dead{transition:opacity .12s linear}.autoProgress{height:4px;background:#2b1d28;border-radius:4px;overflow:hidden}.autoProgress i{display:block;width:0;height:100%;background:#d1aa5a}.hidden{display:none!important}#hughShot{height:270px;object-fit:contain;background:#08090a}.war .evidence b{animation:evidenceIn .5s ease both}@keyframes evidenceIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* v6.4 location-story preview */
.panoFrame{height:320px;overflow:hidden;border-radius:15px;background:#050405}.pano{width:150%;height:320px;object-fit:cover;object-position:50% 50%;margin-left:-25%;animation:panoBreathe 12s ease-in-out infinite alternate}@keyframes panoBreathe{to{transform:translateX(-2%)}}
.realShed{padding:0 0 18px;min-height:610px}.shedBg{width:100%;height:430px;object-fit:cover;object-position:center top;filter:brightness(.58)}.ghostsInShed{position:absolute;left:15%;right:15%;top:90px;height:300px;display:flex;align-items:flex-end;justify-content:center;gap:2%;transition:opacity 2s}.ghostsInShed img{width:47%;height:290px;object-fit:contain;object-position:center bottom;opacity:.48;filter:grayscale(1) sepia(.18) brightness(1.15);mix-blend-mode:screen;animation:ghostStand 4s ease-in-out infinite alternate}.ghostsInShed img.ghostTalk{opacity:.72;animation:ghostSpeak .9s ease-in-out infinite alternate}.ghostsInShed.vanish{opacity:0}.shedWords{position:relative;z-index:4;margin:18px 14px 8px;text-shadow:0 2px 8px #000}@keyframes ghostStand{to{transform:translateY(-3px)}}@keyframes ghostSpeak{to{transform:translateY(-2px) scale(1.006);filter:grayscale(1) sepia(.12) brightness(1.28)}}
.houseGhostScene{padding:0;min-height:560px}.houseGhostBg{width:100%;height:470px;object-fit:cover;filter:brightness(.62)}.braddishGhost{position:absolute;left:31%;bottom:82px;width:38%;height:360px;object-fit:contain;object-position:center bottom;opacity:.60;filter:sepia(.5) grayscale(.35) brightness(1.15);mix-blend-mode:screen;transition:opacity 3.2s,filter 3.2s;z-index:2}.talkingGhost{animation:braddishSpeak 1s ease-in-out infinite alternate}@keyframes braddishSpeak{to{transform:translateY(-2px) scale(1.004);opacity:.70}}.fadeGhost{opacity:0;filter:sepia(1) grayscale(1) blur(2px)}.braddishDead{position:absolute;left:15%;right:15%;top:55px;width:70%;height:350px;object-fit:contain;opacity:0;filter:sepia(.4);transition:opacity 3.5s;z-index:3}.braddishDead.showDead{opacity:1}.houseCaption{position:absolute;left:12px;right:12px;bottom:18px;z-index:5;background:rgba(5,3,6,.72);padding:10px;border-radius:10px}.houseCaption strong{color:#f3d49c;font-size:16px}.dimGate{filter:brightness(.42);margin-top:18px}.cemeteryArrival{filter:brightness(.48)}
/* v6.5 pacing, centering, old-stone focus and one-tap cemetery reveal */
.storyPhotoFrame{height:340px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:15px;background:#080609}.storyPhotoFrame .storyPhoto,#autoShot.storyPhoto{width:100%;height:340px;object-fit:contain;object-position:center center;margin:0;animation:none;background:#080609}.panoFrame #autoShot.storyPhoto{width:100%;height:320px;object-fit:contain;object-position:center center;margin:0;animation:none}
.realShed{min-height:680px}.shedBg{height:500px;object-fit:cover;object-position:center center}.ghostsInShed{left:3%;right:3%;top:55px;height:420px;gap:0}.ghostsInShed img{width:50%;height:415px;object-fit:contain;object-position:center bottom;opacity:.54}.ghostsInShed img.ghostTalk{opacity:.78}.shedWords{margin:20px 16px 10px}.stoneStrip{display:none!important}
#hughShot{height:320px;object-fit:contain!important;object-position:center center!important}.war .evidence{margin-top:18px}
.houseGhostScene .braddishGhost{transition:opacity 4s,filter 4s}
.street #peterShot[src*="peter"]{object-fit:contain!important;object-position:center top!important;background:#09070a}
.personOverlay{position:fixed;inset:0;z-index:9999;background:rgba(2,1,3,.94);display:flex;align-items:center;justify-content:center;padding:18px}.personPopup{position:relative;width:min(94vw,520px);max-height:92vh;overflow:auto;border:1px solid #8a684e;border-radius:20px;background:radial-gradient(circle at 50% 15%,#382532,#0b070c 72%);padding:18px;text-align:center;box-shadow:0 20px 70px #000}.personPopup img{display:block;width:100%;height:min(64vh,560px);object-fit:contain;object-position:center center;border-radius:14px;background:#09070a}.closePerson{position:absolute;right:10px;top:10px;z-index:2;width:44px;height:44px;border-radius:50%;border:1px solid #b58b52;background:#160d16;color:#f4ddb1;font-size:28px}.cemeteryHint{text-align:center;margin-top:14px}

/* v6.6 larger staged shed ghosts + larger Braddish */
.ghostsInShed{left:-22%;right:-22%;top:-40px;height:610px;gap:0;overflow:visible}
.ghostsInShed img{width:72%;height:600px;object-fit:contain;object-position:center bottom;transition:opacity 2s ease,transform 2s ease;margin:0 -9%}
.ghostsInShed img.ghostTalk{opacity:.80}
.ghostsInShed img.ghostHidden{opacity:0!important;transform:translateY(8px) scale(.97)}
.houseGhostScene .braddishGhost{left:25.3%;width:49.4%;height:468px;bottom:70px}

/* v6.7 spectral staging refinements */
.realShed{isolation:isolate}
.ghostMist{position:absolute;left:-8%;right:-8%;bottom:105px;height:260px;z-index:1;pointer-events:none;opacity:.30;background:radial-gradient(ellipse at 30% 72%,rgba(235,239,232,.32),transparent 43%),radial-gradient(ellipse at 72% 62%,rgba(222,229,225,.25),transparent 46%);filter:blur(15px);animation:shedMist 7s ease-in-out infinite alternate}
@keyframes shedMist{from{transform:translateX(-4%) scale(.96);opacity:.18}to{transform:translateX(4%) scale(1.06);opacity:.38}}
.realShed.smokePuff:after{content:'';position:absolute;z-index:3;left:8%;right:8%;top:105px;height:390px;pointer-events:none;background:radial-gradient(ellipse at 50% 58%,rgba(245,245,238,.58) 0%,rgba(215,221,218,.27) 28%,rgba(180,187,185,.10) 48%,transparent 70%);filter:blur(13px);animation:ghostPuff 2.8s ease-out forwards}
@keyframes ghostPuff{0%{opacity:0;transform:scale(.55)}25%{opacity:.8}100%{opacity:0;transform:scale(1.55) translateY(-25px)}}
.houseGhostScene .braddishGhost{left:20%;}
#hughShot{object-fit:contain!important;object-position:50% 50%!important}
/* v6.9 story timing + stone reveal + children spirits */
.stoneStage{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;background:rgba(4,3,5,.93);overflow:hidden}.stoneHero{display:block;max-width:94%;max-height:92%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 12px 28px #000);transform-origin:center}.stoneEnter{animation:stoneArrive .9s ease-out both}.stoneDrop{animation:stoneDrop 1.1s cubic-bezier(.5,.02,.95,.55) forwards}@keyframes stoneArrive{from{opacity:0;transform:translateY(-24px) scale(.96)}to{opacity:1;transform:none}}@keyframes stoneDrop{to{opacity:0;transform:translateY(115%) rotate(2deg) scale(.96)}}
.braddishMaterialize{opacity:0!important;transition:opacity 8s ease-in,filter 4s ease!important}.braddishMaterialize.ghostVisible{opacity:.66!important}.braddishMaterialize.ghostVisible.fadeGhost{opacity:0!important}.houseGhostScene .braddishGhost{left:20%;}
.childSpiritScene{padding:0 12px 20px}.childTree{height:390px;filter:brightness(.52)}.spiritField{position:absolute;left:0;right:0;top:0;height:390px;overflow:hidden;pointer-events:none}.childSpirit{position:absolute;width:24px;height:62px;border-radius:50% 50% 44% 44%;background:radial-gradient(ellipse at 50% 28%,rgba(250,248,231,.86),rgba(216,229,224,.34) 38%,rgba(188,205,202,.08) 68%,transparent 72%);filter:blur(2px);opacity:.48;box-shadow:0 0 20px rgba(226,238,231,.32);animation:spiritFly 9s ease-in-out infinite alternate}.childSpirit:after{content:'';position:absolute;left:4px;right:4px;bottom:-18px;height:35px;background:linear-gradient(rgba(216,229,224,.22),transparent);filter:blur(5px)}.s1{left:8%;top:55%;animation-duration:8s}.s2{left:24%;top:26%;animation-duration:11s;animation-delay:-4s}.s3{left:42%;top:62%;animation-duration:9s;animation-delay:-2s}.s4{left:61%;top:34%;animation-duration:12s;animation-delay:-6s}.s5{left:77%;top:58%;animation-duration:10s;animation-delay:-3s}.s6{left:88%;top:18%;animation-duration:13s;animation-delay:-7s}@keyframes spiritFly{0%{transform:translate(-18px,20px) scale(.72);opacity:.18}35%{opacity:.58}70%{transform:translate(24px,-36px) scale(1.08);opacity:.42}100%{transform:translate(-12px,-78px) scale(.8);opacity:.16}}.childSpirit.remembered{animation-play-state:paused!important;opacity:.92!important;filter:blur(.7px);box-shadow:0 0 28px rgba(245,239,210,.72),0 0 60px rgba(226,238,231,.4);transform:scale(1.12)}.childButtons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 6px}.childButtons button{padding:12px 8px;border:1px solid #6e5265;background:#21121d;color:#e8d9c3;border-radius:12px;font-weight:700;letter-spacing:.05em}.childButtons button.lit{border-color:#d0aa62;color:#f4dca9;box-shadow:0 0 18px rgba(208,170,98,.24)}
/* v6.10 Stop 3 voiced apparition test */
.ghostsInShed img.ghostHidden{opacity:0!important;transform:translateY(10px) scale(.975)!important}
.ghostsInShed img.ghostDissolve{transition:opacity 3.2s ease,transform 3.2s ease,filter 2s ease;opacity:.54;transform:none}
.ghostsInShed img.ghostRest{opacity:.38;filter:grayscale(1) sepia(.18) brightness(.95) blur(.3px)}
.stoneVoice{position:absolute;left:12px;right:12px;bottom:14px;padding:10px 12px;background:rgba(5,3,7,.72);border:1px solid rgba(209,170,90,.35);border-radius:12px;color:#f3dfb7;font-family:Georgia,serif;font-size:15px;letter-spacing:.04em;text-shadow:0 2px 6px #000}
/* v6.15 tour refinements */
.braddishGhost{transform:translateX(-8%) scale(1.3);transform-origin:center bottom}
.childSpirit.spiritGone{opacity:0!important;transition:opacity 2.5s ease!important;animation:none!important}
/* v6.17 Stop 6 narration/spirit synchronization */
.braddishFixed{left:20%!important;width:49.4%!important;height:468px!important;bottom:70px!important;opacity:1!important;transform:translateX(-8%) scale(1.3)!important;animation:none!important;transition:opacity 3.2s ease,filter 3.2s ease!important;filter:sepia(.32) grayscale(.18) brightness(1.08)!important;mix-blend-mode:screen}
.braddishFixed.fadeGhost{opacity:0!important;filter:sepia(1) grayscale(1) blur(2px)!important}
.braddishDead{left:7%!important;right:7%!important;top:22px!important;width:86%!important;height:410px!important}
.hughCutout{width:145%!important;height:520px!important;max-height:520px!important;max-width:none!important;margin-left:-22.5%!important}
.finaleGate{min-height:610px;overflow:hidden}.finaleGate .cemeteryArrival{height:500px;object-fit:cover;filter:brightness(.38)}.peterWelcome{position:absolute;left:23%;bottom:86px;width:54%;height:390px;object-fit:contain;object-position:center bottom;opacity:0;filter:grayscale(1) sepia(.18) brightness(1.2);mix-blend-mode:screen;transition:opacity 3s ease}.peterWelcome.welcomeVisible{opacity:.66}
.afterlifeScene{min-height:680px;overflow:hidden;padding:0}.afterlifeBg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.22) grayscale(.3)}.afterlifeMist{position:absolute;inset:20% -15% 8%;background:radial-gradient(ellipse at 50% 60%,rgba(230,235,226,.23),transparent 58%);filter:blur(18px);animation:shedMist 7s ease-in-out infinite alternate}.afterlifePeople{position:absolute;inset:40px 0 100px}.afterGhost{position:absolute;bottom:0;object-fit:contain;object-position:center bottom;opacity:0;filter:grayscale(1) sepia(.15) brightness(1.12) drop-shadow(0 0 18px rgba(235,235,220,.15));mix-blend-mode:screen;transition:opacity 3s ease,filter 3s ease}.afterGhost.afterVisible{opacity:.56}.peterAfter{left:-4%;width:29%;height:350px}.lamiraAfter{left:8%;width:27%;height:360px}.sabraAfter{left:25%;width:29%;height:390px}.sallyAfter{left:45%;width:29%;height:390px}.braddishAfter{left:64%;width:27%;height:400px}.hughAfter{left:78%;width:27%;height:400px}.finalSpirits{position:absolute;inset:80px 0 100px;pointer-events:none}.finalSpirits .childSpirit{z-index:6}.fs1{left:12%;top:18%;animation-duration:7s}.fs2{left:36%;top:42%;animation-duration:9s;animation-delay:-3s}.fs3{left:63%;top:22%;animation-duration:8s;animation-delay:-5s}.fs4{left:84%;top:48%;animation-duration:10s;animation-delay:-2s}.afterWords{position:absolute;z-index:9;left:14px;right:14px;bottom:18px;padding:14px 12px;background:rgba(3,2,4,.72);border:1px solid rgba(209,170,90,.35);border-radius:12px;color:#f3dfb7;text-align:center;font-size:18px;line-height:1.35;letter-spacing:.05em;text-shadow:0 2px 7px #000;transition:opacity 1s}.afterWords.finalHold{font-size:21px;color:#fff}.finalQuiet{min-height:560px;display:flex;flex-direction:column;justify-content:center;text-align:center;background:#000}
/* v6.19 Stop 8 — proportional family gathering in the real cemetery */
.afterlifeScene{min-height:680px;overflow:hidden;padding:0;background:#000}
.afterlifeBg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 46%;filter:brightness(.29) grayscale(.18);z-index:0}
.afterlifeMist{z-index:1;opacity:.65}
.afterlifePeople{position:absolute;z-index:3;left:0;right:0;top:72px;bottom:105px;overflow:hidden}
.afterGhost{position:absolute;bottom:0!important;width:auto!important;object-fit:contain;object-position:center bottom;opacity:0;filter:grayscale(1) sepia(.08) brightness(1.16) drop-shadow(0 0 16px rgba(235,240,235,.24));mix-blend-mode:screen;transition:opacity 3s ease,filter 3s ease;transform:none!important;transform-origin:center bottom}
.afterGhost.afterVisible{opacity:.60}
/* Shared ground line + human-relative scale. Adult figures are deliberately close in apparent height. */
.peterAfter{left:1%;height:365px!important;z-index:2}
.lamiraAfter{left:15%;height:350px!important;z-index:4}
.sabraAfter{left:31%;height:354px!important;z-index:5}
.sallyAfter{left:47%;height:350px!important;z-index:5}
.braddishAfter{left:62%;height:378px!important;z-index:4}
.hughAfter{right:0;left:auto!important;height:382px!important;z-index:3}
.finalSpirits{z-index:6;inset:115px 0 105px}
.fs1{left:13%;top:58%}.fs2{left:35%;top:66%}.fs3{left:61%;top:59%}.fs4{left:80%;top:68%}
@media (max-width:430px){
 .afterlifePeople{top:105px;bottom:110px;left:-2%;right:-2%}
 .peterAfter{left:0;height:315px!important}.lamiraAfter{left:14%;height:302px!important}.sabraAfter{left:30%;height:306px!important}.sallyAfter{left:46%;height:302px!important}.braddishAfter{left:61%;height:324px!important}.hughAfter{right:-1%;height:328px!important}
}


/* v6.20 — streamlined Stop 7→8 flow + true transparent ghost cutouts */
.stop8Gate{min-height:620px;padding:0 0 20px}
.stop8Gate .cemeteryArrival{width:100%;height:520px;object-fit:cover;object-position:center;filter:brightness(.34)}
.stop8Gate .peterWelcome{
  left:23%; bottom:92px; width:54%; height:410px;
  object-fit:contain; object-position:center bottom;
  opacity:0; mix-blend-mode:screen;
  filter:grayscale(1) sepia(.08) brightness(1.22) drop-shadow(0 0 18px rgba(230,238,235,.28));
  transition:opacity 2.4s ease;
}
.stop8Gate .peterWelcome.welcomeVisible{opacity:.68}
.afterGhost{
  background:transparent!important;
  mix-blend-mode:screen;
  filter:grayscale(1) sepia(.06) brightness(1.18) drop-shadow(0 0 17px rgba(232,240,237,.28))!important;
}
/* All six figures now use alpha-background cutouts and share one ground line. */
.peterAfter{left:1%;height:365px!important}
.lamiraAfter{left:15%;height:350px!important}
.sabraAfter{left:31%;height:354px!important}
.sallyAfter{left:47%;height:350px!important}
.braddishAfter{left:62%;height:378px!important}
.hughAfter{right:0;left:auto!important;height:382px!important}

/* v6.20 Peter gate-size adjustment only */
.stop8Gate .peterWelcome{
  height:500px !important;
  width:64% !important;
  left:18% !important;
  bottom:82px !important;
}

/* Jeff & Mila wedding cover — v6.20 */
.weddingCover{position:relative;min-height:calc(100vh - 52px);margin:-26px -22px -42px;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;background:#050406}
.weddingCoverPhoto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.weddingCoverShade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.12) 30%,rgba(0,0,0,.48) 66%,rgba(0,0,0,.91) 100%)}
.weddingCoverContent{position:relative;z-index:3;width:100%;text-align:center;padding:48px 24px 98px;text-shadow:0 3px 18px #000,0 1px 4px #000}
.weddingScript{font-family:"Segoe Script","Lucida Handwriting","Brush Script MT","Apple Chancery",cursive;font-weight:400;color:#fff4df}
.weddingNames{font-size:clamp(3.6rem,16vw,5.8rem);line-height:.95;transform:rotate(-2deg)}
.weddingDay{margin-top:12px;font-size:clamp(2.4rem,10vw,3.8rem);line-height:1}
.weddingDate{margin:30px auto 4px;font-size:.8rem;letter-spacing:.18em;color:#f1dfbc}
.weddingBegin{max-width:360px;margin:26px auto 0;display:block}
.weddingBrand{position:absolute;z-index:4;left:0;right:0;bottom:14px;display:flex;justify-content:center;align-items:center;gap:9px;color:rgba(241,223,188,.5);font-size:.66rem;letter-spacing:.1em;text-transform:uppercase}
.weddingBrand small{color:rgba(241,223,188,.34);font-size:.58rem}


/* v6.20 wedding title + Billings Estate logo adjustment */
.billingsLogo{
  position:absolute;z-index:5;top:18px;right:16px;
  width:clamp(82px,22vw,128px);height:auto;
  object-fit:contain;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.55));
}
.weddingAdventure{
  margin-top:16px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.35rem,5.5vw,2rem);
  font-style:italic;
  color:#fff4df;
  letter-spacing:.02em;
}
.weddingDate{margin:27px auto 0!important;font-size:.82rem!important;letter-spacing:.19em!important}
.weddingPlace{
  margin-top:8px;
  font-size:.76rem;
  letter-spacing:.16em;
  color:#f1dfbc;
}


.howTo{padding:6px 2px 30px}.howTo h1{font-size:clamp(1.8rem,7vw,2.6rem);color:#f5dfb7}.courseMap{position:relative;height:750px;margin:18px 0 26px;border:1px solid rgba(209,170,90,.25);border-radius:20px;overflow:hidden;background:radial-gradient(circle at 50% 12%,#361026,#130815 55%,#070508)}.mapTitle{text-align:center;padding:17px;font-size:.69rem;letter-spacing:.16em;color:#d1aa5a}.mapPath{position:absolute;left:49%;top:62px;bottom:52px;border-left:2px dashed rgba(209,170,90,.65)}.mapStop{position:absolute;left:7%;width:72%;display:flex;gap:12px;align-items:center}.mapStop.right{left:28%}.mapStop b{flex:0 0 42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#6d1738;border:1px solid #d1aa5a;color:#f7e7c5}.mapStop span{display:flex;flex-direction:column;background:rgba(8,5,8,.78);padding:8px 12px;border-radius:10px}.mapStop strong{color:#f5dfb7;font-size:.92rem}.mapStop small{color:#bcae9c}.ms1{top:64px}.ms2{top:148px}.ms3{top:232px}.ms4{top:316px}.ms5{top:400px}.ms6{top:484px}.ms7{top:568px}.ms8{top:652px}.playRules{display:grid;gap:10px}.playRules>div{display:flex;gap:13px;padding:14px;border:1px solid rgba(209,170,90,.18);border-radius:13px;background:rgba(255,255,255,.025)}.playRules b{color:#d1aa5a;font-size:.76rem}.playRules p{margin:0;color:#d8cec2;line-height:1.45}.playRules strong{color:#f5dfb7}.playRules em{color:#d1aa5a;font-style:normal}.cemeteryNote{text-align:center;margin:18px 0;padding:13px;color:#e3d0ae;border-top:1px solid rgba(209,170,90,.2);border-bottom:1px solid rgba(209,170,90,.2)}.howBegin{width:100%;margin:20px 0 12px}.howBrand{text-align:center;font-size:.59rem;letter-spacing:.12em;color:rgba(209,170,90,.42)}.topActions{display:flex;align-items:center;gap:6px}.mapMini{border:1px solid rgba(209,170,90,.4);background:transparent;color:#d1aa5a;border-radius:7px;padding:6px 8px;font-size:.62rem;letter-spacing:.1em}.mapOverlay{position:fixed;inset:0;z-index:9999;background:rgba(2,1,3,.9);display:flex;align-items:center;justify-content:center;padding:18px}.mapSheet{position:relative;width:min(440px,100%);max-height:90vh;overflow:auto;border:1px solid rgba(209,170,90,.3);border-radius:18px;background:#100910;padding:24px}.mapSheet h2{color:#f5dfb7}.mapClose{position:absolute;right:14px;top:10px;border:0;background:none;color:#f5dfb7;font-size:2rem}.miniRoute{display:grid;gap:7px;margin-bottom:18px}.miniStop{display:flex;gap:11px;align-items:center;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.025);color:#d9cdbc}.miniStop b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#421226;color:#d1aa5a}.miniStop span{display:flex;flex-direction:column}.miniStop small{font-size:.68rem;color:#8e8177}.miniStop.current{outline:1px solid #d1aa5a;background:rgba(209,170,90,.09)}


/* Stop 1 opening: supplied Billings sign still replaces 360 */
.stop1StillFade,
img[src*="stop1-billings-sign.jpg"]{
  display:block;width:100%;height:auto;max-height:64vh;object-fit:contain;
  opacity:0;animation:stop1BillingsFade 3.2s ease-out .25s forwards;
}
@keyframes stop1BillingsFade{0%{opacity:0}100%{opacity:1}}
