/* ============================================================
   EMMAT · Cassiopea — Editorial Italian Luxury (v2)
   ============================================================ */

:root {
  --ivory:      #FAF6EE;
  --ivory-2:    #F5EFE2;
  --cream:      #F1E8D5;
  --cream-2:    #EAE0CB;
  --gold:       #C9A24E;
  --gold-light: #E8D29F;
  --gold-deep:  #8B6E2C;
  --ink:        #1F1812;
  --ink-soft:   #4A3F33;
  --blush:      #E8D4E0;
  --lilac:      #DDCDE3;

  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --serif-sc: 'Cormorant SC', var(--serif);
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1320px;
  --pad: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--gold) transparent; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lock { overflow: hidden; }

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* ----------------------------------------------------- type system */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: .96;
  letter-spacing: -.014em;
  margin: .15em 0 .4em;
  color: var(--ink);
}
.italic { font-style: italic; font-weight: 300; color: var(--gold-deep); }
.eyebrow {
  font-family: var(--serif-sc);
  font-size: 13px;
  letter-spacing: .35em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin: 0 0 .5em;
  font-weight: 400;
}

/* ===================================================== LOADER */
.loader {
  position: fixed; inset: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--blush) 55%, var(--lilac) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
  transition: opacity 1.2s var(--ease-out), visibility 0s 1.2s;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-cstl {
  width: clamp(220px, 36vw, 440px);
  height: auto;
}
.loader-cstl .ldr-stars circle {
  opacity: 0;
  filter: drop-shadow(0 0 8px var(--gold-light));
  animation: ldrStar .6s var(--ease-out) forwards;
}
.loader-cstl .ldr-stars circle:nth-child(1) { animation-delay: .1s; }
.loader-cstl .ldr-stars circle:nth-child(2) { animation-delay: .35s; }
.loader-cstl .ldr-stars circle:nth-child(3) { animation-delay: .6s; }
.loader-cstl .ldr-stars circle:nth-child(4) { animation-delay: .85s; }
.loader-cstl .ldr-stars circle:nth-child(5) { animation-delay: 1.1s; }
.loader-cstl .ldr-lines path {
  stroke-dasharray: 800; stroke-dashoffset: 800;
  animation: ldrLine 1.8s var(--ease-out) .3s forwards;
}
@keyframes ldrStar { to { opacity: 1; } }
@keyframes ldrLine { to { stroke-dashoffset: 0; } }

.loader-mark {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0;
  animation: ldrMark .8s var(--ease-out) .9s forwards;
}
.loader-mark span {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .12em;
  color: var(--ink);
}
.loader-mark em {
  font-family: var(--serif-sc);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--gold-deep);
}
@keyframes ldrMark { to { opacity: 1; } }

/* ===================================================== PROGRESS BAR */
#progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: rgba(201,162,78,.08);
  z-index: 99;
}
#progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
  width: 0%;
  transition: width .12s linear;
  box-shadow: 0 0 14px rgba(201,162,78,.5);
}

/* --------------------------------------------------- gold dust canvas */
#dust {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .7;
}

/* -------------------------------------------------- cursor follower */
#cursor {
  position: fixed; top: 0; left: 0;
  width: 360px; height: 360px;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
#cursor span {
  display: block; width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,210,159,.32) 0%, rgba(232,210,159,0) 60%);
  filter: blur(20px);
}
@media (hover: hover) and (pointer: fine) {
  body:not(.no-cursor) #cursor { opacity: 1; }
}

