/* =====================================================================
   SKIN LONGEVITY — early-list landing page
   "A quiet laboratory": warm darkness, sand light, the S·A·G letters as
   sculpture. Brand palette from the SAG brand book; Frank Ruhl Libre for
   Hebrew display, Cormorant Garamond for Latin, Assistant for text.
   ===================================================================== */

:root {
  --night:    #12110F;          /* page */
  --night-2:  #1B1916;          /* raised surfaces */
  --night-3:  #262320;          /* cards */
  --line:     rgba(232,228,221,.12);
  --sand:     #D1BAAC;          /* brand: חול */
  --cream:    #E8E4DD;          /* brand: קרם */
  --taupe:    #A89688;          /* brand: טאופ */
  --terra:    #964E41;          /* brand: טרקוטה */
  --terra-hi: #B4614F;
  --olive:    #6D705C;          /* brand: זית */
  --text:     #EDE8E1;
  --text-2:   #B9B0A6;          /* 7.6:1 on --night */
  --text-3:   #8E857C;          /* 4.9:1 on --night */

  --he: 'Frank Ruhl Libre', 'David Libre', serif;
  --lat: 'Cormorant Garamond', Georgia, serif;
  --body: 'Assistant', 'Heebo', system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --r: 18px;
  --gutter: clamp(18px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* film grain over everything — the difference between "dark" and "expensive" */
body::after {
  content: '';
  position: fixed; inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); }
}

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow {
  font-family: var(--lat);
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sand);
  direction: ltr;
}
.h-lat { font-family: var(--lat); font-weight: 300; direction: ltr; letter-spacing: .02em; }
.h-he { font-family: var(--he); font-weight: 300; line-height: 1.15; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .02em;
  transition: background-color .3s var(--ease), color .3s, transform .2s var(--ease), box-shadow .3s;
}
.btn--sand { background: var(--sand); color: #1a1714; }
.btn--sand:hover { background: var(--cream); box-shadow: 0 10px 40px rgba(209,186,172,.25); }
.btn--ghost { border: 1px solid rgba(232,228,221,.35); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(232,228,221,.06); }
.btn:active { transform: scale(.985); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-4px); }

/* ---------- top bar ---------- */
.bar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  transition: background-color .4s, padding .4s, backdrop-filter .4s;
}
.bar.is-solid { background: rgba(18,17,15,.78); backdrop-filter: blur(14px); padding-block: 14px; }
.bar__logo img { height: 30px; filter: invert(1) brightness(1.6); }
.bar__cta { font-size: 14px; letter-spacing: .04em; border-bottom: 1px solid var(--sand); padding-bottom: 3px; color: var(--sand); }

