/* Theme tokens are overridden at runtime from data/settings.json */
:root {
  --nero: #0d0d0d;
  --nero-soft: color-mix(in srgb, var(--nero), white 5%);
  --nero-card: color-mix(in srgb, var(--nero), white 7%);
  --bianco: #f5f5f5;
  --grigio: #a6a6a6;
  --oro: #c2a36b;
  --oro-light: #e8d5b0;
  --line: rgba(245, 245, 245, 0.12);
  --radius: 0px;
  --font-head: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--nero);
  color: var(--bianco);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.1; margin: 0; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Progress bar, cursor, grain ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 100; background: linear-gradient(90deg, var(--oro), var(--oro-light)); transform-origin: left; transform: scaleX(0); }
.cursor-ring { position: fixed; top: 0; left: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--oro); border-radius: 50%; pointer-events: none; z-index: 120; opacity: 0; transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s, opacity 0.3s; mix-blend-mode: difference; }
.cursor-ring.is-visible { opacity: 1; }
.cursor-ring.is-active { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(194, 163, 107, 0.25); }
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none; } }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0.045; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); padding: 0 clamp(18px, 4vw, 56px); background: linear-gradient(180deg, color-mix(in srgb, var(--nero) 85%, transparent), transparent); transition: background-color 0.3s, backdrop-filter 0.3s, height 0.3s var(--ease), transform 0.4s var(--ease); }
.site-header.is-scrolled, .site-header.is-open { background: color-mix(in srgb, var(--nero) 88%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; transition: transform 0.6s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.08); }
.brand-name { font-family: var(--font-head); font-size: 2rem; font-weight: 700; line-height: 1; text-transform: lowercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; }
.primary-nav > a, .collection-toggle { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0; border: 0; background: none; white-space: nowrap; }
.primary-nav > a::after, .collection-toggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--oro); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.primary-nav > a:hover::after, .collection-toggle:hover::after, .primary-nav > a.is-current::after { transform: scaleX(1); transform-origin: left; }
.primary-nav > a:hover, .collection-toggle:hover { color: var(--oro-light); }
.collection-selector { position: relative; }
.chev { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s; }
.is-open > button .chev { transform: rotate(225deg); }
.collection-menu, .language-menu { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 150px; display: grid; padding: 8px; background: rgba(21, 21, 21, 0.97); border: 1px solid var(--line); border-radius: var(--radius); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: 0.25s var(--ease); }
.is-open > .collection-menu, .is-open > .language-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.collection-menu a, .language-menu button { padding: 10px 14px; border: 0; background: none; text-align: left; font-size: 0.86rem; }
.collection-menu a:hover, .language-menu button:hover, .language-menu button[aria-selected="true"] { color: var(--oro); background: rgba(194, 163, 107, 0.08); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.language-selector { position: relative; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; transition: background 0.25s, color 0.25s, transform 0.25s var(--ease); }
.icon-button:hover { background: rgba(194, 163, 107, 0.14); color: var(--oro); transform: translateY(-2px); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lang-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--oro); color: var(--nero); font-size: 0.68rem; font-weight: 700; display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.cart-count.is-bump { transform: scale(1.5); }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--bianco); transition: 0.3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.is-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.is-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: block; order: 3; }
  .nav-tools { margin-left: auto; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 28px; background: color-mix(in srgb, var(--nero) 98%, transparent); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: 0.35s var(--ease); font-size: 1.15rem; }
  .is-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .primary-nav > a, .collection-toggle { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .collection-menu { position: static; transform: none; display: none; opacity: 1; visibility: visible; background: none; border: 0; padding: 0 0 0 12px; }
  .collection-selector.is-open > .collection-menu { display: grid; transform: none; }
  .brand-name { font-size: 1.7rem; }
}

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 30px; border: 1px solid var(--oro); border-radius: var(--radius); background: transparent; color: var(--oro); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color 0.35s, transform 0.25s var(--ease), box-shadow 0.35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--oro); transform: translateY(101%); transition: transform 0.4s var(--ease); }
.btn:hover { color: var(--nero); box-shadow: 0 14px 34px -14px var(--oro); }
.btn:hover::before { transform: none; }
.btn-solid { background: var(--oro); color: var(--nero); }
.btn-solid::before { background: var(--oro-light); }
.btn-ghost { border-color: rgba(245, 245, 245, 0.45); color: var(--bianco); }
.btn-ghost::before { background: var(--bianco); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 24px 120px; overflow: hidden; isolation: isolate; text-align: center; }
.hero-lens { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; --mx: 50%; --my: 42%; --lr: 170px; -webkit-mask-image: radial-gradient(circle var(--lr) at var(--mx) var(--my), #000 0, #000 55%, transparent 100%); mask-image: radial-gradient(circle var(--lr) at var(--mx) var(--my), #000 0, #000 55%, transparent 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, color-mix(in srgb, var(--nero) 55%, transparent), color-mix(in srgb, var(--nero) 82%, transparent) 70%, var(--nero)), radial-gradient(circle at 50% 30%, rgba(194, 163, 107, 0.2), transparent 45%); }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-spot { position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 213, 176, 0.16), transparent 65%); pointer-events: none; transform: translate(-50%, -50%); left: 50%; top: 40%; transition: left 0.5s var(--ease), top 0.5s var(--ease); }
.hero-inner { max-width: 980px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 28px; color: var(--oro-light); font-size: 0.74rem; letter-spacing: 0.32em; text-transform: uppercase; }
.hero-kicker::before, .hero-kicker::after { content: ""; width: 40px; height: 1px; background: var(--oro); }
.hero h1 { font-size: clamp(2.7rem, 8vw, 6.4rem); font-weight: 500; letter-spacing: -0.01em; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; }
.hero h1 .word > span { display: inline-block; transform: translateY(110%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(0.25s + var(--i) * 0.09s); }
.hero h1 em { font-style: italic; background: linear-gradient(90deg, var(--oro), var(--oro-light), var(--oro)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 6s linear infinite; }
@keyframes wordUp { to { transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-sub { max-width: 560px; margin: 28px auto 0; color: #cfcfcf; font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.hero-fade { opacity: 0; transform: translateY(18px); animation: fadeUp 0.9s var(--ease) forwards; animation-delay: var(--d, 1.1s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; display: grid; justify-items: center; gap: 10px; transform: translateX(-50%); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grigio); }
.scroll-cue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--oro), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--nero-soft); padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-head); font-size: 1.5rem; font-style: italic; color: var(--grigio); white-space: nowrap; }
.marquee span::after { content: "◆"; font-style: normal; font-size: 0.6rem; color: var(--oro); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.section-kicker { margin: 0 0 14px; color: var(--oro); font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.section-head p { max-width: 430px; margin: 0; color: var(--grigio); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Filters + product grid ---------- */

.chip { min-height: 40px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 0.8rem; letter-spacing: 0.08em; transition: 0.3s var(--ease); }
.chip:hover { border-color: var(--oro); color: var(--oro); }
.chip[aria-pressed="true"] { background: var(--oro); border-color: var(--oro); color: var(--nero); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 26px; }
.product-card { position: relative; display: block; background: var(--nero-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transform-style: preserve-3d; transition: border-color 0.4s, box-shadow 0.4s, transform 0.25s ease-out; }
.product-card:hover { border-color: rgba(194, 163, 107, 0.6); box-shadow: 0 30px 60px -28px rgba(194, 163, 107, 0.35); }
.product-card.is-unavailable { opacity: 0.6; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #1c1b19; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.card-media .img-hover { opacity: 0; }
.product-card:hover .img-hover { opacity: 1; }
.product-card:hover .card-media img { transform: scale(1.07); }
.card-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.22), transparent 45%); transition: opacity 0.3s; }
.product-card:hover .card-glare { opacity: 1; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 12px; background: color-mix(in srgb, var(--nero) 80%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--line); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--oro-light); }
.card-body { display: grid; gap: 8px; padding: 22px 22px 24px; }
.card-body h3 { font-size: 1.5rem; }
.card-body p { margin: 0; color: var(--grigio); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oro); }
.card-foot .arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.product-card:hover .arrow { transform: translateX(6px); }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line); background: var(--sw, #444); }
.empty-state { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--grigio); }
.skeleton { aspect-ratio: 3 / 3; background: linear-gradient(110deg, #181715 30%, #23211e 50%, #181715 70%); background-size: 200% 100%; animation: sk 1.4s linear infinite; border: 1px solid var(--line); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Showcase (featured spotlight) ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.spotlight-stage { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); overflow: hidden; background: #1c1b19; perspective: 900px; }
.spotlight-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.7s var(--ease), transform 0.2s ease-out; }
.spotlight-stage img.is-off { opacity: 0; }
.spotlight-copy h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 18px; }
.spotlight-copy p { color: var(--grigio); max-width: 460px; }
.spotlight-dots { display: flex; gap: 10px; margin: 28px 0; }
.spotlight-dots button { position: relative; width: 44px; height: 4px; padding: 0; border: 0; background: var(--line); overflow: hidden; }
.spotlight-dots button::after { content: ""; position: absolute; inset: 0; background: var(--oro); transform: scaleX(0); transform-origin: left; }
.spotlight-dots button.is-active::after { animation: fill 5s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 820px) { .spotlight { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Craft / stats ---------- */
.craft { position: relative; overflow: hidden; background: var(--nero-soft); border-block: 1px solid var(--line); }
.craft-photo { position: relative; width: min(1240px, calc(100% - 48px)); margin: 0 auto 70px; aspect-ratio: 21 / 9; overflow: hidden; border: 1px solid var(--line); }
.craft-photo img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; filter: grayscale(0.2) contrast(1.05); will-change: transform; }
.craft-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--nero) 60%, transparent), transparent 60%); }
.craft-photo figcaption { position: absolute; z-index: 2; left: clamp(20px, 4vw, 50px); bottom: clamp(18px, 3vw, 40px); max-width: 380px; font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 2.2rem); font-style: italic; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--oro); font-weight: 500; }
.stat span { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grigio); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } .craft-photo { aspect-ratio: 16 / 9; } }