/* =================================================== NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad);
  background: linear-gradient(180deg, rgba(250,246,238,.75) 0%, rgba(250,246,238,0) 100%);
  transition: background .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav.solid {
  background: rgba(250,246,238,.88);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  padding: 12px var(--pad);
  border-bottom: 1px solid rgba(201,162,78,.18);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none;
  transition: color .3s var(--ease);
}
.brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .14em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--serif-sc);
  font-size: 9px;
  letter-spacing: .42em;
  color: var(--gold-deep);
  margin-top: 4px;
}
.nav.solid .brand-mark { color: var(--ink); }
.nav.solid .brand-sub  { color: var(--gold-deep); }

.nav-links {
  display: flex; justify-content: center; gap: clamp(12px, 2vw, 32px);
}
.nav-links a {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav.solid .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .4s var(--ease);
}
.nav-links a:hover::after { right: 0; }

.cta-pill {
  justify-self: end;
  padding: 10px 22px;
  border: 1px solid rgba(201,162,78,.6);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  background: rgba(250,246,238,.35);
  backdrop-filter: blur(8px);
  transition: all .35s var(--ease);
}
.cta-pill:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.nav.solid .cta-pill { color: var(--ink); border-color: rgba(201,162,78,.6); background: transparent; }
.nav.solid .cta-pill:hover { background: var(--gold); color: var(--ivory); }

.nav-burger { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; background: linear-gradient(160deg, var(--ivory) 0%, var(--blush) 60%, var(--lilac) 100%); padding: 80px var(--pad); }
  .nav-links a { color: var(--ink); font-size: 14px; }
  .nav-links a::after { display: none; }
  body.menu-open .nav-links { display: flex; }
  .nav-burger {
    display: block; width: 40px; height: 40px; background: transparent; border: 0; padding: 8px;
    justify-self: end; position: relative; z-index: 110;
  }
  .nav-burger span {
    display: block; height: 1px; background: var(--ink); margin: 6px 0; transition: transform .35s var(--ease), opacity .25s var(--ease);
  }
  body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cta-pill { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
}

/* =================================================== HERO */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(80px, 10vh, 140px) var(--pad) clamp(60px, 9vh, 110px);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(1.05) contrast(1.02);
  object-position: 50% 30%;
  animation: heroZoom 30s var(--ease) infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero-veil {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(221,205,227,.9) 0%, rgba(221,205,227,.3) 50%, transparent 75%),
    linear-gradient(180deg, rgba(250,246,238,.7) 0%, rgba(250,246,238,.25) 22%, rgba(232,212,224,.62) 48%, rgba(232,212,224,.92) 100%);
}

.mute-btn {
  position: absolute; top: clamp(80px, 12vh, 110px); right: var(--pad);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,78,.5);
  background: rgba(250,246,238,.5);
  backdrop-filter: blur(10px);
  color: var(--gold-deep);
  z-index: 4;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.mute-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: scale(1.05); }
.mute-btn svg { width: 20px; height: 20px; }
.mute-btn .ic-on { display: none; }
.mute-btn.on .ic-on { display: block; }
.mute-btn.on .ic-muted { display: none; }

.hero-constellation {
  position: absolute;
  top: clamp(80px, 14vh, 160px);
  right: clamp(80px, 9vw, 140px);
  width: clamp(220px, 26vw, 400px);
  height: auto;
  opacity: 0;
  animation: cstlIn 2s var(--ease-out) .8s forwards;
}
.hero-constellation .cstl-stars circle {
  filter: drop-shadow(0 0 4px #F4E2B5) drop-shadow(0 0 12px rgba(232,210,159,.6));
  animation: twinkle 4s ease-in-out infinite;
}
.hero-constellation .cstl-stars circle:nth-child(2){ animation-delay: .6s; }
.hero-constellation .cstl-stars circle:nth-child(3){ animation-delay: 1.1s; }
.hero-constellation .cstl-stars circle:nth-child(4){ animation-delay: 1.7s; }
.hero-constellation .cstl-stars circle:nth-child(5){ animation-delay: 2.3s; }
.hero-constellation .cstl-lines line {
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: lineDraw 1.4s var(--ease-out) forwards;
}
.hero-constellation .cstl-lines line:nth-child(1){ animation-delay: 1.2s; }
.hero-constellation .cstl-lines line:nth-child(2){ animation-delay: 1.5s; }
.hero-constellation .cstl-lines line:nth-child(3){ animation-delay: 1.8s; }
.hero-constellation .cstl-lines line:nth-child(4){ animation-delay: 2.1s; }
@keyframes cstlIn { to { opacity: 1; } }
@keyframes lineDraw { to { stroke-dashoffset: 0; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero-copy { max-width: var(--container); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--serif-sc);
  font-size: 12px;
  letter-spacing: .42em;
  color: var(--gold-deep);
  margin: 0 0 24px;
  display: inline-flex; align-items: center; gap: 10px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) .2s forwards;
}
.hero-eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 188px);
  line-height: .92;
  font-weight: 400;
  letter-spacing: -.022em;
  margin: 0 0 24px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .char-wrap {
  display: inline-block;
  transform: translateY(110%);
  animation: charUp 1.2s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) .char-wrap { animation-delay: .35s; }