/* =====================================================================
   1. Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {                    /* vignette that makes the type sit on light */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(18,17,15,.05) 0%, rgba(18,17,15,.55) 60%, rgba(18,17,15,.95) 100%),
    linear-gradient(180deg, rgba(18,17,15,.35) 0%, rgba(18,17,15,0) 25%, rgba(18,17,15,.9) 88%, var(--night) 100%);
}
.hero__inner { padding: 0 var(--gutter) clamp(48px, 9vh, 96px); width: 100%; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(209,186,172,.4);
  border-radius: 999px;
  font-size: 13px; letter-spacing: .14em; color: var(--sand);
}
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--terra-hi); box-shadow: 0 0 0 0 rgba(180,97,79,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(180,97,79,.6); } 70% { box-shadow: 0 0 0 12px rgba(180,97,79,0); } 100% { box-shadow: 0 0 0 0 rgba(180,97,79,0); } }
.hero__title {
  margin: 22px 0 10px;
  font-family: var(--lat);
  font-weight: 300;
  font-size: clamp(54px, 11vw, 168px);
  line-height: .86;
  letter-spacing: .01em;
  direction: ltr;
  text-align: right;
}
.hero__title span { display: block; }
.hero__he { font-family: var(--he); font-weight: 300; font-size: clamp(24px, 3vw, 38px); color: var(--cream); }
.hero__lead { margin-top: 16px; max-width: 46ch; color: var(--text-2); font-size: clamp(16px, 1.3vw, 18px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: clamp(48px, 9vh, 96px);
  writing-mode: vertical-rl;
  font-family: var(--lat); font-size: 12px; letter-spacing: .3em; color: var(--text-3);
  direction: ltr;
}
.hero__scroll::after { content: ''; display: block; width: 1px; height: 60px; margin: 14px auto 0; background: linear-gradient(var(--sand), transparent); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* one orchestrated entrance */
.in { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.in--1 { animation-delay: .15s; } .in--2 { animation-delay: .35s; } .in--3 { animation-delay: .55s; }
.in--4 { animation-delay: .75s; } .in--5 { animation-delay: .95s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

section { position: relative; }
.sec { padding: clamp(90px, 14vh, 160px) 0; }
.sec__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec__title { font-family: var(--he); font-weight: 300; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; margin-top: 14px; }
.sec__lead { margin-top: 18px; color: var(--text-2); max-width: 56ch; }

/* =====================================================================
   2. S · A · G — the name is the formula (sticky, scroll-driven)
   ===================================================================== */
.sag { height: 340vh; }                     /* scroll distance for three acts */
.sag__stick {
  position: sticky; top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 96px var(--gutter) 40px;
  overflow: hidden;
}
.sag__canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.sag__top, .sag__letters, .sag__copy { position: relative; z-index: 1; }
.sag__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.sag__top h2 { font-family: var(--he); font-weight: 300; font-size: clamp(26px, 3vw, 42px); }
.sag__letters {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(8px, 4vw, 70px);
  direction: ltr;
}
.sag__letter {
  font-family: var(--lat);
  font-weight: 300;
  font-size: clamp(120px, 26vw, 400px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,228,221,.22);
  transition: color .9s var(--ease), -webkit-text-stroke-color .9s, transform .9s var(--ease), text-shadow .9s;
  cursor: pointer;
}
.sag__letter.is-on {
  color: var(--cream);
  -webkit-text-stroke-color: transparent;
  transform: translateY(-6px);
  text-shadow: 0 0 80px rgba(209,186,172,.35);
}
.sag__copy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  direction: ltr;
}
.sag__act { direction: rtl; text-align: right; opacity: .28; transition: opacity .8s var(--ease); }
.sag__act.is-on { opacity: 1; }
.sag__act h3 { font-family: var(--lat); font-weight: 400; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); direction: ltr; text-align: right; }
.sag__act p { margin-top: 10px; font-size: 15.5px; color: var(--text-2); max-width: 34ch; margin-inline-start: auto; }
.sag__progress { position: absolute; z-index: 1; right: var(--gutter); top: 50%; display: grid; gap: 10px; transform: translateY(-50%); }
.sag__progress i { width: 2px; height: 34px; background: rgba(232,228,221,.15); border-radius: 2px; overflow: hidden; position: relative; }
.sag__progress i::after { content: ''; position: absolute; inset: 0; background: var(--sand); transform: scaleY(var(--p, 0)); transform-origin: top; }

@media (max-width: 760px) {
  .sag__copy { grid-template-columns: 1fr; }
  .sag__act { display: none; }
  .sag__act.is-on { display: block; }
  .sag__progress { display: none; }
}

/* =====================================================================
   3. The ingredient lab — five plates on a pale lab bench
   The one light section of the page: the petri-dish photos (tools/ingredients.py)
   sit on the same cool porcelain surface they were shot on, their edges masked
   so the dish floats on the section instead of sitting in a square.
   ===================================================================== */
.lab {
  --bench: #D9DBDF;
  --ink: #1F1C19;
  --ink-2: #5A534C;                     /* 6.1:1 on --bench */
  background:
    radial-gradient(120% 70% at 50% 0%, #E6E7EA 0%, var(--bench) 60%),
    var(--bench);
  color: var(--ink);
}
.lab .eyebrow { color: var(--terra); }
.lab .sec__lead { color: var(--ink-2); }

.lab__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 1100px) { .lab__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .lab__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .lab__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .lab__card { scroll-snap-align: center; }
}
.lab__card { position: relative; text-align: right; }
.lab__dish {
  aspect-ratio: 1; margin: 0 -8% 6px;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 72%, transparent 99%);
          mask-image: radial-gradient(circle closest-side, #000 72%, transparent 99%);
}
.lab__dish img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: dish 90s linear infinite;          /* a living specimen: one turn every 90s */
  transition: scale 1.2s var(--ease);
}
.lab__card:hover .lab__dish img { scale: 1.05; }
@keyframes dish { to { rotate: 360deg; } }
.lab__num { font-family: var(--lat); font-size: 15px; letter-spacing: .2em; color: var(--terra); }
.lab__name { font-family: var(--lat); font-size: clamp(21px, 1.7vw, 25px); font-weight: 500; direction: ltr; text-align: right; margin-top: 4px; color: var(--ink); }
.lab__tag { font-size: 12px; letter-spacing: .14em; color: var(--terra); margin-top: 3px; }
.lab__text { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(31,28,25,.14); font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

.lab__also { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid rgba(31,28,25,.14); }
.lab__also-title { font-size: 13px; letter-spacing: .16em; color: var(--ink-2); }
.lab__also-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .lab__also-list { grid-template-columns: repeat(2, 1fr); } }
.lab__also-item { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.lab__dish--sm { grid-row: span 2; margin: 0; }
.lab__also-en { font-family: var(--lat); font-size: 18px; direction: ltr; text-align: right; align-self: end; }
.lab__also-he { font-size: 13.5px; color: var(--ink-2); align-self: start; }

@media (prefers-reduced-motion: reduce) {
  .lab__dish img { animation: none; transition: none; }
}

/* =====================================================================
   4. The collection — a lit shelf
   ===================================================================== */
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .shelf { grid-template-columns: repeat(2, 1fr); } }
.prod {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r);
  background: var(--night-2);
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: right;
  transition: border-color .5s, transform .6s var(--ease), box-shadow .6s;
}
.prod:hover { border-color: rgba(209,186,172,.4); transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.prod.is-match { border-color: var(--sand); box-shadow: 0 0 0 1px var(--sand), 0 30px 60px rgba(0,0,0,.45); }
.prod.is-dim { opacity: .38; }
.prod__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: radial-gradient(70% 60% at 50% 42%, rgba(232,228,221,.16), rgba(232,228,221,0) 70%), var(--night-3);
  overflow: hidden;
}
.prod__media img {
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply;          /* the renders sit on light grey; this drops it into the dark */
  filter: brightness(1.05) contrast(1.02);
  transition: transform 1.2s var(--ease);
}
.prod:hover .prod__media img { transform: scale(1.05); }
.prod__band { position: absolute; inset: auto 0 0 0; height: 3px; background: var(--pack); }
.prod__body { padding: 18px 18px 20px; display: grid; gap: 4px; }
.prod__num { font-family: var(--lat); font-size: 13px; letter-spacing: .2em; color: var(--text-3); direction: ltr; text-align: right; }
.prod__name { font-family: var(--he); font-size: 19px; line-height: 1.3; }
.prod__en { font-family: var(--lat); font-size: 13px; letter-spacing: .12em; color: var(--sand); direction: ltr; text-align: right; }
.prod__more { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }
.prod__more::after { content: ' ←'; }

