:root{
  --bg:#fbfaf7;
  --ink:#1c1b19;
  --muted:#6d6860;
  --panel:#f3eee6;
  --line:#e4dfd6;
  --btn:#1c1b19;
  --paper:#fff;
  --accent:#6a5a12;
  --rail:380px;
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

.top{
  position:sticky;top:0;z-index:40;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 16px;background:rgba(251,250,247,.94);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--line);
}
.brand{font-weight:700;letter-spacing:.16em;font-size:12px;text-decoration:none}
.menu{display:flex;gap:20px;font-size:13px;font-weight:500}
.menu a{text-decoration:none;color:var(--muted)}
.menu a:hover{color:var(--ink)}
.top-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ghost{
  font-size:12px;font-weight:600;letter-spacing:.02em;
  border:1px solid var(--line);padding:8px 12px;border-radius:999px;background:var(--paper)
}

.kicker{
  font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);margin:0 0 10px
}
h1,h2{font-family:var(--serif);font-weight:500;letter-spacing:-.03em;line-height:.95;margin:0}
h1{font-size:clamp(40px,7vw,72px)}
h2{font-size:clamp(30px,4.4vw,48px)}
.lede{font-size:clamp(16px,1.6vw,19px);line-height:1.45;color:var(--muted);max-width:40ch;margin:14px 0 0}
.micro{margin:12px 0 0;color:#9a948a;font-size:12px}
.feel{color:var(--muted);font-size:15px;line-height:1.5;margin:12px 0 0;max-width:42ch}

.cta{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 22px;border-radius:999px;
  background:var(--btn);color:#fff;text-decoration:none;font-weight:600;font-size:15px
}
.cta.ghost-cta,.ghost-cta{
  background:transparent;color:var(--ink);border:1px solid var(--ink)
}
.text-link{
  display:inline-block;margin-top:12px;font-size:14px;font-weight:600;color:var(--muted)
}
button.text-link{padding:0;text-align:left}

.hero{
  display:flex;flex-direction:column;background:var(--paper);
}
.hero-copy{padding:28px 20px 24px}
.hero-visual{
  display:grid;grid-template-columns:1fr 1.15fr;gap:4px;background:#ece7de;
}
.hero-visual figure{margin:0}
.hero-visual .stage{width:100%}
.hero-visual .stage-fit{width:100%}
.hero-visual .scene{width:100%;height:auto}
.hero-visual figure:nth-child(3){grid-column:1 / -1;max-height:28vh;overflow:hidden}
.hero-visual figure:nth-child(3) img{width:100%;height:28vh;object-fit:cover;object-position:center 28%}

.drop{
  margin-top:20px;padding:16px;border:1px dashed #c9c2b6;background:#fff;
}
.drop.drag,.hero-copy.drag .drop,.prova.is-on .drop,.is-on.hero-copy .drop,.hero-copy.is-on .drop{
  border-style:solid;border-color:var(--ink)
}
.drop-k{margin:0 0 6px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.drop .cta{margin-top:14px}

.stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:0;
  overflow:hidden;
}
.stage-fit{
  position:relative;
  display:block;
  width:max-content;
  max-width:100%;
  line-height:0;
}
.stage .scene{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  vertical-align:top;
}
.print-layer{
  position:absolute !important;
  left:0;
  top:0;
  width:100%;
  height:100%;
  pointer-events:none;
  overflow:hidden;
  z-index:2;
  display:none;
}
.slot{
  position:absolute !important;
  overflow:hidden !important;
  margin:0;
  padding:0;
  pointer-events:none;
  transform-origin:center center;
  clip-path:inset(0);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.slot-photo{
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  border:0 !important;
}
body.has-user-photo .print-layer{display:block}
.product > :not(.preview):not(.configure){display:none !important}
.hero-visual > .slot,
.hero-visual > .print-layer,
.preview > .slot,
.preview > .print-layer{
  display:none !important;
}

.product,.feel-row{
  display:grid;grid-template-columns:1fr;
  background:var(--paper);border-top:1px solid var(--line);
}
.product > .preview{grid-column:1;grid-row:1}
.product > .configure{grid-column:1;grid-row:2}
.preview{
  margin:0;position:relative;background:#ece7de;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;min-width:0;
}
.preview .stage{
  width:100%;max-width:100%;
  display:flex;align-items:center;justify-content:center;
}
.preview .stage-fit{
  max-width:100%;
  max-height:min(86vh,calc(100vh - 52px));
}
.preview .scene{
  width:auto;height:auto;
  max-width:min(100vw, 1400px);
  max-height:min(86vh,calc(100vh - 52px));
  object-fit:fill;
  flex:0 0 auto;
}
.scale-tag{
  position:absolute;left:12px;bottom:12px;margin:0;z-index:2;
  background:rgba(251,250,247,.92);padding:6px 9px;font-size:11px;font-weight:600
}
.configure{padding:22px 20px 32px;background:var(--panel)}
.opt-label{
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;
  color:var(--muted);margin:18px 0 8px
}
.size-pick .size-on{
  display:flex;flex-direction:column;gap:2px;
  border:1px solid var(--ink);background:var(--paper);
  padding:10px 12px;font-weight:600;font-size:15px
}
.size-on span{font-weight:400;font-size:12px;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{
  border:1px solid #d8d2c6;background:var(--paper);padding:9px 14px;
  font-size:13px;font-weight:600;border-radius:999px
}
.chips button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.swatches{display:flex;gap:12px;align-items:center}
.swatch{
  width:34px;height:34px;border-radius:50%;
  background:var(--sw,#fff);box-shadow:inset 0 0 0 1px var(--ring,#ccc);
  border:2px solid transparent
}
.swatch.on{border-color:var(--ink)}
.swatch-names{display:flex;gap:16px;margin:8px 0 0;font-size:12px;color:var(--muted)}
.swatch-names span{width:34px;text-align:center}
.near{margin:14px 0 8px;font-size:12px;color:var(--muted)}
.thumbs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 8px;padding:0}
.thumbs .stage{padding:0;border:1px solid var(--line);background:#ece7de;width:100%;display:block}
.thumbs .stage-fit{width:100%}
.thumbs .scene{width:100%;aspect-ratio:3/4;object-fit:cover}
.price{
  font-family:var(--serif);font-size:clamp(32px,5vw,46px);
  margin:18px 0 12px;letter-spacing:-.03em
}
.configure .cta{width:100%;max-width:280px}
.kommer{
  display:inline-block;margin-top:14px;border:1px solid var(--ink);
  letter-spacing:.18em;font-size:11px;font-weight:700;text-transform:uppercase;padding:7px 11px
}

.feel-row figure{margin:0;background:#111}
.feel-row img{width:100%;aspect-ratio:16/9;object-fit:cover}
.pair{display:grid;gap:14px;margin-top:16px}
.pair p{margin:6px 0 0;color:var(--muted);line-height:1.5}

.close{
  text-align:center;padding:48px 20px 72px;border-top:1px solid var(--line)
}
.close .lede{margin-left:auto;margin-right:auto}
.cta-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:22px}
.whisper{margin-top:14px;color:var(--muted);font-size:13px}
.status{position:fixed;left:16px;bottom:16px;font-size:11px;color:var(--muted)}

@media(min-width:1024px){
  .top{padding:10px 22px}
  .hero{
    display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,var(--rail));
    align-items:stretch;min-height:0;
  }
  .hero-copy{
    padding:28px 28px 32px;display:flex;flex-direction:column;justify-content:center;
  }
  .hero-visual{
    grid-template-columns:1fr 1.2fr;align-content:start;
  }
  .hero-visual .stage{max-width:100%;width:100%}
  .hero-visual .stage-fit{width:100%;max-width:100%}
  .hero-visual .stage .scene{width:100%;max-width:100%;height:auto}
  .hero-visual figure:nth-child(3){max-height:22vh}
  .hero-visual figure:nth-child(3) img{height:22vh}
  h1{font-size:clamp(44px,5.2vw,68px)}
  .product,.feel-row{
    grid-template-columns:minmax(0,1fr) var(--rail);
    min-height:0;align-items:stretch;
  }
  .product > .preview{grid-column:1;grid-row:1}
  .product > .configure{grid-column:2;grid-row:1}
  .preview{display:flex;align-items:center;justify-content:center;background:#e8e2d8;min-width:0}
  .preview .stage{max-width:100%;max-height:calc(100vh - 52px);height:100%}
  .preview .stage-fit{max-height:calc(100vh - 52px)}
  .preview .scene{max-width:calc(100vw - var(--rail) - 48px);max-height:calc(100vh - 52px);width:auto;height:auto;object-fit:fill}
  .configure{
    padding:24px 26px 28px;justify-content:flex-start;
  }
  .configure .cta{width:auto}
  .feel-row img{aspect-ratio:auto;height:100%;max-height:calc(100vh - 52px);object-fit:cover}
  .close{padding:40px 24px 56px}
}
@media(max-width:1023px){
  .menu{display:none}
}
@media(max-width:699px){
  .hero-copy{padding:22px 16px 18px}
  h1{font-size:13vw}
  .cta,.cta-row .cta{width:100%}
  .top-actions .ghost:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