.hero-title .line:nth-child(2) { color: var(--gold-deep); font-weight: 300; }
.hero-title .line:nth-child(2) .char-wrap { animation-delay: .55s; }
@keyframes charUp { to { transform: translateY(0); } }

.hero-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 300;
  font-style: italic;
  max-width: 460px;
  color: var(--ink-soft);
  margin: 0 0 36px;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-out) .9s forwards;
}
.hero-lede em { color: var(--gold-deep); font-style: italic; }
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-out) 1.15s forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-soft);
  font-family: var(--serif-sc); font-size: 10px; letter-spacing: .4em;
  z-index: 3;
}
.hero-scroll span {
  display: block; width: 1px; height: 60px; background: linear-gradient(180deg, transparent, var(--gold));
  position: relative; overflow: hidden;
}
.hero-scroll span::after {
  content: ''; position: absolute; left: 0; right: 0; top: -30%;
  height: 30%; background: var(--gold-deep);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
.hero-scroll em { font-style: normal; }
@keyframes scrollPulse {
  0% { top: -30%; } 100% { top: 100%; }
}

/* =================================================== CTAs */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.cta-arrow { display: inline-block; transition: transform .35s var(--ease); }
.cta:hover .cta-arrow { transform: translateX(4px); }
.cta-price { padding-left: 12px; margin-left: 12px; border-left: 1px solid currentColor; opacity: .7; font-feature-settings: "tnum"; }

.cta-gold {
  background: linear-gradient(135deg, #E8D29F 0%, #C9A24E 50%, #8B6E2C 100%);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(201,162,78,.25), inset 0 1px 0 rgba(255,255,255,.3);
}
.cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,162,78,.45), inset 0 1px 0 rgba(255,255,255,.4);
}
.cta-gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.cta-gold:hover::after { transform: translateX(100%); }

.cta-ghost {
  border: 1px solid rgba(31,24,18,.3);
  color: var(--ink);
  background: transparent;
}
.cta-ghost:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* =================================================== MARQUEE */
.marquee {
  background: linear-gradient(135deg, var(--blush) 0%, var(--lilac) 100%);
  color: var(--gold-deep);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(201,162,78,.3);
  border-bottom: 1px solid rgba(201,162,78,.3);
}
.marquee-track {
  display: flex; gap: 32px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
}
.marquee-track span { flex-shrink: 0; }
.marquee-track .dot { color: var(--gold); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =================================================== MANIFESTO */
.manifesto {
  position: relative;
  padding: clamp(120px, 18vh, 220px) 0 clamp(140px, 20vh, 240px);
  background: var(--ivory);
  overflow: hidden;
}
.manifesto .container { max-width: 1000px; text-align: center; position: relative; z-index: 2; }
.manifesto .display { font-size: clamp(48px, 8vw, 124px); }
.vo {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.vo p { margin: .7em 0; }
.vo em { color: var(--gold-deep); font-style: italic; }
.vo strong { color: var(--ink); font-weight: 500; font-style: normal; letter-spacing: .04em; }
.vo-tag {
  margin-top: 1.6em !important;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px) !important;
  font-style: italic;
  color: var(--gold-deep);
  letter-spacing: -.01em;
}
.manifesto-cstl {
  position: absolute;
  bottom: 8%;
  left: 0; right: 0;
  width: 100%;
  height: clamp(80px, 14vh, 160px);
  z-index: 1;
  opacity: .7;
}
.manifesto-cstl .cstl-stars circle {
  filter: drop-shadow(0 0 6px var(--gold-light));
}

/* =================================================== PRODOTTO */
.product {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  padding: clamp(80px, 14vh, 160px) 0;
  position: relative;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.product-visual { position: relative; }
.product-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 40px 80px -20px rgba(31,24,18,.25), 0 8px 24px -8px rgba(31,24,18,.15);
}
.product-frame::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(201,162,78,.2);
  pointer-events: none;
  z-index: 1;
}
.badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  padding: 8px 14px;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--serif-sc);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  border: 1px solid rgba(201,162,78,.5);
}
.product-frame img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.product-frame:hover img { transform: scale(1.04); }
.product-thumbs {
  display: flex; gap: 12px; margin-top: 16px;
}
.ptn {
  width: 60px; height: 60px;
  border: 1px solid rgba(201,162,78,.3);
  background: center/cover no-repeat;
  border-radius: 2px;
  transition: all .3s var(--ease);
  opacity: .55;
}
.ptn.active, .ptn:hover { opacity: 1; border-color: var(--gold); transform: translateY(-2px); }
.ptn[data-img="assets/img/toner-packshot.jpg"]{ background-image: url(assets/img/toner-packshot.jpg); }
.ptn[data-img="assets/img/toner-splash.jpg"]{ background-image: url(assets/img/toner-splash.jpg); }
.ptn[data-img="assets/img/toner-milk.jpg"]{ background-image: url(assets/img/toner-milk.jpg); }
.ptn[data-img="assets/img/toner-still-life.jpg"]{ background-image: url(assets/img/toner-still-life.jpg); }

