/* Velvet Sam — Private Line, on white: --pl is the colour of the flacon that answers the visitor */
.pl { --pl: #b9a27a; }
body[data-page="private"] .announce { display: none; }
body[data-page="private"] .site-header { top: 0; }

/* ---------- find yours ---------- */
.pl-find { padding: clamp(92px, 11vh, 120px) 0 clamp(40px, 6vh, 70px); background: #fff; text-align: center; }
.pl-find h1 { margin-top: 10px; font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1; }
.pl-find__lede { margin-top: 12px; color: var(--muted); font-size: 15px; }

.pl-loves { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2vw, 30px); margin-top: clamp(16px, 2.6vh, 26px); }
.pl-love { display: grid; justify-items: center; gap: 8px; width: 92px; padding: 0; font-size: 12px; color: var(--muted); transition: color 0.4s; }
.pl-love img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: saturate(0.82); box-shadow: 0 0 0 1px var(--line); transition: transform 0.6s var(--ease), box-shadow 0.4s, filter 0.4s; }
.pl-love:hover img, .pl-love:focus-visible img { transform: translateY(-3px); filter: none; }
.pl-love:hover { color: var(--ink); }
.pl-love[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.pl-love[aria-pressed="true"] img { filter: none; transform: scale(1.1); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold-deep); }

/* the shelf: each flacon stands on the same line and moves with --x and --s */
.pl-answer { position: relative; }
/* everything inside the answer (flacons, the panel) stacks among itself only: the bag, the menu and search always cover it */
.pl-answer { isolation: isolate; }
.pl-shelf { position: relative; height: clamp(300px, 46svh, 480px); margin-top: clamp(14px, 3vh, 28px); }
.pl-shelf::after { content: ''; position: absolute; left: calc(50% + var(--fx, 0px)); bottom: 0; width: min(46%, 420px); height: 40px; translate: -50% 50%; transition: left 1s var(--ease), background 0.8s; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pl) 26%, transparent), transparent); pointer-events: none; }
.pl-flacon { position: absolute; left: 50%; bottom: 0; height: 100%; aspect-ratio: 1; padding: 0; transform-origin: 50% 96%; transform: translateX(calc(-50% + var(--x, 0px))) scale(var(--s, 0.6)); transition: transform 1s var(--ease), opacity 0.7s var(--ease); cursor: pointer; }
.pl-flacon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(40, 25, 20, 0.14)); transition: transform 0.6s var(--ease); pointer-events: none; user-select: none; }
/* the picture is square but the flacon fills only its middle: only the flacon itself takes the mouse, so a neighbour's empty corners never cover it */
.pl-flacon { pointer-events: none; }
.pl-flacon::before { content: ""; position: absolute; inset: 4% 29% 4%; pointer-events: auto; }
.pl-flacon:hover img, .pl-flacon:focus-visible img { transform: translateY(-3%); }
/* in the queue the flacons overlap: the one under the mouse steps in front, whole, so it is the one that gets the click */
@media (hover: hover) { .pl-flacon:hover { z-index: 200 !important; opacity: 1 !important; } }

