/* Brand palette follows the supplied franchise logo. */
:root{--brand-green:#477f3c;--brand-red:#ee171e;--red:#bd2529;--lime:#bd2529}
.header{background:#fffdf8}.brand img{width:206px;height:auto;aspect-ratio:1200/388;background:transparent}.brand{gap:16px}.brand>span{padding-left:16px}
.tricolor{background:linear-gradient(90deg,var(--brand-green) 0 33.33%,#fff 33.33% 66.66%,var(--brand-red) 66.66%)}
.journey h1.brand-title{line-height:1;margin-bottom:30px;letter-spacing:-.045em}
.brand-small{display:block;font-size:.56em;letter-spacing:-.035em;margin-bottom:12px;color:#fffaf0}
.brand-italy{display:flex;white-space:nowrap;font-size:1.13em;letter-spacing:-.065em;filter:drop-shadow(0 3px 5px #0008)}
.flag-green{color:#64a858}.flag-white{color:#fffdf6}.flag-red{color:#f13b40}.brand-italy>span{-webkit-text-stroke:.6px #fff5;paint-order:stroke fill}
.scene-hotspot{background:#1d352ce8;color:#fff8e8;border:1px solid #ddc69b88;border-radius:2px;gap:22px;padding:16px 17px 16px 22px;box-shadow:0 8px 30px #0005;backdrop-filter:blur(8px);white-space:normal;max-width:280px;text-align:left;overflow:visible}
.scene-hotspot:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(var(--brand-green) 0 33.33%,#fff 33.33% 66.66%,var(--brand-red) 66.66%)}
.hotspot-caption{display:grid;gap:5px}.hotspot-kicker{font-size:8px;letter-spacing:.22em;color:#e2d1af}.hotspot-dot{flex:0 0 38px;width:38px;height:38px;background:none;border-color:#ddc69b88;font-size:23px;animation:none;transition:background .25s,transform .25s}.scene-hotspot:hover .hotspot-dot{background:#fff2;transform:translateX(3px)}
.scene-hotspot:hover{transform:translateY(-2px);background:#244234}.button-lime:hover{background:#a61c22}
.journey-route button[aria-pressed=true]>span{background:var(--brand-green);color:white;border-color:#74a36a}.scroll-progress{background:linear-gradient(90deg,var(--brand-green),var(--brand-green) 33%,#fff 33% 66%,var(--brand-red) 66%)}
.craft-zoom{display:block;min-height:44px;padding:8px 0;background:none;color:#fff3dd;text-decoration:underline;text-underline-offset:5px;font-size:12px;margin-bottom:8px}
.service-card{position:relative}.service-card:after{content:'';position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,var(--brand-green) 0 33.33%,#f7f2e8 33.33% 66.66%,var(--brand-red) 66.66%);opacity:0;transition:opacity .25s}.service-card:hover:after,.service-card.is-selected:after{opacity:1}
.section-foot{flex-wrap:wrap;gap:14px}.section-foot>p{font-size:11px;max-width:420px}
.compare-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:5px;background:#e9e1d3;margin-top:12px;border-radius:4px}.compare-switch button{min-height:44px;background:transparent;font-size:12px;border-radius:2px}.compare-switch button[aria-pressed=true]{background:#fffdf8;color:#28472c;box-shadow:0 1px 4px #0001}.compare-switch button:hover{background:#fff9}
.finder-progress{display:flex;list-style:none;margin:0 0 28px;padding:0;gap:12px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px;font-size:10px;color:var(--muted)}.finder-progress li{display:flex;gap:7px;align-items:center}.finder-progress li>span{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:50%;flex-shrink:0}.finder-progress [aria-current]{color:var(--ink)}.finder-progress [aria-current]>span,.finder-progress .is-complete>span{color:white;background:var(--brand-green);border-color:var(--brand-green)}
.material-step{padding:0;margin:26px 0 0;border:0;min-width:0}.material-step legend{font-size:15px;margin-bottom:14px}.material-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.material-options button{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px;background:#f7f2e8;border:1px solid var(--line);border-radius:3px;text-align:left;font-size:11px}.material-options button[aria-pressed=true]{border-color:var(--brand-green);background:#edf2e8;box-shadow:inset 0 0 0 1px var(--brand-green)}.material-options button:hover{border-color:var(--brand-green)}
.swatch{width:28px;height:28px;border-radius:50%;flex-shrink:0;border:1px solid #0002;box-shadow:inset 0 0 8px #0002}.swatch.leather{background:radial-gradient(ellipse at 30% 25%,#aa7654,#68422d)}.swatch.suede{background:repeating-conic-gradient(#b99a71 0 25%,#c2a880 0 50%) 0/3px 3px}.swatch.textile{background:repeating-linear-gradient(90deg,#e5e0d4aa 0 1px,transparent 1px 3px),repeating-linear-gradient(#b1afa3 0 1px,#ede7dd 1px 3px)}.swatch.unknown{display:grid;place-items:center;background:#f4eddf;font-size:16px}.material-step>p{font-size:10px;color:var(--muted);margin-top:12px}
.finder-summary{font-size:11px!important;color:#47713f!important;margin:10px 0!important}.finder-reset{display:block;background:none;min-height:44px;padding:10px 0;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:4px}.finder-result .button{width:100%;margin-top:18px}.finder-result{margin-top:24px}.finder-result>div{width:100%}
#request-material-field{display:grid;gap:8px}#request-material-field select{width:100%}
.dialog-inspect{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 0;min-height:44px;background:none;font-size:12px;border-bottom:1px solid var(--line);margin-bottom:15px}
#atelier-dialog{width:min(1030px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #cdbda5;background:#f7f2e8;color:var(--ink);border-radius:5px;overflow:auto}#atelier-dialog::backdrop{background:#0c1815e8;backdrop-filter:blur(7px)}.atelier-shell{padding:24px}.atelier-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.atelier-header h2{font-size:30px;margin-top:5px}.atelier-header .small-label{font-size:9px}.atelier-header>button{font-size:30px;width:44px;height:44px;flex-shrink:0;background:transparent;border:1px solid var(--line);border-radius:50%}
.atelier-stage{height:min(49dvh,510px);width:100%;position:relative;overflow:hidden;background:#17221c;touch-action:pan-y;outline-offset:3px}.atelier-stage.is-zoomed{touch-action:none;cursor:grab}.atelier-stage.is-dragging{cursor:grabbing}.atelier-stage img{width:100%;height:100%;object-fit:contain;max-width:none;transform:translate(var(--pan-x,0px),var(--pan-y,0px)) scale(var(--zoom,1));user-select:none;pointer-events:none}.atelier-stage:focus-visible{outline:3px solid var(--brand-green)}
.atelier-tools{display:flex;align-items:center;gap:15px;margin:12px 0;font-size:11px}.atelier-tools button{min-width:44px;min-height:44px;background:#fff8;border:1px solid var(--line);border-radius:3px;padding:8px 12px}.atelier-tools label{white-space:nowrap}.atelier-tools input{min-width:60px;flex:1;height:44px;accent-color:var(--brand-green)}.atelier-tools output{font-variant-numeric:tabular-nums;display:inline-block;width:25px}
.atelier-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.atelier-thumbs button{display:flex;align-items:center;gap:10px;min-width:0;background:transparent;border:1px solid var(--line);padding:6px;font-size:11px;text-align:left}.atelier-thumbs img{width:62px;height:44px;object-fit:cover}.atelier-thumbs button[aria-pressed=true]{border-color:var(--brand-green);background:#e9eee2;box-shadow:inset 0 0 0 1px var(--brand-green)}.atelier-footer{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-top:20px}.atelier-footer p{font-size:11px;max-width:500px}.atelier-footer .button{font-size:12px;flex-shrink:0}
@media(min-width:1900px){.brand img{width:240px}.brand-italy{font-size:1.18em}}
@media(max-width:1150px){.brand img{width:176px}.header-inner{gap:18px}.desktop-nav{gap:18px}.brand>span{display:none}.journey h1.brand-title{font-size:78px}.scene-hotspot{max-width:250px;gap:14px}}
@media(max-width:900px){.brand img{width:190px}.journey h1.brand-title{font-size:90px}.atelier-thumbs button{display:grid;gap:5px;text-align:center;justify-items:center}.atelier-thumbs img{width:100%;height:52px}.atelier-footer{align-items:flex-start}.atelier-footer .button{min-height:48px}.craft-picker{bottom:48px}}
@media(max-width:600px){.brand img{width:169px}.journey h1.brand-title{font-size:clamp(57px,16vw,90px);margin-bottom:24px}.brand-small{font-size:.56em}.brand-italy{font-size:1.08em}.scene-hotspot{max-width:250px;padding:12px 14px 12px 18px;gap:18px;font-size:11px;right:0;bottom:28px}.hotspot-kicker{font-size:7px}.hotspot-dot{width:34px;height:34px;flex-basis:34px}.finder-progress{gap:6px;font-size:9px}.finder-progress li{gap:5px}.material-options button{font-size:11px;padding:9px;gap:8px}.finder-panel{padding:24px 20px}.finder-result h3{font-size:25px}.craft-picker{bottom:34px}.craft-zoom{margin-bottom:4px;font-size:11px;min-height:40px}.atelier-shell{padding:15px}#atelier-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.atelier-header{margin-bottom:14px}.atelier-header h2{font-size:23px}.atelier-header .small-label{font-size:8px}.atelier-stage{height:34dvh;min-height:190px}.atelier-tools{gap:6px;flex-wrap:wrap}.atelier-tools label{font-size:10px}.atelier-tools input{width:50px}.atelier-tools button{padding:6px 9px}.atelier-tools #atelier-reset{font-size:10px;min-width:0}.atelier-thumbs{gap:5px}.atelier-thumbs button{font-size:9px;padding:4px}.atelier-thumbs img{height:38px}.atelier-footer{display:grid;gap:14px;margin-top:15px}.atelier-footer .button{width:100%}.section-foot{align-items:flex-start}.section-foot>p{order:3}.finder-result .button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.scene-hotspot,.hotspot-dot,.service-card:after{transition:none}}