/* ---------- Story ---------- */
.story { --p: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-stage { --tx: 0px; --ty: 0px; --mx: 50%; --my: 50%; position: sticky; top: calc(var(--header-h) + 28px); height: min(74vh, 640px); isolation: isolate; overflow: hidden; border: 1px solid var(--line); background: #1c1b19; }
.story-stage img { position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover; opacity: 0; transform: scale(1.14) translate(var(--tx), var(--ty)); filter: saturate(0.7) brightness(0.7) blur(3px); transition: opacity 1.1s var(--ease), transform 1.8s var(--ease), filter 1.2s var(--ease); will-change: transform, opacity; }
.story-stage img.is-on { opacity: 1; transform: scale(1.03) translate(var(--tx), var(--ty)); filter: none; }
.story-stage::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--nero) 88%, transparent)), radial-gradient(circle at 50% 50%, transparent 55%, color-mix(in srgb, var(--nero) 55%, transparent)); }
.story-stage::after { content: ""; position: absolute; inset: 14px; z-index: 3; pointer-events: none; --c: color-mix(in srgb, var(--oro) 75%, transparent);
  background: linear-gradient(var(--c), var(--c)) top left / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) top right / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 26px no-repeat; }
.story-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(232, 213, 176, 0.18), transparent 70%); mix-blend-mode: soft-light; }
.story-badge { position: absolute; left: clamp(22px, 3vw, 38px); bottom: clamp(26px, 3.4vw, 42px); z-index: 4; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; pointer-events: none; }
.story-badge b { font-family: var(--font-head); font-size: clamp(3.6rem, 8vw, 6.4rem); line-height: 0.85; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--oro-light); }
.story-badge span { color: var(--grigio); font-size: 0.8rem; letter-spacing: 0.24em; }
.story-badge em { flex-basis: 100%; font-style: normal; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--oro-light); }
.story-stage.is-swap .story-badge { animation: storySwap 0.9s var(--ease); }
@keyframes storySwap { from { opacity: 0; transform: translateY(16px); } }
.story-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 3px; background: color-mix(in srgb, var(--oro) 18%, transparent); }
.story-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--oro), var(--oro-light)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 14px var(--oro); }

.story-steps { position: relative; margin: 0; padding: 0 0 0 clamp(26px, 3.4vw, 46px); list-style: none; }
.story-steps::before, .story-steps::after { content: ""; position: absolute; left: 0; top: 18vh; bottom: 18vh; width: 1px; background: var(--line); }
.story-steps::after { background: linear-gradient(180deg, var(--oro), var(--oro-light)); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 12px var(--oro); }
.story-step { position: relative; display: grid; align-content: center; justify-items: start; min-height: 72vh; opacity: 0.3; transform: translateX(26px); filter: blur(1.5px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), filter 0.8s var(--ease); }
.story-step::before { content: ""; position: absolute; left: calc(clamp(26px, 3.4vw, 46px) * -1 - 6px); top: 50%; width: 13px; height: 13px; margin-top: -6px; border: 1px solid var(--oro); border-radius: 50%; background: var(--nero); transition: background 0.5s, box-shadow 0.5s, transform 0.5s var(--ease); }
.story-step.is-past::before { background: var(--oro); }
.story-step.is-active { opacity: 1; transform: none; filter: none; }
.story-step.is-active::before { background: var(--oro); transform: scale(1.5); box-shadow: 0 0 0 6px color-mix(in srgb, var(--oro) 20%, transparent), 0 0 24px var(--oro); }
.story-num { font-family: var(--font-head); font-size: clamp(4.4rem, 10vw, 8rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--oro); opacity: 0.55; transition: opacity 0.6s, text-shadow 0.6s; }
.story-step.is-active .story-num { opacity: 1; text-shadow: 0 0 40px rgba(194, 163, 107, 0.35); }
.story-step h3 { font-size: clamp(2rem, 3.8vw, 3.4rem); margin: 16px 0 14px; }
.story-step p { max-width: 440px; margin: 0; color: var(--grigio); font-size: 1.04rem; line-height: 1.7; }
.story-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.story-tags span { padding: 6px 14px; border: 1px solid var(--line); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oro-light); opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.4s; }
.story-step.is-active .story-tags span { opacity: 1; transform: none; }
.story-step.is-active .story-tags span:nth-child(2) { transition-delay: 0.12s; }
.story-step.is-active .story-tags span:nth-child(3) { transition-delay: 0.24s; }
.story-tags span:hover { border-color: var(--oro); }
.story-cta { margin-top: 30px; }
.is-calm .story-stage img { transition-duration: 0.01ms; }
body[data-motion="off"] .story-step { opacity: 1; transform: none; filter: none; }
body[data-motion="off"] .story-tags span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .story-step { opacity: 1; transform: none; filter: none; } .story-tags span { opacity: 1; transform: none; } .story-stage img { transition-duration: 0.01ms; } }
@media (max-width: 820px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-stage { top: var(--header-h); z-index: 5; height: 38vh; box-shadow: 0 18px 30px -14px var(--nero); }
  .story-badge b { font-size: 3.2rem; }
  .story-steps { padding-left: 22px; }
  .story-steps::before, .story-steps::after { top: 12vh; bottom: 12vh; }
  .story-step { min-height: 56vh; }
  .story-step::before { left: -28px; }
  .story-num { font-size: 4rem; }
}

/* ---------- Contact band ---------- */
.band { position: relative; text-align: center; padding: clamp(80px, 12vw, 160px) 24px; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(194, 163, 107, 0.22), transparent 60%); }
.band h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); max-width: 860px; margin: 0 auto 22px; }
.band p { color: var(--grigio); max-width: 520px; margin: 0 auto 36px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 24px 70px; text-align: center; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(194, 163, 107, 0.2), transparent 62%); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); }
.page-hero p { max-width: 540px; margin: 22px auto 0; color: var(--grigio); }
.page-hero.autumn::before { background: radial-gradient(ellipse at 50% 0%, rgba(176, 98, 48, 0.28), transparent 62%); }
.page-hero.spring::before { background: radial-gradient(ellipse at 50% 0%, rgba(110, 150, 104, 0.25), transparent 62%); }

/* ---------- FAQ / service ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 70px; }
.service-card { padding: 34px 28px; background: var(--nero-card); border: 1px solid var(--line); transition: 0.4s var(--ease); }
.service-card:hover { transform: translateY(-8px); border-color: var(--oro); }
.service-card svg { width: 34px; height: 34px; fill: none; stroke: var(--oro); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.service-card p { margin: 0; color: var(--grigio); font-size: 0.92rem; }
@media (max-width: 820px) { .service-grid { grid-template-columns: 1fr; } }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-family: var(--font-head); font-size: 1.3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--oro); font-size: 1.6rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--grigio); max-width: 680px; }

.contact-form { display: grid; gap: 16px; max-width: 640px; margin: 70px auto 0; }
.contact-form h2 { text-align: center; font-size: 2.2rem; margin-bottom: 8px; }
.field { display: grid; gap: 6px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grigio); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--nero-soft); border: 1px solid var(--line); border-radius: var(--radius); color: var(--bianco); font: inherit; letter-spacing: 0; text-transform: none; transition: border-color 0.25s, box-shadow 0.25s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px rgba(194, 163, 107, 0.18); }
.form-note { font-size: 0.78rem; color: var(--grigio); margin: 0; }

/* ---------- Store locator ---------- */
.map-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 60px); align-items: stretch; }
.map-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.hours { list-style: none; padding: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--grigio); font-size: 0.94rem; }
.hours li.is-today { color: var(--oro-light); }
.map-frame { min-height: 420px; border: 1px solid var(--line); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(0.9) contrast(0.9); }
@media (max-width: 820px) { .map-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--nero-soft); padding: 64px 0 32px; }
.footer-inner { width: min(1240px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-name { font-size: 2.4rem; }
.footer-tag { margin: 14px 0 0; color: var(--grigio); font-size: 0.9rem; max-width: 280px; }
.footer-title { margin: 0 0 14px; font-family: "Inter", sans-serif; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--oro); }
.footer-col { display: grid; gap: 8px; align-content: start; color: var(--grigio); font-size: 0.92rem; }
.footer-col a:hover { color: var(--oro-light); }
.social-links { display: flex; gap: 10px; }
.social-link { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; transition: 0.3s var(--ease); }
.social-link:hover { background: var(--oro); color: var(--nero); transform: translateY(-4px); }
.social-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--grigio); font-size: 0.8rem; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Overlays: modal, search, drawer, toast ---------- */
.overlay { grid-template-columns: minmax(0, 1fr); position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(8, 8, 8, 0.82); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: 0.35s var(--ease); }
.overlay.is-open { opacity: 1; visibility: visible; }
.modal { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; width: min(980px, 100%); max-height: 92vh; overflow: auto; background: var(--nero-card); border: 1px solid var(--line); border-radius: var(--radius); transform: translateY(30px) scale(0.97); transition: transform 0.5s var(--ease); }
.overlay.is-open .modal { transform: none; }
.modal-media { position: relative; min-height: 320px; background: #1c1b19; overflow: hidden; }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s, transform 0.25s ease-out; }
/* the 360 frame keeps its own rules (spin360.css): whole frame visible, fade of 0.35s; this file's photo rule is more specific than .spin360-img */
.modal-media .spin360-img { object-fit: contain; transition: opacity 0.35s ease; }
.modal-media:hover .img-hover { opacity: 1; }
.modal-media .img-hover { opacity: 0; }
.modal-body { display: grid; align-content: center; gap: 14px; padding: clamp(26px, 4vw, 52px); }
.modal-body h2 { font-size: clamp(2rem, 4vw, 3rem); }
.modal-body p { margin: 0; color: var(--grigio); }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-meta span { padding: 5px 12px; border: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-light); }
.price { font-family: var(--font-head); font-size: 1.8rem; color: var(--oro); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 5; }
@media (max-width: 760px) { .modal { grid-template-columns: minmax(0, 1fr); } .modal-body, .modal-meta { min-width: 0; } .modal-actions .btn { flex: 1 1 100%; } .modal-media { min-height: 240px; aspect-ratio: 3 / 2; } }