.product-copy .display { margin-bottom: .15em; }
.product-tag {
  font-family: var(--serif-sc);
  font-size: 13px; letter-spacing: .35em;
  color: var(--gold-deep);
  margin: 0 0 32px;
}
.product-lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 480px;
}
.product-ingredients {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  max-width: 460px;
}
.product-ingredients li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(201,162,78,.25);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .01em;
  color: var(--ink);
  position: relative;
  cursor: help;
}
.product-ingredients li span {
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold-deep);
}
.product-ingredients li::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: var(--ivory);
  color: var(--ink-soft);
  border: 1px solid rgba(201,162,78,.45);
  padding: 8px 12px;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 5;
  max-width: 260px;
  white-space: normal;
  width: max-content;
}
.product-ingredients li:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.product-meta {
  display: grid; gap: 14px;
  margin-bottom: 40px;
  max-width: 460px;
}
.product-meta > div {
  display: grid; grid-template-columns: 100px 1fr;
  align-items: baseline;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,162,78,.18);
}
.product-meta dt {
  font-family: var(--serif-sc); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0;
}
.product-meta dd { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 16px; }

.product-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.trust {
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  padding: 0; margin: 0;
  list-style: none;
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold-deep);
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* =================================================== INGREDIENTI */
.ingredients {
  background: linear-gradient(135deg, var(--blush) 0%, var(--lilac) 100%);
  color: var(--ink);
  padding: clamp(100px, 16vh, 180px) 0;
  position: relative;
  overflow: hidden;
}
.ingredients::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(250,246,238,.6) 0%, transparent 35%),
    radial-gradient(circle at 82% 70%, rgba(232,210,159,.3) 0%, transparent 38%);
  pointer-events: none;
}
.section-head {
  text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 8vh, 88px);
}
.section-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 300;
}

.ing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,162,78,.3);
  border: 1px solid rgba(201,162,78,.3);
  position: relative;
  z-index: 1;
}
.ing {
  background: var(--ivory);
  padding: clamp(28px, 4vw, 56px) clamp(22px, 3vw, 36px);
  position: relative;
  transition: background .5s var(--ease);
  overflow: hidden;
}
.ing-glow {
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(232,212,224,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.ing:hover .ing-glow { opacity: 1; }
.ing-num {
  font-family: var(--serif-sc);
  font-size: 12px;
  letter-spacing: .35em;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.ing-icon {
  color: var(--gold);
  margin-bottom: 28px;
  width: 48px; height: 48px;
  opacity: .85;
}
.ing-icon svg { width: 100%; height: 100%; }
.ing h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -.005em;
  margin: 0 0 16px;
  color: var(--gold-deep);
}
.ing p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.ing em {
  font-family: var(--serif-sc);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

@media (max-width: 1080px) { .ing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ing-grid { grid-template-columns: 1fr; } }

.formula-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 80px;
  background: rgba(201,162,78,.3);
  border: 1px solid rgba(201,162,78,.3);
  position: relative; z-index: 1;
}
.formula-strip > div {
  background: var(--ivory);
  padding: 32px 24px;
  text-align: center;
}
.formula-strip b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--gold-deep);
  line-height: 1;
  letter-spacing: -.02em;
  font-feature-settings: "tnum";
}
.formula-strip span {
  display: block;
  margin-top: 10px;
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--ink-soft);
}
.footnote {
  text-align: center;
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-soft);
  margin-top: 24px;
  position: relative; z-index: 1;
}
@media (max-width: 720px) {
  .formula-strip { grid-template-columns: repeat(2, 1fr); }
}

