:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Arial;color:#292820;background:#faf8f3}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}.top{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px);border-bottom:1px solid #e8e3d9;background:#fff}.brand{font-size:31px;font-weight:900;letter-spacing:-1.3px}.brand span{color:#df8061}.top small{color:#73736c;font-weight:600}.pill{background:#e6f3e9;color:#287643;font-size:12px;padding:8px 13px;border-radius:99px}.hero{max-width:1170px;margin:64px auto 22px;padding:0 20px;display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#c16d50;text-transform:uppercase}h1{font-size:clamp(42px,5vw,70px);line-height:1.04;letter-spacing:-3.7px;margin:18px 0}h1 em{font-style:normal;color:#df8061}.lead{font-size:18px;line-height:1.65;color:#716f68;max-width:520px}.steps{display:flex;gap:16px;flex-wrap:wrap;margin-top:26px;color:#666;font-size:13px;font-weight:650}.steps b{background:#efe9dc;border-radius:100%;padding:7px 11px;margin-right:5px;color:#443}.demo{background:#fff;border:1px solid #ece7dc;border-radius:24px;padding:25px;box-shadow:0 24px 70px #5f4c3212}.demo h2{margin:0 0 5px;font-size:23px;letter-spacing:-.6px}.muted{color:#7e7a74;font-size:14px;line-height:1.6}.drop{border:2px dashed #e5d5c4;border-radius:18px;background:#fffaf6;padding:23px;text-align:center;margin:18px 0}.drop strong{display:block;font-size:16px;margin:6px}.drop input{max-width:100%;font-size:12px;margin-top:12px}.tiny{font-size:12px;color:#8d8980}.action{border:0;background:#2f483a;color:#fff;padding:15px 22px;border-radius:12px;font-weight:750;width:100%;margin-top:12px}.action:disabled{background:#a5aca5;cursor:not-allowed}.secondary{background:#fff;color:#334b3d;border:1px solid #cad8cd}.preview{margin:17px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.preview figure{margin:0}.preview canvas,.preview img{width:100%;aspect-ratio:3/4;object-fit:contain;border:1px solid #e8e7df;border-radius:11px;background:#fff}.preview figcaption{text-align:center;color:#86827c;font-size:12px;margin-top:6px}.footer{max-width:1170px;margin:55px auto;padding:22px 20px;border-top:1px solid #e8e5dc;color:#8b8981;font-size:12px}.note{background:#f2f5f0;padding:13px;border-radius:10px;color:#526453;font-size:12px;margin-top:16px;line-height:1.6}.how{max-width:1170px;padding:0 20px;margin:30px auto;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.how>div{padding:20px;border:1px solid #eae6de;background:#fff;border-radius:16px}.how h3{margin:8px 0}.how p{color:#77756e;font-size:13px;line-height:1.6}.error{color:#a82b28;font-size:12px}.loader{color:#3c7354;font-size:12px}@media(max-width:820px){.hero{grid-template-columns:1fr;gap:25px;margin-top:36px}h1{letter-spacing:-2px}.how{grid-template-columns:1fr}.top small{display:none}}
.consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#716f68;line-height:1.5;padding-top:14px}.consent input{margin-top:2px;accent-color:#2f483a}#aiState{margin:8px 0 0}.brand{display:inline-block}

.brand{display:flex;align-items:center;text-decoration:none}.brand-logo{display:block;width:220px;height:66px;object-fit:contain;object-position:left center}@media(max-width:560px){.brand-logo{width:170px;height:57px}}