.search-box { width: min(680px, 100%); align-self: start; margin-top: 12vh; }
.search-box input { width: 100%; padding: 22px 6px; border: 0; border-bottom: 1px solid var(--oro); background: none; color: var(--bianco); font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.6rem); }
.search-box input:focus { outline: none; }
.search-results { display: grid; gap: 4px; margin-top: 18px; max-height: 55vh; overflow: auto; }
.search-results button { display: flex; align-items: center; gap: 16px; padding: 10px; border: 0; background: none; text-align: left; transition: background 0.25s; }
.search-results button:hover, .search-results button:focus-visible { background: rgba(194, 163, 107, 0.1); }
.search-results img { width: 84px; aspect-ratio: 3 / 2; object-fit: cover; }
.search-results strong { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; }
.search-results small { color: var(--grigio); }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--nero-card); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform 0.5s var(--ease); }
.drawer.is-open { transform: none; }
.drawer-head, .drawer-foot { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-head h2 { font-size: 1.7rem; }
.drawer-foot { border-top: 1px solid var(--line); border-bottom: 0; flex-direction: column; align-items: stretch; gap: 14px; }
.drawer-list { flex: 1; overflow: auto; padding: 8px 26px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 84px; aspect-ratio: 3 / 2; object-fit: cover; }
.cart-line h3 { font-size: 1.15rem; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border: 1px solid var(--line); background: none; }
.qty button:hover { border-color: var(--oro); color: var(--oro); }
.total-row { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 1.4rem; }
.link-button { border: 0; background: none; color: var(--grigio); text-decoration: underline; font-size: 0.8rem; }

.toast { opacity: 0; visibility: hidden; position: fixed; left: 50%; bottom: 28px; z-index: 130; padding: 14px 24px; background: var(--oro); color: var(--nero); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; transform: translate(-50%, 160%); transition: transform 0.5s var(--ease), opacity 0.3s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Theme variants driven by settings ---------- */
body[data-corners="soft"] { --radius: 16px; }
body[data-corners="soft"] .btn { border-radius: 999px; }
body[data-corners="soft"] .field input, body[data-corners="soft"] .field select, body[data-corners="soft"] .field textarea { border-radius: 12px; }
body[data-heading="sans"] { --font-head: "Inter", system-ui, sans-serif; }
body[data-heading="sans"] h1, body[data-heading="sans"] h2, body[data-heading="sans"] h3 { font-weight: 600; letter-spacing: -0.02em; }
body[data-motion="off"] *, body[data-motion="off"] *::before, body[data-motion="off"] *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
body[data-motion="off"] [data-reveal] { opacity: 1; transform: none; }
body[data-motion="off"] .hero h1 .word > span, body[data-motion="off"] .hero-fade { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .word > span, .hero-fade { transform: none; opacity: 1; }
}

/* ---------- Extra polish ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--nero); transition: transform 0.9s var(--ease) 0.15s, visibility 0s 1.1s; }
.intro.is-done { transform: translateY(-100%); visibility: hidden; }
.intro-mark { display: grid; justify-items: center; gap: 18px; animation: introPop 1s var(--ease) both; }
.intro-mark img { width: 92px; height: 92px; }
.intro-mark span { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; letter-spacing: 0.02em; }
.intro-mark i { display: block; width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--oro), transparent); transform: scaleX(0); animation: introLine 1s 0.3s var(--ease) forwards; }
@keyframes introPop { from { opacity: 0; transform: translateY(14px) scale(0.92); } }
@keyframes introLine { to { transform: scaleX(1); } }

.giant { position: relative; overflow: hidden; padding: 30px 0; white-space: nowrap; user-select: none; pointer-events: none; }
.giant span { display: inline-block; font-family: var(--font-head); font-size: clamp(6rem, 22vw, 20rem); line-height: 0.9; font-weight: 700; text-transform: lowercase; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--oro) 45%, transparent); will-change: transform; }

.product-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 0.4s; padding: 1px; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), var(--oro), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.product-card:hover::after { opacity: 1; }
.cursor-ring::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bianco); }
.section-kicker::before { content: ""; display: inline-block; width: 0; height: 1px; margin-right: 0; vertical-align: middle; background: var(--oro); transition: width 0.9s var(--ease) 0.2s, margin 0.9s var(--ease) 0.2s; }
.is-visible .section-kicker::before, .page-hero .section-kicker::before { width: 36px; margin-right: 14px; }

@media (max-width: 420px) {
  .brand-name { font-size: 1.4rem; }
  .brand-logo { width: 34px; height: 34px; }
  .brand { gap: 8px; }
  .site-header { gap: 8px; padding: 0 12px; }
  .icon-button, .menu-toggle { width: 38px; }
  .btn { padding: 0 20px; width: 100%; }
}

/* ---------- Round 2: scrub text, split headings, magnifier, transitions, back-to-top ---------- */
/* opacity only: a transform animation on body would become the containing block of every position:fixed child */
body { animation: pageIn 0.6s ease-out backwards; }
@keyframes pageIn { from { opacity: 0; } }
.page-curtain { position: fixed; inset: 0; z-index: 190; background: var(--nero); transform: translateY(100%); pointer-events: none; transition: transform 0.45s var(--ease); display: grid; place-items: center; }
.page-curtain::after { content: ""; width: 56px; height: 1px; background: var(--oro); transform: scaleX(0); transition: transform 0.45s var(--ease) 0.1s; }
.page-curtain.is-in { transform: none; pointer-events: all; }
.page-curtain.is-in::after { transform: scaleX(1); }

.scrub { max-width: 980px; margin: 0 0 clamp(50px, 8vw, 100px); font-family: var(--font-head); font-size: clamp(1.5rem, 3.4vw, 2.8rem); line-height: 1.3; color: inherit; }
.scrub .sw { color: color-mix(in srgb, var(--bianco) 22%, transparent); transition: color 0.45s; }
.scrub .sw.on { color: var(--bianco); }
.scrub .sw.on.gold { color: var(--oro-light); }

[data-reveal="split"] { opacity: 1; transform: none; }
[data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
[data-split] .word > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 0.07s); }
[data-split].is-visible .word > span { transform: none; }

.modal-zoom { position: absolute; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; border: 1px solid var(--oro); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3); background-repeat: no-repeat; background-size: 240%; pointer-events: none; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.3s var(--ease); z-index: 4; }
.modal-media.is-zooming .modal-zoom { opacity: 1; transform: none; }
.modal-media.is-zooming { cursor: none; }
.zoom-hint { position: absolute; left: 14px; bottom: 12px; z-index: 3; padding: 4px 10px; background: color-mix(in srgb, var(--nero) 75%, transparent); border: 1px solid var(--line); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grigio); }
@media (hover: none) { .modal-zoom, .zoom-hint { display: none; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--nero) 85%, transparent); backdrop-filter: blur(8px); color: var(--oro); opacity: 0; visibility: hidden; transform: translateY(14px); transition: 0.4s var(--ease); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2; }
.to-top .track { stroke: var(--line); }
.to-top .bar { stroke: var(--oro); stroke-dasharray: 151; stroke-dashoffset: 151; }
.to-top span { font-size: 1.1rem; line-height: 1; }
.to-top:hover { transform: translateY(-4px); }

.spotlight-stage img:not(.is-off) { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { scale: 1; } to { scale: 1.08; } }
.hero h1 { text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45); }
.section-head h2, .band h2 { text-wrap: balance; }
@media (max-width: 600px) {
  .section-shell { width: calc(100% - 32px); }
  .craft-photo { width: calc(100% - 32px); }
  .hero { padding-bottom: 100px; }
  .scroll-cue { display: none; }
  .product-grid { gap: 18px; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .modal-body { padding: 22px; }
  .spotlight-copy h2 { font-size: 2.4rem; }
}

/* ---------- Round 3: catalogue, modal gallery, search, panels ---------- */
.card-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.card-type { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oro); }
.badge-new { top: 50px; background: var(--oro); border-color: var(--oro); color: var(--nero); font-weight: 600; }
.fav { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: color-mix(in srgb, var(--nero) 70%, transparent); backdrop-filter: blur(6px); transition: transform 0.3s var(--ease), border-color 0.3s; }
.fav svg { width: 18px; height: 18px; fill: none; stroke: var(--bianco); stroke-width: 1.7; stroke-linejoin: round; transition: 0.3s; }
.fav:hover { transform: scale(1.12); border-color: var(--oro); }
.fav.is-on svg { fill: var(--oro); stroke: var(--oro); animation: heart 0.5s var(--ease); }
@keyframes heart { 40% { transform: scale(1.4); } }
.fav-inline { position: static; }

.filters { position: sticky; top: var(--header-h); z-index: 30; margin: 0 0 30px; padding: 12px 0; background: color-mix(in srgb, var(--nero) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: top 0.4s var(--ease); }
body:has(.site-header.is-hidden) .filters { top: 0; }
.filters:empty { display: none; }
.filter-groups { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; }
.chip em { font-style: normal; font-size: 0.7rem; opacity: 0.55; }
.chip[aria-pressed="true"] em { opacity: 0.85; }
.chip-sep { width: 1px; height: 22px; margin: 0 4px; background: var(--line); }
.chip-fav[aria-pressed="true"] { background: #b8475a; border-color: #b8475a; color: #fff; }
.filter-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; color: var(--grigio); font-size: 0.82rem; }
.filter-meta > :nth-child(n+2) { margin-left: auto; }
.filter-meta .sort + .view-toggle { margin-left: 0; }
.sort select { min-height: 38px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--nero-soft); color: var(--bianco); font: inherit; font-size: 0.82rem; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.view-toggle button { display: grid; place-items: center; width: 40px; height: 38px; border: 0; background: none; color: var(--grigio); }
.view-toggle button[aria-pressed="true"] { background: var(--oro); color: var(--nero); }
.view-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.product-grid { transition: opacity 0.18s, transform 0.18s; }
.product-grid.is-swapping { opacity: 0; transform: translateY(10px); }
.product-grid.is-large { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.empty-state .btn.small { min-height: 40px; margin-top: 14px; }
@media (max-width: 720px) {
  .filter-groups { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .filter-groups::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; white-space: nowrap; }
  .view-toggle { display: none; }
  .filters { top: var(--header-h); }
}

.modal { grid-template-columns: 1.1fr 1fr; transition: transform 0.5s var(--ease), opacity 0.16s; }
.modal.is-swapping { opacity: 0; transform: translateX(-14px); }
.modal-media-col { display: grid; grid-template-rows: 1fr auto; background: #1c1b19; min-width: 0; }
.modal-media .badge-new { top: 14px; left: 14px; }
#modal-main { transition: opacity 0.15s; }
#modal-main.is-fading { opacity: 0; }
.modal-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-top: 1px solid var(--line); }
.thumb { flex: 0 0 76px; aspect-ratio: 3 / 2; padding: 0; border: 1px solid var(--line); background: none; opacity: 0.55; overflow: hidden; transition: 0.3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 0.9; }
.thumb.is-on { opacity: 1; border-color: var(--oro); }
.modal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--grigio); font-size: 0.78rem; letter-spacing: 0.14em; margin: -10px 44px 0 -8px; }
.specs { display: grid; gap: 6px; margin: 0; }
.specs:empty { display: none; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.specs dt { color: var(--grigio); } .specs dd { margin: 0; text-align: right; }
.modal-tools { display: flex; align-items: center; gap: 16px; }
.modal-related { grid-column: 1 / -1; padding: 22px clamp(22px, 4vw, 52px) 30px; border-top: 1px solid var(--line); }
.modal-related h3 { font-size: 1.3rem; margin-bottom: 14px; }
.related-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-row button { display: grid; gap: 8px; padding: 0; border: 1px solid var(--line); background: none; text-align: left; transition: 0.35s var(--ease); }
.related-row button:hover { border-color: var(--oro); transform: translateY(-4px); }
.related-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.related-row span { padding: 0 10px 10px; font-family: var(--font-head); font-size: 1.05rem; }
@media (max-width: 760px) { .modal-nav { margin: 0 44px 0 0; } .related-row span { font-size: 0.95rem; } }

.search-label { margin: 20px 0 6px; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grigio); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-results mark { background: none; color: var(--oro); text-decoration: underline; text-underline-offset: 3px; }
.search-hint { margin: 16px 0 0; color: var(--grigio); font-size: 0.74rem; letter-spacing: 0.04em; }
@media (hover: none) { .search-hint { display: none; } }
.search-box { margin-top: 8vh; }

.cursor-glow { position: fixed; top: 0; left: 0; z-index: 1; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--oro) 12%, transparent), transparent 62%); pointer-events: none; opacity: 0; transition: opacity 0.6s; mix-blend-mode: screen; }
.cursor-glow.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

