:root{
  --essentia-bg:#f7f7f2;
  --essentia-panel:#e8ebe2;
  --essentia-line:rgba(17,19,15,.18);
  --essentia-muted:#666c62;
  --essentia-ink:#11130f;
  --lime:#94ae69;
}

body.essentia-page{background:var(--essentia-bg);color:var(--essentia-ink)}
.essentia-main{overflow:clip;background:var(--essentia-bg)}

/* Hero lunga: titolo nella prima viewport, manifesto nella coda */
.essentia-hero{
  position:relative;
  min-height:140svh;
  overflow:hidden;
  background:#070907;
  color:#fff;
}
.essentia-hero-video{
  position:absolute;
  inset:-3%;
  width:106%;
  height:106%;
  object-fit:cover;
  object-position:center;
  background:#070907;
  background-image:none!important;
  transform:scale(1.05);
  will-change:transform;
}
.essentia-hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(2,4,2,.3),rgba(2,4,2,.03) 38%,rgba(2,4,2,.78)),
    linear-gradient(90deg,rgba(2,4,2,.28),transparent 48%,rgba(2,4,2,.22));
}
.essentia-hero-copy{
  position:relative;
  z-index:2;
  height:100svh;
  width:min(1200px,92vw);
  margin:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  padding:0 0 clamp(115px,12vh,165px);
  text-align:center;
  opacity:0;
  transform:translateY(38px);
  animation:essentia-hero-in 1.4s cubic-bezier(.22,1,.36,1) .18s forwards;
}
.essentia-hero-copy p,.essentia-hero-copy span{
  margin:0;
  font:500 clamp(11px,.8vw,13px)/1.5 "JetBrains Mono",monospace;
  letter-spacing:.16em;
}
.essentia-hero-copy h1{
  margin:19px 0 22px;
  font:500 clamp(102px,16vw,285px)/.68 "Barlow Condensed",sans-serif;
  letter-spacing:-.06em;
  white-space:nowrap;
}
.essentia-hero-intro{
  position:absolute;
  z-index:2;
  left:50%;
  bottom:8svh;
  width:min(900px,84vw);
  transform:translateX(-50%);
  text-align:center;
}
.essentia-hero-intro.reveal{transform:translate(-50%,35px)}
.essentia-hero-intro.reveal.visible{transform:translateX(-50%)}
.essentia-hero-intro p{
  margin:0;
  font:400 clamp(22px,2.2vw,39px)/1.15 "Barlow Condensed",sans-serif;
  letter-spacing:-.02em;
}
.essentia-scroll{
  position:absolute;
  z-index:3;
  left:50%;
  top:calc(100svh - 85px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  transform:translateX(-50%);
  font-size:11px;
  letter-spacing:.13em;
}
.essentia-scroll i{display:block;width:1px;height:48px;background:#fff;animation:essentia-line 2s ease-in-out infinite}
@keyframes essentia-hero-in{to{opacity:1;transform:none}}
@keyframes essentia-line{0%,100%{transform:scaleY(.15);transform-origin:top}50%{transform:scaleY(1)}}

/* Capitolo visivo con immagine bloccata e maschera animata */
.essentia-feature,.essentia-details,.essentia-gallery{background:var(--essentia-bg);color:var(--essentia-ink)}
.essentia-feature{padding-top:clamp(110px,10vw,190px)}
.essentia-section-head,.essentia-details-heading,.essentia-gallery-head{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:clamp(45px,8vw,150px);
  align-items:end;
  width:min(1500px,calc(100% - 2 * var(--pad)));
  margin:0 auto clamp(60px,7vw,120px);
}
.essentia-section-head span,.essentia-details-heading>span,.essentia-gallery-head span{font-size:11px;letter-spacing:.14em;color:var(--lime)}
.essentia-section-head h2,.essentia-details-heading h2,.essentia-gallery-head h2{
  margin:26px 0 0;
  font:500 clamp(62px,7.3vw,138px)/.76 "Barlow Condensed",sans-serif;
  letter-spacing:-.055em;
}
.essentia-section-head>p{max-width:560px;margin:0;font:400 clamp(21px,1.7vw,31px)/1.18 "Barlow Condensed",sans-serif;color:#565c52}
.essentia-feature-scroll{position:relative;height:155svh}
.essentia-feature-sticky{position:sticky;top:0;height:100svh;overflow:hidden}
.essentia-feature-sticky figure{position:absolute;inset:clamp(18px,2vw,38px);margin:0;overflow:hidden;border-radius:8px;clip-path:inset(var(--feature-inset,10%) round 8px);background:#11140f;will-change:clip-path}
.essentia-feature-sticky figure:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,4,2,.55),transparent 46%)}
.essentia-feature-sticky img{width:100%;height:100%;display:block;object-fit:cover;object-position:center var(--feature-position,62%);transform:none;will-change:auto}
.essentia-feature-note{position:absolute;z-index:2;left:clamp(45px,6vw,115px);bottom:clamp(55px,8vh,95px);display:flex;flex-direction:column;gap:15px;opacity:var(--feature-note-opacity,.2);transform:translateY(var(--feature-note-y,28px));will-change:transform,opacity}
.essentia-feature-note span{font-size:11px;letter-spacing:.13em;color:var(--lime)}
.essentia-feature-note strong{font:400 clamp(34px,3vw,58px)/1.02 "Barlow Condensed",sans-serif;letter-spacing:-.025em;color:#fff}

/* Moduli editoriali con griglia ampia e immagini a velocità differenziata */
.essentia-editorial{padding:clamp(120px,11vw,210px) var(--pad);background:var(--essentia-bg);color:var(--essentia-ink)}
.essentia-editorial-heading,.essentia-performance-heading,.essentia-specs-heading{width:min(1500px,100%);margin:0 auto clamp(70px,8vw,140px)}
.essentia-editorial-heading>span,.essentia-performance-heading>span,.essentia-specs-heading>span{font-size:11px;letter-spacing:.14em;color:var(--lime)}
.essentia-editorial-heading h2,.essentia-performance-heading h2,.essentia-specs-heading h2{
  margin:28px 0 0;
  font:500 clamp(68px,8vw,150px)/.75 "Barlow Condensed",sans-serif;
  letter-spacing:-.055em;
}
.essentia-editorial-heading h2:first-child{margin-top:0}
.essentia-performance-heading h2:first-child{margin-top:0}
.essentia-editorial-row{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);
  gap:clamp(48px,8vw,150px);
  align-items:center;
  width:min(1500px,100%);
  margin:0 auto clamp(120px,13vw,230px);
}
.essentia-editorial-row.is-reverse{grid-template-columns:minmax(290px,.65fr) minmax(0,1.35fr)}
.essentia-editorial-row.is-reverse figure{grid-column:2}
.essentia-editorial-row.is-reverse .essentia-editorial-copy{grid-column:1;grid-row:1}
.essentia-editorial-image,.essentia-editorial-video{height:min(68vw,960px);margin:0;overflow:hidden;border-radius:7px;background:var(--essentia-panel)}
.essentia-editorial-video{height:min(48vw,700px)}
.essentia-editorial-image img{width:100%;height:110%;display:block;object-fit:cover;object-position:center;transform:none;will-change:auto}
.essentia-editorial-video video{width:100%;height:110%;display:block;object-fit:cover;transform:translateY(-5%) scale(1.04);will-change:transform}
.essentia-editorial-copy>span{font-size:11px;letter-spacing:.14em;color:var(--lime)}
.essentia-editorial-copy p{margin:24px 0 0;font:400 clamp(29px,2.8vw,51px)/1.08 "Barlow Condensed",sans-serif;letter-spacing:-.02em}

/* Prestazioni tipografiche, reinterpretate per il prodotto */
.essentia-performance{padding:clamp(110px,10vw,190px) 0;background:#eceee7;color:var(--essentia-ink)}
.essentia-performance-heading{padding:0 var(--pad)}
.essentia-performance-list{border-top:1px solid var(--essentia-line)}
.essentia-performance-list article{
  display:grid;
  grid-template-columns:minmax(160px,.75fr) 1.45fr .8fr;
  align-items:end;
  gap:clamp(20px,4vw,80px);
  padding:clamp(30px,3vw,54px) var(--pad);
  border-bottom:1px solid var(--essentia-line);
}
.essentia-performance-list p,.essentia-performance-list span{margin:0;font-size:11px;line-height:1.5;letter-spacing:.1em;color:var(--essentia-muted)}
@media(min-width:761px){.essentia-performance-list p,.essentia-performance-list span{font-size:16px}}
.essentia-performance-list strong{font:400 clamp(92px,11vw,210px)/.68 "Barlow Condensed",sans-serif;letter-spacing:-.055em}

/* Dettagli modulari */
.essentia-details{padding:clamp(120px,11vw,210px) var(--pad)}
.essentia-details-heading{display:block;width:min(1500px,100%)}
.essentia-details-heading h2{margin-top:0}
.essentia-details-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(45px,5vw,90px) clamp(20px,2vw,36px);width:min(1500px,100%);margin:auto}
.essentia-detail-card{grid-column:span 2;min-width:0}.essentia-detail-card.is-wide{grid-column:span 4}.essentia-detail-card:nth-child(4){grid-column:3/span 4}
.essentia-detail-card figure{width:100%;aspect-ratio:4/5;margin:0 0 24px;overflow:hidden;border-radius:6px;background:var(--essentia-panel)}
.essentia-detail-card.is-wide figure{aspect-ratio:16/9}
.essentia-detail-card img,.essentia-detail-card video{width:100%;height:100%;display:block;object-fit:cover;transform:none;filter:none}
.essentia-detail-card:nth-child(2) img{object-position:center 76%}.essentia-detail-card:nth-child(4) img{object-position:center 67%}
.essentia-detail-card:hover img,.essentia-detail-card:hover video{transform:none}
.essentia-detail-card h3{margin:0 0 12px;font:500 clamp(28px,2vw,38px)/1 "Barlow Condensed",sans-serif;letter-spacing:-.02em}
.essentia-detail-card p{max-width:610px;margin:0;font-size:12px;line-height:1.75;color:#5c6258}
.essentia-detail-heading-row{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:12px 20px;margin:0 0 12px}
.essentia-detail-heading-row h3{margin:0}
.essentia-detail-lot-link{display:inline-flex;align-items:center;flex-shrink:0;gap:18px;height:42px;padding:0 7px 0 18px;border:1px solid currentColor;border-radius:100px;font-size:9px;letter-spacing:.08em;white-space:nowrap;transition:.35s}
.essentia-detail-lot-link b{width:26px;height:26px;background:var(--lime);color:#111;border-radius:50%;display:grid;place-items:center;font-size:13px;font-style:normal;flex-shrink:0}
.essentia-detail-lot-link:hover{background:var(--essentia-ink);color:var(--essentia-bg);gap:24px}

/* Galleria orizzontale */
.essentia-gallery{padding:clamp(100px,9vw,170px) 0 clamp(120px,11vw,210px);overflow:hidden}
.essentia-gallery-head{width:min(1500px,calc(100% - 2 * var(--pad)));align-items:end}
.essentia-gallery-controls{display:flex;justify-content:flex-end;gap:12px}
.essentia-gallery-controls button{width:54px;height:54px;border:1px solid rgba(17,19,15,.32);border-radius:50%;background:transparent;color:var(--essentia-ink);font:400 20px/1 "JetBrains Mono",monospace;cursor:pointer;transition:background .3s,color .3s,transform .3s}
.essentia-gallery-controls button:hover{background:var(--essentia-ink);color:#fff;transform:scale(1.05)}
.essentia-gallery-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;cursor:grab}.essentia-gallery-viewport::-webkit-scrollbar{display:none}.essentia-gallery-viewport:active{cursor:grabbing}
.essentia-gallery-track{display:flex;gap:clamp(14px,1.4vw,26px);width:max-content;padding:0 var(--pad)}
.essentia-gallery-track figure{width:min(78vw,1180px);aspect-ratio:16/9;margin:0;overflow:hidden;border-radius:7px;scroll-snap-align:center;background:var(--essentia-panel)}
.essentia-gallery-track figure:nth-child(even){width:min(58vw,860px)}
.essentia-gallery-track img{width:100%;height:100%;display:block;object-fit:cover;transform:none;filter:none}
.essentia-gallery-track figure:first-child img,.essentia-gallery-track figure:last-child img{object-position:center 65%}.essentia-gallery-track figure:hover img{transform:none}

.essentia-detail-card.reveal{transform:none}
.essentia-editorial-image.reveal{transform:none}

.essentia-specs{padding:clamp(120px,12vw,220px) var(--pad);background:var(--essentia-bg)}
.essentia-specs-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(44px,8vw,150px);
  align-items:end
}
.essentia-specs-heading h2{margin:0}
.essentia-method-cta{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  gap:16px;
  min-height:46px;
  padding:5px 6px 5px 18px;
  border:1px solid rgba(17,19,15,.3);
  border-radius:999px;
  font-size:11px;
  letter-spacing:.08em;
  transition:background .4s,color .4s
}
.essentia-method-cta b{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--lime);
  color:#11130f;
  font-size:14px
}
.essentia-method-cta:hover{background:var(--essentia-ink);color:#fff}
.essentia-specs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(1500px,100%);margin:auto;border:1px solid var(--essentia-line);border-radius:7px;overflow:hidden;background:linear-gradient(180deg,rgba(17,19,15,.045),transparent 52%)}
.essentia-specs-grid article{min-height:330px;padding:28px clamp(18px,2.1vw,36px) 35px;border-right:1px solid var(--essentia-line)}
.essentia-specs-grid article:last-child{border-right:0}
.essentia-specs-grid article>span{font-size:11px;color:var(--lime)}
.essentia-specs-grid h3{margin:105px 0 18px;font:500 clamp(30px,2.4vw,45px)/1 "Barlow Condensed",sans-serif}
.essentia-specs-grid p{margin:0;font-size:12px;line-height:1.75;color:#5c6258}

@media(max-width:760px){
  .essentia-hero{min-height:140svh}
  .essentia-hero-video{inset:0;width:100%;height:100%;object-position:center center}
  .essentia-hero-copy{
    width:100%;
    padding:0 20px max(92px,14svh);
    align-items:center
  }
  .essentia-hero-copy h1{
    max-width:100%;
    margin:15px 0 18px;
    font-size:clamp(78px,27vw,108px);
    line-height:.74;
    white-space:nowrap
  }
  .essentia-hero-copy p{line-height:1.6}
  .essentia-hero-copy span{display:block;width:100%;max-width:340px;margin:0 auto;line-height:1.7}
  .essentia-hero-intro{bottom:6svh;width:calc(100% - 40px)}
  .essentia-hero-intro p{font-size:clamp(23px,6.4vw,30px);line-height:1.14}
  .essentia-scroll{display:none}
  .essentia-feature{padding-top:95px}
  .essentia-section-head,.essentia-gallery-head{display:block;width:calc(100% - 40px);margin-bottom:55px}
  .essentia-section-head h2,.essentia-details-heading h2,.essentia-gallery-head h2{font-size:17vw}
  .essentia-section-head>p{margin-top:35px;font-size:7vw}
  .essentia-feature-scroll{height:145svh}.essentia-feature-sticky figure{inset:14px}.essentia-feature-note{left:28px;right:28px;bottom:42px}.essentia-feature-note strong{font-size:10vw}
  .essentia-editorial{padding:105px 20px}
  .essentia-editorial-heading h2,.essentia-performance-heading h2,.essentia-specs-heading h2{font-size:18vw}
  .essentia-editorial-row,.essentia-editorial-row.is-reverse{display:flex;flex-direction:column;gap:34px;margin-bottom:105px}
  .essentia-editorial-row.is-reverse figure{order:0}.essentia-editorial-row.is-reverse .essentia-editorial-copy{order:1}
  .essentia-editorial-image,.essentia-editorial-video{width:100%;height:125vw}.essentia-editorial-video{height:110vw}
  .essentia-editorial-copy p{font-size:9vw}
  .essentia-performance{padding:100px 0}
  .essentia-performance-heading{padding:0 20px}
  .essentia-performance-list article{grid-template-columns:1fr auto;gap:14px;padding:30px 20px}
  .essentia-performance-list strong{grid-column:1/-1;grid-row:2;font-size:25vw}
  .essentia-performance-list span{text-align:right}
  .essentia-details{padding:100px 20px}.essentia-details-heading{width:100%}.essentia-details-grid{grid-template-columns:1fr;gap:70px}.essentia-detail-card,.essentia-detail-card.is-wide,.essentia-detail-card:nth-child(4){grid-column:1}.essentia-detail-card figure,.essentia-detail-card.is-wide figure{aspect-ratio:4/5}.essentia-detail-card h3{font-size:40px}.essentia-detail-heading-row{flex-wrap:nowrap;gap:10px}.essentia-detail-heading-row h3{white-space:nowrap}.essentia-detail-lot-link{height:28px;padding:0 5px 0 12px;gap:8px;font-size:7px}.essentia-detail-lot-link b{width:18px;height:18px;font-size:10px}
  .essentia-gallery{padding:85px 0 120px}.essentia-gallery-controls{margin-top:32px;justify-content:flex-start}.essentia-gallery-controls button{width:48px;height:48px}.essentia-gallery-track{padding:0 20px}.essentia-gallery-track figure,.essentia-gallery-track figure:nth-child(even){width:82vw;aspect-ratio:4/5}
  .essentia-specs{padding:105px 20px}
  .essentia-specs-heading{display:flex;flex-direction:column;align-items:flex-start;gap:34px}
  .essentia-specs-heading h2{order:1}
  .essentia-method-cta{order:2}
  .essentia-specs-grid{grid-template-columns:1fr}
  .essentia-specs-grid article{min-height:210px;border-right:0;border-bottom:1px solid var(--essentia-line)}
  .essentia-specs-grid article:last-child{border-bottom:0}.essentia-specs-grid h3{margin-top:55px;font-size:42px}
}

@media(min-width:761px){
  .essentia-detail-heading-row{flex-wrap:nowrap}
  .essentia-detail-heading-row h3{flex-shrink:0}
  .essentia-detail-lot-link{flex:0 1 auto;min-width:0;gap:clamp(6px,1.2vw,18px);padding:0 clamp(4px,.5vw,7px) 0 clamp(8px,1.2vw,18px);font-size:clamp(6px,.6vw,9px)}
  .essentia-detail-lot-link b{width:clamp(14px,1.8vw,26px);height:clamp(14px,1.8vw,26px);font-size:clamp(8px,1vw,13px)}
}

@media(min-width:761px) and (max-width:1024px) and (orientation:portrait){
  .essentia-detail-heading-row{flex-wrap:nowrap;align-items:flex-start;gap:8px}
  .essentia-detail-heading-row h3{flex-shrink:0}
  .essentia-detail-lot-link{display:inline-block;flex-shrink:1;min-width:0;height:auto;margin:0;padding:0 0 3px;border:0;border-radius:0;border-bottom:1px solid currentColor;background:none;color:currentColor;font-size:9px;line-height:1.4;letter-spacing:.08em;white-space:normal;text-align:left}
  .essentia-detail-lot-link b{display:none}
}

@media(prefers-reduced-motion:reduce){
  .essentia-hero-copy{opacity:1;animation:none;transform:none}
  .essentia-scroll i{animation:none}
}

/* Sticky "acquista" — collega le pagine editoriali di prodotto al relativo prodotto shop */
.product-sticky-bar{
  position:fixed;
  z-index:60;
  right:18px;
  bottom:18px;
  display:flex;
  align-items:center;
  gap:14px;
  width:min(400px,calc(100vw - 36px));
  padding:10px 10px 10px 14px;
  border:1px solid rgba(17,19,15,.12);
  border-radius:10px;
  background:rgba(247,247,242,.96);
  color:var(--essentia-ink);
  text-decoration:none;
  opacity:0;
  pointer-events:none;
  transform:translateY(24px);
  backdrop-filter:blur(16px);
  transition:opacity .35s ease,transform .55s cubic-bezier(.22,1,.36,1);
}
.product-sticky-bar.is-visible{opacity:1;pointer-events:auto;transform:none}
.product-sticky-bar img{width:52px;height:52px;flex:none;border-radius:6px;object-fit:cover}
.product-sticky-bar-copy{min-width:0}
.product-sticky-bar strong{display:block;overflow:hidden;font:500 14px/1 "Barlow Condensed",sans-serif;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.product-sticky-bar small{display:block;margin-top:5px;color:var(--essentia-muted);font:400 10px/1.3 "JetBrains Mono",monospace;letter-spacing:.04em}
.product-sticky-bar b{flex:none;display:flex;align-items:center;justify-content:center;height:40px;margin-left:auto;padding:0 16px;border-radius:999px;background:var(--essentia-ink);color:#fff;font:500 10px/1 "JetBrains Mono",monospace;letter-spacing:.06em;white-space:nowrap;transition:background-color .3s ease,color .3s ease}
.product-sticky-bar:hover b,.product-sticky-bar:focus-visible b{background:var(--lime);color:var(--essentia-ink)}
@media(max-width:640px){
  .product-sticky-bar{right:10px;bottom:10px;left:10px;width:auto;padding:8px}
  .product-sticky-bar strong{font-size:12px}
  .product-sticky-bar small{display:none}
  .product-sticky-bar b{height:36px;padding:0 12px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .product-sticky-bar{transition:opacity .2s ease}
}
