#examples{padding-top:54px;scroll-margin-top:0}
.creation-intro{max-width:720px}
.creation-intro h2{max-width:650px}
.creation-intro>p{color:var(--muted);font-size:15px;margin-bottom:24px}
.creation-disclosure{display:flex;align-items:start;gap:12px;padding:14px 18px;background:#d5ed7d08;border:1px solid #d5ed7d28;border-radius:6px;color:#c4cdbb;font-size:12px;margin:0 0 26px}
.creation-disclosure::before{content:"i";flex:none;display:grid;place-items:center;border:1px solid #7d8b61;width:18px;height:18px;border-radius:50%;font-size:11px;margin-top:1px}
.creation-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.creation-tabs a{display:flex;align-items:center;gap:10px;padding:11px 15px;border:1px solid var(--line);border-radius:6px;text-decoration:none;background:var(--panel);font-size:12px;font-weight:600;min-height:44px}
.creation-tabs a:hover{border-color:var(--accent)}
.creation-tabs a[aria-selected=true]{background:var(--accent);border-color:var(--accent);color:#172010}
.creation-tabs .tab-number{font:10px ui-monospace,Consolas,monospace;opacity:.6}
.creation-panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel);margin-bottom:24px;scroll-margin-top:0}
.creation-heading{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:26px 30px 22px;border-bottom:1px solid var(--line)}
.creation-heading h3{font-size:25px;letter-spacing:-.035em;margin-bottom:9px}
.creation-heading p{max-width:680px;font-size:14px;color:var(--muted);margin-bottom:0}
.creation-heading .eyebrow{font-size:9px;margin-bottom:12px}
.creation-heading .badge{margin-top:3px}
.creation-examples{display:flex;flex-wrap:wrap;gap:8px;padding:16px 22px;border-bottom:1px solid var(--line)}
.creation-examples[hidden]{display:none}
.creation-examples .button{min-height:44px}
.creation-examples .button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#172010}
.creation-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1px;background:var(--line);container-type:inline-size;--canvas-width:min(256px,calc((100cqw - 81px)/2));--canvas-ratio:1}
.creation-comparison.three-lanes{grid-template-columns:repeat(3,minmax(0,1fr));--canvas-width:min(256px,calc((100cqw - 122px)/3))}
.creation-comparison.landscape{--canvas-width:min(512px,calc((100cqw - 81px)/2));--canvas-ratio:512/341}
.creation-comparison.paired-inputs{--canvas-width:min(192px,calc((100cqw - 107px)/4))}
.creation-comparison.multiple-results{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.creation-result-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;min-width:0}
.creation-lane{margin:0;min-width:0;display:flex;flex-direction:column;background:#101818}
.creation-lane>figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;font-size:12px;color:var(--muted)}
.creation-lane>figcaption strong{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#d2d9d3}
.creation-lane.result>figcaption strong{color:var(--accent)}
.creation-stage{display:flex;justify-content:center;align-items:center;min-height:370px;padding:20px;flex:1;background:#101818}
.creation-stage.photo-stage{background:#101818}
.creation-stage.solid-stage{background:#101818}
/* Input and output share a bounded canvas; each image keeps its own proportions. */
.creation-canvas{display:grid;place-items:center;flex:none;width:var(--canvas-width);max-width:100%;aspect-ratio:var(--canvas-ratio);overflow:hidden;border-radius:4px;background:#172221}
.creation-canvas.art-canvas{background-color:#dce3df;background-image:linear-gradient(45deg,#cdd7cf 25%,transparent 25%),linear-gradient(-45deg,#cdd7cf 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#cdd7cf 75%),linear-gradient(-45deg,transparent 75%,#cdd7cf 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.creation-canvas>img:is(.pixel-output,.pixel-source,.wide-output){image-rendering:pixelated}
.input-collection .creation-canvas{margin-inline:auto}
.paired-inputs .creation-stage{align-items:flex-start;padding-top:calc((370px - var(--canvas-width))/2)}
.paired-inputs .input-collection{align-items:start}
.creation-stage>img{width:auto;height:auto;max-width:100%;max-height:350px;object-fit:contain}
.creation-stage>img.pixel-output{width:var(--display-width,256px);image-rendering:pixelated}
.creation-stage>img.smooth-output{width:384px;image-rendering:auto}
.creation-stage>img.wide-output{width:100%;max-height:410px;image-rendering:pixelated}
.creation-stage>img.source-photo{max-height:350px;border-radius:4px}
.input-collection{display:grid;gap:13px;width:100%;align-items:center}
.input-collection.two{grid-template-columns:1fr 1fr}
.input-collection figure{margin:0;min-width:0;text-align:center}
.input-collection img{margin:auto;max-width:100%;max-height:260px;object-fit:contain;border-radius:3px}
.input-collection img.pixel-source{width:192px;image-rendering:pixelated}
.input-collection figcaption{font-size:10px;color:var(--muted);margin-top:8px}
.input-collection.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.input-collection.three img{max-height:160px}
.input-collection.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.input-collection.four img{max-height:180px}
.creation-stage .creation-canvas>img{width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;border-radius:0}
.creation-captions{padding:0 22px 20px;font-size:12px;color:var(--muted);margin:0}
.creation-captions strong{color:var(--text);font-weight:500}
.creation-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 24px;border-top:1px solid var(--line)}
.creation-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.creation-footer .button{min-height:48px;min-width:112px;padding:11px 20px}
.creation-footer p{margin:0;font-size:11px;color:var(--muted);max-width:390px}
.creation-error{color:#f9b499!important;font-size:12px;margin:12px 24px}
.demo-grid.single-demo{grid-template-columns:1fr}
.creation-comparison.panorama{grid-template-columns:1fr}
.panorama .photo-stage{min-height:0;padding:20px}
.panorama .input-collection.three img{max-height:160px}
.panorama .creation-stage>img.wide-output{max-height:560px;width:auto}
#demo-travel .creation-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}
#demo-travel .creation-stage{min-height:0;padding:16px}
#demo-travel .input-collection.four{grid-template-columns:repeat(2,minmax(0,1fr));max-width:340px}
#demo-travel .input-collection img{width:128px;max-height:128px}
#demo-travel .creation-stage>img.wide-output{width:auto;max-height:380px;image-rendering:auto}
@media(min-width:761px){
 #demo-travel .result .creation-stage{position:relative}
 /* Match the photo edges: two 128px photos, first-row label and row gap. */
 #demo-travel .result .creation-stage>img.wide-output{position:absolute;top:16px;left:50%;transform:translateX(-50%);height:293.5px;width:auto;max-height:none;max-width:calc(100% - 32px)}
}
@media(min-width:761px) and (max-width:980px){
 #demo-travel .input-collection img{width:112px;max-height:112px}
 #demo-travel .result .creation-stage>img.wide-output{height:261.5px}
}
@media(max-width:760px){
 .creation-tabs{gap:7px}.creation-tabs a{padding:9px 11px;font-size:11px}.creation-tabs .tab-number{display:none}
 .creation-heading{padding:20px;gap:12px}.creation-heading h3{font-size:23px}.creation-heading p{font-size:13px}
 .creation-comparison{grid-template-columns:1fr;--canvas-width:min(256px,calc(100cqw - 36px))}.creation-stage{min-height:256px;padding:18px}
 .creation-comparison.landscape{--canvas-width:min(512px,calc(100cqw - 36px))}
 .creation-comparison.paired-inputs{--canvas-width:min(192px,calc((100cqw - 49px)/2))}
 .paired-inputs .creation-stage{padding-top:calc((256px - var(--canvas-width))/2)}
 .creation-lane:not(.result) .creation-stage{min-height:0}
 .creation-lane:not(.result) .creation-stage>img{max-height:200px}
 .creation-lane>figcaption{flex-wrap:wrap;gap:4px 12px}
 .creation-comparison.three-lanes{grid-template-columns:repeat(2,minmax(0,1fr));--display-width:min(192px,calc((100vw - 112px)/2));--canvas-width:min(192px,calc((100cqw - 49px)/2))}
 .three-lanes .creation-lane.result{grid-column:1 / -1}
 .three-lanes .creation-lane:not(.result)>figcaption{align-items:start;flex-direction:column;padding:12px}
 .three-lanes .creation-stage{min-height:0;padding:12px}
 .three-lanes .result .creation-stage{min-height:200px}
 .creation-comparison.multiple-results{grid-template-columns:1fr}.creation-result-variants{grid-template-columns:1fr}.input-collection.four{grid-template-columns:repeat(2,minmax(0,1fr))}
 .creation-stage>img,.creation-stage>img.source-photo{max-height:300px}.creation-stage>img.wide-output{max-height:420px}
 .creation-lane>figcaption{padding:14px 18px}.creation-footer{padding:17px 18px}.creation-footer p{max-width:none}
 .creation-controls{width:100%}.creation-controls .button{width:100%}
 #demo-travel .creation-comparison{grid-template-columns:1fr}
 #demo-travel .creation-stage{padding:12px}
 #demo-travel .input-collection.four{max-width:280px;gap:10px}
 #demo-travel .input-collection img{width:96px;max-height:96px}
 #demo-travel .creation-stage>img.wide-output{max-height:320px}
}
@media(prefers-reduced-motion:reduce){.creation-tabs a{scroll-behavior:auto}}
