/* ============================================================
   EMMAT — product launch pages (editorial Italian luxury look)
   One stylesheet, three editions chosen by the <body> class:
     .theme-toner  Cassiopea Milky Toner   (lilac / blush)
     .theme-bb     BB Cream Anti-Pollution (warm nude)
     .theme-body   Anti-Age Body Cream     (lilac / blush)
   ============================================================ */

: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;
  --blush-rgb:  232, 212, 224;
  --lilac-rgb:  221, 205, 227;

  --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);
}

.theme-bb {
  --gold-deep:  #8C5E3C;
  --blush:      #F0DCCD;
  --lilac:      #E9D0C2;
  --blush-rgb:  240, 220, 205;
  --lilac-rgb:  233, 208, 194;
}

* { 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); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.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;
  justify-self: start;
  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-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-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; }

/* "Products" dropdown — takes the place of the pill on the right of the bar */
.nav-dd { position: relative; justify-self: end; }
.nav-dd::after {               /* hover bridge between button and menu */
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
}
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  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);
  -webkit-backdrop-filter: blur(8px);
  transition: all .35s var(--ease);
}
.nav-dd-btn svg {
  width: 10px; height: 10px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.nav-dd-btn:hover,
.nav-dd.open .nav-dd-btn { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.nav.solid .nav-dd-btn { background: transparent; }
.nav.solid .nav-dd-btn:hover,
.nav.solid .nav-dd.open .nav-dd-btn { background: var(--gold); }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 280px;
  margin: 0; padding: 8px;
  list-style: none;
  background: rgba(250,246,238,.98);
  border: 1px solid rgba(201,162,78,.4);
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(31,24,18,.3);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav-dd.open .nav-dd-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .nav-dd:hover .nav-dd-menu {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
}
.nav-dd-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 2px;
}
.nav-dd-menu a:hover,
.nav-dd-menu a:focus-visible { background: var(--blush); }
.nav-dd-menu a[aria-current="page"] { color: var(--gold-deep); }
.nav-dd-menu li + li { border-top: 1px solid rgba(201,162,78,.2); }

.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; }
  body.menu-open { overflow: hidden; }
  .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); }
  .nav-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .nav-dd { z-index: 110; }
  .nav-dd-btn { padding: 9px 14px; letter-spacing: .18em; }
  .nav-dd-menu { min-width: 0; width: min(280px, calc(100vw - 2 * var(--pad))); right: -52px; }
}

/* =================================================== 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(var(--lilac-rgb),.9) 0%, rgba(var(--lilac-rgb),.3) 50%, transparent 75%),
    linear-gradient(180deg, rgba(250,246,238,.7) 0%, rgba(250,246,238,.25) 22%, rgba(var(--blush-rgb),.62) 48%, rgba(var(--blush-rgb),.92) 100%);
}

.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); }

@media (max-width: 480px) {
  .cta { padding: 16px 22px; letter-spacing: .2em; white-space: normal; text-align: center; }
}

/* =================================================== 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;
  padding: 0;
  transition: all .3s var(--ease);
  opacity: .55;
}
.ptn.active, .ptn:hover, .ptn:focus-visible { 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); }
.ptn[data-img="assets/img/bb-packshot.jpg"]{ background-image: url(assets/img/bb-packshot.jpg); }
.ptn[data-img="assets/img/bb-portrait.jpg"]{ background-image: url(assets/img/bb-portrait.jpg); }
.ptn[data-img="assets/img/bb-texture.jpg"]{ background-image: url(assets/img/bb-texture.jpg); }
.ptn[data-img="assets/img/bb-dropper.jpg"]{ background-image: url(assets/img/bb-dropper.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;
  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,
.product-ingredients li:focus::after {
  opacity: 1;
  transform: translateY(0);
}
/* the right-hand column opens leftwards so a tooltip never widens the page */
.product-ingredients li:nth-child(even)::after { left: auto; right: 0; }
@media (max-width: 560px) {
  .product-ingredients li::after { max-width: min(240px, 78vw); }
}
.product-meta {
  display: grid; gap: 14px;
  margin: 0 0 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(var(--blush-rgb),.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.ing:hover .ing-glow { opacity: 1; }
.ing > :not(.ing-glow) { position: relative; }
.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, .gi:focus-visible::before { opacity: 1; }

.gi.s-1 { grid-column: span 2; 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-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-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:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible { outline-color: var(--gold-light); }
.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) {
  .lightbox { padding: 16px; }
  .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-deep); }
.nl-form input {
  flex: 1;
  min-width: 0;
  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,.75); }
.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; width: 100%; }
  .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;
  white-space: nowrap;
}
@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; }
}
@media (max-width: 760px) {
  .footer { padding-bottom: 96px; }   /* room for the sticky CTA */
}