.pl-hint { margin-top: 26px; font-family: var(--f-display); font-size: 1.2rem; font-style: italic; color: var(--muted); }
.pl-reset { padding-bottom: 3px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pl-reset:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- this one is yours ---------- */
.pl-yours { display: grid; grid-template-columns: 1.1fr 1.2fr; gap: clamp(22px, 4vw, 70px); align-items: start; max-width: 980px; margin: clamp(22px, 4vh, 38px) auto 0; padding-top: clamp(22px, 3vh, 30px); border-top: 1px solid var(--line); text-align: left; }
.pl-yours[hidden] { display: none; }
.pl-yours.is-in { animation: fadeUp 0.9s var(--ease) both; }
.pl-yours .eyebrow { display: block; margin-bottom: 10px; color: var(--gold-deep); }
.pl-yours .display { font-size: clamp(2.2rem, 3.6vw, 3.5rem); line-height: 1.02; }
.pl-yours__family { margin-top: 8px; font-family: var(--f-display); font-size: 1.2rem; font-style: italic; color: var(--muted); }
.pl-yours__why { margin-top: 14px; font-size: 14px; line-height: 1.6; }
.pl-yours__price { margin-top: 18px; font-size: 20px; letter-spacing: 0.04em; }
.pl-yours__price:empty { display: none; }
.pl-yours__ml { font-size: 13px; letter-spacing: 0.12em; color: var(--muted); }
.pl-yours__price s { opacity: 0.45; margin-right: 6px; font-size: 0.8em; }
.pl-yours__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 14px; }
html:not([lang="en"]) .pl-arch { aspect-ratio: 1 / 0.76; }
html:not([lang="en"]) .pl-yours__cta { gap: 12px; flex-wrap: nowrap; white-space: nowrap; }
html:not([lang="en"]) .pl-yours__cta .btn { padding-left: 18px; padding-right: 18px; }
html:not([lang="en"]) .pl-link { letter-spacing: 0.08em; font-size: 10px; }
/* a tester, shown only after "Buy a tester" */
.pl-tester { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 16px; margin-top: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); background: #fff; }
.pl-tester[hidden] { display: none; }
.pl-tester.is-in { animation: fadeUp 0.6s var(--ease) both; }
.pl-tester__media { display: block; aspect-ratio: 1; background: #f6f3ef; }
.pl-tester__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pl-tester__text { display: grid; gap: 2px; min-width: 0; }
.pl-tester__text b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; line-height: 1.15; }
.pl-tester__text small { font-size: 12px; color: var(--muted); }
.pl-tester__price { font-size: 14px; }
@media (max-width: 520px) { .pl-tester { grid-template-columns: 60px 1fr; } .pl-tester .btn { grid-column: 1 / -1; } }
.pl-link { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.pl-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); margin: 16px 0 0; text-align: center; }
.pl-tier { min-width: 0; }
.pl-arch { position: relative; aspect-ratio: 1 / 0.9; margin: 0; overflow: hidden; border-radius: 999px 999px 3px 3px; background: var(--ivory); }
.pl-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.1s var(--ease-io), transform 4s var(--ease); }
.pl-arch img.is-on { opacity: 1; transform: none; }
.pl-arch::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(20, 12, 10, 0.62)); pointer-events: none; }
.pl-arch__name { position: absolute; left: 4px; right: 4px; bottom: 7px; z-index: 1; font-family: var(--f-display); font-size: 1rem; line-height: 1.05; color: #fff; }
.pl-yours.is-in .pl-tier { animation: plRow 0.9s var(--ease) both; }
.pl-yours.is-in .pl-tier:nth-child(2) { animation-delay: 0.14s; }
.pl-yours.is-in .pl-tier:nth-child(3) { animation-delay: 0.28s; }
.pl-tier dt { margin-top: 10px; font-size: 9.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.pl-names { display: grid; justify-items: center; gap: 1px; margin: 5px 0 0; }
.pl-names button { padding: 1px 2px; font-family: var(--f-display); font-size: 1.04rem; line-height: 1.2; color: color-mix(in srgb, var(--ink) 48%, #fff); background: linear-gradient(var(--gold-deep), var(--gold-deep)) 50% 100% / 0 1px no-repeat; transition: color 0.4s, background-size 0.6s var(--ease); }
.pl-names button:hover, .pl-names button.is-on { color: var(--ink); background-size: 100% 1px; }
.pl-names button.is-hit { color: var(--ink); font-style: italic; }
.pl-notes:not(.has-hits) .pl-names button { color: color-mix(in srgb, var(--ink) 72%, #fff); }
.pl-notes:not(.has-hits) .pl-names button.is-on { color: var(--ink); }
@keyframes plRow { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- the box ---------- */
.pl-reveal { position: relative; height: 100svh; min-height: 680px; overflow: hidden; background: #fff; scroll-margin-top: 0; }
.pl-reveal__shots { position: absolute; left: 50%; top: 42%; width: min(62vh, 80vw); aspect-ratio: 1; translate: -50% -50%; z-index: 2; }
.pl-reveal__shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.1s var(--ease-io), transform 1.6s var(--ease); }
[data-step="0"] [data-pl-shot="closed"] { opacity: 1; }
[data-step="1"] [data-pl-shot="closed"] { transform: scale(1.06); }
[data-step="1"] [data-pl-shot="open"] { opacity: 1; }
[data-step="2"] [data-pl-shot="open"] { transform: scale(1.4); }
[data-pl-shot="flacon"] { transform: scale(0.82); }
[data-step="2"] [data-pl-shot="flacon"] { opacity: 1; transform: none; }
.pl-reveal__notes { position: absolute; left: 50%; top: 42%; width: 0; height: 0; z-index: 3; }
.pl-photo { position: absolute; left: 0; top: 0; width: clamp(120px, 12.5vw, 190px); margin: 0; text-align: center; opacity: 0; transform: translate(-50%, -50%) scale(0.3); transition: opacity 0.5s var(--ease-io), transform 0.5s var(--ease); pointer-events: none; }
[data-step="2"] .pl-photo { opacity: 1; transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); transition: opacity 0.9s var(--ease-io) calc(0.25s + var(--i) * 0.09s), transform 1.3s var(--ease) calc(0.25s + var(--i) * 0.09s); }
/* every note shows: the more there are, the smaller each photo */
.pl-reveal__notes:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]):not([data-count="4"]):not([data-count="5"]):not([data-count="6"]) .pl-photo { width: clamp(86px, 8.6vw, 142px); }
.pl-reveal__notes:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]):not([data-count="4"]):not([data-count="5"]):not([data-count="6"]) figcaption { font-size: clamp(0.95rem, 1.15vw, 1.15rem); }
.pl-photo.is-hit img { box-shadow: 0 0 0 2px var(--gold), 0 18px 40px rgba(30, 15, 15, 0.14); }
.pl-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1.1; object-fit: cover; border-radius: 999px 999px 3px 3px; box-shadow: 0 18px 40px rgba(30, 15, 15, 0.14); }
.pl-photo figcaption { margin-top: 9px; font-family: var(--f-display); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.1; }
.pl-photo small { display: block; margin-top: 3px; font-family: var(--f-ui); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); }
.pl-reveal__foot { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vh, 40px); z-index: 4; display: grid; justify-items: center; gap: 14px; pointer-events: none; }
.pl-reveal__foot .btn { pointer-events: auto; }
.pl-reveal__foot .pl-cap { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); text-align: center; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.pl-reveal__foot .pl-cap.is-on { opacity: 1; transform: none; }
.pl-cap .eyebrow { display: block; margin-bottom: 6px; color: var(--gold-deep); }
.pl-cap .display { font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.05; }