/* product sheet */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; align-items: end; }
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(8,7,6,.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: 88svh;
  margin-inline: auto;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-bottom: 0;
  transform: translateY(100%);
  transition: transform .55s var(--ease);
}
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grid { display: grid; grid-template-columns: .8fr 1.2fr; }
@media (max-width: 760px) { .sheet__grid { grid-template-columns: 1fr; } }
.sheet__media { background: var(--night-3); }
.sheet__media img { width: 100%; height: 100%; max-height: 60svh; object-fit: contain; mix-blend-mode: multiply; }
.sheet__body { padding: 34px 32px 40px; }
.sheet__close { position: absolute; top: 14px; left: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(18,17,15,.7); border: 1px solid var(--line); }
.sheet__claim { font-family: var(--lat); font-style: italic; font-size: 20px; color: var(--sand); direction: ltr; text-align: right; margin-top: 6px; }
.sheet__lead { margin-top: 16px; color: var(--text-2); font-size: 15.5px; }
.sheet__h { margin: 26px 0 10px; font-size: 12px; letter-spacing: .22em; color: var(--text-3); }
.sheet__actives { display: grid; gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.sheet__active { display: grid; grid-template-columns: 34% 1fr; gap: 16px; padding: 13px 16px; background: var(--night-2); font-size: 14px; }
.sheet__active b { font-weight: 600; direction: ltr; text-align: right; }
.sheet__active span { color: var(--text-2); }
@media (max-width: 560px) { .sheet__active { grid-template-columns: 1fr; gap: 2px; } }
.sheet__cta { margin-top: 28px; }

/* =====================================================================
   5. Finder
   ===================================================================== */
.finder { padding: clamp(30px, 5vw, 56px); border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(90% 120% at 100% 0%, rgba(150,78,65,.18), transparent 60%), var(--night-2); }
.finder__opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(232,228,221,.22);
  border-radius: 999px;
  font-size: 15px;
  transition: background-color .3s, border-color .3s, color .3s;
}
.chip:hover { border-color: var(--sand); }
.chip[aria-pressed="true"] { background: var(--sand); color: #1a1714; border-color: var(--sand); }
.finder__out { margin-top: 26px; min-height: 28px; color: var(--text-2); font-size: 15.5px; }
.finder__out strong { color: var(--cream); font-weight: 600; }

/* =====================================================================
   6. Wide film band
   ===================================================================== */
.film { position: relative; aspect-ratio: 1280 / 564; max-height: 78svh; width: 100%; overflow: hidden; }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night), transparent 22%, transparent 78%, var(--night)); }