/* =================================================== 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; }
}


/* ============================================================
   BB CREAM — additions on top of the shared EMMAT base
   ============================================================ */

/* hero: the photo keeps the face clear on the right, copy sits on a warm veil on the left */
.theme-bb .hero-video { object-position: 72% 30%; }
.theme-bb .hero-veil {
  background:
    linear-gradient(90deg, rgba(250,246,238,.94) 0%, rgba(245,232,220,.86) 30%, rgba(240,220,205,.38) 55%, rgba(240,220,205,0) 74%),
    linear-gradient(180deg, rgba(250,246,238,.55) 0%, rgba(250,246,238,0) 22%, rgba(240,220,205,0) 70%, rgba(240,220,205,.75) 100%);
}
.theme-bb .hero-title { font-size: clamp(50px, 8.4vw, 148px); }
.theme-bb .hero-lede { color: var(--ink); }
@media (max-width: 760px) {
  .theme-bb .hero-video { object-position: 74% 20%; }
  .theme-bb .hero-veil {
    background:
      linear-gradient(180deg, rgba(250,246,238,.6) 0%, rgba(250,246,238,0) 14%, rgba(243,226,213,.25) 30%, rgba(243,226,213,.84) 43%, rgba(243,226,213,.96) 58%, rgba(243,226,213,.98) 100%);
  }
  .theme-bb .hero-title { font-size: clamp(44px, 13.4vw, 76px); }
}
@media (max-width: 1100px), (max-height: 820px) {
  .theme-bb .hero-scroll { display: none; }
}

/* product photo is nearly square: do not crop the bottle */
.theme-bb .product-frame img { aspect-ratio: 1 / 1; }

/* texture and finish */
.texture {
  background: var(--cream);
  padding: clamp(90px, 14vh, 170px) 0;
}
.texture-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.texture-copy .display, .packaging-copy .display { font-size: clamp(40px, 5.6vw, 84px); }
.texture-copy p, .packaging-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;
  max-width: 600px;
}
.texture-copy p.big, .packaging-copy p.big {
  font-size: clamp(20px, 1.8vw, 26px);
  font-style: italic;
  color: var(--ink);
  margin: 0 0 24px;
}
.texture-visual, .packaging-visual {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(31,24,18,.25);
  position: relative;
}
.texture-visual::after, .packaging-visual::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(201,162,78,.25);
  pointer-events: none;
}
.texture-visual img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.texture-visual { max-width: 460px; justify-self: end; width: 100%; }