/* =================================================== RITUALE */
.ritual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--ivory);
}
.ritual-image {
  position: relative;
  overflow: hidden;
}
.ritual-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 1.4s var(--ease);
}
.ritual-image:hover img { transform: scale(1.04); }
.ritual-copy {
  display: flex; align-items: center;
  padding: clamp(60px, 10vh, 120px) clamp(32px, 6vw, 96px);
}
.ritual-copy > div { max-width: 480px; }
.ritual .display { font-size: clamp(40px, 5.4vw, 76px); }

.steps {
  list-style: none; padding: 0; margin: 32px 0 0;
}
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(201,162,78,.25);
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-deep);
  font-weight: 300;
}
.steps h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: .04em;
}
.steps p {
  grid-column: 2;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.ritual-pair {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
}
.ritual-pair em { color: var(--gold-deep); }
.pair-eyebrow {
  font-family: var(--serif-sc);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--gold-deep);
  margin: 0 0 8px;
  font-style: normal;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .ritual { grid-template-columns: 1fr; }
  .ritual-image { aspect-ratio: 4/5; min-height: 0; }
}

/* =================================================== STORIA */
.storia {
  background: var(--cream);
  padding: clamp(100px, 16vh, 180px) 0;
}
.storia-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.storia-copy .display { font-size: clamp(40px, 5.6vw, 80px); }
.storia-copy p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1em;
}
.storia-copy p.big {
  font-size: clamp(20px, 1.8vw, 26px);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 28px;
}
.signature {
  margin: 48px 0 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(31,24,18,.25);
}
.signature img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.signature figcaption {
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-top: 12px;
  padding: 0 4px;
}
.storia-quotes { display: flex; flex-direction: column; gap: 28px; align-self: center; }
.storia-quotes blockquote {
  margin: 0;
  padding: 28px 32px;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
  position: relative;
}
.storia-quotes blockquote::before {
  content: '“';
  position: absolute;
  top: -10px; left: 18px;
  font-family: var(--serif);
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  opacity: .4;
}
.storia-quotes blockquote p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 22px);
  font-style: italic;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.45;
}
.storia-quotes cite {
  font-family: var(--serif-sc);
  font-size: 10px;
  letter-spacing: .35em;
  color: var(--gold-deep);
  font-style: normal;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .storia-grid { grid-template-columns: 1fr; }
}

/* =================================================== GALLERIA */
.gallery {
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  padding: clamp(100px, 16vh, 180px) 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 11vw;
  gap: clamp(8px, 1vw, 14px);
}
.gi { margin: 0; overflow: hidden; position: relative; border-radius: 2px; cursor: zoom-in; }
.gi img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease), filter .6s var(--ease);
}
.gi:hover img { transform: scale(1.06); }
.gi::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(201,162,78,.2);
  pointer-events: none;
}
.gi::before {
  content: '⇱';
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(250,246,238,.85);
  color: var(--gold-deep);
  font-size: 14px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.gi:hover::before { opacity: 1; }

/* dynamic spans */
.gi.s-1 { grid-column: span 2; grid-row: span 2; }
.gi.s-2 { grid-column: span 4; grid-row: span 2; }
.gi.s-3 { grid-column: span 3; grid-row: span 2; }
.gi.s-4 { grid-column: span 3; grid-row: span 2; }
.gi.s-5 { grid-column: span 2; grid-row: span 3; }
.gi.s-6 { grid-column: span 2; grid-row: span 2; }
.gi.s-7 { grid-column: span 2; grid-row: span 2; }
.gi.s-8 { grid-column: span 3; grid-row: span 2; }
.gi.s-9 { grid-column: span 3; grid-row: span 2; }
.gi.s-tall { grid-column: span 2; grid-row: span 3; }
.gi.s-wide { grid-column: span 4; grid-row: span 2; }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 36vw; gap: 6px; }
  .gi { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gi.s-1, .gi.s-2, .gi.s-wide { grid-column: span 2 !important; }
  .gi.s-tall { grid-row: span 2 !important; }
}