.panels { display: flex; gap: 16px; height: min(72vh, 580px); }
.panel { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(22px, 3vw, 44px); overflow: hidden; isolation: isolate; border: 1px solid var(--line); transition: flex 0.8s var(--ease), border-color 0.4s; }
.panel:hover, .panel:focus-visible { flex: 1.8; border-color: var(--oro); }
.panel-bg { position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; filter: saturate(0.65) brightness(0.55); transition: transform 1.4s var(--ease), filter 0.7s; }
.panel:hover .panel-bg { transform: scale(1.08); filter: saturate(1) brightness(0.78); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, color-mix(in srgb, var(--nero) 88%, transparent)); }
.panel-tag { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--oro-light); }
.panel h3 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
.panel p { margin: 0; max-width: 360px; color: #d6d6d6; max-height: 0; opacity: 0; transition: max-height 0.7s var(--ease), opacity 0.6s; }
.panel:hover p, .panel:focus-visible p { max-height: 80px; opacity: 1; }
.panel-go { display: inline-flex; align-items: center; gap: 12px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--oro); }
.panel-go i { display: block; width: 36px; height: 1px; background: currentColor; transition: width 0.5s var(--ease); }
.panel:hover .panel-go i { width: 70px; }
@media (max-width: 760px) { .panels { flex-direction: column; height: auto; } .panel { flex: none; min-height: 260px; } .panel:hover { flex: none; } .panel p { max-height: 80px; opacity: 1; } }
@media (hover: none) { .panel p { max-height: 80px; opacity: 1; } }

/* page exit: content slides up and fades before the curtain falls */
body.is-leaving > section, body.is-leaving > main, body.is-leaving > header.page-hero, body.is-leaving > .marquee, body.is-leaving > .giant, body.is-leaving > .band, body.is-leaving > footer { opacity: 0; transform: translateY(-28px); transition: opacity 0.32s ease, transform 0.5s var(--ease); }
body.is-leaving > footer { transition-delay: 0.05s; }


/* off-screen reveal offsets must not widen the page on phones (clip, unlike hidden, keeps sticky working) */
html { overflow-x: clip; }
.section, .band, .craft, .page-hero, main { overflow-x: clip; }

/* Round 9: the hero sky is drawn (inline SVG + CSS), so no hero photo is downloaded on the LCP path */

/* Scroll progress driven by the compositor where scroll-driven animations exist; script.js keeps a fallback */
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progressGrow linear both; animation-timeline: scroll(root block); }
  @keyframes progressGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.preview-ribbon { position: fixed; left: 50%; top: 10px; z-index: 150; display: flex; gap: 14px; align-items: center; padding: 8px 8px 8px 18px; background: var(--oro); color: var(--nero); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; transform: translateX(-50%); }
.preview-ribbon button { min-height: 30px; padding: 0 14px; border: 1px solid var(--nero); background: none; color: inherit; font: inherit; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.preview-ribbon button:hover { background: var(--nero); color: var(--oro); }

/* ---------- Particles, calm mode, glints ---------- */
.dust-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.fx-canvas { position: fixed; inset: 0; z-index: 135; width: 100%; height: 100%; pointer-events: none; }
.hero-spot { transition: none; }

.calm-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--nero) 85%, transparent); backdrop-filter: blur(8px); color: var(--oro); transition: transform 0.4s var(--ease), background 0.3s; }
.calm-toggle:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--oro) 18%, var(--nero)); }
.calm-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.calm-toggle .moon, .calm-toggle .spark { transition: opacity 0.4s, transform 0.6s var(--ease); transform-origin: 12px 12px; }
.calm-toggle .moon { opacity: 0; transform: rotate(-40deg) scale(0.7); }
.calm-toggle[aria-pressed="true"] .moon { opacity: 1; transform: none; }
.calm-toggle[aria-pressed="true"] .spark { opacity: 0; transform: rotate(60deg) scale(0.6); }
@media (max-width: 600px) { .calm-toggle { left: 12px; bottom: 12px; width: 42px; height: 42px; } }

.is-calm .cursor-glow { opacity: 0 !important; }
.is-calm .marquee-track { animation-duration: 120s; }
.is-calm .spotlight-stage img:not(.is-off) { animation: none; }
.is-calm .hero h1 em { animation-duration: 18s; }
.is-calm .product-card:hover .card-media::before { animation: none; }

/* a soft glint crosses the lens of a model when you look at it */
.card-media::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; z-index: 2; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent); transform: skewX(-18deg); pointer-events: none; }
.product-card:hover .card-media::before { animation: glint 1.2s var(--ease); }
@keyframes glint { to { left: 140%; } }

/* Legal page */
.legal { max-width: 780px; }
.legal section { padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.legal p, .legal li { color: var(--grigio); line-height: 1.75; }
.legal p + p, .legal ul { margin-top: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 12px; }
.legal li strong { color: var(--bianco, #f5f5f5); font-weight: 500; }
.legal a { color: var(--oro-light); text-decoration: underline; text-underline-offset: 3px; }

/* Keep the floating buttons (calm toggle, back-to-top) clear of the legal links on phones */
@media (max-width: 720px) {
  .site-footer { padding-bottom: 76px; }
}

/* The round-3 two-column modal rule overrode the phone layout; restore a single column */
@media (max-width: 760px) {
  .modal { grid-template-columns: minmax(0, 1fr); }
  .modal-media-col { grid-template-rows: auto auto; }
  .modal-media-col .modal-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Spotlight dots: 4px bars keep their look, the tap area grows to ~36px */
.spotlight-dots button { overflow: visible; }
.spotlight-dots button::before { content: ""; position: absolute; inset: -16px -4px; }

/* ---------- Round 5: "Due stagioni" panels and model cards ---------- */
.panels { gap: clamp(10px, 1.4vw, 18px); }
.panel { --tint: 194, 163, 107; --mx: 50%; --my: 50%; --bx: 0px; --by: 0px; cursor: pointer; }
.panel[href*="spring"] { --tint: 120, 168, 112; }
.panel[href*="autumn"] { --tint: 196, 108, 52; }
.panel-bg { inset: -4%; transform: translate(var(--bx), var(--by)) scale(1.04); filter: saturate(0.55) brightness(0.5) contrast(1.05); }
.panel:hover .panel-bg, .panel:focus-visible .panel-bg { transform: translate(var(--bx), var(--by)) scale(1.1); filter: saturate(1) brightness(0.8) contrast(1.05); }
.panel::before { background: linear-gradient(180deg, rgba(var(--tint), 0.0) 20%, color-mix(in srgb, var(--nero) 90%, transparent)), radial-gradient(520px circle at var(--mx) var(--my), rgba(var(--tint), 0.28), transparent 62%); transition: opacity 0.5s; }
.panel::after { content: ""; position: absolute; inset: 14px; z-index: 1; pointer-events: none; opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); --c: rgba(var(--tint), 0.95);
  background: linear-gradient(var(--c), var(--c)) top left / 30px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 30px no-repeat, linear-gradient(var(--c), var(--c)) top right / 30px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 30px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 30px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 30px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 30px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 30px no-repeat; }
.panel:hover::after, .panel:focus-visible::after { opacity: 1; transform: none; }
.panel:hover, .panel:focus-visible { border-color: rgb(var(--tint)); box-shadow: 0 40px 80px -40px rgba(var(--tint), 0.55); }
.panel-num { position: absolute; top: clamp(18px, 2.4vw, 32px); left: clamp(22px, 3vw, 44px); font-family: var(--font-head); font-size: clamp(3.6rem, 8vw, 7rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.85); filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.55)); opacity: 0.75; transition: opacity 0.5s, transform 0.8s var(--ease); }
.panel:hover .panel-num { opacity: 1; transform: translateY(6px); }
.panel-tag { display: inline-flex; align-items: center; gap: 10px; }
.panel-tag::before { content: ""; width: 26px; height: 1px; background: rgb(var(--tint)); transition: width 0.6s var(--ease); }
.panel:hover .panel-tag::before { width: 54px; }
.panel h3 { transition: transform 0.8s var(--ease), letter-spacing 0.8s var(--ease); }
.panel:hover h3 { transform: translateX(8px); letter-spacing: 0.01em; }
.panel p, .panel-go { transform: translateY(12px); transition: max-height 0.7s var(--ease), opacity 0.6s, transform 0.7s var(--ease); }
.panel:hover p, .panel:focus-visible p, .panel:hover .panel-go, .panel:focus-visible .panel-go { transform: none; }
.panel-go { color: rgb(var(--tint)); }
.panel-go i { position: relative; }
.panel-go i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.panel-thumbs { position: absolute; top: clamp(20px, 2.6vw, 34px); right: clamp(20px, 2.6vw, 34px); display: flex; z-index: 2; }
.panel-thumbs i { width: 52px; height: 52px; margin-left: -14px; border-radius: 50%; border: 2px solid var(--nero); background: var(--im) center / cover, #1c1b19; box-shadow: 0 0 0 1px rgba(var(--tint), 0.8); opacity: 0; transform: translateY(-14px) scale(0.7); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.panel:hover .panel-thumbs i, .panel:focus-visible .panel-thumbs i { opacity: 1; transform: none; }
.panel:hover .panel-thumbs i:nth-child(2) { transition-delay: 0.08s; }
.panel:hover .panel-thumbs i:nth-child(3) { transition-delay: 0.16s; }
.panel-thumbs i:hover { transform: translateY(-4px) scale(1.12) !important; z-index: 2; }
@media (hover: none) { .panel-thumbs i { opacity: 1; transform: none; } .panel::after { opacity: 1; transform: none; } .panel p, .panel-go { transform: none; } }
@media (max-width: 760px) { .panel { min-height: 300px; } .panel-num { font-size: 3.2rem; } .panel-thumbs i { width: 42px; height: 42px; } }

/* Cards: layered frame, quick-view pill, ring swatches, circular arrow */
.product-grid { gap: clamp(16px, 2vw, 28px); }
.product-card { background: linear-gradient(180deg, color-mix(in srgb, var(--nero-card) 92%, white), var(--nero-card)); transition: border-color 0.4s, box-shadow 0.5s, transform 0.25s ease-out; }
.product-card:hover { border-color: rgba(194, 163, 107, 0.7); box-shadow: 0 40px 70px -30px rgba(194, 163, 107, 0.4), 0 0 0 1px rgba(194, 163, 107, 0.15); }
.card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35)); opacity: 0.55; transition: opacity 0.5s; }
.product-card:hover .card-media::after { opacity: 1; }
.card-quick { position: absolute; left: 50%; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; transform: translate(-50%, 18px); opacity: 0; white-space: nowrap; background: color-mix(in srgb, var(--nero) 78%, transparent); backdrop-filter: blur(10px); border: 1px solid rgba(194, 163, 107, 0.7); color: var(--oro-light); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), background 0.3s, color 0.3s; }
.card-quick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.product-card:hover .card-quick, .product-card:focus-within .card-quick { opacity: 1; transform: translate(-50%, 0); }
.product-card:hover .card-quick:hover { background: var(--oro); color: var(--nero); }
.card-body { gap: 10px; position: relative; }
.card-body::before { content: ""; position: absolute; left: 22px; top: 0; width: 28px; height: 2px; background: var(--oro); transition: width 0.7s var(--ease); }
.product-card:hover .card-body::before { width: calc(100% - 44px); }
.card-type { padding-top: 6px; letter-spacing: 0.22em; }
.card-body h3 { transition: transform 0.6s var(--ease), color 0.4s; }
.product-card:hover .card-body h3 { transform: translateX(4px); color: var(--oro-light); }
.card-foot { padding-top: 14px; border-top: 1px solid var(--line); }
.card-foot .arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; }
.product-card:hover .arrow { transform: translateX(4px) rotate(-45deg); background: var(--oro); color: var(--nero); border-color: var(--oro); }
.swatches i { width: 14px; height: 14px; box-shadow: 0 0 0 2px var(--nero-card), 0 0 0 3px var(--line); transition: transform 0.4s var(--ease); }
.product-card:hover .swatches i { transform: scale(1.15); }
.product-card:hover .swatches i:nth-child(2) { transition-delay: 0.05s; }
.product-card:hover .swatches i:nth-child(3) { transition-delay: 0.1s; }
.badge { border-radius: 0; }
.badge-new { background: var(--oro); color: var(--nero); border-color: var(--oro); }
/* staggered entrance with a soft focus pull (animation, so hover tilt keeps its own fast transition) */
.product-card[data-reveal].is-visible { animation: cardIn 0.9s var(--ease) var(--delay, 0s) backwards; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(0.97); filter: blur(6px); } }
body[data-motion="off"] .product-card[data-reveal].is-visible { animation: none; }
@media (prefers-reduced-motion: reduce) { .product-card[data-reveal].is-visible { animation: none; } }
@media (hover: none) { .card-quick { opacity: 1; transform: translate(-50%, 0); bottom: 12px; } }

