:root{--ink:#293b2c;--green:#47794b;--cream:#faf9f3;--line:#dce2d3;--muted:#536250}
*{box-sizing:border-box}
body{margin:0;background:var(--cream);color:var(--ink);font-family:"DM Sans","Avenir Next",Arial,sans-serif;line-height:1.55}
a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}
button,summary{cursor:pointer}
:focus-visible{outline:3px solid #b37432;outline-offset:4px}
[hidden]{display:none!important}
.wrap{max-width:1200px;width:calc(100% - 80px);margin:auto}
.ribbon{text-align:center;background:#e7efdc;padding:8px;font-size:.8rem;letter-spacing:.04em}
header,footer,nav,.actions,.filters,.tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
header{min-height:88px;border-bottom:1px solid var(--line);justify-content:space-between}
nav a,.brand,.button,.kit a,.overline a{text-decoration:none}
.brand{font-size:1.8rem;font-weight:800;letter-spacing:-.06em}
.brand span,h1 span{color:#689264}
header nav{font-size:.9rem;gap:28px}
.button{display:inline-block;background:var(--green);color:white;border:1px solid var(--green);border-radius:8px;padding:11px 17px;font-size:.9rem;font-weight:700}
.button:hover{background:#315f37}
.button.outline{background:transparent;color:var(--ink);border-color:#aab8a3}
.button.outline:hover{background:#eaf0e2}
section{padding:44px 0}
.hero,.split,.editor-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center}
.hero{min-height:485px}
.hero p{max-width:440px}
.overline,.meta{font-size:.78rem;letter-spacing:.07em;font-weight:700;color:var(--muted)}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(2.4rem,7vw,5.4rem);line-height:1.02;letter-spacing:-.065em;margin-bottom:18px;overflow-wrap:anywhere}
h2{font-size:clamp(1.65rem,3.2vw,2.45rem);line-height:1.13;letter-spacing:-.04em;margin-bottom:13px}
h3{font-size:1.12rem;margin:7px 0 13px}
p{color:var(--muted)}
.slogan{font-size:clamp(1.25rem,3vw,2.1rem);font-weight:700;color:var(--ink);line-height:1.2}
.slogan em{font-family:Georgia,serif;color:var(--green);font-weight:400}
.strip{padding:18px 0;text-align:center;border-block:1px solid var(--line);font-size:.92rem;line-height:2}
.strip span{margin:0 12px;color:#617258}
.grid,.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.steps{grid-template-columns:repeat(3,1fr);margin:26px 0}
.kit{border:1px solid var(--line);border-radius:15px;background:#fffdf7;overflow:hidden;height:100%;display:flex;flex-direction:column}
.kit-body{padding:17px;flex:1;display:flex;flex-direction:column}
.kit-end{margin-top:auto;display:flex;gap:10px;justify-content:space-between;align-items:center;font-size:.85rem}
.kit a:hover{text-decoration:underline}
.art{height:195px;background:radial-gradient(ellipse at 58% 40%,#fffcf5 0,transparent 65%),var(--paper);position:relative;overflow:hidden;isolation:isolate;perspective:650px}
.art.hero-art{height:370px;border-radius:24px}
.paper{position:absolute;left:20%;top:17%;width:59%;height:57%;border-radius:5px;background:linear-gradient(145deg,#fff9ec,var(--paper));transform:rotate(-9deg) skew(-9deg);box-shadow:2px 13px 23px #63554039;border:1px solid #fff9eb}
.paper-decoration{position:absolute;left:15%;top:8%;color:#ad8057;font-size:clamp(.55rem,1.6vw,1.3rem)}
.floor{background:linear-gradient(130deg,#f1dfb9,#fff6de);top:64%;height:22%;transform:rotate(-8deg) skew(-33deg);box-shadow:3px 14px 20px #5f543a46}
.love .floor,.stickers .floor{display:none}
.love .paper{background:linear-gradient(28deg,#edc3d3,#fff2f5);border:2px solid #f8dbe6}
.stickers .paper{border:1px dashed #a9b39e;background:#fffdfa}
.cast{position:absolute;inset:23% 18% 14%;display:flex;align-items:flex-end;justify-content:center;filter:drop-shadow(2px 5px 2px #5c443851)}
.cast svg{width:36%;height:100%;paint-order:stroke fill}
.cast svg:first-child{transform:rotate(-8deg)}
.cast svg:last-child{transform:rotate(8deg) scale(.92)}
.cast span{font-size:clamp(18px,5vw,50px);transform:translateY(-10%);color:#b47187}
.hero-art .cast span{font-size:clamp(26px,7vw,80px)}
.caption{font-size:.8rem;margin:10px 0;color:var(--muted)}
.panel{padding:30px;background:#ebf0e4;border-radius:18px;margin:28px 0}
#try-face{text-align:center;background:#f6e8ee;border-radius:15px;padding:15px}
#try-face svg{height:150px;width:100px}
.tools span{background:white;border-radius:8px;padding:8px 12px}
.tools{margin-bottom:14px}
details{border-bottom:1px solid var(--line);padding:12px 4px}
details p{margin:10px 0 0}
summary{font-weight:700}
.filters{margin:22px 0;gap:8px}
.filters button,#ideas button{border:1px solid var(--line);background:white;border-radius:8px;padding:8px 13px}
.filters [aria-pressed=true]{background:var(--ink);color:white}
.editor-grid{align-items:start;grid-template-columns:1fr 1fr;gap:26px}
fieldset,dialog,.preview{margin:0 0 16px;border:1px solid var(--line);border-radius:14px;background:#fffefa;padding:20px;min-width:0}
legend{font-weight:800}
label{display:block;margin-bottom:12px;font-size:.92rem;font-weight:600}
input,select,textarea{display:block;width:100%;border:1px solid #aebaa8;border-radius:7px;padding:8px;background:white;margin-top:5px}
textarea{resize:vertical}
.traits{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
#ideas{display:grid;gap:6px;margin-top:12px}
#ideas button{text-align:left}
.preview{position:sticky;top:16px}
#sheet{height:min(50vh,430px);background:#eef1e7;text-align:center;border-radius:8px;padding:8px}
#sheet svg{width:100%;height:100%}
#fold-demo{perspective:400px;background:#eadcd7;border-radius:10px;padding:8px;text-align:center;margin-top:8px}
.fold-paper{transform-origin:bottom;display:flex;justify-content:center}
.fold-paper svg{height:100px;width:64px}
dialog{width:min(460px,calc(100% - 32px));margin:auto;color:var(--ink)}
dialog::backdrop{background:#25372980}
footer{border-top:1px solid var(--line);justify-content:space-between;padding:25px 0;font-size:.82rem}
li{margin:9px 0}
.narrow{max-width:760px}
.skip{position:absolute;transform:translateY(-150%);background:white;padding:8px}
.skip:focus{transform:none}
#notice:empty{display:none}
#notice{position:fixed;bottom:0;left:1em;background:var(--ink);color:white;padding:10px;z-index:3}
@media(max-width:850px){.wrap{width:calc(100% - 40px)}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero,.split{gap:22px}.art.hero-art{height:290px}}
@media(max-width:610px){header{padding:12px 0;gap:8px}.brand{font-size:1.35rem}header nav{order:3;width:100%;gap:18px}header .button{padding:7px 9px;font-size:.78rem}.hero,.split,.editor-grid,.steps{grid-template-columns:1fr}.hero{min-height:0}.art.hero-art{height:250px}.art{height:140px}.grid{gap:10px}.kit-body{padding:10px}.kit-end{flex-wrap:wrap}.preview{position:static}.strip span{margin:0 4px}section{padding:27px 0}}
.check{display:flex;align-items:flex-start;gap:8px}
.check input{width:auto;margin-top:.35rem}
#commerce{overflow-wrap:anywhere}
#commerce .panel .button{margin:6px 6px 0 0}
#commerce select,#commerce input:not([type=checkbox]),#commerce textarea{max-width:460px}
#metrics-form{max-width:32rem}
#metrics-output table{width:100%;border-collapse:collapse;text-align:left;background:#fffdf7}
#metrics-output th,#metrics-output td{padding:.65rem;border-bottom:1px solid var(--line)}
#metrics-output section{padding:1.1rem 0}
.art-model{display:grid;place-items:center}
.paper-model{--paper:#eadbc7;position:relative;width:100%;height:100%;min-height:160px;isolation:isolate;perspective:760px;overflow:hidden;background:radial-gradient(ellipse at 52% 47%,#fffcf3 10%,transparent 68%),var(--paper);border-radius:12px}
.art-model .paper-model,.assembly-grid .paper-model{--paper:inherit}
.model-scene{position:absolute;width:64%;height:70%;left:18%;top:14%;transform:rotate(-8deg);transform-style:preserve-3d}
.model-back,.model-base,.model-wall,.model-pocket{position:absolute;background:#fff8e7;border:1px solid #baa989;box-shadow:0 4px 7px #54463022}
.model-back{inset:4% 0 24%;border-radius:4px 4px 0 0;background:linear-gradient(135deg,#fff8e7,#f2dab3);transform-origin:center bottom}
.model-base{inset:74% 0 6%;transform-origin:center top;transform:skewX(-24deg);background:linear-gradient(135deg,#f4dfbd,#fff8e7)}
.model-figures{position:absolute;inset:16% 5% 19%;display:flex;align-items:end;justify-content:center;transform-origin:center bottom;filter:drop-shadow(2px 4px 1px #66483244)}
.model-figures>svg{height:100%;width:31%;max-width:100px}
.model-center{width:37%;height:63%}
.model-center svg{width:100%;height:100%}
.model-wall,.model-pocket{display:none}
.model-stage .model-wall{display:block;top:10%;bottom:20%;width:15%;background:linear-gradient(90deg,#e7dced,#f4edf8)}
.model-stage .wall-left{left:-4%;transform:skewY(-20deg);transform-origin:right bottom}
.model-stage .wall-right{right:-4%;transform:skewY(20deg);transform-origin:left bottom}
.model-stage .model-back{background:linear-gradient(140deg,#f1eaf6,#ddd1e9)}
.model-winter .model-back{background:linear-gradient(150deg,#f7fcf7 25%,#a6c5bb)}
.model-envelope .model-base,.model-flat .model-base{display:none}
.model-envelope .model-back{inset:5% 16% 12%;transform:rotate(-4deg);background:#fff6e6}
.model-envelope .model-pocket{display:block;inset:52% 2% 6%;background:linear-gradient(153deg,#edc2cf 49%,#bd8b9d 50%,#f5d6df 51%);transform-origin:center bottom}
.model-envelope .model-figures{inset:10% 15% 22%}
.model-flat .model-back{inset:0 10% 0;background:#fffefa;border:1px dashed #9eab95}
.model-flat .model-figures{inset:9% 5% 9%}
#fold-cast .paper-model{height:clamp(168px,35vw,280px)}
.assembly-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;margin:20px 0}
.assembly-grid figure{margin:0;min-width:0}
.assembly-grid .paper-model{height:240px}
.assembly-grid figcaption{font-size:.82rem;margin:8px 0;color:var(--muted)}
.template-figure svg{width:100%;height:240px;background:#eff0e6;border-radius:10px}
@keyframes paper-rise{0%,15%{transform:rotateX(-82deg)}80%,100%{transform:rotateX(0)}}
@keyframes paper-base{0%,15%{transform:skewX(-24deg) rotateX(-74deg)}75%,100%{transform:skewX(-24deg) rotateX(0)}}
@keyframes paper-pop{0%,32%{transform:rotateX(-87deg);opacity:.45}85%,100%{transform:rotateX(0);opacity:1}}
@keyframes pocket-fold{0%,24%{transform:rotateX(95deg)}85%,100%{transform:rotateX(0)}}
@keyframes flat-peek{0%,15%{transform:scale(.82);opacity:.3}80%,100%{transform:scale(1);opacity:1}}
@media(prefers-reduced-motion:no-preference){
.model-playing .model-back{animation:paper-rise 3.4s both}
.model-playing .model-base{animation:paper-base 3.4s both}
.model-playing .model-figures{animation:paper-pop 3.4s both}
.model-playing .model-pocket{animation:pocket-fold 3.4s both}
.model-flat.model-playing .model-back,.model-envelope.model-playing .model-back{animation:none}
.model-flat.model-playing .model-figures{animation:flat-peek 3.4s both}
}
@media(max-width:520px){.assembly-grid{grid-template-columns:1fr}.assembly-grid .paper-model,.template-figure svg{height:190px}}
#overview-dialog video{display:block;max-width:100%;width:auto;max-height:58vh;margin:12px auto;background:#f0eadb;border-radius:8px}
.art-model>img{width:100%;height:100%;object-fit:cover;min-height:0}
.tested-kit{margin:0}
.tested-kit img,.kit-steps img{width:100%;max-height:320px;object-fit:cover;border-radius:10px}
.tested-kit img{aspect-ratio:4/3}
.tested-kit figcaption{font-size:.87rem;margin-top:.5rem}
.kit-steps li{margin-bottom:1.15rem}
.kit-steps li p{margin-bottom:.45rem}
.kit-steps img{max-width:460px;object-fit:contain;object-position:left center}
.kit-film video{width:min(100%,360px);max-height:540px;background:#eae7dc;border-radius:12px}
.metrics-scroll{overflow:auto}
.metrics-scroll table{min-width:760px}
.metrics-scroll input{min-width:94px;max-width:140px;margin:0}
.cart-design{margin-bottom:1rem}
.cart-design .actions{margin-top:.45rem}
.home-occasions{margin-top:1.25rem}
.occasion-links{display:flex;flex-wrap:wrap;gap:.5rem 1rem;list-style:none;padding:0;margin:0}
.occasion-links li{margin:0}
.occasion-links a{font-size:.9rem;text-underline-offset:.2em}
.occasion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.occasion-kit{min-width:0}
.occasion-kit>.kit{height:auto;margin-bottom:.8rem}
.occasion-kit>a{text-underline-offset:.2em;font-size:.9rem}
.occasion-notes{margin:0;padding:0;list-style:none}
.occasion-notes li+li{margin-top:1.4rem}
.occasion-notes blockquote,.example-note blockquote{margin:0 0 .6rem}
.example-note{background:#eef2e6;padding:.75rem;border-radius:8px;margin-bottom:.75rem}
@media(max-width:580px){.occasion-grid{grid-template-columns:1fr}}
.occasion-feature{margin:0;min-width:0}
#try-face{margin:0;display:grid;place-items:center;gap:.5rem;min-height:222px}
#try-face figcaption{font-size:.85rem;color:var(--muted)}
#try-face-art{height:150px}
.imported-character{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.imported-character svg{width:56px;height:80px}
@media(max-width:610px){#face-demo{grid-template-columns:minmax(0,1fr) minmax(84px,.55fr);gap:.7rem;padding:16px;align-items:start}#face-demo .traits{grid-template-columns:1fr}#try-face{min-height:168px;padding:6px}#try-face-art{height:105px}#try-face svg{height:105px;width:70px}#try-face figcaption{font-size:.75rem}}
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin:1.5rem 0}
.price-option{padding:1.4rem;background:#fffdf7;border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;align-items:flex-start}
.price-option .button{margin-top:auto}
.price-amount{font-size:1.5rem;font-weight:700;color:var(--ink)}
@media(max-width:610px){.pricing-grid{grid-template-columns:1fr;gap:.8rem}.price-option{padding:1rem}}

#photo-art{display:block;max-width:100%;height:auto;margin:12px auto;background:#f7efdf;border:1px solid var(--line);border-radius:14px}
#photo-review{margin-bottom:12px}