/* =====================================================================
   7. The list — form
   ===================================================================== */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .join { grid-template-columns: 1fr; } }
.perks { display: grid; gap: 16px; margin-top: 30px; }
.perk { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.perk__n { font-family: var(--lat); font-size: 28px; color: var(--sand); line-height: 1; direction: ltr; }
.perk h3 { font-family: var(--he); font-weight: 400; font-size: 20px; }
.perk p { color: var(--text-2); font-size: 15px; margin-top: 2px; }
.perk--gift { padding: 18px; border-radius: 16px; border: 1px solid rgba(209,186,172,.35); background: rgba(209,186,172,.06); }

.form {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 28px;
  background: var(--cream);
  color: #1b1916;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.form h3 { font-family: var(--he); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.form__sub { color: #5a534c; font-size: 15px; margin-top: 6px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-size: 13.5px; font-weight: 600; color: #3d3833; }
.field input, .field select {
  height: 54px;
  padding: 0 16px;
  border: 1px solid #cfc6bb;
  border-radius: 14px;
  background: #fff;
  font: inherit; font-size: 16px; color: #1b1916;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(150,78,65,.15); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field__err { font-size: 13px; color: #b3261e; min-height: 0; }
.field input[dir="ltr"] { text-align: right; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 20px; font-size: 14px; line-height: 1.6; color: #3d3833; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--terra); }
.privacy { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: #6b635b; }
.privacy a { text-decoration: underline; text-underline-offset: 3px; }
.form .btn { width: 100%; margin-top: 22px; background: #1b1916; color: var(--cream); }
.form .btn:hover { background: var(--terra); }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 14px; font-size: 14px; min-height: 20px; color: #b3261e; }

.done { text-align: center; padding: 20px 0 6px; }
.done__mark { font-family: var(--lat); font-size: 64px; color: var(--terra); line-height: 1; }
.done h3 { margin-top: 10px; }
.done p { color: #5a534c; margin-top: 8px; }
.done .btn { margin-top: 22px; background: #1b1916; color: var(--cream); }

/* =====================================================================
   8. FAQ + footer
   ===================================================================== */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; min-height: 44px; font-family: var(--he); font-size: 21px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--lat); font-size: 26px; color: var(--sand); line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--text-2); max-width: 64ch; }

.foot { padding: 60px 0 110px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot img { height: 26px; filter: invert(1) brightness(1.6); opacity: .8; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot__link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* cookie notice (pixel.js): the Meta Pixel loads only after "אישור" */
.cookies {
  position: fixed; right: 14px; left: 14px; bottom: 14px; z-index: 99;
  max-width: 720px; margin-inline: auto;
  display: grid; gap: 14px; padding: 18px 20px;
  border-radius: var(--r); border: 1px solid rgba(232,228,221,.18);
  background: #1B1916; color: #EDE8E1; box-shadow: 0 18px 60px rgba(0,0,0,.55);
  font-family: var(--body); font-size: 15px; line-height: 1.7;
}
.cookies a { color: #D1BAAC; text-decoration: underline; text-underline-offset: 3px; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookies__btn { min-height: 44px; }
.cookies .btn--ghost { color: #EDE8E1; }
@media (min-width: 700px) { .cookies { grid-template-columns: 1fr auto; align-items: center; } }

/* sticky mobile CTA */
.sticky {
  position: fixed; right: 14px; left: 14px; bottom: 14px; z-index: 60;
  display: none;
  transform: translateY(140%);
  transition: transform .5s var(--ease);
}
.sticky .btn { width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.sticky.is-on { transform: none; }
@media (max-width: 900px) { .sticky { display: block; } }

/* play / pause for the films */
.vbtn {
  position: absolute; z-index: 3;
  left: 18px; bottom: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(18,17,15,.55); border: 1px solid rgba(232,228,221,.35);
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
}
.vbtn i { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--cream); }
.is-playing > .vbtn i { width: 11px; height: 13px; margin: 0; border: 0; border-left: 3.5px solid var(--cream); border-right: 3.5px solid var(--cream); }
.vbtn--big { left: 50%; bottom: 50%; transform: translate(-50%, 50%); width: 76px; height: 76px; }
.is-playing > .vbtn--big { left: 18px; bottom: 18px; transform: none; width: 44px; height: 44px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; }
  .in, .rv { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hero__badge i, .hero__scroll::after { animation: none; }
  .sag { height: auto; }
  .sag__stick { position: relative; height: auto; min-height: 100svh; }
  .sag__act { opacity: 1; display: block; }
  .sag__letter { color: var(--cream); -webkit-text-stroke-color: transparent; }
  * { transition-duration: .01ms !important; }
}

/* ---- fix: the renders sit on a flat #F0EFEF backdrop. Blending them into the
   dark darkened the bottles too, so the products get lit vitrines instead. ---- */
.prod__media {
  background: #F0EFEF;
  box-shadow: inset 0 -40px 60px -30px rgba(18,17,15,.18);
}
.prod__media img { mix-blend-mode: normal; filter: none; }
.prod__media::after {               /* a soft floor under the bottle */
  content: '';
  position: absolute; left: 22%; right: 22%; bottom: 9%;
  height: 14px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18,17,15,.22), transparent);
  pointer-events: none;
}
.sheet__media { background: #F0EFEF; display: grid; place-items: center; }
.sheet__media img { mix-blend-mode: normal; }
.sheet__body { padding-top: 64px; }  /* clear of the close button */

/* fix: `left:-9999px` widened the page by 10,000px — in an RTL document the
   page scrolls toward negative x. Hide the honeypot in place instead. */
.hp { left: auto; right: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html, body { max-width: 100%; overflow-x: clip; }

/* progressive enhancement: content is hidden for the reveal only once the
   script is running — if launch.js fails to load, everything stays visible */
.rv { opacity: 1; transform: none; }
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* the floating button was too heavy on phones and covered the last line of
   each S·A·G explanation: slimmer, and the section keeps room for it */
@media (max-width: 900px) {
  .sticky .btn { min-height: 48px; font-size: 15px; padding: 0 22px; }
  .sag__stick { padding-bottom: 84px; }
}

/* =====================================================================
   The veil — eight products behind dark frosted glass until launch
   ===================================================================== */
.veil .wrap { display: grid; gap: clamp(30px, 5vw, 60px); }
@media (min-width: 900px) { .veil .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; } }
.veil__stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--night-2);
  border: 1px solid var(--line);
}
.veil__img {
  position: absolute; inset: -6%;
  width: 112%; height: 112%;
  object-fit: cover;
  filter: blur(14px) brightness(.38) saturate(.6);
  transform: scale(1.04);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { filter: blur(14px) brightness(.34) saturate(.6); } 50% { filter: blur(11px) brightness(.46) saturate(.65); } }
.veil__glass {                       /* frosted glass + vignette */
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 50% 60%, rgba(18,17,15,0) 0%, rgba(18,17,15,.65) 75%, rgba(18,17,15,.92) 100%),
    linear-gradient(115deg, rgba(232,228,221,.06), rgba(232,228,221,0) 40%);
}
.veil__light {                       /* a slow sweep of light across the glass */
  position: absolute; top: 0; bottom: 0; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(232,228,221,.10), transparent);
  transform: skewX(-18deg);
  animation: sweep 7s var(--ease) infinite;
}
@keyframes sweep { 0% { left: -40%; } 60%, 100% { left: 120%; } }
.veil__copy .btn { margin-top: 26px; }

/* =====================================================================
   The quiz
   ===================================================================== */
.quiz { position: relative; min-height: 470px; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.quiz__back { font-size: 14px; color: #6b635b; min-height: 44px; padding: 0 4px; }
.quiz__back:hover { color: #1b1916; }
.quiz__count { font-family: var(--lat); font-size: 14px; letter-spacing: .2em; color: #8a8178; direction: ltr; margin-inline-start: auto; }
.quiz__bar { height: 3px; border-radius: 3px; background: #ddd5cb; overflow: hidden; margin: 10px 0 26px; }
.quiz__bar i { display: block; height: 100%; background: var(--terra); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.quiz__stage { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.quiz__stage.is-in { opacity: 1; transform: none; }
.quiz__q { font-family: var(--he); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; outline: none; }
.quiz__opts { display: grid; gap: 10px; margin-top: 24px; }
.quiz__opt {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid #cfc6bb;
  border-radius: 16px;
  background: #fff;
  font-size: 16px; color: #1b1916;
  text-align: right;
  transition: border-color .25s, background-color .25s, transform .2s var(--ease);
}
.quiz__opt::after { content: '←'; color: #b9b0a6; transition: transform .25s var(--ease), color .25s; }
.quiz__opt:hover { border-color: var(--terra); }
.quiz__opt:hover::after { transform: translateX(-4px); color: var(--terra); }
.quiz__opt.is-on { background: #1b1916; border-color: #1b1916; color: var(--cream); }
.quiz__opt.is-on::after { color: var(--sand); }
.quiz__opt:active { transform: scale(.99); }

/* the teaser: her products as silhouettes behind glass */
.quiz__ghosts { display: flex; gap: 12px; margin: 20px 0 6px; }
.quiz__ghost {
  position: relative;
  width: 92px; aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #F0EFEF;
}
.quiz__ghost img { width: 100%; height: 100%; object-fit: contain; filter: blur(9px) brightness(.85); transform: scale(1.1); }
.quiz__ghost::after { content: '?'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--lat); font-size: 34px; color: rgba(27,25,22,.55); }

/* the reveal */
.quiz__matches { display: grid; gap: 12px; margin-top: 22px; }
.quiz__match {
  display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center;
  padding: 12px; border-radius: 18px; background: #fff; border: 1px solid #e3dbd1;
  opacity: 0; transform: translateY(10px);
  animation: rise .7s var(--ease) forwards; animation-delay: calc(.25s + var(--d, 0s));
}
.quiz__matchimg { display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #F0EFEF; }
.quiz__matchimg img { width: 100%; height: 100%; object-fit: contain; }
.quiz__matchname { font-family: var(--he); font-size: 18px; line-height: 1.3; }
.quiz__matchen { font-family: var(--lat); font-size: 12.5px; letter-spacing: .12em; color: var(--terra); direction: ltr; text-align: right; }
.quiz__matchline { font-size: 13.5px; line-height: 1.6; color: #5a534c; margin-top: 4px; }
.quiz__share { width: 100%; margin-top: 18px; background: #1b1916; color: var(--cream); }
.quiz .done { padding-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .veil__img, .veil__light { animation: none; }
  .quiz__stage { opacity: 1; transform: none; }
  .quiz__match { opacity: 1; transform: none; animation: none; }
}

/* =====================================================================
   Readability fixes (20.10.2026)
   ===================================================================== */
/* hero badge: was a faint outline over the bright video, unreadable on phones */
.hero__badge {
  background: rgba(18,17,15,.62);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-color: rgba(209,186,172,.7);
  color: var(--cream);
  font-weight: 600;
}
@media (max-width: 760px) { .hero__badge { font-size: 14px; letter-spacing: .08em; } }

/* S·A·G: letters and their explanations share one grid, so each explanation
   sits right under its own letter, aligned to the letter's right edge */
.sag__board {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center; align-content: center;
  column-gap: clamp(8px, 4vw, 70px);
  row-gap: clamp(14px, 2.4vh, 28px);
  direction: ltr;
}
.sag__letters, .sag__copy { display: contents; }
.sag__letter { grid-row: 1; justify-self: center; }
.sag__act {
  grid-row: 2;
  width: 0; min-width: 100%;      /* follow the letter's width, never widen the column */
}
.sag__act p { margin-inline-start: 0; max-width: none; }
@media (max-width: 760px) {
  .sag__act { grid-column: 1 / -1; grid-row: auto; }
  .sag__act p { max-width: 34ch; }
}

/* multi-select question (20.10.2026): a check box instead of the arrow, plus a continue button */
.quiz__hint { margin-top: 8px; font-size: 14px; color: #6f665d; }
.quiz__opts--multi .quiz__opt::after {
  content: ''; width: 20px; height: 20px; flex: none;
  border: 1.5px solid #b9b0a6; border-radius: 6px;
  display: grid; place-items: center; font-size: 13px; line-height: 1;
}
.quiz__opts--multi .quiz__opt:hover::after { transform: none; }
.quiz__opts--multi .quiz__opt.is-on::after { content: '✓'; border-color: var(--sand); color: var(--sand); }
.quiz__next { margin-top: 18px; width: 100%; background: #1b1916; color: var(--cream); border-color: #1b1916; }
.quiz__next:disabled { opacity: .35; cursor: not-allowed; }
.quiz__ghosts { flex-wrap: wrap; }

/* lab section: the eyebrow follows the Hebrew heading's alignment; the "also" row stacks on phones */
.lab .eyebrow { text-align: right; }
@media (max-width: 560px) { .lab__also-list { grid-template-columns: 1fr; } }

/* =====================================================================
   Sign-up page (21.10.2026): the offer ladder + how it works
   ===================================================================== */
.ladder {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 44px;
}
.ladder__step {
  position: relative;
  display: grid; gap: 6px; align-content: end;
  min-height: calc(150px + var(--i) * 34px);   /* each step stands taller: the ladder reads at a glance */
  padding: 22px 20px;
  border-radius: var(--r);
  border: 1px solid rgba(209,186,172,.28);
  background: linear-gradient(180deg, rgba(209,186,172,.04), rgba(209,186,172,calc(.08 + var(--i) * .05)));
}
.ladder__step:last-child { border-color: var(--sand); }
.ladder__units { font-size: 15px; color: var(--text-2); }
.ladder__pct { font-family: var(--lat); font-weight: 400; font-size: clamp(52px, 6vw, 84px); line-height: .9; color: var(--cream); direction: ltr; text-align: right; }
.ladder__gift { font-size: 15px; color: var(--sand); font-weight: 600; }
.ladder__ship { margin-top: 22px; font-size: 18px; color: var(--text); }
.ladder__ship strong { color: var(--sand); font-weight: 600; }
.ladder__fine { margin-top: 10px; font-size: 13.5px; color: var(--text-3); max-width: 80ch; line-height: 1.7; }

.steps__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step { padding: 26px 24px; border-radius: var(--r); background: var(--night-2); border: 1px solid var(--line); }
.step__n { font-family: var(--lat); font-size: 30px; color: var(--sand); direction: ltr; display: block; line-height: 1; }
.step h3 { font-family: var(--he); font-weight: 400; font-size: 22px; margin-top: 14px; }
.step p { color: var(--text-2); font-size: 15.5px; margin-top: 6px; }
.steps__cta { margin-top: 30px; }

@media (max-width: 900px) {
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .ladder__step { min-height: 0; }
  .steps__list { grid-template-columns: 1fr; }
}

/* phones: the steps are a compact list, so the quiz starts after a short scroll */
@media (max-width: 900px) {
  .steps.sec { padding-bottom: 40px; }
  .steps__list { gap: 0; margin-top: 18px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px 0; background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line); }
  .step__n { grid-row: span 2; font-size: 24px; }
  .step h3 { margin-top: 0; font-size: 19px; }
  .step p { font-size: 14.5px; }
  .steps__cta { display: none; }        /* the sticky button already does this */
  #quiz.sec { padding-top: 30px; }
}

/* ------------------------------------------------------------ accessibility widget
   a11y.css puts the button bottom-right; here the bottom belongs to the cookie banner,
   the sticky CTA and the offer meter, so it becomes a tab on the left edge. "html" outranks
   a11y.css, which is linked after this file. */
html .a11y-btn { top: 42%; bottom: auto; right: auto; left: 10px; }
html .a11y-panel { top: 80px; bottom: auto; right: auto; left: 10px; max-height: calc(100vh - 100px); }

/* =====================================================================
   Stone-white page (7.11.2026, Naor): the page was too dark. The tokens flip
   to a light "לבן אבן" ground with dark ink; brand sand stays for buttons and
   surfaces, and terracotta takes over wherever sand was used as text (sand on
   stone is ~1.6:1). The hero and the film keep their dark video and light type.
   ===================================================================== */
:root {
  --night:   #E2E3E6;          /* page: the lab section's porcelain grey (7.11.2026) */
  --night-2: #FFFFFF;          /* raised surfaces */
  --night-3: #D6D7DB;          /* cards */
  --terra:    #5E5F63;         /* mouse grey instead of burgundy (7.11.2026): 4.9:1 on the page */
  --terra-hi: #7C7D82;
  --line:    rgba(27,25,22,.12);
  --text:    #1B1916;
  --text-2:  #4E4A46;          /* 6.8:1 on the page */
  --text-3:  #5E5A55;          /* 5.2:1 on the page */
}
body::after { opacity: .035; }

/* sand used as text → terracotta */
.eyebrow, .bar.is-solid .bar__cta, .prod__en, .sheet__claim, .sag__act h3, .perk__n, .step__n,
.ladder__gift, .ladder__ship strong, .prod__num { color: var(--terra); }
.faq summary::after { color: var(--terra); }
.bar.is-solid .bar__cta { border-bottom-color: var(--terra); }
.hero__scroll::after { background: linear-gradient(var(--terra), transparent); }
:focus-visible { outline-color: var(--terra); }

/* the top bar: over the video it stays light-on-dark; once solid it turns stone */
.bar.is-solid { background: rgba(226,227,230,.9); box-shadow: 0 1px 0 var(--line); }
.bar.is-solid .bar__logo img { filter: none; }

/* hero and film: dark video, light type, a fade into the stone page */
.hero { --text: #EDE8E1; --text-2: #D6CEC5; --text-3: #B9B0A6; color: var(--text); }
.hero .eyebrow { color: var(--sand); }
.hero::before {
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(18,17,15,.05) 0%, rgba(18,17,15,.5) 60%, rgba(18,17,15,.85) 100%),
    linear-gradient(180deg, rgba(18,17,15,.35) 0%, rgba(18,17,15,0) 25%, rgba(18,17,15,.75) 80%, var(--night) 100%);
}
.hero__scroll::after { background: linear-gradient(var(--sand), transparent); }

/* buttons and chips on light */
.btn--sand:hover { background: #C4A898; box-shadow: 0 10px 30px rgba(94,95,99,.18); }
.btn--ghost { border-color: rgba(27,25,22,.3); }
.btn--ghost:hover { border-color: var(--text); background: rgba(27,25,22,.04); }
.hero .btn--ghost { border-color: rgba(232,228,221,.35); }
.chip { border-color: rgba(27,25,22,.2); }
.chip:hover { border-color: var(--terra); }

/* S·A·G letters: ink instead of cream */
.sag__letter { -webkit-text-stroke-color: rgba(27,25,22,.2); }
.sag__letter.is-on { color: var(--text); text-shadow: 0 0 60px rgba(94,95,99,.18); }
.sag__progress i { background: rgba(27,25,22,.12); }
.sag__progress i::after { background: var(--terra); }

/* cards and shadows: softer, warm */
.prod:hover { border-color: rgba(94,95,99,.35); box-shadow: 0 24px 50px rgba(60,45,35,.12); }
.prod.is-match { border-color: var(--terra); box-shadow: 0 0 0 1px var(--terra), 0 24px 50px rgba(60,45,35,.12); }
.finder { background: radial-gradient(90% 120% at 100% 0%, rgba(94,95,99,.08), transparent 60%), var(--night-2); }
.finder__out strong { color: var(--text); }
.form { background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(60,45,35,.10); }
.form .btn, .done .btn, .quiz__share, .quiz__next { color: #F4F4F5; }
.step { background: #FFFFFF; }
.ladder__pct { color: var(--text); }
.perk--gift { border-color: rgba(94,95,99,.3); background: rgba(94,95,99,.05); }
.sheet__scrim { background: rgba(27,25,22,.45); }
.sheet__close { background: #FFFFFF; }
.sticky .btn { box-shadow: 0 12px 30px rgba(60,45,35,.22); }
.foot img { filter: none; opacity: .85; }
@media (max-width: 900px) { .step { background: none; } }

/* 7.11.2026 (second round): the ground is the lab section's porcelain grey, and every burgundy
   accent is mouse grey (--terra above). The badge pulse and the input focus follow. */
.hero__badge i { box-shadow: 0 0 0 0 rgba(124,125,130,.6); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124,125,130,.6); } 70% { box-shadow: 0 0 0 12px rgba(124,125,130,0); } 100% { box-shadow: 0 0 0 0 rgba(124,125,130,0); } }
.field input:focus, .field select:focus { box-shadow: 0 0 0 3px rgba(94,95,99,.15); }

/* realistic product photos (7.11.2026): scenes fill their frame instead of floating on grey */
.quiz__matchimg img, .quiz__ghost img, .prod__media img { object-fit: cover; }
.prod__media::after { display: none; }