/* ---------- Round 6: intro, hero, numbers band, spotlight ---------- */

/* Intro: logo draws in, wordmark types, a counter climbs, then the curtain parts in two */
.intro { background: transparent; transition: visibility 0s 1.5s; cursor: pointer; }
.intro.is-done { transform: none; visibility: hidden; }
.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--nero); transition: transform 1.05s var(--ease) 0.2s; }
.intro-half.top { top: 0; border-bottom: 1px solid rgba(194, 163, 107, 0.55); }
.intro-half.bottom { bottom: 0; border-top: 1px solid rgba(194, 163, 107, 0.55); }
.intro.is-done .intro-half.top { transform: translateY(-101%); }
.intro.is-done .intro-half.bottom { transform: translateY(101%); }
.intro-mark { position: relative; z-index: 2; gap: 14px; animation: none; transition: opacity 0.5s, transform 0.8s var(--ease), filter 0.6s; }
.intro.is-done .intro-mark { opacity: 0; transform: scale(1.18); filter: blur(8px); }
.intro-logo { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.intro-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.intro-logo circle { fill: none; stroke: var(--oro); stroke-width: 1.2; stroke-dasharray: 352; stroke-dashoffset: 352; animation: introRing 1.7s var(--ease) 0.1s forwards; filter: drop-shadow(0 0 6px rgba(194, 163, 107, 0.8)); }
.intro-logo img { width: 84px; height: 84px; opacity: 0; transform: scale(0.7) rotate(-12deg); animation: introLogo 1.1s var(--ease) 0.35s forwards; filter: drop-shadow(0 0 22px rgba(194, 163, 107, 0.45)); }
@keyframes introRing { to { stroke-dashoffset: 0; } }
@keyframes introLogo { to { opacity: 1; transform: none; } }
.intro-word { display: flex; overflow: hidden; padding-bottom: 0.1em; }
.intro-word b { display: inline-block; font: inherit; transform: translateY(110%); animation: wordUp 0.8s var(--ease) forwards; animation-delay: calc(0.6s + var(--i) * 0.07s); }
.intro-mark i { animation-delay: 0.9s; }
.intro-pct { font-style: normal; font-size: 0.7rem; letter-spacing: 0.34em; color: var(--oro); font-variant-numeric: tabular-nums; opacity: 0.85; }
.intro-pct::after { content: " %"; }

/* Hero: tracking ring around the lens, coordinates, richer scroll cue, scroll-out */
.hero-ring { position: absolute; z-index: -1; left: 50%; top: 42%; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; border: 1px dashed rgba(232, 213, 176, 0.35); pointer-events: none; animation: ringSpin 40s linear infinite; }
.hero-ring::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 1px solid rgba(194, 163, 107, 0.22); }
.hero-ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 14px 2px var(--oro); }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.hero-coords { position: absolute; left: clamp(18px, 4vw, 56px); bottom: 34px; display: flex; align-items: center; gap: 12px; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grigio); }
.hero-coords::before { content: ""; width: 34px; height: 1px; background: var(--oro); }
.hero-kicker::before, .hero-kicker::after { transform: scaleX(0); animation: lineGrow 1.1s var(--ease) 0.4s forwards; }
.hero-kicker::before { transform-origin: right; }
.hero-kicker::after { transform-origin: left; }
@keyframes lineGrow { to { transform: scaleX(1); } }
.hero h1 { text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 80px rgba(194, 163, 107, 0.12); }
.hero-inner { will-change: transform, opacity; }
.scroll-cue { bottom: 26px; }
.scroll-cue::before { content: ""; width: 22px; height: 36px; border: 1px solid rgba(232, 213, 176, 0.55); border-radius: 12px; background: radial-gradient(circle at 50% 22%, var(--oro) 0 2px, transparent 3px); background-repeat: no-repeat; animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { background-position: 0 0; } 60% { background-position: 0 14px; opacity: 0.2; } 100% { background-position: 0 0; } }
.scroll-cue i { display: none; }
.hero .btn-solid { box-shadow: 0 0 0 0 rgba(194, 163, 107, 0.5); animation: ctaPulse 3.2s ease-out 3s infinite; }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(194, 163, 107, 0.45); } 70%, 100% { box-shadow: 0 0 0 18px rgba(194, 163, 107, 0); } }
.is-calm .hero-ring, .is-calm .hero .btn-solid { animation: none; }
@media (max-width: 760px) { .hero-ring { width: 240px; height: 240px; margin: -120px 0 0 -120px; } .hero-coords { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-ring, .hero .btn-solid, .scroll-cue::before { animation: none; } .hero-kicker::before, .hero-kicker::after { transform: none; animation: none; } }

/* Numbers band: ring fills while the number counts up */
.stats { position: relative; border: 0; gap: 0; background: linear-gradient(90deg, transparent, rgba(194, 163, 107, 0.07), transparent); }
.stats::before, .stats::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--oro), transparent); opacity: 0.6; }
.stats::before { top: 0; }
.stats::after { bottom: 0; }
.stat { --r: 0; position: relative; display: grid; justify-items: center; gap: 14px; padding: 44px 20px 40px; border-right: 0; overflow: hidden; isolation: isolate; transition: background 0.5s; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
.stat strong { position: relative; display: grid; place-items: center; width: 150px; height: 150px; font-size: clamp(2.6rem, 5vw, 3.8rem); text-shadow: 0 0 36px rgba(194, 163, 107, 0.35); font-variant-numeric: tabular-nums; }
.stat strong::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: conic-gradient(var(--oro) calc(var(--r) * 360deg), rgba(194, 163, 107, 0.14) 0); -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%); mask: radial-gradient(circle, transparent 66%, #000 67%); filter: drop-shadow(0 0 8px rgba(194, 163, 107, 0.55)); }
.stat strong::after { content: ""; position: absolute; inset: 14px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(194, 163, 107, 0.12), transparent 70%); }
.stat span { text-align: center; }
.stat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 0, rgba(194, 163, 107, 0.18), transparent 65%); opacity: 0; transition: opacity 0.6s; }
.stat:hover::after { opacity: 1; }
@media (max-width: 720px) { .stat + .stat::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); } .stat strong { width: 124px; height: 124px; } .stat { padding: 32px 20px 30px; border-bottom: 0; } }

/* Spotlight: numbered feature stage with pointer glow, brackets and swap choreography */
.spotlight-stage { --mx: 50%; --my: 50%; border-color: rgba(194, 163, 107, 0.35); box-shadow: 0 50px 90px -50px rgba(194, 163, 107, 0.35); }
.spotlight-stage::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.16), transparent 62%), linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3)); mix-blend-mode: soft-light; }
.spotlight-stage::after { content: ""; position: absolute; inset: 14px; z-index: 3; pointer-events: none; --c: rgba(194, 163, 107, 0.85);
  background: linear-gradient(var(--c), var(--c)) top left / 28px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 28px no-repeat, linear-gradient(var(--c), var(--c)) top right / 28px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 28px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 28px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 28px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 28px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 28px no-repeat; }
