
@font-face{font-family:PatrickHand;src:url("assets/fonts/PatrickHand.ttf")}
@font-face{font-family:Cormorant;src:url("assets/fonts/CormorantGaramond.ttf")}
@font-face{font-family:Brittany;src:url("assets/fonts/BrittanySignature.ttf")}
:root{--ink:#4b2f20;--rose:#bd716b;--shadow:rgba(69,40,21,.22)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--ink);overflow-x:hidden;background:radial-gradient(circle at 40% 25%,rgba(255,238,201,.9),transparent 35%),linear-gradient(135deg,#c99b67,#f2ddbb 45%,#d7ae7a);font-family:PatrickHand,cursive}
.preloader{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#e9d0aa;transition:opacity .7s,visibility .7s}.preloader.hide{opacity:0;visibility:hidden}.loader-card{background:rgba(255,246,226,.84);padding:30px 44px;border-radius:22px;box-shadow:0 25px 70px rgba(80,45,20,.22);text-align:center;transform:rotate(-2deg)}.loader-title{font-family:Brittany,cursive;font-size:56px}.loader-line{font-size:24px;margin-top:10px}.loader-dots span{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--rose);margin:14px 5px 0;animation:bounce 1s infinite ease-in-out}.loader-dots span:nth-child(2){animation-delay:.15s}.loader-dots span:nth-child(3){animation-delay:.3s}@keyframes bounce{50%{transform:translateY(-8px)}}
.scrapbook{min-height:100vh;padding:24px;position:relative}.page{width:min(1760px,96vw);min-height:980px;margin:0 auto;position:relative;overflow:hidden;border-radius:18px;background:url("assets/elements/paper_textures/vintage_beige.png") center/cover,#ead0aa;box-shadow:0 28px 90px rgba(65,35,15,.28)}.page:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(117,70,35,.11),transparent 8%,transparent 92%,rgba(117,70,35,.08)),radial-gradient(circle at center,transparent 40%,rgba(80,45,20,.12));pointer-events:none}.paper-layer{position:absolute;opacity:.62;filter:drop-shadow(0 12px 14px rgba(60,30,10,.18))}.paper-a{inset:20px 55px auto 120px;height:120px;background:url("assets/elements/scraps/torn_scrap_2.png") center/100% 100%;transform:rotate(-1deg)}.paper-b{right:20px;top:0;width:420px;height:100%;background:url("assets/elements/paper_textures/old_newspaper.png") center/cover;opacity:.18;transform:rotate(2deg)}.paper-c{left:0;bottom:-30px;width:55%;height:180px;background:url("assets/elements/paper_textures/corrugated_cardboard.png") center/cover;opacity:.42}
.fairy{position:absolute;z-index:4;pointer-events:none}.fairy-top{left:20px;top:0;width:96%;opacity:.55;filter:drop-shadow(0 0 12px rgba(255,205,120,.6));animation:flicker 3.6s infinite}@keyframes flicker{0%,100%{opacity:.5}45%{opacity:.72}70%{opacity:.48}}.dust{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.18;z-index:15;pointer-events:none}.soft-glow{position:absolute;width:450px;height:450px;border-radius:50%;filter:blur(70px);opacity:.28;z-index:1}.glow-one{left:10%;top:10%;background:#ffd08a}.glow-two{right:8%;bottom:5%;background:#ff9c95}
.title-rip{position:absolute;left:44px;top:42px;z-index:8;padding:18px 42px 15px 38px;background:url("assets/elements/scraps/torn_scrap_4.png") center/100% 100%;font-family:Brittany,cursive;font-size:55px;transform:rotate(-4deg);color:#3e281d;text-shadow:0 1px rgba(255,255,255,.7)}.title-rip .heart{color:var(--rose);font-family:PatrickHand;margin-left:10px}
.headline{position:absolute;left:50%;top:70px;transform:translateX(-50%);width:520px;text-align:center;z-index:8;color:#50301d}.celebrating,.years{font-family:Cormorant,Georgia,serif;font-weight:700;font-size:56px;line-height:.95}.big-number{font-family:Cormorant,Georgia,serif;font-size:135px;line-height:.8;color:var(--rose);font-weight:700;text-shadow:0 4px 0 rgba(100,50,30,.08)}.name{font-family:Brittany,cursive;font-size:86px;line-height:1;color:#bd716b}.divider{font-size:24px;color:#a85f5a;letter-spacing:4px;margin-top:4px}
.message{position:absolute;top:370px;left:50%;transform:translateX(-50%);width:420px;z-index:8;text-align:center;font-size:23px;line-height:1.25;color:#5b3d2d}.message p{margin:0 0 18px}.message span{color:#b65f5e}
.ready-note{position:absolute;left:50%;bottom:120px;transform:translateX(-50%) rotate(-2deg);width:420px;padding:24px 30px;z-index:9;text-align:center;font-size:36px;line-height:1.05;background:url("assets/elements/scraps/torn_scrap_8.png") center/100% 100%;filter:drop-shadow(0 12px 15px rgba(80,45,20,.2))}
.actions{position:absolute;left:50%;bottom:38px;transform:translateX(-50%);z-index:10;display:flex;gap:34px}.choice{border:1px dashed rgba(80,45,20,.45);background:rgba(244,225,194,.78);color:#533422;font-family:Brittany,cursive;font-size:36px;padding:18px 56px;min-width:220px;cursor:pointer;box-shadow:0 10px 24px rgba(80,40,18,.18);transition:.25s}.choice:hover{transform:translateY(-5px) rotate(-1deg);background:#f7e2c4}.choice.special{transform:rotate(1deg)}.choice.special:hover{transform:translateY(-5px) rotate(2deg)}
.audio-pill{position:absolute;right:42px;bottom:28px;z-index:20;display:flex;align-items:center;gap:12px;background:rgba(75,43,25,.75);color:#fff4dd;padding:12px 18px;border-radius:999px;box-shadow:0 14px 30px rgba(40,20,8,.28);opacity:.95}.audio-pill button{width:42px;height:42px;border-radius:50%;border:0;background:#f4c47e;color:#3b2418;font-size:20px;cursor:pointer}.audio-pill strong{display:block;font-family:Cormorant;font-size:18px;line-height:.95}.audio-pill span{font-size:15px;opacity:.88}
.polaroid{position:absolute;z-index:7;margin:0;padding:16px 16px 52px;background:#f8f1e5;box-shadow:0 18px 35px rgba(80,45,20,.25);transition:.3s}.polaroid img{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(1.03) brightness(1.04) saturate(1.02)}.polaroid:hover{box-shadow:0 25px 48px rgba(80,45,20,.32);z-index:20}.tilt-l{transform:rotate(-5deg)}.tilt-r{transform:rotate(5deg)}.tilt-l:hover{transform:rotate(-3deg) translateY(-7px)}.tilt-r:hover{transform:rotate(3deg) translateY(-7px)}
.p1{left:225px;top:95px;width:285px;height:375px}.p2{right:120px;top:65px;width:310px;height:300px}.p3{left:40px;top:380px;width:335px;height:310px}.p4{right:70px;top:315px;width:315px;height:300px}.p5{left:425px;bottom:205px;width:300px;height:360px}.p6{right:360px;bottom:105px;width:280px;height:350px}.p7{right:70px;bottom:95px;width:290px;height:355px}.p8{left:55px;bottom:65px;width:295px;height:275px}
.tape,.flower,.doodle,.petal,.rose,.scrap,.note-strip{position:absolute;z-index:12;pointer-events:none}.tape{opacity:.72;mix-blend-mode:multiply;filter:drop-shadow(0 6px 5px rgba(80,40,15,.13))}.tape1{left:310px;top:72px;width:170px;transform:rotate(-7deg)}.tape2{right:250px;top:245px;width:190px;transform:rotate(8deg)}.tape3{left:260px;top:595px;width:160px;transform:rotate(-24deg)}.tape4{right:120px;top:570px;width:160px;transform:rotate(17deg)}.tape5{left:540px;bottom:335px;width:160px;transform:rotate(-10deg)}.tape6{right:505px;bottom:430px;width:160px;transform:rotate(4deg)}
.scrap{opacity:.45}.scrap-left-top{left:10px;top:8px;width:260px;transform:rotate(-8deg)}.scrap-right-top{right:-10px;top:0;width:330px;transform:rotate(5deg)}.scrap-bottom{left:0;bottom:-10px;width:360px;transform:rotate(7deg)}.note-strip{left:190px;top:118px;height:380px;opacity:.4;transform:rotate(1deg)}
.flower{opacity:.86;filter:drop-shadow(0 10px 8px rgba(80,40,15,.2))}.f1{left:20px;top:150px;width:175px;transform:rotate(22deg)}.f2{right:35px;top:30px;width:170px;transform:rotate(72deg)}.f3{left:590px;top:275px;width:175px;transform:rotate(-82deg)}.rose{right:70px;bottom:30px;width:92px;opacity:.82;transform:rotate(-15deg)}.petal{width:46px;opacity:.78}.petal1{left:640px;top:170px}.petal2{right:455px;top:325px;transform:rotate(25deg)}.petal3{left:820px;bottom:250px;transform:rotate(-12deg)}
.doodle{width:58px;opacity:.8}.d-heart1{left:705px;top:320px;transform:rotate(-10deg)}.d-heart2{right:250px;top:455px;width:46px}.d-star1{right:620px;top:96px;width:42px}.d-star2{left:1030px;top:160px;width:45px}.d-arrow{left:670px;top:135px;width:95px}
.side-note{position:absolute;z-index:9;background:rgba(246,229,201,.8);box-shadow:0 10px 20px rgba(80,40,15,.14);padding:20px 24px;font-size:24px;line-height:1.08;color:#674330}.left-note{left:365px;bottom:50px;transform:rotate(-7deg)}.right-note{right:20px;bottom:40px;transform:rotate(-6deg)}.made-with{position:absolute;right:126px;bottom:0;z-index:11;font-size:33px;line-height:1.25;color:#b5745b;font-family:Brittany,cursive;transform:rotate(-3deg)}.made-with span{font-size:34px}
@media(max-width:900px){.scrapbook{padding:0}.page{width:100vw;min-height:1650px;border-radius:0}.title-rip{font-size:42px;left:20px;top:28px}.headline{top:155px;width:90%}.celebrating,.years{font-size:44px}.big-number{font-size:118px}.name{font-size:72px}.message{top:450px;width:82%;font-size:22px}.ready-note{bottom:190px;width:80%;font-size:32px}.actions{bottom:88px;gap:14px;width:92%;justify-content:center}.choice{font-size:26px;min-width:145px;padding:14px 20px}.audio-pill{left:50%;right:auto;bottom:20px;transform:translateX(-50%);width:max-content}.p1{left:18px;top:640px;width:220px;height:295px}.p2{right:12px;top:700px;width:220px;height:235px}.p3{left:18px;top:965px;width:225px;height:245px}.p4{right:12px;top:965px;width:220px;height:245px}.p5{left:22px;top:1235px;width:210px;height:260px}.p6{right:18px;top:1235px;width:210px;height:260px}.p7,.p8,.made-with{display:none}.flower{opacity:.55}}


/* v2 refinements */
.message{
  font-family:PatrickHand, cursive !important;
  z-index:30 !important;
  width:470px !important;
  top:360px !important;
  font-size:25px !important;
  line-height:1.18 !important;
  padding:26px 34px 20px !important;
  background:rgba(247,229,198,.64);
  border-radius:42% 44% 40% 43% / 4% 5% 6% 5%;
  box-shadow:0 16px 35px rgba(80,45,20,.10);
  backdrop-filter: blur(1px);
}
.message:before{
  content:"";
  position:absolute;
  inset:-14px -16px;
  background:url("assets/elements/scraps/torn_scrap_2.png") center/100% 100%;
  opacity:.30;
  z-index:-1;
  transform:rotate(.5deg);
}
.message p{margin:0 0 14px !important}
.ready-note{
  z-index:31 !important;
  font-family:PatrickHand,cursive !important;
  bottom:112px !important;
}
.polaroid{
  padding:14px 14px 46px !important;
}
.polaroid img{
  object-fit:cover;
  object-position:center center;
}
.p1{left:235px !important;top:110px !important;width:275px !important;height:360px !important}
.p2{right:90px !important;top:50px !important;width:300px !important;height:315px !important}
.p3{left:35px !important;top:365px !important;width:315px !important;height:320px !important}
.p4{right:65px !important;top:340px !important;width:305px !important;height:305px !important}
.p5{left:375px !important;bottom:170px !important;width:285px !important;height:350px !important}
.p6{right:390px !important;bottom:85px !important;width:270px !important;height:350px !important}
.p7{right:60px !important;bottom:80px !important;width:280px !important;height:360px !important}
.p8{left:55px !important;bottom:70px !important;width:280px !important;height:260px !important}

.p1 img{object-position:center 35%}
.p2 img{object-position:center 42%}
.p3 img{object-position:center 45%}
.p4 img{object-position:center 48%}
.p5 img{object-position:center 42%}
.p6 img{object-position:center 43%}
.p7 img{object-position:center 38%}
.p8 img{object-position:center 45%}

.headline{
  z-index:32 !important;
  text-shadow:0 2px 0 rgba(255,244,220,.5);
}
.audio-pill{
  z-index:60 !important;
  transform:scale(.92);
  transform-origin:right bottom;
}
.actions{
  z-index:45 !important;
}
.side-note{z-index:34 !important}

@media(max-width:900px){
  .message{
    top:430px !important;
    width:84% !important;
    font-size:22px !important;
    padding:20px 22px !important;
  }
  .p1{left:16px !important;top:650px !important;width:210px !important;height:300px !important}
  .p2{right:10px !important;top:690px !important;width:205px !important;height:270px !important}
  .p3{left:16px !important;top:985px !important;width:212px !important;height:270px !important}
  .p4{right:10px !important;top:985px !important;width:205px !important;height:270px !important}
  .p5{left:18px !important;top:1285px !important;width:205px !important;height:270px !important}
  .p6{right:12px !important;top:1285px !important;width:205px !important;height:270px !important}
}


/* =========================
   v3 layout polish
   ========================= */

/* create more open poster-like spacing */
.page{
  min-height: 1000px !important;
}

/* reduce visual clustering: make photos smaller and push them outside */
.polaroid{
  padding: 13px 13px 42px !important;
  box-shadow: 0 15px 30px rgba(80,45,20,.20) !important;
}
.polaroid img{
  object-fit: cover !important;
  object-position: center center !important;
}

/* LEFT SIDE */
.p1{
  left: 245px !important;
  top: 118px !important;
  width: 245px !important;
  height: 325px !important;
  transform: rotate(-3.5deg) !important;
}
.p3{
  left: 34px !important;
  top: 365px !important;
  width: 285px !important;
  height: 295px !important;
  transform: rotate(-4deg) !important;
}
.p8{
  left: 58px !important;
  bottom: 78px !important;
  width: 245px !important;
  height: 230px !important;
  transform: rotate(3deg) !important;
}
.p5{
  left: 360px !important;
  bottom: 190px !important;
  width: 255px !important;
  height: 320px !important;
  transform: rotate(-3deg) !important;
}

/* RIGHT SIDE */
.p2{
  right: 82px !important;
  top: 54px !important;
  width: 270px !important;
  height: 285px !important;
  transform: rotate(4deg) !important;
}
.p4{
  right: 64px !important;
  top: 333px !important;
  width: 275px !important;
  height: 270px !important;
  transform: rotate(3deg) !important;
}
.p7{
  right: 75px !important;
  bottom: 102px !important;
  width: 255px !important;
  height: 315px !important;
  transform: rotate(3.5deg) !important;
}
.p6{
  right: 390px !important;
  bottom: 135px !important;
  width: 245px !important;
  height: 305px !important;
  transform: rotate(-3deg) !important;
}

/* free up the centre */
.headline{
  top: 52px !important;
  width: 520px !important;
  z-index: 34 !important;
}
.celebrating,.years{
  font-size: 50px !important;
}
.big-number{
  font-size: 118px !important;
}
.name{
  font-size: 80px !important;
}

/* centre letter note: stronger torn paper backing, readable, not hidden */
.message{
  top: 300px !important;
  width: 500px !important;
  max-height: 390px !important;
  overflow: hidden !important;
  padding: 34px 46px 30px !important;
  background: rgba(250,235,207,.88) !important;
  border-radius: 18px !important;
  box-shadow:
    0 20px 45px rgba(80,45,20,.16),
    inset 0 0 35px rgba(255,255,255,.35) !important;
  backdrop-filter: blur(0px) !important;
  font-family: Cormorant, Georgia, serif !important;
  font-size: 23px !important;
  line-height: 1.17 !important;
  color: #43291b !important;
}
.message:before{
  opacity: .52 !important;
  inset: -18px -22px !important;
  filter: drop-shadow(0 10px 16px rgba(80,45,20,.16));
}
.message p{
  margin: 0 0 13px !important;
}
.message span{
  font-family: PatrickHand, cursive !important;
  font-size: 25px !important;
  color: #b85f5d !important;
}

/* move CTA lower and keep it clean */
.ready-note{
  bottom: 135px !important;
  width: 390px !important;
  padding: 18px 28px !important;
  font-size: 31px !important;
  z-index: 36 !important;
  opacity: .96 !important;
}
.actions{
  bottom: 48px !important;
  gap: 30px !important;
  z-index: 46 !important;
}
.choice{
  min-width: 205px !important;
  padding: 15px 42px !important;
  font-size: 32px !important;
  background: rgba(247,228,196,.92) !important;
}

/* make side notes less intrusive */
.left-note{
  left: 310px !important;
  bottom: 58px !important;
  transform: rotate(-6deg) scale(.92) !important;
  opacity: .92 !important;
}
.right-note{
  right: 36px !important;
  bottom: 42px !important;
  transform: rotate(-5deg) scale(.9) !important;
  opacity: .92 !important;
}

/* audio smaller and not covering text */
.audio-pill{
  right: 28px !important;
  bottom: 18px !important;
  transform: scale(.78) !important;
  opacity: .88 !important;
}

/* tape/flower reposition so they decorate instead of hiding text */
.tape1{left: 330px !important; top: 82px !important; width: 150px !important;}
.tape2{right: 230px !important; top: 250px !important; width: 160px !important;}
.tape3{left: 245px !important; top: 610px !important; width: 135px !important;}
.tape4{right: 105px !important; top: 590px !important; width: 135px !important;}
.tape5{left: 515px !important; bottom: 350px !important; width: 140px !important;}
.tape6{right: 500px !important; bottom: 430px !important; width: 135px !important;}

.f1{left: 24px !important; top: 130px !important; width: 150px !important; opacity:.75 !important;}
.f2{right: 22px !important; top: 20px !important; width: 150px !important; opacity:.75 !important;}
.f3{left: 600px !important; top: 300px !important; width: 145px !important; opacity:.58 !important;}
.rose{right: 68px !important; bottom: 20px !important; width: 78px !important;}

.d-heart1{left: 640px !important; top: 245px !important; width: 46px !important;}
.d-heart2{right: 340px !important; top: 475px !important; width: 38px !important;}
.d-star1{right: 610px !important; top: 82px !important; width: 38px !important;}
.d-star2{left: 1030px !important; top: 120px !important; width: 40px !important;}
.d-arrow{left: 515px !important; top: 138px !important; width: 80px !important; opacity:.66 !important;}

.made-with{
  right: 118px !important;
  bottom: -6px !important;
  opacity: .72 !important;
  font-size: 28px !important;
}

/* add subtle background notes using pseudo-element instead of more image clutter */
.page:after{
  content:"♡   *   memories   ♡   hehe   *   forever   ♡";
  position:absolute;
  left: 38%;
  top: 76%;
  width: 520px;
  transform: rotate(-4deg);
  font-family: PatrickHand,cursive;
  font-size: 24px;
  letter-spacing: 7px;
  color: rgba(145,86,70,.16);
  z-index: 2;
  pointer-events:none;
}

/* improve hover but keep rotations low */
.p1:hover,.p3:hover,.p5:hover,.p8:hover{transform: rotate(-2deg) translateY(-6px) !important;}
.p2:hover,.p4:hover,.p6:hover,.p7:hover{transform: rotate(2deg) translateY(-6px) !important;}

/* mobile layout remains readable */
@media(max-width:900px){
  .page{min-height: 1700px !important;}
  .headline{top:130px !important;}
  .message{
    top: 400px !important;
    width: 86% !important;
    max-height: 455px !important;
    font-size: 21px !important;
    padding: 28px 26px !important;
  }
  .message span{font-size:23px !important;}
  .ready-note{bottom: 205px !important;}
  .actions{bottom: 102px !important;}
  .p1{left:16px !important;top:700px !important;width:195px !important;height:270px !important}
  .p2{right:12px !important;top:720px !important;width:190px !important;height:245px !important}
  .p3{left:16px !important;top:995px !important;width:200px !important;height:250px !important}
  .p4{right:12px !important;top:995px !important;width:190px !important;height:250px !important}
  .p5{left:18px !important;top:1265px !important;width:190px !important;height:265px !important}
  .p6{right:12px !important;top:1265px !important;width:190px !important;height:265px !important}
}


/* =========================
   v4 final aesthetic cleanup
   ========================= */

/* make central text fully handwritten */
.divider,
.message,
.message span{
  font-family: PatrickHand, cursive !important;
}
.divider{
  font-size: 22px !important;
  letter-spacing: 3px !important;
  color: #9f5a56 !important;
}
.message{
  top: 312px !important;
  width: 470px !important;
  max-height: 370px !important;
  padding: 32px 42px 26px !important;
  font-size: 25px !important;
  line-height: 1.08 !important;
  background: rgba(250,235,207,.82) !important;
  color: #4d3021 !important;
}
.message span{
  font-size: 26px !important;
  color: #b85f5d !important;
}

/* less clustered: remove two less-needed photos */
.p6,
.p8{
  display: none !important;
}

/* spread remaining photos more cleanly */
.p1{
  left: 235px !important;
  top: 112px !important;
  width: 270px !important;
  height: 350px !important;
}
.p1 img{
  object-fit: contain !important;
  background: #f6ead6 !important;
  object-position: center center !important;
}

.p3{
  left: 42px !important;
  top: 370px !important;
  width: 300px !important;
  height: 300px !important;
}
.p5{
  left: 355px !important;
  bottom: 152px !important;
  width: 275px !important;
  height: 335px !important;
}
.p2{
  right: 70px !important;
  top: 58px !important;
  width: 280px !important;
  height: 300px !important;
}
.p4{
  right: 72px !important;
  top: 365px !important;
  width: 285px !important;
  height: 280px !important;
}
.p7{
  right: 92px !important;
  bottom: 90px !important;
  width: 270px !important;
  height: 330px !important;
}

/* open the centre more */
.headline{
  top: 50px !important;
}
.ready-note{
  bottom: 128px !important;
  width: 370px !important;
  opacity: .92 !important;
}
.actions{
  bottom: 46px !important;
}

/* move decorative items away from the text */
.f3{ display:none !important; }
.tape5{ opacity:.38 !important; left:500px !important; bottom:365px !important; }
.tape6{ opacity:.36 !important; right:510px !important; bottom:425px !important; }
.d-heart1{left: 610px !important; top: 235px !important; opacity:.6 !important;}
.d-arrow{left: 500px !important; top: 135px !important; opacity:.45 !important;}

/* cleaner lower area */
.left-note{
  left: 285px !important;
  bottom: 55px !important;
}
.right-note{
  right: 42px !important;
  bottom: 42px !important;
}
.made-with{
  display:none !important;
}

/* subtle larger breathing background */
.page:after{
  opacity:.55 !important;
}

@media(max-width:900px){
  .message{
    top: 410px !important;
    width: 86% !important;
    max-height: 430px !important;
    font-size: 23px !important;
    line-height: 1.08 !important;
  }
  .p6,.p8{display:none !important;}
  .p1 img{object-fit:contain !important;}
}


/* =========================
   v5 typography + composition fix
   ========================= */


@font-face {
  font-family: 'DearJoe';
  src: url('assets/fonts/DJ1TRIAL.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* HERO TITLE REWORK */
.headline {
  top: 28px !important;
  width: 560px !important;
  gap: 0 !important;
}

.celebrating {
  font-size: 56px !important;
  margin-bottom: -6px !important;
  letter-spacing: .5px !important;
}

.big-number {
  font-size: 128px !important;
  line-height: .9 !important;
  margin: 0 !important;
  color: #c97774 !important;
}

.years {
  font-size: 48px !important;
  margin-top: -8px !important;
  margin-bottom: -2px !important;
}

.name {
  font-size: 88px !important;
  margin-top: -4px !important;
  line-height: .9 !important;
  color: #c87b84 !important;
}

/* CENTER LETTER */
.message {
  top: 292px !important;
  width: 530px !important;
  max-height: unset !important;
  overflow: visible !important;
  padding: 34px 46px 40px !important;
  border-radius: 16px !important;
  background: rgba(252,241,220,.88) !important;
  box-shadow: 0 20px 45px rgba(80,45,20,.12) !important;
  color: #53372a !important;
  font-family: 'DearJoe', cursive !important;
  font-size: 26px !important;
  line-height: 1.04 !important;
  text-align: center !important;
}

.message p {
  margin-bottom: 16px !important;
}

.message span {
  font-family: 'DearJoe', cursive !important;
  font-size: 28px !important;
  color: #be6d69 !important;
}

.divider {
  font-family: 'DearJoe', cursive !important;
  font-size: 26px !important;
  color: #b16a64 !important;
  letter-spacing: 4px !important;
}

/* move lower section down */
.ready-note {
  bottom: 138px !important;
  width: 410px !important;
  font-size: 34px !important;
  padding: 18px 26px !important;
}

.actions {
  bottom: 42px !important;
  gap: 36px !important;
}

.choice {
  min-width: 220px !important;
  font-family: 'DearJoe', cursive !important;
  font-size: 38px !important;
}

/* more balanced spacing */
.p1 {
  top: 95px !important;
}
.p2 {
  top: 42px !important;
}
.p3 {
  top: 360px !important;
}
.p4 {
  top: 350px !important;
}
.p5 {
  bottom: 170px !important;
}
.p7 {
  bottom: 95px !important;
}

/* slightly softer overall */
.polaroid {
  box-shadow: 0 14px 28px rgba(80,45,20,.16) !important;
}

/* mobile */
@media(max-width:900px){
  .headline {
    top: 95px !important;
    width: 92% !important;
  }

  .celebrating {font-size:42px !important;}
  .big-number {font-size:92px !important;}
  .years {font-size:36px !important;}
  .name {font-size:64px !important;}

  .message {
    top: 390px !important;
    width: 88% !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    padding: 26px 24px 34px !important;
  }

  .message span {
    font-size: 24px !important;
  }

  .ready-note {
    bottom: 150px !important;
    width: 85% !important;
  }

  .actions {
    bottom: 52px !important;
    flex-direction: column !important;
    gap: 18px !important;
  }
}


/* =========================================================
   DESKTOP FINAL — fixed scrapbook poster composition
   ========================================================= */

/* desktop-first poster behavior */
html, body{
  width:100%;
  min-height:100%;
  background:#d7ab77 !important;
}

body{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  overflow:auto;
}

.scrapbook{
  width:100vw !important;
  min-height:100vh !important;
  padding:26px 0 34px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:flex-start !important;
}

/* fixed artboard; scales cleanly using browser zoom */
.page{
  width:1560px !important;
  height:875px !important;
  min-height:875px !important;
  max-width:none !important;
  margin:0 auto !important;
  overflow:hidden !important;
  border-radius:18px !important;
  transform-origin:top center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,246,221,.34), transparent 38%),
    url("assets/elements/paper_textures/vintage_beige.png") center/cover,
    #ead0aa !important;
}

/* keep texture rich but not noisy */
.page:before{
  background:
    linear-gradient(90deg,rgba(117,70,35,.10),transparent 7%,transparent 93%,rgba(117,70,35,.08)),
    radial-gradient(circle at center, transparent 42%, rgba(80,45,20,.11)) !important;
}
.page:after{
  content:"♡  little moments  *  forever  ♡  chaos  *  memories  ♡" !important;
  left: 520px !important;
  top: 705px !important;
  width: 620px !important;
  transform: rotate(-3deg) !important;
  opacity:.45 !important;
  color:rgba(145,86,70,.18) !important;
}

/* top title */
.title-rip{
  left:54px !important;
  top:28px !important;
  font-size:58px !important;
  padding:18px 48px 18px 42px !important;
  z-index:40 !important;
}

/* hero heading: clean stack, no overlap */
.headline{
  left:50% !important;
  top:38px !important;
  width:470px !important;
  z-index:42 !important;
}
.celebrating{
  font-size:48px !important;
  line-height:.9 !important;
  margin:0 0 2px !important;
}
.big-number{
  font-size:108px !important;
  line-height:.78 !important;
  margin:0 !important;
}
.years{
  font-size:40px !important;
  line-height:.95 !important;
  margin:2px 0 -4px !important;
}
.name{
  font-size:78px !important;
  line-height:.78 !important;
  margin-top:0 !important;
}
.divider{
  font-size:22px !important;
  margin-top:6px !important;
}

/* central handwritten note: all text visible and breathable */
.message{
  left:50% !important;
  top:272px !important;
  width:475px !important;
  min-height:385px !important;
  max-height:none !important;
  overflow:visible !important;
  padding:30px 42px 32px !important;
  background:rgba(252,241,220,.86) !important;
  font-family:'DearJoe', PatrickHand, cursive !important;
  font-size:22px !important;
  line-height:1.08 !important;
  color:#4a3024 !important;
  z-index:35 !important;
  box-shadow:0 20px 42px rgba(80,45,20,.13), inset 0 0 30px rgba(255,255,255,.32) !important;
}
.message p{
  margin:0 0 12px !important;
}
.message span{
  font-family:'DearJoe', PatrickHand, cursive !important;
  font-size:23px !important;
  color:#bd6b69 !important;
}

/* CTA separated from letter */
.ready-note{
  left:50% !important;
  bottom:96px !important;
  width:350px !important;
  font-size:30px !important;
  line-height:1.02 !important;
  padding:16px 26px !important;
  opacity:.92 !important;
  z-index:39 !important;
}
.actions{
  left:50% !important;
  bottom:28px !important;
  gap:28px !important;
  z-index:45 !important;
}
.choice{
  min-width:190px !important;
  padding:13px 36px !important;
  font-family:'DearJoe', Brittany, cursive !important;
  font-size:34px !important;
  background:rgba(248,229,198,.92) !important;
}

/* intentional photo composition: fewer overlaps in centre */
.polaroid{
  padding:13px 13px 40px !important;
  box-shadow:0 16px 30px rgba(80,45,20,.18) !important;
}

/* left photo cluster */
.p1{
  display:block !important;
  left:250px !important;
  top:102px !important;
  width:225px !important;
  height:300px !important;
  transform:rotate(3deg) !important;
}
.p1 img{ object-fit:contain !important; background:#f7ead5 !important; }

.p3{
  display:block !important;
  left:36px !important;
  top:300px !important;
  width:285px !important;
  height:285px !important;
  transform:rotate(-5deg) !important;
}

.p5{
  display:block !important;
  left:330px !important;
  top:492px !important;
  width:245px !important;
  height:285px !important;
  transform:rotate(-2deg) !important;
}
.p5 img{ object-position:center 38% !important; }

/* keep small arcade photo as bottom-left memory but not crowding */
.p8{
  display:block !important;
  left:64px !important;
  top:610px !important;
  width:230px !important;
  height:205px !important;
  transform:rotate(4deg) !important;
}

/* right photo column */
.p2{
  display:block !important;
  right:64px !important;
  top:48px !important;
  width:270px !important;
  height:285px !important;
  transform:rotate(4deg) !important;
}
.p4{
  display:block !important;
  right:62px !important;
  top:342px !important;
  width:270px !important;
  height:255px !important;
  transform:rotate(3deg) !important;
}
.p7{
  display:block !important;
  right:84px !important;
  top:590px !important;
  width:250px !important;
  height:265px !important;
  transform:rotate(3deg) !important;
}

/* remove one center-near photo for cleaner aesthetic */
.p6{
  display:none !important;
}

/* reduce title/photo collisions */
.note-strip{
  left:188px !important;
  top:118px !important;
  height:335px !important;
  opacity:.30 !important;
}
.scrap-left-top{width:250px !important; opacity:.35 !important;}
.scrap-right-top{width:310px !important; opacity:.35 !important;}
.scrap-bottom{width:360px !important; opacity:.28 !important;}

/* tapes moved away from faces/text */
.tape1{left:335px !important;top:78px !important;width:135px !important;opacity:.55 !important}
.tape2{right:238px !important;top:250px !important;width:145px !important;opacity:.50 !important}
.tape3{left:268px !important;top:546px !important;width:130px !important;opacity:.48 !important}
.tape4{right:106px !important;top:575px !important;width:130px !important;opacity:.48 !important}
.tape5{left:568px !important;top:510px !important;width:120px !important;opacity:.22 !important}
.tape6{right:472px !important;top:480px !important;width:120px !important;opacity:.22 !important}

/* flowers / details */
.f1{
  left:24px !important;
  top:104px !important;
  width:150px !important;
  opacity:.68 !important;
}
.f2{
  right:18px !important;
  top:38px !important;
  width:145px !important;
  opacity:.68 !important;
}
.f3{
  display:block !important;
  left:590px !important;
  top:332px !important;
  width:112px !important;
  opacity:.35 !important;
}
.rose{
  right:42px !important;
  bottom:20px !important;
  width:72px !important;
  opacity:.70 !important;
}
.petal1{left:605px !important;top:178px !important;opacity:.58 !important}
.petal2{right:372px !important;top:330px !important;opacity:.55 !important}
.petal3{left:814px !important;bottom:230px !important;opacity:.50 !important}

/* doodles */
.d-heart1{left:585px !important;top:260px !important;width:42px !important;opacity:.50 !important}
.d-heart2{right:345px !important;top:455px !important;width:36px !important;opacity:.60 !important}
.d-star1{right:568px !important;top:78px !important;width:34px !important;opacity:.70 !important}
.d-star2{left:1018px !important;top:122px !important;width:36px !important;opacity:.70 !important}
.d-arrow{left:480px !important;top:142px !important;width:76px !important;opacity:.45 !important}

/* side notes */
.left-note{
  left:300px !important;
  bottom:32px !important;
  transform:rotate(-6deg) scale(.86) !important;
  opacity:.84 !important;
}
.right-note{
  right:54px !important;
  bottom:18px !important;
  transform:rotate(-5deg) scale(.82) !important;
  opacity:.82 !important;
}

/* audio tucked away */
.audio-pill{
  right:28px !important;
  bottom:12px !important;
  transform:scale(.70) !important;
  transform-origin:right bottom !important;
  opacity:.82 !important;
}
.made-with{display:none !important;}

/* subtle entrance */
.page{
  animation:pageIn .75s ease both;
}
@keyframes pageIn{
  from{opacity:0; transform:translateY(14px) scale(.992);}
  to{opacity:1; transform:translateY(0) scale(1);}
}
.polaroid{
  animation:photoIn .9s ease both;
}
.p1{animation-delay:.08s}.p2{animation-delay:.12s}.p3{animation-delay:.16s}.p4{animation-delay:.20s}.p5{animation-delay:.24s}.p7{animation-delay:.28s}.p8{animation-delay:.32s}
@keyframes photoIn{
  from{opacity:0; translate:0 10px;}
  to{opacity:1; translate:0 0;}
}

/* desktop-only; smaller screens scroll the fixed poster instead of breaking it */
@media(max-width:1200px){
  .scrapbook{
    justify-content:flex-start !important;
    padding-left:20px !important;
  }
}


/* Cute password lock screen */
body.locked{overflow:hidden;}
body.locked .scrapbook,
body.locked .audio-pill{filter:blur(10px);pointer-events:none;user-select:none;}
.password-lock{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 20% 20%,rgba(255,232,221,.92),transparent 32%),radial-gradient(circle at 80% 10%,rgba(255,207,213,.88),transparent 30%),linear-gradient(135deg,#fff7ef,#f7d7d2 55%,#f5c9d5);transition:opacity .75s ease,visibility .75s ease;}
.password-lock.unlocking{opacity:0;visibility:hidden;}
.lock-card{width:min(430px,92vw);padding:34px 28px 28px;text-align:center;border:1px solid rgba(143,77,74,.18);border-radius:30px;background:rgba(255,250,244,.86);box-shadow:0 30px 90px rgba(132,63,76,.22),inset 0 0 0 1px rgba(255,255,255,.65);backdrop-filter:blur(14px);transform:translateY(0);animation:lockFloat 4s ease-in-out infinite;}
.lock-icon{font-size:46px;margin-bottom:8px;filter:drop-shadow(0 8px 12px rgba(138,71,74,.18));}
.lock-kicker{margin:0 0 8px;text-transform:uppercase;letter-spacing:.18em;font-size:11px;color:#9d6a62;font-weight:700;}
.lock-card h1{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:clamp(28px,6vw,42px);line-height:1.03;color:#743f3c;font-weight:500;}
.lock-hint{margin:14px 0 22px;color:#9a615d;font-size:16px;}
.password-row{display:flex;gap:10px;align-items:center;justify-content:center;}
.password-row input{min-width:0;flex:1;padding:15px 16px;border-radius:999px;border:1px solid rgba(126,66,62,.25);background:#fffaf5;color:#6f3e3c;outline:none;font-size:15px;box-shadow:inset 0 2px 6px rgba(126,66,62,.06);}
.password-row input:focus{border-color:rgba(126,66,62,.55);box-shadow:0 0 0 4px rgba(189,113,107,.12),inset 0 2px 6px rgba(126,66,62,.05);}
.password-row button{border:0;border-radius:999px;padding:15px 18px;background:#8f4d4a;color:#fffaf5;font-weight:800;cursor:pointer;box-shadow:0 10px 22px rgba(143,77,74,.28);transition:transform .2s ease,box-shadow .2s ease;white-space:nowrap;}
.password-row button:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(143,77,74,.34);}
.lock-error{height:18px;margin:14px 0 0;color:#b44747;font-size:14px;opacity:0;transition:opacity .2s ease;}
.password-lock.wrong .lock-error{opacity:1;}
.password-lock.wrong .lock-card{animation:shake .32s ease, lockFloat 4s ease-in-out infinite .35s;}
.lock-sparkle{position:absolute;color:#8f4d4a;opacity:.55;font-size:34px;animation:twinkle 2.8s ease-in-out infinite;}
.lock-sparkle-one{top:18%;left:18%;}.lock-sparkle-two{right:20%;bottom:20%;animation-delay:1s;}
@keyframes lockFloat{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-8px) rotate(.4deg)}}
@keyframes twinkle{0%,100%{transform:scale(.85) rotate(0deg);opacity:.35}50%{transform:scale(1.15) rotate(12deg);opacity:.8}}
@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-8px)}50%{transform:translateX(8px)}75%{transform:translateX(-5px)}}
@media (max-width:520px){.password-row{flex-direction:column}.password-row input,.password-row button{width:100%}.lock-card{padding:30px 20px 24px}}

/* =========================================================
   Password screen scrapbook theme override
   ========================================================= */
.password-lock{
  background:
    radial-gradient(circle at 18% 18%, rgba(255,238,196,.62), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(214,169,104,.38), transparent 28%),
    linear-gradient(135deg, rgba(190,139,82,.72), rgba(244,221,184,.90) 48%, rgba(206,157,96,.76)),
    url("assets/elements/paper_textures/kraft_brown.png") center/cover !important;
  overflow:hidden !important;
}
.password-lock:before{
  content:"";
  position:absolute;
  inset:22px;
  border-radius:18px;
  background:
    url("assets/elements/overlays/dust_grain_1.png") center/cover,
    url("assets/elements/paper_textures/vintage_beige.png") center/cover;
  opacity:.32;
  box-shadow:inset 0 0 70px rgba(74,42,20,.22), 0 24px 75px rgba(65,35,15,.18);
  transform:rotate(-.35deg);
}
.password-lock:after{
  content:"badshah concert  •  secret code  •  maggie day  •  memories";
  position:absolute;
  left:50%;
  bottom:9%;
  transform:translateX(-50%) rotate(-2deg);
  width:min(760px,84vw);
  text-align:center;
  font-family:PatrickHand,cursive;
  font-size:24px;
  letter-spacing:.05em;
  color:rgba(82,49,30,.22);
  pointer-events:none;
}
.lock-card{
  position:relative !important;
  width:min(455px,92vw) !important;
  padding:44px 34px 34px !important;
  border:0 !important;
  border-radius:16px !important;
  background:
    linear-gradient(rgba(255,249,232,.83), rgba(255,239,206,.87)),
    url("assets/elements/paper_textures/cream_center_paper.png") center/cover !important;
  box-shadow:0 28px 65px rgba(71,40,18,.24), inset 0 0 28px rgba(255,255,255,.36) !important;
  backdrop-filter:none !important;
  transform:rotate(-1.4deg) !important;
  animation:lockFloatScrap 4s ease-in-out infinite !important;
}
.lock-card:before,
.lock-card:after{
  content:"";
  position:absolute;
  z-index:2;
  width:145px;
  height:38px;
  background:url("assets/elements/tapes/masking_tape_2.png") center/100% 100% no-repeat;
  opacity:.78;
  filter:drop-shadow(0 5px 4px rgba(75,40,20,.13));
  pointer-events:none;
}
.lock-card:before{top:-18px;left:24px;transform:rotate(-8deg);}
.lock-card:after{right:22px;bottom:-16px;transform:rotate(8deg);}
.lock-icon{
  font-size:44px !important;
  margin-bottom:10px !important;
  filter:drop-shadow(0 8px 9px rgba(75,40,20,.16)) !important;
}
.lock-kicker{
  color:#7a4c30 !important;
  letter-spacing:.20em !important;
  font-family:PatrickHand,cursive !important;
  font-size:13px !important;
}
.lock-card h1{
  font-family:Brittany, PatrickHand, cursive !important;
  color:#4b2f20 !important;
  font-size:clamp(38px,8vw,58px) !important;
  line-height:.95 !important;
  font-weight:400 !important;
  text-shadow:0 1px rgba(255,255,255,.55) !important;
}
.lock-hint{
  display:inline-block !important;
  margin:20px 0 24px !important;
  padding:9px 18px !important;
  color:#6b432b !important;
  background:rgba(239,217,179,.72) !important;
  border:1px dashed rgba(111,72,43,.32) !important;
  border-radius:999px !important;
  font-size:20px !important;
  transform:rotate(.5deg);
}
.password-row input{
  background:rgba(255,250,236,.88) !important;
  border:1px solid rgba(96,58,32,.28) !important;
  color:#4b2f20 !important;
  border-radius:14px !important;
  font-family:PatrickHand,cursive !important;
  font-size:19px !important;
  box-shadow:inset 0 2px 8px rgba(83,49,25,.08) !important;
}
.password-row input:focus{
  border-color:rgba(96,58,32,.58) !important;
  box-shadow:0 0 0 4px rgba(174,124,71,.16), inset 0 2px 8px rgba(83,49,25,.08) !important;
}
.password-row button{
  border-radius:14px !important;
  background:#6f472d !important;
  color:#fff6df !important;
  font-family:PatrickHand,cursive !important;
  font-size:19px !important;
  box-shadow:0 10px 20px rgba(84,50,27,.25) !important;
}
.password-row button:hover{box-shadow:0 14px 25px rgba(84,50,27,.31) !important;}
.lock-error{color:#8a3f31 !important;font-family:PatrickHand,cursive !important;font-size:17px !important;}
.lock-sparkle{
  color:#6f472d !important;
  opacity:.45 !important;
  font-family:PatrickHand,cursive !important;
}
.lock-sparkle-one{top:16% !important;left:16% !important;}
.lock-sparkle-two{right:18% !important;bottom:18% !important;}
.password-lock.wrong .lock-card{animation:shake .32s ease, lockFloatScrap 4s ease-in-out infinite .35s !important;}
@keyframes lockFloatScrap{0%,100%{transform:translateY(0) rotate(-1.4deg)}50%{transform:translateY(-7px) rotate(-.6deg)}}
@media (max-width:520px){
  .password-lock:before{inset:10px !important;}
  .password-lock:after{font-size:18px !important;bottom:5% !important;}
  .lock-card{padding:40px 22px 28px !important;}
  .lock-card h1{font-size:42px !important;}
  .lock-hint{font-size:18px !important;}
}


/* =========================================================
   Password text arrangement fix
   ========================================================= */
.lock-card{
  width:min(640px,92vw) !important;
  padding:42px 48px 34px !important;
}
.lock-icon{
  margin-bottom:14px !important;
}
.lock-kicker{
  margin:0 auto 20px !important;
  max-width:560px !important;
  font-size:14px !important;
  letter-spacing:.24em !important;
  line-height:1.35 !important;
  white-space:normal !important;
}
.lock-card h1{
  margin:0 auto !important;
  max-width:560px !important;
  font-size:clamp(50px,7vw,76px) !important;
  line-height:.98 !important;
  text-align:center !important;
  letter-spacing:.01em !important;
}
.lock-card h1 span{
  display:block !important;
  white-space:nowrap !important;
}
.lock-hint{
  margin:28px 0 28px !important;
  font-size:22px !important;
  padding:10px 28px !important;
}
.password-row{
  width:100% !important;
  gap:18px !important;
  align-items:stretch !important;
}
.password-row input{
  height:60px !important;
  padding:14px 20px !important;
  font-size:22px !important;
}
.password-row button{
  min-width:142px !important;
  height:60px !important;
  padding:14px 24px !important;
  font-size:22px !important;
}
.lock-error{
  height:22px !important;
  margin-top:16px !important;
}
@media (max-width:700px){
  .lock-card{
    width:min(520px,92vw) !important;
    padding:38px 24px 28px !important;
  }
  .lock-kicker{
    font-size:12px !important;
    letter-spacing:.18em !important;
  }
  .lock-card h1{
    font-size:clamp(42px,13vw,58px) !important;
  }
  .password-row{
    flex-direction:column !important;
    gap:12px !important;
  }
  .password-row input,.password-row button{
    width:100% !important;
  }
}
@media (max-width:390px){
  .lock-card h1{
    font-size:38px !important;
  }
  .lock-card h1 span{
    white-space:normal !important;
  }
  .lock-hint{font-size:18px !important;}
}