/* formula: eight cards, text only */
.theme-bb .ing h3 { font-size: clamp(21px, 1.9vw, 28px); line-height: 1.12; }
.why {
  position: relative; z-index: 1;
  max-width: 820px;
  margin: clamp(56px, 9vh, 96px) auto 0;
  text-align: center;
}
.why-text {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.55;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}
.formula-strip.three { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.formula-strip.three b { font-size: clamp(28px, 3.4vw, 46px); font-style: italic; font-weight: 300; }
.formula-strip.three span { letter-spacing: .18em; line-height: 1.6; }
@media (max-width: 720px) {
  .formula-strip.three { grid-template-columns: 1fr; }
}

/* size and packaging */
.packaging {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  padding: clamp(90px, 14vh, 170px) 0;
}
.packaging-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.packaging-visual { background: #fff; }
.packaging-visual img { width: 100%; height: auto; }
.price-line {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,162,78,.35);
}
.price-label, .price-size {
  font-family: var(--serif-sc);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  color: var(--ink);
}
@media (max-width: 980px) {
  .texture-grid, .packaging-grid { grid-template-columns: 1fr; }
  .texture-visual { justify-self: start; }
}

/* ritual: the portrait is a tall crop, keep the face in frame */
.theme-bb .ritual-image img { object-position: 50% 22%; }

/* nav: seven links; keep them on one line on small laptops */
@media (max-width: 1280px) and (min-width: 981px) {
  .theme-bb .nav-links { gap: 16px; }
  .theme-bb .nav-links a { font-size: 11px; letter-spacing: .14em; white-space: nowrap; }
  .theme-bb .nav-inner { gap: 16px; }
  .theme-bb .nav-dd-btn { padding: 10px 16px; letter-spacing: .2em; }
}

@media (max-width: 980px) {
  /* gallery in two columns: texture + portrait, dropper + packshot, then the wide campaign shot */
  .theme-bb .gallery-grid .gi:nth-child(5) { grid-column: span 1 !important; grid-row: span 2 !important; order: 1; }
  .theme-bb .gallery-grid .gi:nth-child(4) { order: 2; }
  .theme-bb .gallery-grid .gi:nth-child(5) img { object-position: 88% 50%; }
}


/* ============================================================
   BODY CREAM — additions on top of the shared EMMAT base
   (reuses the texture / why / packaging blocks defined above)
   ============================================================ */

/* hero: the packshot is a portrait photo, so it fills the right of the frame and the copy sits on a soft veil on the left */
.theme-body .hero-video { left: auto; right: 0; width: 56%; object-position: 85% 40%; }
.theme-body .hero-veil {
  background:
    linear-gradient(90deg, rgba(250,246,238,1) 0%, rgba(var(--blush-rgb),1) 44%, rgba(var(--blush-rgb),0) 52%),
    linear-gradient(180deg, rgba(250,246,238,.55) 0%, rgba(250,246,238,0) 22%, rgba(var(--blush-rgb),0) 70%, rgba(var(--blush-rgb),.75) 100%);
}
.theme-body .hero-title { font-size: clamp(50px, 7vw, 124px); }
.theme-body .hero-actions { max-width: 460px; }
@media (max-width: 980px) {
  /* stacked: the photo takes the top of the hero, the copy sits below it */
  .theme-body .hero-video { left: 0; right: auto; width: 100%; height: 58%; object-position: 50% 30%; }
  .theme-body .hero-veil {
    background:
      linear-gradient(180deg, rgba(250,246,238,.6) 0%, rgba(250,246,238,0) 12%, rgba(var(--blush-rgb),0) 30%, rgba(var(--blush-rgb),.9) 50%, rgba(var(--blush-rgb),1) 58%);
  }
}
@media (max-width: 760px) {
  .theme-body .hero-title { font-size: clamp(44px, 13.4vw, 76px); }
}
@media (max-width: 1100px), (max-height: 820px) {
  .theme-body .hero-scroll { display: none; }
}

/* product thumbnails */
.ptn[data-img="assets/img/thesis-body-product.jpg"]{ background-image: url(assets/img/thesis-body-product.jpg); }
.ptn[data-img="assets/img/thesis-body-campaign-texture.jpg"]{ background-image: url(assets/img/thesis-body-campaign-texture.jpg); }
.ptn[data-img="assets/img/thesis-body-campaign-bedroom.jpg"]{ background-image: url(assets/img/thesis-body-campaign-bedroom.jpg); }
.ptn[data-img="assets/img/thesis-body-campaign-bathroom.jpg"]{ background-image: url(assets/img/thesis-body-campaign-bathroom.jpg); }

/* texture: the photo is a landscape triptych, show all of it */
.theme-body .texture-visual { max-width: 640px; }
.theme-body .texture-visual img { aspect-ratio: 3 / 2; }

/* formula: eleven cards, text only; the last one closes the row */
.theme-body .ing h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; overflow-wrap: break-word; }
.theme-body .ing-grid .ing:last-child { grid-column: span 2; }
@media (max-width: 560px) {
  .theme-body .ing-grid .ing:last-child { grid-column: auto; }
}

/* size and packaging: the sheet is very wide, frame its first set of views (box and bottle: front, side, top) */
.theme-body .packaging-visual img { aspect-ratio: 13 / 10; object-fit: cover; object-position: 0 50%; }

/* gallery: the full packaging sheet runs the width of the grid */
.gi.s-full { grid-column: span 6; grid-row: span 2; }

/* nav: seven links; keep them on one line on small laptops */
@media (max-width: 1280px) and (min-width: 981px) {
  .theme-body .nav-links { gap: 16px; }
  .theme-body .nav-links a { font-size: 11px; letter-spacing: .14em; white-space: nowrap; }
  .theme-body .nav-inner { gap: 16px; }
  .theme-body .nav-dd-btn { padding: 10px 16px; letter-spacing: .2em; }
}

@media (max-width: 980px) {
  /* gallery in two columns: packshot + bedroom, then the texture triptych and the packaging sheet full width */
  .gi.s-full { grid-column: span 2 !important; }
  .theme-body .gallery-grid .gi:nth-child(3) { grid-column: span 2 !important; grid-row: span 2 !important; }
}


/* ============================================================
   MY STORY — additions on top of the shared EMMAT base
   (reuses the storia text block defined above)
   ============================================================ */

/* the photo opens the page, full width, under the transparent nav */
.story-photo { margin: 0; background: var(--ivory); }
.story-photo img { width: 100%; height: auto; }
@media (max-width: 760px) {
  /* on phones the photo is short: start it below the nav so the bar never covers the face */
  .story-photo { padding-top: 76px; }
}

/* one reading column */
.story-copy { max-width: 760px; margin: 0 auto; }
.story-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  color: var(--gold-deep);
  margin: 1.8em 0 .6em;
  scroll-margin-top: 100px;
}

/* no sticky CTA on this page */
@media (max-width: 760px) {
  .theme-story .footer { padding-bottom: 32px; }
}