.spotlight-stage img { transition: opacity 0.9s var(--ease), transform 0.2s ease-out, filter 0.9s var(--ease); }
.spotlight-stage img.is-off { filter: blur(8px) saturate(0.6); }
.spot-idx { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 0.85; color: transparent; -webkit-text-stroke: 1px var(--oro); opacity: 0.75; }
.spot-idx small { margin-left: 10px; font-size: 0.8rem; letter-spacing: 0.24em; color: var(--grigio); -webkit-text-stroke: 0; }
.spot-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.spot-meta span { padding: 5px 13px; border: 1px solid var(--line); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oro-light); }
.spotlight-copy.is-swap > * { animation: spotIn 0.8s var(--ease) backwards; }
.spotlight-copy.is-swap > *:nth-child(2) { animation-delay: 0.05s; }
.spotlight-copy.is-swap > *:nth-child(3) { animation-delay: 0.1s; }
.spotlight-copy.is-swap > *:nth-child(4) { animation-delay: 0.15s; }
.spotlight-copy.is-swap > *:nth-child(5) { animation-delay: 0.2s; }
@keyframes spotIn { from { opacity: 0; transform: translateY(18px); filter: blur(5px); } }
.spotlight-dots button { height: 3px; background: color-mix(in srgb, var(--oro) 22%, transparent); }
.spotlight-dots button.is-active::after { box-shadow: 0 0 10px var(--oro); }
body[data-motion="off"] .spotlight-copy.is-swap > * { animation: none; }
@media (prefers-reduced-motion: reduce) { .spotlight-copy.is-swap > * { animation: none; } }

/* ---------- Round 7: model modal and season pages ---------- */

/* Modal */
.overlay { background: radial-gradient(ellipse at 50% 30%, rgba(194, 163, 107, 0.1), transparent 60%), rgba(8, 8, 8, 0.86); }
.modal { --tint: 194, 163, 107; --mx: 50%; --my: 50%; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(var(--tint), 0.25), 0 0 80px -30px rgba(var(--tint), 0.45); background: radial-gradient(ellipse at 100% 0, rgba(var(--tint), 0.1), transparent 55%), var(--nero-card); }
.modal[data-season="spring"] { --tint: 120, 168, 112; }
.modal[data-season="autumn"] { --tint: 196, 108, 52; }
.overlay.is-open .modal { animation: modalIn 0.9s var(--ease) backwards; }
@keyframes modalIn { from { opacity: 0; transform: translateY(46px) scale(0.94); filter: blur(10px); } }
.modal-media { overflow: hidden; }
.modal-media::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.2), transparent 60%); mix-blend-mode: soft-light; }
.modal-media::after { content: ""; position: absolute; inset: 14px; z-index: 3; pointer-events: none; --c: rgba(var(--tint), 0.9);
  background: linear-gradient(var(--c), var(--c)) top left / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) top right / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 26px no-repeat; animation: bracketsIn 1s var(--ease) 0.2s backwards; }
@keyframes bracketsIn { from { opacity: 0; transform: scale(1.06); } }
.overlay.is-open #modal-main { animation: heroImg 1.2s var(--ease) 0.1s backwards; }
@keyframes heroImg { from { opacity: 0; transform: scale(1.18); filter: blur(10px) saturate(0.5); } }
.modal-idx { position: absolute; right: 18px; bottom: 10px; z-index: 4; font-family: var(--font-head); font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: 0.85; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.95); filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75)); pointer-events: none; white-space: nowrap; }
.modal-idx small { font-size: 0.75rem; letter-spacing: 0.2em; -webkit-text-stroke: 0; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); margin-left: 6px; white-space: nowrap; }
.thumb { transition: opacity 0.3s, border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s; }
.thumb:hover { transform: translateY(-3px); }
.thumb.is-on { box-shadow: 0 0 0 1px rgba(var(--tint), 0.9), 0 10px 22px -8px rgba(var(--tint), 0.6); border-color: rgb(var(--tint)); }
.overlay.is-open .modal-thumbs .thumb { animation: spotIn 0.7s var(--ease) backwards; }
.overlay.is-open .modal-thumbs .thumb:nth-child(2) { animation-delay: 0.1s; }
.overlay.is-open .modal-thumbs .thumb:nth-child(3) { animation-delay: 0.2s; }
.overlay.is-open .modal-thumbs .thumb:nth-child(4) { animation-delay: 0.3s; }
.overlay.is-open .modal-body > * { animation: spotIn 0.8s var(--ease) backwards; }
.overlay.is-open .modal-body > :nth-child(1) { animation-delay: 0.25s; }
.overlay.is-open .modal-body > :nth-child(2) { animation-delay: 0.32s; }
.overlay.is-open .modal-body > :nth-child(3) { animation-delay: 0.4s; }
.overlay.is-open .modal-body > :nth-child(4) { animation-delay: 0.48s; }
.overlay.is-open .modal-body > :nth-child(5) { animation-delay: 0.56s; }
.overlay.is-open .modal-body > :nth-child(6) { animation-delay: 0.64s; }
.overlay.is-open .modal-body > :nth-child(7) { animation-delay: 0.72s; }
.overlay.is-open .modal-body > :nth-child(8) { animation-delay: 0.8s; }
.modal-meta span { border-color: rgba(var(--tint), 0.45); color: var(--oro-light); transition: background 0.3s, color 0.3s; }
.modal-meta span:hover { background: rgb(var(--tint)); color: var(--nero); }
.modal-body h2 { position: relative; padding-bottom: 16px; }
.modal-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; background: linear-gradient(90deg, rgb(var(--tint)), transparent); animation: lineGrow 1.1s var(--ease) 0.6s backwards; transform-origin: left; }
.specs { border-top: 1px solid var(--line); }
.specs > div, .specs .spec { transition: background 0.3s, padding 0.4s var(--ease); }
.specs > div:hover, .specs .spec:hover { background: linear-gradient(90deg, rgba(var(--tint), 0.1), transparent); padding-left: 8px; }
.modal .price { font-size: clamp(1.9rem, 3.4vw, 2.6rem); background: linear-gradient(90deg, var(--oro), var(--oro-light), var(--oro)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 6s linear infinite; }
.modal-close { transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.modal-close:hover { transform: rotate(90deg); background: var(--oro); color: var(--nero); }
.modal-actions .btn-solid { box-shadow: 0 10px 30px -12px rgba(var(--tint), 0.7); }
.related-row button { position: relative; overflow: hidden; }
.related-row button::after { content: "→"; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--oro); color: var(--nero); font-size: 0.9rem; opacity: 0; transform: scale(0.6) rotate(-45deg); transition: opacity 0.4s, transform 0.5s var(--ease); }
.related-row button:hover::after { opacity: 1; transform: none; }
.related-row img { transition: transform 0.8s var(--ease); }
.related-row button:hover img { transform: scale(1.08); }
.modal-related { background: linear-gradient(180deg, transparent, rgba(var(--tint), 0.05)); }
.is-calm .modal-body > *, .is-calm .modal-thumbs .thumb { animation: none !important; }
body[data-motion="off"] .modal, body[data-motion="off"] #modal-main, body[data-motion="off"] .modal-body > *, body[data-motion="off"] .modal-thumbs .thumb { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .overlay.is-open .modal, .overlay.is-open #modal-main, .overlay.is-open .modal-body > *, .overlay.is-open .modal-thumbs .thumb { animation: none; } }

/* Season pages */
.page-hero { --tint: 194, 163, 107; padding-bottom: 90px; }
.page-hero.spring { --tint: 120, 168, 112; }
.page-hero.autumn { --tint: 196, 108, 52; }
.page-hero h1 { text-shadow: 0 8px 50px rgba(var(--tint), 0.35); }
.season-mark { position: absolute; left: 50%; top: 52%; z-index: -1; translate: -50% -50%; font-family: var(--font-head); font-size: clamp(9rem, 34vw, 30rem); line-height: 0.8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(var(--tint), 0.28); pointer-events: none; user-select: none; }
.season-orb { position: absolute; z-index: -1; left: 50%; top: 40%; width: min(70vw, 620px); aspect-ratio: 1; margin: calc(min(70vw, 620px) / -2) 0 0 calc(min(70vw, 620px) / -2); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(var(--tint), 0.42), rgba(var(--tint), 0.08) 55%, transparent 70%); filter: blur(24px); animation: orbDrift 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes orbDrift { from { transform: translate(-6%, -3%) scale(1); } to { transform: translate(6%, 4%) scale(1.12); } }
.season-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; }
.season-meta > span, .season-meta a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px; border: 1px solid rgba(var(--tint), 0.5); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--oro-light); background: color-mix(in srgb, var(--nero) 55%, transparent); backdrop-filter: blur(6px); transition: background 0.35s, color 0.35s, transform 0.4s var(--ease); }
.season-meta a:hover { background: rgb(var(--tint)); color: var(--nero); transform: translateY(-3px); }
.page-hero p.season-lead { max-width: 560px; }
.is-calm .season-orb { animation: none; }
@media (prefers-reduced-motion: reduce) { .season-orb { animation: none; } }

/* Filters: glowing active chip, sliding hover wash, soft glass bar */
.filters { box-shadow: 0 18px 30px -24px rgba(0, 0, 0, 0.9); }
.filters::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--oro), transparent); opacity: 0.5; }
.chip { position: relative; overflow: hidden; isolation: isolate; }
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(194, 163, 107, 0.16); transform: translateY(101%); transition: transform 0.45s var(--ease); }
.chip:hover::before { transform: none; }
.chip[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--oro), 0 8px 26px -8px rgba(194, 163, 107, 0.65); }
.chip[aria-pressed="true"]::before { display: none; }
.chip:active { transform: scale(0.96); }
.product-grid.is-swapping { opacity: 0; transform: translateY(12px) scale(0.99); filter: blur(4px); }
.product-grid { transition: opacity 0.18s, transform 0.25s var(--ease), filter 0.18s; }