/* =================================================== LIGHTBOX */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(31,24,18,.92);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  animation: lbIn .4s var(--ease-out);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(232,210,159,.08);
  color: var(--gold-light);
  border: 1px solid rgba(232,210,159,.25);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
  z-index: 1;
  font-family: var(--serif);
  line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
}
.lb-close { top: 24px; right: 24px; font-size: 28px; }
.lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .35em;
  color: var(--gold-light);
  background: rgba(31,24,18,.6);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(232,210,159,.25);
}
@media (max-width: 600px) {
  .lb-prev, .lb-next, .lb-close { width: 44px; height: 44px; font-size: 20px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { top: 12px; right: 12px; }
}

/* =================================================== FAQ */
.faq {
  background: var(--ivory);
  padding: clamp(100px, 16vh, 180px) 0;
}
.faq-list {
  max-width: 860px; margin: 0 auto;
}
.faq-item {
  border-top: 1px solid rgba(201,162,78,.3);
}
.faq-item:last-child { border-bottom: 1px solid rgba(201,162,78,.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 8px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  transition: color .3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item summary i {
  display: block; width: 16px; height: 16px;
  position: relative; flex-shrink: 0;
  margin-left: 16px;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--gold-deep);
  transition: transform .35s var(--ease);
}
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item p {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--ink-soft);
  padding: 0 8px 24px;
  margin: 0;
  max-width: 720px;
  line-height: 1.55;
}

/* =================================================== NEWSLETTER */
.newsletter {
  background: linear-gradient(135deg, var(--blush) 0%, var(--lilac) 100%);
  color: var(--ink);
  padding: clamp(100px, 16vh, 180px) 0;
  position: relative;
  overflow: hidden;
}
.newsletter::before, .newsletter::after {
  content: ''; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  filter: blur(80px);
  opacity: .4;
  pointer-events: none;
}
.newsletter::before { width: 600px; height: 600px; top: -200px; left: -200px; }
.newsletter::after  { width: 500px; height: 500px; bottom: -200px; right: -100px; }

.nl-wrap { max-width: 720px; text-align: center; position: relative; z-index: 1; }
.nl-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  margin: 0 0 40px;
}
.nl-form {
  display: flex; gap: 12px;
  background: rgba(250,246,238,.55);
  border: 1px solid rgba(201,162,78,.45);
  border-radius: 999px;
  padding: 6px 6px 6px 28px;
  max-width: 540px;
  margin: 0 auto;
  align-items: center;
  transition: border-color .35s var(--ease);
}
.nl-form:focus-within { border-color: var(--gold); }
.nl-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  padding: 14px 0;
  outline: none;
}
.nl-form input::placeholder { color: rgba(74,63,51,.6); }
.nl-form button {
  border: 0; padding: 16px 28px;
  border-radius: 999px;
}
.nl-fine {
  font-size: 12px; color: var(--ink-soft);
  margin-top: 16px;
  font-family: var(--serif-sc); letter-spacing: .15em;
}

@media (max-width: 600px) {
  .nl-form { flex-direction: column; border-radius: 24px; padding: 12px; gap: 10px; }
  .nl-form input { padding: 14px 16px; }
  .nl-form button { width: 100%; }
}

/* =================================================== STICKY MOBILE CTA */
.sticky-cta {
  position: fixed;
  bottom: 12px;
  left: 12px; right: 12px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #E8D29F 0%, #C9A24E 50%, #8B6E2C 100%);
  color: var(--ink);
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  z-index: 90;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.sticky-cta strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .12em;
  font-size: 12px;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body.sticky-hidden .sticky-cta { transform: translateY(120%); opacity: 0; }
}

/* =================================================== FOOTER */
.footer {
  background: var(--blush);
  color: var(--ink-soft);
  padding: clamp(60px, 10vh, 100px) 0 32px;
  border-top: 1px solid rgba(201,162,78,.3);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201,162,78,.3);
}
.footer-brand .brand-mark.big {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: .12em;
  color: var(--ink);
  display: block;
}
.footer-brand .brand-sub {
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--gold-deep);
  display: block;
  margin-top: 8px;
}
.footer-tag {
  margin-top: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
}
.social {
  display: flex; gap: 8px;
  margin-top: 24px;
}
.social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,162,78,.5);
  border-radius: 50%;
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gold-deep);
  transition: all .3s var(--ease);
}
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-cols h4 {
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .35em;
  color: var(--gold-deep);
  margin: 0 0 18px;
  font-weight: 400;
  text-transform: uppercase;
}
.footer-cols a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-cols a:hover { color: var(--gold-deep); }
.footer-base {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--pad) 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.footer-base em { font-style: italic; color: var(--gold-deep); }

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols  { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .footer-cols  { grid-template-columns: 1fr; gap: 16px; }
}

/* =================================================== REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
