:root{--ink:#251d24;--muted:#665a64;--plum:#5b2142;--lilac:#ebe7f1;--paper:#fcfaf7;--line:#d8cfdf;font-family:'Avenir Next',Avenir,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
button,input,textarea{font:inherit}
a{color:inherit}
button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.65}
[hidden]{display:none!important}
header,main,footer{max-width:1280px;margin:auto}
header{display:flex;justify-content:space-between;align-items:center;padding:28px 40px}
.brand{font-size:27px;font-weight:700;text-decoration:none;letter-spacing:-1.2px}
.nav-link{font-size:15px;text-underline-offset:5px}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:64px;padding:65px 40px 72px}
.hero-copy{max-width:500px}
.kicker{font-size:17px;margin:0 0 24px;color:var(--plum)}
h1,h2,h3,p{margin-top:0}
h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(44px,5.1vw,68px);letter-spacing:-1.9px;line-height:1.07;margin-bottom:24px}
.lede{font-size:19px;line-height:1.65;color:var(--muted);max-width:430px;margin-bottom:28px}
.button{display:inline-flex;align-items:center;justify-content:center;background:var(--plum);color:white;border:1px solid var(--plum);padding:15px 22px;border-radius:8px;min-height:50px;text-decoration:none;font-weight:600;line-height:1.3}
.button:hover{background:#381126}
.quiet{font-size:13px;line-height:1.6;color:var(--muted);margin:13px 0 20px}
figure{margin:0}
figure img{width:100%;display:block;border-radius:14px}
figcaption{font-size:12px;line-height:1.5;color:var(--muted);padding-top:12px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:44px;padding:38px 40px 58px;border-bottom:1px solid var(--line)}
.steps>div{position:relative;padding-left:39px}
.steps span{position:absolute;left:0;top:0;color:var(--plum);font-size:20px}
.steps h2{font-size:17px;margin-bottom:10px}
.steps p{font-size:15px;color:var(--muted);line-height:1.6;margin:0}
.create{padding:72px 40px;scroll-margin-top:25px}
.section-intro{margin-bottom:32px}
.section-intro h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:40px;letter-spacing:-.8px;margin-bottom:12px}
.section-intro p{color:var(--muted);line-height:1.6}
.design-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);gap:44px;align-items:start}
.preview-pane{background:var(--lilac);border-radius:14px;min-height:490px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;text-align:center;position:sticky;top:24px}
.preview-pane h3{font-size:23px;font-weight:500;margin-bottom:12px}
.preview-pane p{font-size:15px;line-height:1.65;color:var(--muted);max-width:340px;margin:0 auto}
.photo-mark{font-size:42px;line-height:1;width:76px;height:90px;border:1px solid #ada0b5;border-radius:8px;margin:0 auto 24px;display:grid;place-items:center;color:#88728b;transform:rotate(-5deg)}
#designImage{display:block;max-width:100%;max-height:600px;object-fit:contain;border-radius:6px}
.preview-pane .image-caption{font-size:12px;max-width:440px;margin-top:16px}
.order-pane{padding:5px 0}
.order-pane h3{font-size:25px;letter-spacing:-.6px;margin-bottom:16px}
.order-pane p{line-height:1.65}
label{display:block;font-size:14px;font-weight:500;margin-bottom:20px}
input:not([type=checkbox]),textarea{display:block;width:100%;background:white;border:1px solid #bcb2be;border-radius:6px;color:var(--ink);padding:12px;margin-top:8px;min-height:46px}
textarea{resize:vertical;min-height:90px}
.upload{border:1px dashed #9c889f;border-radius:8px;padding:22px;background:#fff;margin:20px 0 0}
.upload>span{display:block;margin-bottom:16px;font-weight:600}
.upload input{border:0!important;padding:0!important;margin:0!important;font-size:13px;min-height:30px!important}
input::file-selector-button{padding:8px;border:1px solid var(--line);border-radius:4px;margin-right:10px;background:var(--lilac)}
.optional{font-weight:400;color:var(--muted);font-size:12px;margin-left:4px}
.required{font-weight:400;color:var(--muted);font-size:12px;margin-left:4px}
.quote-action{margin:0 0 20px;width:100%}
#quoteDetails{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:4px 0 20px}
#quoteDetails summary{font-size:14px;font-weight:600;list-style-position:inside}
#quoteDetails label:first-of-type{margin-top:18px}
.order-pane .button{width:100%}
.notice{background:#eee8f1;border:1px solid var(--line);padding:16px;border-radius:8px;line-height:1.6;margin:0 0 22px;overflow-wrap:anywhere}
.error{background:#fff0ed;color:#8b3021;border-color:#dbaea4;margin-top:18px}
.text-button{border:0;background:none;text-decoration:underline;text-underline-offset:4px;padding:13px 0;min-height:44px;font-size:14px;color:var(--plum)}
.price{font-size:40px;letter-spacing:-1.4px;font-weight:600;margin:0!important}
.offer-label{font-size:16px;margin-bottom:6px}
.terms{white-space:pre-wrap;background:var(--lilac);border-radius:8px;padding:16px;margin-top:20px;font-size:15px;overflow-wrap:anywhere}
.review{display:flex;gap:12px;font-size:13px;line-height:1.6;font-weight:400}
.review input{width:18px;height:18px;flex-shrink:0;margin-top:3px;accent-color:var(--plum)}
.questions{padding:0 40px 70px;max-width:870px;margin:auto}
details{border-top:1px solid var(--line);padding:21px 0}
summary{cursor:pointer;font-size:17px;line-height:1.5}
details p{font-size:15px;color:var(--muted);line-height:1.75;max-width:700px;margin:17px 0 0}
footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:32px 40px 45px}
footer p{color:var(--muted);font-size:14px;margin:0}
.spinner{width:34px;height:34px;border:2px solid #c9b7ce;border-top-color:var(--plum);border-radius:50%;animation:spin 1.3s linear infinite;margin:0 auto 24px}
@keyframes spin{to{transform:rotate(360deg)}
}
:focus-visible{outline:3px solid #7441a1;outline-offset:4px}
.skip{position:absolute;left:15px;top:-100px;background:white;padding:12px;z-index:10}
.skip:focus{top:15px}
@media(max-width:760px){header{padding:22px}
.hero{padding:30px 22px 40px;gap:30px;grid-template-columns:1fr}
.hero-copy{max-width:560px}
.hero figure{max-width:520px}
h1{font-size:47px}
.steps{grid-template-columns:1fr;gap:25px;padding:22px 22px 40px}
.create{padding:46px 22px}
.section-intro h2{font-size:34px}
.design-layout{grid-template-columns:1fr;gap:28px}
.preview-pane{position:static;min-height:320px;padding:22px}
.order-pane{max-width:560px;width:100%}
.questions{padding:0 22px 40px}
footer{padding:25px 22px;gap:20px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}
}

/* Keep the keepsake and the first action in view; reveal the preview after upload. */
.hero{padding-top:24px;padding-bottom:36px;gap:48px}
.hero figure img{max-height:490px;object-fit:contain;background:var(--lilac)}
.hero .lede{font-size:18px;line-height:1.55}
.create{padding-top:42px}
.empty .preview-pane{display:none}
.empty .design-layout{grid-template-columns:1fr}
.empty .order-pane{max-width:620px;margin:auto;width:100%;padding:24px;background:var(--lilac);border-radius:12px}
.empty .section-intro{text-align:center}
.steps{border-top:1px solid var(--line);border-bottom:0}
footer{flex-wrap:wrap;gap:20px}footer nav{font-size:13px;line-height:1.7}
.policy{max-width:780px;padding:35px 24px 70px}.policy h1{font-size:44px}.policy h2{font-size:24px;margin-top:34px}.policy p,.policy li{line-height:1.75;color:var(--muted)}
.policy a{text-underline-offset:3px}
dialog{max-width:480px;width:calc(100% - 36px);padding:28px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:var(--paper)}
dialog::backdrop{background:#251d2480}dialog p{line-height:1.65}dialog .button{margin:6px 0;width:100%}
@media(max-width:760px){
.hero{padding:12px 22px 24px;gap:16px;grid-template-columns:minmax(0,1fr)}
h1{font-size:42px;margin-bottom:16px}
.hero .lede{font-size:17px;margin-bottom:18px}
.hero figure{width:100%;max-width:none}
.hero figure img{height:260px;object-fit:contain}
.hero .quiet{margin-bottom:0}
figcaption{padding-top:8px}
.create{padding-top:28px}
.section-intro{margin-bottom:20px}
.empty .order-pane{padding:18px}
input:not([type=checkbox]),textarea,.upload input{font-size:16px}
.section-intro h2{font-size:30px}
}

/* Put the real upload next to the promise, before the example on small screens. */
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 48px;align-items:start}
.hero-copy{grid-column:1;grid-row:1}
.hero>.create{grid-column:2;grid-row:1 / span 2;padding:26px;background:var(--lilac);border-radius:14px;scroll-margin-top:12px;min-width:0}
.hero>.create .section-intro{text-align:left;margin-bottom:22px}
.hero>.create .section-intro h2{font-family:inherit;font-size:26px;font-weight:600;letter-spacing:-.6px}
.hero>.create .section-intro p{font-size:14px;margin-bottom:0}
.hero>.create .design-layout{grid-template-columns:1fr;gap:24px}
.hero>.create .order-pane{padding:0;background:none;max-width:none}
.hero>.create .preview-pane{position:static;min-height:230px;padding:0}
.hero>.create .order-pane h3{font-size:17px;letter-spacing:0;margin-bottom:12px}
.hero>.create .upload{margin-top:0;padding:16px}
.hero>figure{grid-column:1;grid-row:2;max-width:360px}
.hero>figure img{max-height:290px}
.selected-photo{display:flex;align-items:center;gap:14px;margin-top:16px;font-size:14px;line-height:1.5}
.selected-photo img{width:68px;height:68px;object-fit:cover;border-radius:6px;background:white}
.selected-photo span{max-width:220px}
.upload-reassurance{margin-bottom:0;text-align:center}
@media(max-width:760px){
header{padding:16px 20px}
.hero{padding:8px 20px 28px;grid-template-columns:minmax(0,1fr);gap:20px}
.hero-copy{grid-column:1;grid-row:auto}
.hero h1{font-size:36px;line-height:1.08;margin-bottom:12px}
.hero .lede{font-size:16px;line-height:1.5;margin-bottom:10px}
.hero-copy>.button{display:none}
.hero-copy>.quiet{margin:0;font-size:12px}
.hero>.create{grid-column:1;grid-row:auto;padding:18px}
.hero>.create .section-intro{margin-bottom:16px}
.hero>.create .section-intro h2{font-size:22px;margin-bottom:7px}
.hero>.create .section-intro p{font-size:13px;line-height:1.4}
.hero>.create .upload{padding:12px}
.hero>.create .upload>span{margin-bottom:8px}
.hero>.create .quiet{font-size:12px;margin-top:10px;margin-bottom:12px}
.hero>.create .upload-reassurance{margin-bottom:0}
.hero>figure{grid-column:1;grid-row:auto;max-width:100%}
.hero>figure img{height:230px}
}

/* Two design examples support the upload without moving its first action. */
.hero>.example-gallery{grid-column:1;grid-row:2;min-width:0}
.gallery-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.gallery-heading h2{font-size:21px;letter-spacing:-.4px;margin:0;font-weight:600}
.gallery-heading a{font-size:13px;text-underline-offset:4px;line-height:1.5;white-space:nowrap}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hero .gallery-grid figure{width:auto;max-width:none;min-width:0}
.hero .gallery-grid img{height:auto;max-height:none;aspect-ratio:3/4;object-fit:cover;object-position:center 65%;border-radius:9px}
.gallery-grid figcaption{font-size:15px;font-weight:600;color:var(--ink);padding-top:9px}
.gallery-caption{font-size:12px;line-height:1.5;color:var(--muted);margin:12px 0 0}
@media(max-width:760px){
.hero>.example-gallery{grid-column:1;grid-row:auto;margin-top:5px}
.gallery-heading{align-items:flex-start;gap:10px}
.gallery-heading h2{font-size:20px}
.gallery-heading a{font-size:12px;padding-top:3px}
.gallery-grid{gap:12px}
}