/* Next-season banner */
.season-next { --tint: 194, 163, 107; display: flex; min-height: clamp(260px, 38vw, 380px); margin-top: 70px; }
.season-next[href*="spring"] { --tint: 120, 168, 112; }
.season-next[href*="autumn"] { --tint: 196, 108, 52; }
.season-next p { max-height: 80px; opacity: 1; transform: none; }
.season-next .panel-go { transform: none; }
.season-next:hover h3 { transform: translateX(14px); }
.season-all { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- Round 8: polish pass ---------- */
.product-grid.is-few { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.product-grid.is-few .card-body h3 { font-size: 1.8rem; }
@media (max-width: 600px) { .product-grid.is-few { grid-template-columns: minmax(0, 1fr); } }
.spot-idx { margin-bottom: 22px; line-height: 1; }
.story-step:last-child { min-height: 56vh; }
.modal-close { background: color-mix(in srgb, var(--nero) 72%, transparent); backdrop-filter: blur(8px); border: 1px solid rgba(194, 163, 107, 0.55); color: var(--bianco); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; cursor: pointer; background: linear-gradient(45deg, transparent 46%, var(--oro) 46% 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, var(--oro) 46% 54%, transparent 54%); }
@media (max-width: 980px) { .primary-nav { background: var(--nero); backdrop-filter: blur(18px); } }
.map-frame { position: relative; box-shadow: 0 40px 80px -50px rgba(194, 163, 107, 0.35); }
.map-frame::after { content: ""; position: absolute; inset: 12px; pointer-events: none; --c: rgba(194, 163, 107, 0.85);
  background: linear-gradient(var(--c), var(--c)) top left / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) top right / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 26px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 26px no-repeat; }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(28px, 4vw, 56px); padding-bottom: 30px; }
.info-card { position: relative; display: grid; gap: 8px; align-content: start; padding: 28px 26px 26px; border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--nero-card) 92%, white), var(--nero-card)); overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s; }
.info-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--oro), transparent); transform: scaleX(0.18); transform-origin: left; transition: transform 0.7s var(--ease); }
.info-card:hover { border-color: rgba(194, 163, 107, 0.7); transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(194, 163, 107, 0.4); }
.info-card:hover::before { transform: scaleX(1); }
.info-card svg { width: 30px; height: 30px; margin-bottom: 8px; fill: none; stroke: var(--oro); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.6s var(--ease); }
.info-card:hover svg { transform: scale(1.18) rotate(-6deg); }
.info-card span { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grigio); }
.info-card strong { font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 760px) { .info-cards { grid-template-columns: minmax(0, 1fr); } }
.story-stage { transition: top 0.4s var(--ease); }
@media (max-width: 820px) { body:has(.site-header.is-hidden) .story-stage { top: 0; } }
@media (min-width: 821px) { body:has(.site-header.is-hidden) .story-stage { top: 28px; } }

/* ---------- Round 9: Dolomiti ---------- */
/* Scene (script.js initDolomiti): sky, stars, low sun, far towers, near towers, forest, two mist banks.
   Time of day follows the scroll position: golden hour (base colours), enrosadira (glow tone) and blue hour
   (dusk tone). Tones are fixed-colour copies whose opacity script.js sets, so nothing repaints while scrolling. */
.dolo { position: absolute; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; contain: layout paint;
  --hz: #6f5a33; --lit: #d6bd8c; --rock-far: #29251f; --rock-mid: #15130f;
  --hz-glow: #9a4d55; --lit-glow: #f09a8a; --rock-far-glow: #382429; --rock-mid-glow: #1c1316;
  --hz-dusk: #343a6c; --lit-dusk: #9598cc; --rock-far-dusk: #1d1f35; --rock-mid-dusk: #111220;
  --forest: var(--nero);
  animation: doloIn 1.6s var(--ease) both; }
@keyframes doloIn { from { opacity: 0; } }
.dolo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--nero) 0%, transparent 26%); }
.dolo-sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--nero) 0%, color-mix(in oklab, var(--nero), var(--hz) 30%) 42%, color-mix(in oklab, var(--nero), var(--hz) 80%) 72%, var(--hz) 100%); }
.dolo-sky-glow { --hz: var(--hz-glow); }
.dolo-sky-dusk { --hz: var(--hz-dusk); }
.dolo [data-tone] { opacity: 0; will-change: opacity; }
.dolo-sun { position: absolute; left: 50%; bottom: 18%; width: 110%; height: 60%; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in oklab, var(--lit) 55%, transparent), transparent); opacity: 0.4; }
.dolo-stars { position: absolute; inset: 0 0 35% 0;
  background-image: radial-gradient(1.2px 1.2px at 24px 30px, rgba(255, 250, 240, 0.9), transparent), radial-gradient(1px 1px at 120px 88px, rgba(255, 250, 240, 0.7), transparent), radial-gradient(1.4px 1.4px at 210px 40px, rgba(255, 240, 220, 0.85), transparent), radial-gradient(1px 1px at 300px 130px, rgba(255, 250, 240, 0.6), transparent);
  background-size: 180px 150px, 260px 200px, 330px 260px, 410px 300px; }
.dolo-layer { position: absolute; left: -5%; right: -5%; bottom: 0; will-change: transform; }
.dolo-layer svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.dolo-tone-glow { --lit: var(--lit-glow); --rock-far: var(--rock-far-glow); --rock-mid: var(--rock-mid-glow); }
.dolo-tone-dusk { --lit: var(--lit-dusk); --rock-far: var(--rock-far-dusk); --rock-mid: var(--rock-mid-dusk); }
.dolo-far { height: 62%; }
.dolo-mid { height: 47%; }
.dolo-near { height: 22%; bottom: -1px; }
.dolo-far .rock { fill: var(--rock-far); }
.dolo-far .lit { fill: var(--lit); opacity: 0.13; }
.dolo-mid .rock { fill: var(--rock-mid); }
.dolo-mid .lit { fill: var(--lit); opacity: 0.3; }
.dolo-near .forest { fill: var(--forest); }
.dolo-mist { position: absolute; left: -30%; right: -30%; height: 24%; background: radial-gradient(38% 55% at 28% 60%, rgba(232, 214, 186, 0.15), transparent 72%), radial-gradient(32% 48% at 72% 48%, rgba(232, 214, 186, 0.11), transparent 72%); animation: mistDrift 46s ease-in-out infinite alternate; }
.dolo-mist-1 { bottom: 30%; }
.dolo-mist-2 { bottom: 9%; height: 28%; animation-duration: 34s; animation-direction: alternate-reverse; }
@keyframes mistDrift { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.dolo[data-off] { visibility: hidden; }
/* phones: shorter ranges, so the slice shows a wider stretch of skyline */
@media (max-width: 600px) {
  .dolo .dolo-far, .dolo-hero .dolo-far { height: 46%; }
  .dolo .dolo-mid, .dolo-hero .dolo-mid { height: 35%; }
  .dolo .dolo-near { height: 17%; }
}
.dolo[data-off] .dolo-mist { animation-play-state: paused; }

/* hero: the range fills the lower screen; the lens shows the same range lit, like looking through the glasses */
.dolo-hero .dolo-far { height: 58%; }
.dolo-hero .dolo-mid { height: 41%; }
.hero::before { background: radial-gradient(ellipse 62% 46% at 50% 46%, color-mix(in srgb, var(--nero) 62%, transparent), transparent 72%), linear-gradient(180deg, color-mix(in srgb, var(--nero) 55%, transparent), transparent 40%, transparent 78%, var(--nero)); }
.dolo.dolo-lens { animation: none; --lit: #f5dcaa; --rock-far: #4a4034; --rock-mid: #2d2520; --forest: #171512; --hz: #8a7040; }
.dolo-lens [data-tone] { display: none; }
.dolo-lens .dolo-far .lit { opacity: 0.35; }
.dolo-lens .dolo-mid .lit { opacity: 0.7; }
.dolo-lens .dolo-sun { opacity: 0.8; }
.hero-coords { gap: 14px; }
.hero-coords span + span::before { content: "·"; margin-right: 14px; color: var(--oro); }

/* brand line: name · since year · factory place (placeholders filled from settings.brand) */
.brand-sign { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin: 0 0 24px; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--oro-light); }
.brand-sign i { width: 4px; height: 4px; background: var(--oro); transform: rotate(45deg); }
.brand-sign-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #e9dcc3; background: linear-gradient(100deg, #c2a36b, #f3e7cf 45%, #c2a36b 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero .brand-sign { margin: 0 auto 20px; }
.page-hero .dolo { z-index: -2; }
.page-hero .dolo-far { height: 70%; }
.page-hero .dolo-mid { height: 52%; }
.page-hero .dolo-near { height: 24%; }
.page-hero.spring .dolo { --lit: #d4d8a4; --lit-glow: #f0a690; --hz: #4f5a35; --forest: #0d120e; }
.page-hero.autumn .dolo { --lit: #e0b27a; --lit-glow: #f0927c; --hz: #7a4a26; --forest: #120d0a; }
@media (max-width: 600px) { .brand-sign { gap: 6px 10px; font-size: 0.62rem; letter-spacing: 0.22em; } .brand-sign i { display: none; } .brand-sign > span:last-child { flex-basis: 100%; text-align: center; } }

/* the factory in the Cadore valley */
.factory { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 14vw, 200px) 0 clamp(90px, 12vw, 170px); }
.factory .dolo { z-index: -2; }
.factory .dolo-far { height: 74%; }
.factory .dolo-mid { height: 56%; }
.factory .dolo-near { height: 24%; }
.factory::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 0%, transparent 50%, color-mix(in srgb, var(--nero) 55%, transparent) 76%, var(--nero) 100%); }
.factory-head { max-width: 820px; }
.factory-head h2 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); text-wrap: balance; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.6); }
.factory-lead { max-width: 600px; margin: 26px 0 0; color: #d9d2c6; font-size: clamp(1.02rem, 1.5vw, 1.18rem); font-weight: 300; line-height: 1.75; }
.factory-movements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); margin: clamp(60px, 12vw, 190px) 0 0; padding: 0; list-style: none; }
.factory-movements li { position: relative; padding: 30px 26px; background: color-mix(in srgb, var(--nero) 74%, transparent); border: 1px solid rgba(194, 163, 107, 0.22); }
.factory-movements li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--oro), transparent); transform: scaleX(0.2); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--i, 0) * 120ms + 400ms); }
.factory-movements.is-visible li::before { transform: none; }
.mv-num { display: block; margin-bottom: 14px; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--oro); }
.factory-movements h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.factory-movements p { margin: 0; color: var(--grigio); font-size: 0.95rem; }
.factory-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(20px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); }
.factory-year { font-family: var(--font-head); font-size: clamp(4.6rem, 15vw, 12rem); line-height: 0.85; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--oro-light); background: linear-gradient(90deg, var(--oro), var(--oro-light), var(--oro)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; opacity: 0.9; animation: shimmer 9s linear infinite; }
.factory-meta { display: grid; gap: 4px; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grigio); }
.factory-meta b { font-weight: 500; color: var(--oro-light); }
.factory-name { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: 0.22em; text-transform: uppercase; color: #e9dcc3; }
.factory-sign .btn { margin-left: auto; }
@media (max-width: 820px) { .factory-movements { grid-template-columns: minmax(0, 1fr); } .factory-sign .btn { margin-left: 0; } }

/* closing band: the same range at the blue hour */
.band .dolo { z-index: -2; }
.band .dolo-far { height: 70%; }
.band .dolo-mid { height: 52%; }
.band .dolo-near { height: 22%; }
.band h2 { text-shadow: 0 10px 50px rgba(0, 0, 0, 0.65); }

/* ridge contour that draws itself between sections */
.ridge-line { width: min(1240px, calc(100% - 48px)); height: clamp(36px, 6vw, 84px); margin: clamp(10px, 3vw, 40px) auto; }
.ridge-line[data-reveal] { opacity: 1; transform: none; }
.ridge-line svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ridge-line path { fill: none; stroke: var(--oro); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.75; transition: stroke-dashoffset 2.6s var(--ease); }
.ridge-line.is-visible path { stroke-dashoffset: 0; }

/* reveal choreography: masked text, depth, staggered groups */
[data-reveal="mask"] { opacity: 1; transform: translateY(0.5em); clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0.12s); }
[data-reveal="mask"].is-visible { clip-path: inset(-20% -5% -20% -5%); transform: none; }
[data-reveal="depth"] { transform: perspective(1000px) translate3d(0, 40px, -140px) rotateX(10deg); filter: blur(8px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease), filter 1.2s var(--ease); }
[data-reveal="depth"].is-visible { transform: none; filter: none; }
[data-reveal="stagger"] { opacity: 1; transform: none; }
[data-reveal="stagger"] > * { opacity: 0; transform: translateY(34px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 1s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 130ms + 80ms); }
[data-reveal="stagger"].is-visible > * { opacity: 1; transform: none; filter: none; }