.builder{max-width:1170px;margin:26px auto 64px;padding:0 20px;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:48px}
.builder h2{font-size:34px;letter-spacing:-1.1px;line-height:1.14;margin:14px 0}
.builder-intro{padding:30px 3px}
.builder-panel{border-radius:20px;border:1px solid #ece7dc;background:white;padding:26px;box-shadow:0 14px 32px #5f4c320b}
.builder-panel input[type=file],.builder-panel input[type=text]{display:block;width:100%;border:1px solid #ddd8ce;border-radius:10px;padding:12px;background:#fff;font-size:13px}
.builder-panel input[type=range]{display:block;width:100%;accent-color:#df8061}
.fieldlabel{display:block;color:#45443f;font-size:13px;font-weight:700;margin:13px 0 8px}
.builder-panel p{margin-bottom:0}
@media(max-width:820px){.builder{grid-template-columns:1fr;gap:10px}.builder-intro{padding:0}}

.site-footer{margin-top:75px;background:#f3f0e9;border-top:1px solid #e7e1d7;color:#34332d}
.footer-container{max-width:1170px;margin:auto;padding:58px 20px 24px}
.footer-upper{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:52px}
.footer-brand{display:inline-flex;text-decoration:none}
.footer-brand img{width:200px;height:auto;display:block}
.footer-about p{color:#77746e;max-width:310px;font-size:14px;line-height:1.7;margin:12px 0}
.footer-status{font-size:11px;font-weight:700;color:#4c7358;background:#e5eee5;border-radius:99px;padding:6px 11px;display:inline-block}
.footer-column h3{font-size:13px;letter-spacing:.3px;margin:10px 0 19px}
.footer-column a{display:block;color:#77736d;text-decoration:none;margin:0 0 14px;font-size:13px;line-height:1.4}
.footer-column a:hover{color:#da785c}
.footer-bottom{border-top:1px solid #e4ded5;margin-top:43px;padding-top:22px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;color:#8b8981;font-size:11px}
.legal-page{max-width:840px;padding:55px 22px 75px;margin:0 auto;min-height:55vh}
.legal-page h1{font-size:43px;letter-spacing:-1.8px}
.legal-page h2{font-size:20px;margin:30px 0 9px}
.legal-page p,.legal-page li{line-height:1.75;color:#6f6b63;font-size:15px}
.legal-page a{color:#c97156}
.legal-notice{background:#f5efe5;border:1px solid #ecdecf;padding:17px 20px;border-radius:12px;margin:19px 0;color:#6b5e50;line-height:1.6;font-size:14px}
.legal-page details{padding:18px 0;border-bottom:1px solid #e9e4db}
.legal-page summary{font-size:16px;font-weight:750;cursor:pointer}
@media(max-width:880px){.footer-upper{grid-template-columns:1fr 1fr;gap:27px}.footer-about{grid-column:1/-1}}
@media(max-width:500px){.footer-container{padding-top:38px}.footer-upper{gap:14px}.footer-column a{font-size:12px}.footer-brand img{width:165px}.legal-page h1{font-size:35px}}

.photo-order{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.photo-order:empty{display:none}
.photo-card{border:1px solid #e5dfd5;background:#faf8f3;border-radius:10px;padding:7px;min-width:0}
.photo-card img{display:block;width:100%;height:74px;object-fit:cover;border-radius:7px;background:white}
.photo-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#77736d;margin:6px 0}
.photo-actions{display:flex;gap:4px}
.photo-actions button{flex:1;border:1px solid #e0d9cb;border-radius:6px;background:#fff;font-size:12px;color:#52473d;min-height:28px;padding:3px}
.photo-actions button:hover{background:#f4e8df}
.photo-actions button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:520px){.photo-order{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Customer-oriented navigation and sandbox purchase preview. Existing colors unchanged. */
.main-nav{display:flex;align-items:center;gap:24px}
.main-nav a{font-size:13px;font-weight:700;color:#57554f;text-decoration:none}
.main-nav a:hover,.back-to-builder:hover{color:#d47b5e}
.nav-cta,.hero-cta{background:#2f483a;color:white;text-decoration:none;border-radius:11px;padding:13px 19px;font-size:13px;font-weight:750}
.hero-cta{display:inline-flex;gap:20px;align-items:center;margin-top:27px}
.nav-cta:hover,.hero-cta:hover{background:#415a49}
.pricing-section{max-width:1170px;margin:32px auto 72px;padding:0 20px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:54px}
.pricing-section h2{font-size:clamp(30px,3vw,43px);letter-spacing:-1.7px;line-height:1.14;margin:15px 0}
.pricing-benefits{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:14px;color:#4f5a4b;margin-top:27px}
.pricing-card{border:1px solid #e9e0d6;border-radius:22px;background:white;padding:29px;box-shadow:0 16px 40px #53412b0b}
.pricing-amount{font-size:48px;letter-spacing:-2px;font-weight:850;margin-top:10px}
.test-checkout{border-top:1px solid #eee8df;margin-top:22px;padding-top:21px}
.test-checkout p{font-size:13px;color:#77746e;line-height:1.55}
.test-tag{font-size:12px;display:inline-block;color:#466747;background:#eaf1e8;padding:7px 12px;border-radius:99px;font-weight:750}
.back-to-builder{display:inline-block;margin-top:20px;font-size:13px;font-weight:750;color:#576c5a;text-decoration:none}
html{scroll-behavior:smooth;scroll-padding-top:100px}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #df8061;outline-offset:3px}
@media(max-width:950px){.main-nav{gap:11px}.main-nav a{font-size:11px}.nav-cta{display:none}}
@media(max-width:820px){.pricing-section{grid-template-columns:1fr;gap:16px}.main-nav{display:none}.hero-cta{margin-top:20px}}

/* Language switcher: narrow control, always visible and keyboard accessible. */
.top{gap:15px}
.lang-box{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex-shrink:0}
.lang-label{font-size:13px;color:#797267;font-weight:700}
.lang-select{min-width:116px;max-width:150px;border:1px solid #e4ded5;border-radius:10px;background:#fff;color:#34322d;padding:10px 25px 10px 9px;font:600 12px Inter,system-ui,sans-serif;cursor:pointer}
.lang-select:hover{border-color:#d5a18f}
@media(max-width:1080px){.main-nav{gap:13px}.main-nav a{font-size:12px}.brand-logo{width:185px}.nav-cta{display:none}}
@media(max-width:650px){.top{height:68px;padding:0 18px}.brand-logo{width:155px;height:54px}.lang-select{min-width:105px;max-width:119px;font-size:11px}.lang-label{display:none}}

@media(max-width:400px){.top{padding:0 12px;gap:8px}.brand-logo{width:138px}.lang-select{min-width:100px;max-width:112px}}

.outline-style{display:block;width:100%;padding:10px 13px;margin:7px 0 13px;border:1px solid #d9d2c8;border-radius:10px;color:#393731;background:#fff;font:inherit}
.outline-style:focus-visible{outline:3px solid #df8061;outline-offset:2px}

/* Unified local-first uploader: cumulative button/drop selection, accessible counter. */
.book-drop-zone{border:2px dashed #d9b8a8;border-radius:14px;background:#fcf8f4;padding:16px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px;transition:border-color .15s,background .15s;cursor:pointer}
.book-drop-zone.drag-over,.book-drop-zone:focus-visible{border-color:#c16d50;background:#fff0e8;outline:2px solid #c16d50;outline-offset:2px}
.book-drop-zone .drop-instructions{display:flex;flex-direction:column;gap:3px;pointer-events:none}
.book-drop-zone .drop-instructions span{color:#67645e;font-size:.82rem}
.book-drop-zone input[type=file]{max-width:100%;font:inherit;font-size:.9rem;cursor:pointer}
.upload-progress{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:10px 0;flex-wrap:wrap;font-size:.83rem;color:#666}
#bookPhotoCount{font-weight:800;color:#2d493b;font-variant-numeric:tabular-nums}
#bookUploadStatus:not(:empty){max-width:100%;line-height:1.45}
.photo-card[draggable=true]{cursor:grab}
.photo-card[draggable=true]:active{cursor:grabbing}
.photo-card.reorder-target{outline:2px solid #c16d50;outline-offset:2px}

/* Top preview drop target: keyboard accessible, click-select, drag-select. */
.preview-drop-zone{cursor:pointer;transition:border-color .15s,background .15s}
.preview-drop-zone.drag-over,.preview-drop-zone:focus-visible{border-color:#c16d50!important;background:#fff0e8!important;outline:2px solid #c16d50;outline-offset:2px}
.preview-drop-instructions{pointer-events:none}
.preview-drop-zone input[type=file]{max-width:100%;cursor:pointer}

/* Compact artwork showcase instead of home-page price cards. */
.sample-gallery{max-width:1170px;margin:46px auto 75px;padding:0 20px;scroll-margin-top:96px}
.gallery-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.gallery-head h2{font-size:clamp(27px,3vw,42px);letter-spacing:-1.3px;line-height:1.16;margin:9px 0 10px}
.gallery-head .muted{margin:0;max-width:720px}
.gallery-link{color:#2d493b;text-decoration:none;border:1px solid #cbd7cc;border-radius:10px;padding:12px 18px;font-size:13px;font-weight:750;white-space:nowrap}
.gallery-link:hover,.gallery-link:focus-visible{background:#eaf0e9}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.gallery-item{margin:0;min-width:0;background:#fff;border:1px solid #e9e3da;border-radius:17px;overflow:hidden}
.gallery-item img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:#fff}
.gallery-item figcaption{padding:13px 17px;font-weight:750;font-size:14px}
@media(max-width:680px){.gallery-head{align-items:start;flex-direction:column;gap:12px}.gallery-grid{grid-template-columns:1fr;gap:14px}}
@media(max-width:820px){.hero{grid-template-columns:minmax(0,1fr)}.hero>div{min-width:0}}
@media(max-width:420px){.hero h1{overflow-wrap:anywhere}}

/* Gallery carousel - four paired original/illustration slides. */
.gallery-carousel{position:relative;padding:0 52px;max-width:100%;outline-offset:4px}
.gallery-window{overflow:hidden;border-radius:18px}
.gallery-track{display:flex;transition:transform .45s ease;will-change:transform}
.gallery-slide{flex:0 0 100%;width:100%;min-width:0}
.gallery-scene{margin:0 0 13px;font-size:15px;font-weight:750;color:#384a3c}
.gallery-arrow{position:absolute;z-index:2;top:45%;transform:translateY(-50%);width:43px;height:43px;border-radius:50%;border:1px solid #d6d0c6;background:#fff;color:#29483a;box-shadow:0 5px 18px #3f382318;font-size:33px;line-height:1;font-weight:400;display:grid;place-items:center;cursor:pointer}
.gallery-arrow:hover,.gallery-arrow:focus-visible{background:#f9ede6;border-color:#c16d50;outline:2px solid transparent}
.gallery-arrow-prev{left:1px}.gallery-arrow-next{right:1px}
.gallery-nav{display:flex;gap:16px;justify-content:center;align-items:center;margin-top:17px}
.gallery-dots{display:flex;gap:8px;align-items:center}
.gallery-dot{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#d5cec6;cursor:pointer}
.gallery-dot[aria-current=true]{background:#c16d50;width:12px;height:12px}
.gallery-dot:focus-visible{outline:2px solid #c16d50;outline-offset:4px}
.gallery-count{color:#6f6c63;font-size:12px;font-variant-numeric:tabular-nums}
.gallery-carousel .gallery-item img{object-position:center;background:#fff}
@media(max-width:680px){.gallery-carousel{padding:0 29px}.gallery-arrow{height:35px;width:35px;font-size:27px}.gallery-arrow-prev{left:-7px}.gallery-arrow-next{right:-7px}.gallery-slide .gallery-grid{gap:11px}}
@media(prefers-reduced-motion:reduce){.gallery-track{transition:none}}


.secure-order-panel[hidden]{display:none!important}
.secure-order-panel{margin-top:22px;border:1px solid #d5ded3;border-radius:15px;background:#f6faf6;padding:20px;display:flex;flex-direction:column;gap:12px}
.secure-order-panel h3{margin:0;font-size:19px}
.secure-order-panel .muted{margin:0;font-size:13px}
.secure-order-consent{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.55}
.secure-order-consent input{margin-top:4px;flex:none}
.secure-order-panel progress{width:100%;accent-color:#294e3c}
.secure-order-panel button:disabled{opacity:.5;cursor:not-allowed}

#secureOrderCheckStatus[hidden]{display:none}
#secureOrderCheckStatus{align-self:flex-start;cursor:pointer}

.secure-shipping-panel[hidden]{display:none!important}
.secure-shipping-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:18px;margin-top:8px;border-top:1px solid #d5ded3}
.secure-shipping-panel h3,.secure-shipping-panel>.muted,.secure-shipping-panel>button,.secure-shipping-panel>#secureShippingStatus{grid-column:1/-1}
.secure-shipping-panel h3{font-size:18px;margin:0}
.secure-shipping-field{display:flex;flex-direction:column;gap:6px;font-size:13px}
.secure-shipping-field input,.secure-shipping-field select{width:100%;box-sizing:border-box;font:inherit;padding:11px;border:1px solid #abbfb0;border-radius:8px;background:#fff}
.secure-shipping-panel button:disabled{opacity:.5}
@media(max-width:620px){.secure-shipping-panel{grid-template-columns:1fr}}