/* ---------- two families ---------- */
.pl-families { padding: clamp(80px, 9vw, 140px) 0; background: #fff; }
.pl-families .h-lg { margin-bottom: clamp(30px, 4vw, 54px); }
.pl-families__grid { display: grid; gap: clamp(20px, 3vw, 44px); }
.pl-family { display: block; padding: 0; text-align: left; }
.pl-family__media { display: block; aspect-ratio: 1; overflow: hidden; background: #fff; }
.pl-family__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.4s var(--ease); }
.pl-family:hover .pl-family__media img { transform: scale(1.04); }
.pl-family b { display: block; margin-top: 16px; font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 400; }
.pl-family small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .pl-families__grid { grid-template-columns: 1fr 1fr; }
  /* the answer stands beside the flacon, in the same glance */
  .pl-yours { position: absolute; right: 0; top: -12px; z-index: 110; display: block; width: min(36%, 430px); max-width: none; margin: 0; padding: 0; border: 0; }
  .pl-yours .pl-reset { position: absolute; top: 0; right: 0; font-size: 10px; }
  .pl-yours__why { margin-top: 10px; }
  .pl-yours .display { font-size: clamp(2.1rem, 2.8vw, 2.7rem); }
  .pl-shelf { height: clamp(390px, 56svh, 560px); }
}

/* ---------- short laptop screens: everything stays in one glance ---------- */
@media (min-width: 900px) and (max-height: 820px) {
  .pl-find { padding-top: 84px; padding-bottom: 24px; }
  .pl-find > .wrap > .eyebrow { display: none; }
  .pl-find h1 { margin-top: 0; font-size: 2.5rem; }
  .pl-find__lede { margin-top: 4px; font-size: 13px; }
  .pl-loves { margin-top: 10px; }
  .pl-love { gap: 4px; font-size: 11px; }
  .pl-love img { width: 44px; height: 44px; }
  .pl-shelf { height: max(300px, calc(100svh - 280px)); margin-top: 8px; }
  .pl-yours .display { font-size: 2rem; }
  .pl-yours__family { margin-top: 2px; font-size: 1.05rem; }
  .pl-yours__why { margin-top: 6px; font-size: 13px; line-height: 1.4; }
  .pl-yours__cta { gap: 14px; margin-top: 10px; }
  .pl-yours__cta .btn { min-height: 40px; height: 40px; }
  .pl-yours { top: 0; }
  .pl-arch { aspect-ratio: 4 / 3; }
  .pl-notes { margin-top: 8px; }
  .pl-tier dt { margin-top: 5px; }
  .pl-names { margin-top: 2px; }
  .pl-names button { font-size: 0.92rem; line-height: 1.12; }
}

/* ---------- phones ---------- */
@media (max-width: 899px) {
  .pl-loves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 6px; }
  .pl-love { width: auto; }
  .pl-love img { width: 56px; height: 56px; }
  .pl-shelf { height: 42svh; min-height: 280px; overflow: visible; }
  .pl-yours { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pl-reveal { min-height: 620px; }
  .pl-reveal__shots { width: min(44vh, 62vw); }
  .pl-photo { width: 25vw; }
  [data-step="2"] .pl-photo { transform: translate(-50%, -50%) translate(var(--xs), var(--ys)) rotate(var(--r)); }
  .pl-reveal__notes .pl-photo { width: 15vw !important; }
  .pl-reveal__notes figcaption { font-size: 0.8rem !important; overflow-wrap: anywhere; }
  .pl-photo figcaption { margin-top: 5px; font-size: 0.98rem; }
  .pl-photo small { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-flacon, .pl-flacon img, .pl-love img { transition: none; }
  .pl-yours.is-in, .pl-yours.is-in .pl-tier { animation: none; }
  .pl-arch img { transition: opacity 0.2s; transform: none; }
  .pl-reveal__shots img, .pl-photo { transition: opacity 0.2s !important; }
}