/* model cards: light sweep and drifting photo while tilting (desktop), press-in with a glow under the finger (touch) */
.card-sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent calc(var(--sweep, 50%) - 24%), rgba(255, 238, 205, 0.2) var(--sweep, 50%), transparent calc(var(--sweep, 50%) + 24%)); mix-blend-mode: screen; transition: opacity 0.35s; }
.product-card.is-tilting .card-sheen { opacity: 1; }
.product-card.is-tilting .card-media img { transform: scale(1.09) translate(var(--px, 0px), var(--py, 0px)); transition: opacity 0.6s var(--ease), transform 0.3s ease-out; }
.product-card.is-pressed { transform: scale(0.975); transition: transform 0.12s ease-out, border-color 0.3s; border-color: rgba(194, 163, 107, 0.8); }
.product-card.is-pressed .card-sheen { opacity: 1; background: radial-gradient(circle at var(--tx, 50%) var(--ty, 50%), rgba(232, 213, 176, 0.38), transparent 42%); }

/* 360 viewer hook in the product modal (filled later by Spin360.mount) */
.spin-slot { position: absolute; inset: 0; z-index: 3; }

/* partner store (trova-negozi) */
.partner-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 14px; border: 1px solid rgba(194, 163, 107, 0.6); font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--oro-light); }
.partner-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 10px var(--oro); }
.partner-note { max-width: 440px; margin: 0 0 6px; color: var(--grigio); font-size: 0.94rem; }

/* calm mode, reduced motion and data-motion=off */
.is-calm .dolo-mist { animation-duration: 140s; }
.is-calm .factory-year { animation: none; }
body[data-motion="off"] .dolo, body[data-motion="off"] .dolo-mist { animation: none; }
body[data-motion="off"] [data-reveal="mask"], body[data-motion="off"] [data-reveal="depth"] { clip-path: none; filter: none; transform: none; }
body[data-motion="off"] [data-reveal="stagger"] > * { opacity: 1; transform: none; filter: none; }
body[data-motion="off"] .ridge-line path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .dolo, .dolo-mist, .factory-year { animation: none; }
  .dolo-layer { will-change: auto; }
  [data-reveal="mask"], [data-reveal="depth"] { clip-path: none; filter: none; transform: none; }
  [data-reveal="stagger"] > * { opacity: 1; transform: none; filter: none; }
  .ridge-line path { stroke-dashoffset: 0; }
}

/* ---------- Round 10: CMS wiring + 360 ---------- */
/* The kicker rule draws in with a transform. Animating its width (Round 9) re-flowed .section-head when it was
   revealed: with a longer CMS kicker ("Spring · Autumn · Dolomia") the lead wrapped to a new line (CLS 0.05-0.09). */
.section-kicker::before { width: 36px; margin-right: 14px; transform: scaleX(0); transform-origin: left center; transition: transform 0.9s var(--ease) 0.2s; }
.is-visible .section-kicker::before, .page-hero .section-kicker::before { transform: none; }
@media (prefers-reduced-motion: reduce) { .section-kicker::before { transition: none; } }
/* collection panels: one per visible CMS collection (2 = the original pair, 3 = a row, 4+ = a grid) */
.panel h3 { overflow-wrap: anywhere; }
.panels[data-collections="1"] .panel:hover, .panels[data-collections="1"] .panel:focus-visible { flex: 1; }
.panels[data-collections="3"] .panel h3 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.panels.is-many { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); height: auto; }
.panels.is-many .panel { min-height: clamp(300px, 34vw, 400px); }
.panels.is-many .panel:hover { flex: none; }
.panels.is-many .panel h3 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
@media (min-width: 761px) and (max-width: 1100px) { .panels[data-collections="3"] { height: min(64vh, 520px); } }

/* collection page for CMS collections (collezione.html?c=<id>) */
.page-hero-collection h1:empty::before { content: "\00a0"; }
.collection-missing .season-mark, .collection-missing .season-lead:empty { display: none; }
/* the description and the model count arrive with the data: their room is kept from the first paint (no CLS) */
.page-hero p.season-lead { min-height: 3.2em; }
.season-meta > span:empty::before { content: "\00a0"; }
.collection-missing h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
[data-col-next] .season-next { margin-top: 70px; }
[data-col-other][hidden] { display: none; }

/* 360: subtle badge on the cards of models that have one */
.badge-spin { top: auto; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; color: var(--oro); border-color: color-mix(in srgb, var(--oro) 45%, transparent); }
.badge-spin svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: none) { .badge-spin { bottom: auto; top: 14px; left: auto; right: 62px; } }

/* 360: photo / 360 switch in the thumbnail row; the viewer covers the photo, so nothing changes size */
.spin-tabs { display: inline-flex; flex: none; align-self: center; border: 1px solid var(--line); }
.spin-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; background: none; color: var(--grigio); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; transition: background 0.3s, color 0.3s; }
.spin-tab + .spin-tab { border-left: 1px solid var(--line); }
.spin-tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.spin-tab:hover { color: var(--bianco); }
.spin-tab[aria-pressed="true"] { background: var(--oro); color: var(--nero); }
.spin-tab:focus-visible { outline: 1px solid var(--oro); outline-offset: 2px; }
.modal-thumbs:has(.spin-tabs) { align-items: center; }
.spin-slot[hidden] { display: none; }
.spin-slot.spin360 { position: absolute; inset: 0; display: flex; flex-direction: column; background: #1c1b19; }
.spin-slot .spin360-stage { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; border: 0; }
.spin-slot .spin360-bar { flex: none; padding: 0 16px; background: color-mix(in srgb, var(--nero) 70%, transparent); border-top: 1px solid var(--line); }
.modal-media.is-spin { cursor: auto; }
.modal-media.is-spin .modal-zoom, .modal-media.is-spin .zoom-hint, .modal-media.is-spin .modal-idx, .modal-media.is-spin .badge-new { display: none; }
/* the photo's light and corner frame would sit on the viewer's badge and slider */
.modal-media.is-spin::before, .modal-media.is-spin::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .spin-tab { transition: none; } }

/* partner stores: one card per partner (several partners) and the no-coordinates map placeholder */
.partner-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.partner-card { align-content: start; }
.partner-card .partner-tag { justify-self: start; margin: 0; }
.partner-card h3 { font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; overflow-wrap: anywhere; }
.partner-card-addr, .partner-card-note { margin: 0; color: var(--grigio); font-size: 0.92rem; overflow-wrap: anywhere; }
.partner-card-links { display: grid; gap: 8px; margin-top: 6px; }
.partner-card-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--bianco); font-size: 0.9rem; overflow-wrap: anywhere; min-width: 0; }
.partner-card-links a:hover { color: var(--oro-light); }
.partner-card-links svg { flex: none; width: 18px; height: 18px; margin: 0; }
.partner-card-links span { font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; min-width: 0; }
.partner-card .partner-select { justify-self: start; min-height: 40px; margin-top: 8px; padding: 0; color: var(--oro); }
.partner-card .partner-select[aria-pressed="true"] { text-decoration: none; color: var(--oro-light); }
.partner-card.is-selected { border-color: rgba(194, 163, 107, 0.7); }
.partner-card.is-selected::before { transform: scaleX(1); }
.partner-hours { color: var(--grigio); font-size: 0.92rem; }
.partner-actions { justify-content: flex-start; margin-top: 28px; }
.map-none { display: grid; place-content: center; justify-items: center; gap: 14px; height: 100%; min-height: 420px; padding: 30px; text-align: center; color: var(--grigio); background: radial-gradient(ellipse at 50% 40%, rgba(194, 163, 107, 0.14), transparent 65%), var(--nero-card); }
.map-none svg { width: 44px; height: 44px; fill: none; stroke: var(--oro); stroke-width: 1.2; }
.map-none p { max-width: 300px; margin: 0; }
.stores-empty { display: grid; justify-items: center; gap: 16px; max-width: 640px; padding: clamp(40px, 6vw, 80px) 24px; text-align: center; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0, rgba(194, 163, 107, 0.12), transparent 60%), var(--nero-card); }
.stores-empty svg { width: 46px; height: 46px; fill: none; stroke: var(--oro); stroke-width: 1.2; }
.stores-empty h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.stores-empty p { margin: 0; color: var(--grigio); }
.stores-empty .hero-actions { margin-top: 10px; }
@media (max-width: 760px) { .map-none { min-height: 300px; } }
