:root{--paper:#fbf7ec;--paper2:#f0eadc;--ink:#152942;--muted:#62707c;--gold:#d6b365;--night:#10203c;--line:#dcd9cc;--display:'Fraunces',Georgia,serif;--body:'Mulish',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);line-height:1.65}html{scroll-behavior:smooth;scroll-padding-top:90px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.09;letter-spacing:-.045em}h1{font-size:clamp(50px,5.4vw,83px)}h2{font-size:clamp(36px,4vw,58px)}h3{font-size:27px}em{font-weight:400;color:#ae8239}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #bd9a46;outline-offset:5px}button{border:0}header{position:absolute;inset:0 0 auto;z-index:4;height:100px;padding:20px 5%;display:flex;align-items:center;justify-content:space-between;color:var(--paper);gap:25px}header nav{display:flex;gap:18px;font-size:14px;margin-left:auto;margin-right:24px}header nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}.brand{display:inline-flex;align-items:center;min-height:48px;line-height:0;flex:none}.brand img{width:178px;height:auto}.footer-brand{background:var(--night);padding:12px 18px 10px;border-radius:12px;box-shadow:0 10px 24px -14px #10203c99}.footer-brand img{width:150px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;text-align:center;line-height:1.25;background:#f8edcf;color:#1a2b46;padding:17px 25px;border-radius:8px;font-weight:800;font-size:14px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px);background:#efd89f}.button.small{padding:10px 18px;font-size:13px;min-height:44px}.button.navy{background:var(--ink);color:var(--paper)}.button.navy:hover{background:#294363}.button .label{display:inline}.button .arrow{font-size:21px;font-weight:400;line-height:1}.hero{min-height:790px;height:94svh;max-height:1080px;position:relative;display:flex;align-items:center;background:#10203c url('assets/hero.webp') 62% center/cover no-repeat;color:var(--paper);overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,22,48,.65),rgba(9,22,48,.15) 48%,transparent 80%),linear-gradient(0deg,rgba(6,16,35,.25),transparent 30%)}.hero-copy{position:relative;max-width:630px;padding:125px 0 60px;margin-left:6%;width:42%}.eyebrow{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.19em;margin-bottom:23px;color:#9d7941}.eyebrow.warm{color:#e6c57e}.hero h1 em{color:#f1cb7a}.intro{font-size:17px;max-width:405px;margin-top:25px;line-height:1.65;color:#ebe5d8}.name-form{display:flex;background:rgba(255,255,255,.12);border:1px solid #ffffff4d;padding:7px;border-radius:11px;max-width:440px;margin-top:28px;backdrop-filter:blur(16px)}.name-form input{background:transparent;color:white;border:0;outline:none;width:100%;min-width:0;padding:12px;font-size:14px}.name-form input::placeholder{color:#eee3d3}.name-form button{border-radius:6px;padding:9px 20px;color:#172941;background:#f9edcf;font-family:var(--display);font-style:italic;font-size:20px;white-space:nowrap}.name-form button{display:inline-flex;align-items:center;gap:12px;min-height:46px}.name-form button .arrow{font-family:var(--body);font-style:normal;font-size:19px}.hero-note{font-size:11px;color:#e1d9c8;margin-top:11px}.text-link{display:inline-flex;align-items:center;gap:14px;min-height:44px;border-bottom:1px solid #ffffff57;margin-top:29px;font-size:12px;padding-bottom:4px}.hero-caption{position:absolute;right:5%;bottom:35px;font-size:8px;letter-spacing:.2em;color:#fff7df}.ribbon{display:flex;justify-content:center;gap:55px;padding:19px 25px;background:#172d4c;color:#e7d7b1;font-size:10px;letter-spacing:.035em}.wrap{max-width:1170px;margin:auto;padding-left:30px;padding-right:30px}.intro-section{padding-top:105px;padding-bottom:100px;text-align:center}.lede{max-width:610px;margin:25px auto 0;color:var(--muted);font-size:15px}.chapter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:27px;margin-top:48px;text-align:left}.chapter{display:block}.chapter img{aspect-ratio:1.28;object-fit:cover;border-radius:120px 120px 7px 7px;transition:transform .35s}.chapter:hover img{transform:translateY(-5px)}.chapter-no{display:block;font-size:9px;letter-spacing:.15em;color:#9b7945;margin:25px 0 12px}.chapter h3{font-size:25px;letter-spacing:-.025em}.chapter p{font-size:13px;color:var(--muted);margin-top:12px;max-width:290px}.inside{background:#eaeedf;padding:85px 0 65px;background:radial-gradient(ellipse at center,#fdf9ef,#eae8dc)}.section-heading{display:flex;justify-content:space-between;gap:50px;align-items:end}.section-heading>p{max-width:290px;font-size:14px;color:var(--muted)}.sample-note{text-align:center;font-size:14px;color:var(--muted);margin-top:18px}.keepsake{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center;padding-top:110px;padding-bottom:110px}.keepsake-art{position:relative;background:#e6dfcb;border-radius:50% 50% 8px 8px;padding:70px 28px 65px}.keepsake-art>img{transform:rotate(-8deg);box-shadow:10px 20px 25px #15294240;border-right:4px solid #d9caaa;border-bottom:4px solid #e9ddc6}.seal{position:absolute;right:-17px;bottom:15px;width:118px;height:118px;border-radius:50%;border:1px solid #c2a26a;outline:6px solid var(--paper);background:var(--paper);display:flex;flex-direction:column;justify-content:center;text-align:center;font-size:9px;line-height:1.6;letter-spacing:.1em}.seal em{font-family:var(--display);font-size:20px;letter-spacing:0}.keepsake h2{font-size:39px}.keepsake-copy>p:not(.eyebrow){font-size:14px;color:var(--muted);margin-top:22px}.facts{list-style:none;padding:0;margin:25px 0;font-size:12px}.facts li{padding:11px 0;border-bottom:1px solid var(--line);display:flex;gap:18px}.facts span{color:#b38b49;font-size:10px}.how{background:#f0eadc;padding:85px 0;text-align:center}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;text-align:left;margin:50px 0 35px}.step-number{display:block;font-family:var(--display);font-size:46px;color:#b38b49;border-bottom:1px solid #d7cfbd;padding-bottom:15px;margin-bottom:20px}.steps h3{font-size:25px}.steps p{font-size:13px;color:var(--muted);margin-top:14px}.faith{text-align:center;padding-top:85px;padding-bottom:85px;max-width:850px}.ornament{font-size:32px;color:#ba9653;display:block;margin-bottom:25px}.faith>p:not(.eyebrow){color:var(--muted);font-size:14px;max-width:610px;margin:25px auto}.faith-tags{display:flex;justify-content:center;gap:23px;font-family:var(--display);font-size:18px;margin-top:35px}.faith-tags i{font-size:12px;color:#b38b49}.faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;padding-top:65px;padding-bottom:95px;border-top:1px solid var(--line)}.faq h2{font-size:43px}details{border-bottom:1px solid var(--line);padding:10px 0}summary{font-size:15px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;font-weight:700;min-height:44px}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-size:22px;color:#a68549;font-weight:400}details[open] summary:after{content:'−'}details p{font-size:14px;color:var(--muted);margin:12px 20px 0 0}.last{min-height:450px;background:linear-gradient(90deg,#0d204af5,#0d204a7a),url('assets/hero.webp') center 60%/cover;color:var(--paper);display:flex;align-items:center;justify-content:center;text-align:center;padding:65px 25px}.last h2{font-size:64px}.last em{color:#edc980}.last p:not(.eyebrow){font-size:14px;margin-top:20px}.last .button{margin-top:25px}footer{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:25px;padding-top:45px;padding-bottom:35px}footer>p,footer>a:not(.brand){font-size:13px}.footer-link{display:inline-flex;align-items:center;gap:6px;min-height:44px}footer small{font-size:9px;width:50%;color:var(--muted)}.preview-label{font-size:9px;color:var(--muted)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{padding:0;border:0;border-radius:16px;width:min(940px,95vw);max-height:92svh;background:var(--paper);color:var(--ink);box-shadow:0 35px 100px #0007}dialog[open]{display:grid;grid-template-columns:.85fr 1.15fr}dialog::backdrop{background:#07152bbb;backdrop-filter:blur(5px)}.close{position:absolute;right:10px;top:8px;width:48px;height:48px;font-size:28px;color:var(--ink);background:transparent;z-index:2;border-radius:50%}.builder-art .brand img{width:150px}.builder-art{background:linear-gradient(#10203cdd,#10203c88),url('assets/hero.webp') 75% center/cover;padding:40px 28px;color:#f9efd8;display:flex;flex-direction:column;justify-content:space-between;min-height:620px}.builder-art>img{transform:rotate(-7deg);box-shadow:0 15px 35px #0005;margin:40px 0}.builder-art>p{font-family:var(--display);font-size:29px;line-height:1.2}.builder-art em{color:#e7c578}.builder-art small{font-size:9px;margin-top:15px}.builder-body{padding:45px 40px;overflow-y:auto}.progress{display:flex;gap:6px;margin:0 0 30px}.progress i{height:3px;flex:1;background:#ded9cc}.progress i.active{background:#b58b40}.builder-body h2{font-size:36px;margin-bottom:17px}.panel>p{font-size:13px;color:var(--muted);margin-bottom:20px}.panel label:not(.upload){display:block;font-size:12px;font-weight:800;margin:17px 0 7px}.panel label span{font-weight:400;color:var(--muted)}.panel input:not([type=file]),.panel select,.panel textarea{width:100%;padding:12px;border:1px solid #d4cdbc;background:#fffdf6;border-radius:7px;color:var(--ink)}.builder-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:28px}.builder-actions>button:first-child{background:none;font-size:13px;min-height:44px;padding:0 10px}.builder-actions .button{font-size:13px;padding:13px 19px}.error{color:#a13535;font-size:12px;margin-top:12px;min-height:1em}.upload{min-height:190px;display:flex;align-items:center;justify-content:center;border:1px dashed #b6a47f;border-radius:9px;cursor:pointer;text-align:center;background:#f0eadc;overflow:hidden;position:relative}.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.upload img{max-height:200px;object-fit:contain}.hint{font-size:11px!important;line-height:1.65;margin-top:18px;color:var(--muted)}#charCount{font-size:10px;color:var(--muted)}#summary p{font-size:13px;border-bottom:1px solid var(--line);padding:12px 0;word-break:break-word}#summary strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#9d7941}body.modal-open{overflow:hidden}[hidden]{display:none!important}
@media(min-width:1600px){.hero-copy{margin-left:max(6%,calc((100vw - 1400px)/2))}}
@media(max-width:850px){header nav{gap:15px;margin-right:0}header{padding:18px 25px}.hero-copy{width:50%;margin-left:5%}.hero h1{font-size:58px}.ribbon{gap:22px;font-size:9px}.keepsake{gap:40px}.chapter-grid{gap:18px}.steps{gap:25px}.hero-caption{display:none}.keepsake h2{font-size:33px}.lede,.chapter p,.steps p,.facts,.keepsake-copy>p:not(.eyebrow),.section-heading>p,details p{font-size:14px}}
@media(max-width:600px){header{height:85px;padding:18px 16px;gap:12px}.brand img{width:136px}header nav{display:none}.button.small{padding:10px 14px;font-size:14px;gap:8px}.button.small .arrow{font-size:17px}.hero{height:auto;min-height:920px;align-items:start;background-position:67% bottom;background-size:auto 73%;background-color:#112441;background-repeat:no-repeat}.hero-shade{background:linear-gradient(180deg,#10203c 0%,#10203cfa 25%,#10203cd0 46%,#10203c80 62%,#10203c00 78%)}.hero-note,.text-link{text-shadow:0 1px 8px #10203c,0 0 2px #10203c}.hero-copy{margin:0;padding:125px 25px 0;width:100%;max-width:none}.hero h1{font-size:clamp(42px,13vw,53px);line-height:1.04}.hero .eyebrow{font-size:11px;max-width:290px;margin-bottom:20px}.intro{font-size:16px;max-width:340px;margin-top:20px}.name-form{margin-top:23px;max-width:380px}.hero-note{font-size:14px}.name-form input{font-size:16px}.text-link{margin-top:16px;font-size:14px}.ribbon{flex-wrap:wrap;gap:7px;padding:17px 20px;text-align:center}.ribbon span{width:100%;font-size:12px}.wrap{padding-left:24px;padding-right:24px}.intro-section{padding-top:65px;padding-bottom:60px}.eyebrow{font-size:11px;margin-bottom:17px}h2{font-size:37px}.lede{font-size:15px}.chapter p,.steps p,.facts,.keepsake-copy>p:not(.eyebrow),.faith>p:not(.eyebrow),.last p:not(.eyebrow){font-size:15px}.chapter-no{font-size:11px}.facts span{font-size:12px}.chapter-grid{grid-template-columns:1fr;gap:35px;margin-top:32px}.chapter{max-width:360px;margin:auto}.chapter img{aspect-ratio:1.4;border-radius:120px 120px 5px 5px}.chapter-no{margin-top:18px}.chapter p{max-width:none}.inside{padding:55px 0 40px}.section-heading{display:block}.section-heading>p{max-width:none;font-size:15px;margin-top:20px}.keepsake{grid-template-columns:1fr;padding-top:70px;padding-bottom:65px;gap:45px}.keepsake-art{margin:0 15px 0 0;padding:60px 25px}.keepsake h2{font-size:37px}.how{padding:60px 0}.steps{grid-template-columns:1fr;gap:25px;margin-top:30px}.steps article{display:grid;grid-template-columns:55px 1fr;column-gap:20px}.step-number{grid-row:span 2;font-size:35px;border:0;margin:0;padding:0}.steps h3{font-size:25px}.steps p{grid-column:2;margin-top:10px}.faith{padding-top:60px;padding-bottom:55px}.faith-tags{gap:10px;font-size:15px;flex-wrap:wrap}.faith-tags i{font-size:10px}.faq{grid-template-columns:1fr;gap:25px;padding-top:50px;padding-bottom:60px}.faq h2{font-size:37px}.last{min-height:410px}.last h2{font-size:48px}.last .eyebrow{font-size:11px}footer{justify-content:center;text-align:center;gap:20px}footer>p{width:100%;font-size:15px}.footer-link{font-size:14px!important}footer small{width:100%;font-size:12px}.preview-label{font-size:12px}dialog[open]{display:block}.builder-art{display:none}.builder-body{padding:40px 20px;min-height:540px}.panel>p{font-size:15px}.hint{font-size:13px!important}.builder-body h2{font-size:34px}}
/* Look inside: the 3D sample book (book/book-preview.js + book/scene.js), carried over from the earlier Hudhud site */
.bp{position:relative;margin-top:38px}
.bp-stage{position:relative;width:100%;aspect-ratio:16/8.6;max-height:78svh;border-radius:22px;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#fffaf0 0%,#f3ecdb 55%,#e4d8bb 100%);box-shadow:inset 0 0 0 1px #7d561220}
@media(min-width:900px){.bp-stage{aspect-ratio:16/7.4}}
.bp-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:pan-y pinch-zoom;opacity:0;transition:opacity .35s ease;outline:none}
.bp-canvas.is-live{opacity:1}
.bp-poster{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:16px;border:0;padding:5% 8%;background:transparent;cursor:pointer;transition:opacity .35s ease;color:var(--ink)}
.bp-poster.is-hidden{opacity:0;pointer-events:none}
.bp-poster-book{position:relative;display:block;width:min(52%,460px);border-radius:3px 8px 8px 3px;transform:perspective(1400px) rotateX(16deg);box-shadow:-4px 0 0 #16244f,0 2px 0 #e9ddc0,1px 3px 0 #16244f,0 30px 40px -18px #28180699;transition:transform .3s ease}
.bp-poster-book img{width:100%;height:auto;border-radius:2px 7px 7px 2px}
.bp-poster:hover .bp-poster-book,.bp-poster:focus-visible .bp-poster-book{transform:perspective(1400px) rotateX(10deg) translateY(-4px)}
.bp-poster-hint{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#9d7941}
.bp-loading,.bp-excerpt{position:absolute;left:50%;transform:translateX(-50%);margin:0;padding:8px 16px;border-radius:999px;background:#10203ce6;color:#fff;font-weight:700;font-size:14px;text-align:center;width:max-content;max-width:calc(100% - 32px)}
.bp-loading{bottom:16px}
.bp-excerpt{top:12px;border-radius:14px;line-height:1.4}
.bp-start{display:flex;justify-content:center;margin-top:22px}
.bp-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:18px}
.bp-nav{min-width:56px;min-height:52px;padding:0 20px;border-radius:999px;border:0;background:var(--ink);color:var(--paper);font-weight:800;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.bp-nav span[aria-hidden]{font-size:20px;line-height:1}
.bp-nav:hover{background:#294363}
.bp-nav:disabled{opacity:.35;cursor:default}
.bp-pos{margin:0;text-align:center;display:grid;line-height:1.35}
.bp-pos-main{font-weight:800;font-size:14px;color:var(--ink)}
.bp-pos-sub{font-size:13px;color:var(--muted)}
.bp-tools{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.bp-tool{min-height:44px;padding:8px 18px;border-radius:999px;border:1px solid #cfc6b1;background:#fffdf6;color:var(--ink);font-weight:700;font-size:14px}
.bp-tool:hover{border-color:#b38b49}
.bp-end{position:absolute;inset:0;display:grid;place-items:center;padding:12px;background:#f8f0decc;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);overflow:auto}
.bp-end-card{max-width:30em;background:var(--night);color:#e9ecf8;border:1px solid #d6b365;border-radius:18px;padding:20px;text-align:center;display:grid;gap:8px;justify-items:center;box-shadow:0 18px 40px -18px #070d2673}
.bp-end-card p{font-size:14px}
.bp-end-k{text-transform:uppercase;letter-spacing:.14em;font-size:11px!important;color:#f3d48a;font-weight:800}
.bp-end-h{font-family:var(--display);font-size:clamp(20px,3vw,28px)!important;line-height:1.2;color:#fff}
.bp-end-card .button{margin-top:6px}
.bp-end-back{background:none;color:#f3d48a;font-weight:700;font-size:14px;min-height:44px;padding:0 12px;text-decoration:underline;text-underline-offset:3px}
.bp-fallback{position:absolute;inset:0;display:grid;align-content:center;padding:12px}
.bp-fb-spread{display:grid;grid-template-columns:1fr 1fr;max-width:1100px;margin:0 auto;width:100%;box-shadow:0 24px 40px -22px #28180699;touch-action:pan-y pinch-zoom}
.bp-fb-page{padding:0;border:0;background:#f4ead4;cursor:zoom-in;display:block;min-height:44px}
.bp-fb-page img{width:100%;height:auto;display:block;-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
.bp-fb-page:first-child img{box-shadow:inset -12px 0 18px -12px #00000059}
.bp-fb-blank{background:linear-gradient(90deg,#f4ead4 85%,#e6d8b8);aspect-ratio:1.25}
.bp-fb-note{text-align:center;margin-top:10px;font-size:13px;color:var(--muted)}
dialog.bp-reader{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#070d26;color:#fff;box-shadow:none}
dialog.bp-reader[open]{display:flex;flex-direction:column}
.bp-reader::backdrop{background:#040818e6}
.bp-r-bar{display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top,0px)) calc(10px + env(safe-area-inset-right,0px)) 8px calc(10px + env(safe-area-inset-left,0px))}
.bp-r-label{flex:1;margin:0;text-align:center;font-weight:700;font-size:14px;line-height:1.25;color:#e9ecf8;min-width:0}
.bp-r-btn{min-width:48px;min-height:48px;border-radius:12px;border:1px solid #f3d48a80;background:#182a5c;color:#fff;font-weight:800;font-size:15px;padding:0 12px}
.bp-r-btn:disabled{opacity:.35}
.bp-r-btn[data-bp-r-prev],.bp-r-btn[data-bp-r-next]{font-size:26px;line-height:1}
.bp-r-stage{flex:1;overflow:auto;display:grid;place-items:center;padding:8px;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch;min-height:0}
.bp-r-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 10px 40px #00000080}
.bp-r-stage.zoomed{display:block}
.bp-r-stage.zoomed img{max-width:none;max-height:none;width:220%}
@media(min-width:900px){.bp-r-stage.zoomed img{width:160%}}
.bp-r-textbox{padding:4px calc(16px + env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));background:#0f1a3d;max-height:34vh;overflow:auto;border:0}
.bp-r-textbox summary{color:#f3d48a}
.bp-r-textbox summary:after{color:#f3d48a}
.bp-r-textbox p{margin:0 0 6px;color:#e9ecf8;font-size:15px}
.bp-r-ex{color:#f3d48a!important;font-size:12px!important;text-transform:uppercase;letter-spacing:.08em}
@media(max-width:600px){.bp{margin-top:28px}.bp-stage{margin:0 -24px;width:auto;border-radius:0;aspect-ratio:16/10;max-height:none;box-shadow:inset 0 1px 0 #7d56121a,inset 0 -1px 0 #7d56121a}.bp-poster-book{width:min(64%,420px)}.bp-nav-t{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.bp-nav{min-width:60px}.bp-pos-sub{font-size:12px}.bp-end{padding:10px}.bp-end-card{padding:14px 16px;gap:6px}.bp-end-card p{font-size:14px;line-height:1.45}.bp-end-h{font-size:20px!important}.bp-end-card .button{margin-top:2px}}
@media(prefers-reduced-motion:reduce){.bp-canvas,.bp-poster,.bp-poster-book{transition:none!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Checkout: price breakdown, consent, cancelled-payment notice */
.totals{margin-top:14px;border-top:1px solid var(--line)}
.totals p{display:flex;justify-content:space-between;gap:16px;font-size:15px;padding:10px 0;border-bottom:1px solid var(--line)}
.totals p strong{font-weight:600;color:var(--muted)}
.totals p.total{font-size:18px;font-weight:800;border-bottom:0}
.totals p.total strong{color:var(--ink);font-weight:800}
.totals p.small{font-size:13px;color:var(--muted);border-bottom:0;padding:4px 0}
.consent{display:flex;gap:12px;align-items:flex-start;margin:16px 0 4px;font-size:14px;line-height:1.5;cursor:pointer}
.consent input{width:22px;height:22px;flex:none;margin:1px 0 0;accent-color:#16213e}
#continue:disabled{opacity:.6;cursor:default;transform:none}
.cancel-banner{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:14px;width:min(560px,calc(100% - 32px));padding:12px 14px 12px 18px;background:#10203c;color:#f8edcf;border-radius:12px;box-shadow:0 18px 40px #0005;font-size:14px}
.cancel-banner p{flex:1;margin:0}
.cancel-banner[hidden]{display:none}
@media(max-width:600px){.builder-body{padding:36px 18px 24px}.totals p{font-size:15px}.builder-actions{position:sticky;bottom:0;background:var(--paper);padding:12px 0 4px;margin-top:18px}.builder-actions .button{flex:1;min-height:52px;font-size:15px}}
@media(max-width:600px){dialog#builder{max-height:94svh;overflow:hidden}dialog#builder[open]{display:block}#builder .builder-body{max-height:94svh;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}}
.keepsake-art{display:flex;align-items:center;justify-content:center}
.keepsake-art>img.paperback{width:100%;max-width:none;height:auto;aspect-ratio:1.25;object-fit:contain;transform:rotate(-3deg);box-shadow:none;border:0;filter:drop-shadow(0 22px 26px #15294233)}
.chapter img{width:100%;height:auto;object-position:88% 40%}
@media(max-width:600px){.keepsake-art{padding:56px 22px 104px}.keepsake-art .seal{width:100px;height:100px;bottom:10px;right:-6px}.keepsake-art .seal em{font-size:17px}}

/* Order pop-up: boy/girl, and meeting the child's character before paying */
#builder fieldset.gender{border:0;padding:0;margin:14px 0 4px;display:flex;gap:10px;flex-wrap:wrap}
#builder fieldset.gender legend{font-size:13px;font-weight:700;color:var(--ink,#152942);margin-bottom:8px;padding:0}
#builder fieldset.gender label{display:flex;align-items:center;gap:8px;border:1px solid #d9cfba;border-radius:999px;padding:10px 18px;cursor:pointer;font-weight:600;background:#fffdf7}
#builder fieldset.gender input{accent-color:#152942;margin:0}
#builder fieldset.gender label:has(input:checked){border-color:#152942;background:#f3eee2}
#builder .meet{margin:6px 0 16px}
#builder .meet .eyebrow{margin-bottom:8px}
#builder .meet-frame{position:relative;border-radius:14px;overflow:hidden;background:linear-gradient(180deg,#f3eee2,#e9e1cf);aspect-ratio:1/1;max-width:360px}
#builder .meet-frame img{display:block;width:100%;height:100%;object-fit:cover}
#builder .meet-frame canvas{position:absolute;inset:0;width:100%;height:100%}
#builder .meet-frame img{position:relative;animation:meetin .7s ease}
@keyframes meetin{from{opacity:0;transform:scale(1.02)}to{opacity:1;transform:none}}
#builder .meet-wait{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 18px 16px;color:#fff;background:linear-gradient(180deg,transparent,rgba(16,32,60,.78) 45%)}
#builder .meet-wait p{margin:0 0 2px;font-family:var(--display,Georgia,serif);font-size:20px;text-shadow:0 1px 8px rgba(0,0,0,.4)}
#builder .meet-wait small{font-size:12.5px;opacity:.92}
#builder .meet-bar{width:72%;height:4px;border-radius:4px;background:rgba(255,255,255,.25);margin:9px 0 6px;overflow:hidden}
#builder .meet-bar i{display:block;height:100%;width:4%;background:#e6c57e;border-radius:4px;transition:width 1s linear}
#builder .meet-note{font-size:13px;color:#6d7280;margin-top:8px}
@media (prefers-reduced-motion:reduce){#builder .meet-frame img{animation:none}#builder .meet-bar i{transition:none}}
/* Review: what they're buying, when it arrives */
#builder .order-card{display:flex;gap:16px;align-items:flex-start;background:#f3eee2;border-radius:12px;padding:14px;margin:4px 0 6px}
#builder .order-card img{width:120px;height:auto;border-radius:4px;box-shadow:0 6px 14px -6px #15294266;flex:none}
#builder .oc-title{font-family:var(--display);font-size:21px;line-height:1.2;letter-spacing:-.02em}
#builder .oc-sub{font-size:12px;color:var(--muted);margin:2px 0 8px}
#builder .order-card ul{margin:0;padding:0;list-style:none;font-size:13px;line-height:1.45}
#builder .order-card li{padding-left:16px;position:relative;margin:3px 0}
#builder .order-card li:before{content:'✦';position:absolute;left:0;top:1px;font-size:9px;color:#ae8239}
#builder .deliv{margin:16px 0 4px}
#builder .deliv .eyebrow{margin-bottom:10px}
#builder .timeline{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid #e2d6b8}
#builder .timeline li{position:relative;padding:0 0 12px 4px}
#builder .timeline li:before{content:'';position:absolute;left:-25px;top:5px;width:10px;height:10px;border-radius:50%;background:#fbf7ec;border:2px solid #ae8239}
#builder .timeline li:last-child{padding-bottom:0}
#builder .timeline li:last-child:before{background:#ae8239}
#builder .timeline strong{display:block;font-size:14px}
#builder .timeline span{display:block;font-size:13px;color:var(--muted);line-height:1.45}
#builder .assure{list-style:none;padding:0;margin:14px 0 0;font-size:12.5px;color:var(--muted)}
#builder .assure li{padding:3px 0 3px 22px;position:relative}
#builder .assure li:before{content:'✓';position:absolute;left:2px;color:#2f7a4f;font-weight:800}
#builder .peek{margin-top:18px}
#builder .peek .eyebrow{margin-bottom:8px}
#builder .peek .eyebrow span{text-transform:none;letter-spacing:0;font-weight:400;color:var(--muted)}
#builder .peek-row{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
#builder .peek-row img{height:110px;width:auto;border-radius:6px;scroll-snap-align:start;flex:none}
@media(max-width:600px){#builder .order-card img{width:84px}#builder .oc-title{font-size:19px}#builder .order-card ul{font-size:14px}#builder .timeline span{font-size:14px}#builder .assure{font-size:13.5px}}
#builder label.consent{display:flex;gap:12px;align-items:flex-start;text-align:left;margin-top:14px;cursor:pointer}
#builder label.consent input{flex:0 0 auto;width:20px;height:20px;margin:2px 0 0;accent-color:#152942}
/* A partner's link: the family's discount, shown across the top */
.ref-bar{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:80;margin:0;width:max-content;max-width:calc(100% - 32px);padding:11px 18px;border-radius:999px;background:#d6b365;color:#10203c;text-align:center;font-weight:800;font-size:14px;line-height:1.35;box-shadow:0 14px 34px #0006}
