/* Homepage presentation only. Creation, billing and product-preview code is unchanged. */
main{padding:20px clamp(20px,2.4vw,42px);gap:20px;grid-template-columns:minmax(0,1.65fr) minmax(400px,1fr)}
.hero,body[data-gift-view=home] .hero{contain:none;min-height:570px;height:auto;border-radius:24px;isolation:isolate;background:linear-gradient(105deg,#f9e5c7,#e1bd94);border:1px solid #e7d3b7}
.desk-scene{position:absolute;bottom:0;left:0;width:100%;aspect-ratio:1484/1060;pointer-events:none}
.scene-extended .desk-scene{-webkit-mask-image:linear-gradient(transparent,#000 28%);mask-image:linear-gradient(transparent,#000 28%)}
.desk-plane{position:absolute;bottom:0;left:0;width:1484px;height:1060px;transform-origin:left bottom;isolation:isolate}
.desk-photo{position:absolute;inset:0;width:100%;height:100%;display:block}
.desk-filters{position:absolute;pointer-events:none}
/* Neutralize only the fixed sample's cream paper before blending its original ink
   into the scene lighting. The source file and all uploaded art remain untouched. */
.desk-paper-art,.desk-lamp-art,.desk-wall-art{position:absolute;width:420px;height:420px;max-width:none;transform-origin:0 0;filter:url(#example-paper-neutral);mix-blend-mode:multiply}
/* Project the same original sample onto the photographed paper, without redrawing its strokes. */
.desk-paper-art{left:0;top:0;transform:matrix3d(.9890502083,-.024855169,0,.000097148,.1683525402,-.0031856799,0,-.0004530605,0,0,1,0,105,790,0,1)}
.desk-lamp-art{left:861px;top:437px;width:346px;height:346px}
.desk-wall-art{left:285px;top:405px;width:272px;height:272px}
.hero-title{position:relative;background:none;text-align:left;padding:42px 7% 0;pointer-events:none}
.hero h1{font-size:clamp(38px,3.6vw,60px);font-weight:500;letter-spacing:3px;color:#573216;line-height:1.25}
.hero-title p{font-family:"STKaiti","KaiTi",serif;font-size:clamp(17px,1.5vw,25px);letter-spacing:1px;margin:14px 0 0;color:#654429}
.scene-note{position:absolute;bottom:16px;left:22px;right:auto;display:flex;color:#725438;text-shadow:none;font-size:11px;line-height:1.6}
.scene-note strong{font-weight:500;border:1px solid #fff0dca6;border-radius:30px;padding:2px 12px;background:#fff6e3d9;white-space:nowrap}
.gift-footer{padding:15px 32px;min-height:120px}
.gift-footer h2{font-weight:500;color:#633817}
.gift-footer p{margin:6px 0}
.gift-footer>p{border-left:1px solid #dfc6a5;padding-left:5%}
.gift-keepsake{display:flex;align-items:center;gap:18px;flex-shrink:0}
.gift-keepsake img,body[data-gift-view=home] .gift-keepsake img{width:82px;height:82px;object-fit:contain;border-radius:3px;transform:rotate(-5deg);box-shadow:0 4px 9px #75522c18}
.gift-keepsake span{font-family:"STKaiti","KaiTi",serif;color:#9d754b;font-size:18px;line-height:1.8}
@media(min-width:1001px){body[data-gift-view=flow] .hero{align-self:start;position:sticky;top:18px;height:610px;min-height:610px}}
@media(min-width:1500px){.hero,body[data-gift-view=home] .hero{min-height:610px;height:auto}.hero-title{padding-top:42px}body[data-gift-view=home] .workbench{padding:26px}body[data-gift-view=home] .upload{min-height:100px}body[data-gift-view=home] .mode img{height:145px}}
@media(min-width:1001px) and (max-width:1250px){main{grid-template-columns:minmax(0,1.3fr) minmax(390px,1fr);padding:16px;gap:16px}.hero,body[data-gift-view=home] .hero{min-height:565px;height:auto}.hero-title{padding:42px 6% 0}.hero h1{font-size:40px;letter-spacing:1px}.hero-title p{font-size:17px}.desk-scene{mask-image:linear-gradient(transparent,#000 28%)}.gift-footer h2,body[data-gift-view=home] .gift-footer h2{font-size:25px}.gift-keepsake span{display:none}.gift-footer>p{padding-left:3%}}
@media(max-width:1000px){main{display:grid;grid-template-columns:1fr;padding:0;gap:0}.hero,body[data-gift-view=home] .hero{min-height:0;height:auto;aspect-ratio:1.4;border-radius:0 0 24px 24px;border-width:0 0 1px}.hero-title{padding:5% 7% 0}.hero h1{font-size:clamp(28px,6vw,54px);letter-spacing:2px}.hero-title p{font-size:clamp(13px,2.5vw,22px);margin-top:6px;letter-spacing:0}.scene-note{bottom:8px;left:14px;font-size:10px}.gift-footer{padding:20px;min-height:0}.gift-footer>p{border:0;padding:0}.gift-keepsake{display:none}}
