/* Layout concept: a pinned black stage where liquid gold tells the story; text sits on the right (RTL start),
   the gold on the left; on phones the gold fills the screen and copy sits in the empty top third.
   After the story the page flows as calm editorial sections on near-black, with gold used sparingly. */
:root {
  --ink: #07070a;          /* page ground, matches the footage's black */
  --ink-2: #0f0e12;        /* raised surfaces */
  --ink-3: #18161b;        /* cards, inputs */
  --line: rgba(214, 180, 106, .18);
  --ivory: #f3eee5;        /* primary text */
  --muted: #a7a095;        /* secondary text */
  --gold: #d6b46a;         /* brand gold, from the logo's midtone */
  --gold-hi: #f0d79a;
  --gold-lo: #9a7432;
  --gold-grad: linear-gradient(115deg, #a87d36 0%, #f3dc9f 42%, #c79a4c 62%, #8f6a2c 100%);

  --f-display: "Rubik", "Arial Hebrew", Arial, sans-serif;
  --f-body: "Rubik", "Arial Hebrew", Arial, sans-serif;
  --f-label: "IBM Plex Sans Hebrew", "Rubik", Arial, sans-serif;

  --step--1: clamp(.85rem, .82rem + .15vw, .95rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.35rem, 1.6rem + 3.6vw, 4.6rem);

  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: clip;
}
img, video, canvas { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  font-family: var(--f-label); font-weight: 500; font-size: var(--step--1); letter-spacing: .04em; color: var(--gold-hi);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before, .section__head .eyebrow::after { content: ""; width: 28px; height: 1px; flex: none; background: linear-gradient(to right, var(--gold), transparent); }
.section__head .eyebrow::after { background: linear-gradient(to left, var(--gold), transparent); }
.display { font-family: var(--f-display); font-weight: 900; font-size: var(--step-4); line-height: 1.08; letter-spacing: -.015em; }
.display--md { font-weight: 800; }
.display--md { font-size: var(--step-3); }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ivory); opacity: .9; font-weight: 300; max-width: 34ch; }
.h2 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; font-size: var(--step-3); line-height: 1.12; }
.sub { color: var(--muted); font-size: var(--step-1); font-weight: 300; max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px;
  font: 700 var(--step-0)/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.btn--gold { background: var(--gold-grad); color: #1a1206; box-shadow: 0 8px 30px -10px rgba(214, 180, 106, .55); }
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(214, 180, 106, .75); }
.btn--ghost { border-color: var(--line); color: var(--ivory); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--gold); }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: var(--step--1); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(7, 7, 10, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.top__brand img { width: 74px; height: auto; }
.top__nav { display: flex; gap: 28px; font-size: var(--step--1); margin-inline-start: auto; }
.top__nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.top__nav a:hover { color: var(--ivory); }
@media (max-width: 860px) { .top__nav { display: none; } }

/* ---------- scroll story ----------
   One composition at every width: the chapter copy sits centred in a fixed zone at the top,
   the gold plays in a fixed window below it. Nothing moves except the footage and the copy fades. */
.story { position: relative; height: var(--story-h, 560vh); --ink: #000; background: #000; } /* the footage is pure black: match it */
.story + * { box-shadow: 0 -80px 80px -40px #000; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --zone: 44svh; }
.stage__media { position: absolute; inset-inline: 0; bottom: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
/* phones: the gold fills the screen; a black fade sits behind the copy zone so text never lies on the motion */
.stage:not(.stage--wide) .stage__media::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; z-index: 1; pointer-events: none;
  height: calc(var(--zone) - var(--header-h) + 50px);
  background: linear-gradient(to bottom, #000 0, #000 calc(100% - 80px), rgba(0, 0, 0, 0) 100%);
}
.stage__poster, .stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center 40%; }
.stage__canvas { opacity: 0; transition: opacity .4s ease; }
.stage.has-frames .stage__canvas { opacity: 1; }
.stage.has-frames .stage__poster { visibility: hidden; }
.stage__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 18%), linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 14%),
    linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0) 12%), linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0) 12%);
}
.stage__copy { position: absolute; inset: 0; z-index: 2; pointer-events: none; } /* only the chapter on screen takes taps */
.stage__skip { z-index: 3; }
.beat {
  position: absolute; inset-inline: var(--gutter); top: calc(var(--header-h) + clamp(8px, 3vh, 40px) + env(safe-area-inset-top, 0px));
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  margin-inline: auto; max-width: 860px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 1.6vh, 20px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.beat > * { flex: none; }
.beat.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s ease, visibility 0s; }
/* lines rise in one after another when a chapter appears */
.beat .line { display: block; }
.beat .line, .beat .lead, .beat .pillars, .beat .facts { transform: translateY(14px); opacity: 0; transition: transform .6s cubic-bezier(.16, 1, .3, 1), opacity .4s ease; }
.beat.is-on .line, .beat.is-on .lead, .beat.is-on .pillars, .beat.is-on .facts { transform: none; opacity: 1; }
.beat.is-on .line:nth-child(2) { transition-delay: .05s; }
.beat.is-on .line:nth-child(3) { transition-delay: .1s; }
/* chapters 2–4: headlines only, bigger; each line rises out of a soft blur, one after another, and drifts up as
   the chapter leaves, so the words move with the scene instead of just switching */
.beat:not([data-beat="open"]) { max-width: 1120px; }
.beat:not([data-beat="open"]) .display--md { font-size: clamp(2.05rem, 1.25rem + 3.9vw, 4.3rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
/* app.js adds .in to one line at a time, in reading order (revealLines), so the order holds on slow phones too;
   will-change builds each line's layer up front instead of at the first frame of its animation */
.beat:not([data-beat="open"]) .line { transform: translateY(.55em) scale(.98); filter: blur(10px); will-change: transform, opacity, filter;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .5s ease, filter .7s ease; }
.beat:not([data-beat="open"]).is-on .line { opacity: 0; transform: translateY(.55em) scale(.98); filter: blur(10px); transition-delay: 0s; }
.beat:not([data-beat="open"]).is-on .line.in { opacity: 1; transform: none; filter: none; }
.beat:not([data-beat="open"]).is-past .line { transform: translateY(-.45em); filter: blur(8px); transition-duration: .45s; }
@media (prefers-reduced-motion: reduce) { .beat .line { filter: none !important; } }
/* "שיווק שעובד / לא מתחיל בכפתור / ״פרסם״": three short lines, a touch bigger, the last word biggest */
.beat[data-beat="focus"] .display--publish { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5rem); line-height: 1.04; text-wrap: nowrap; }
.beat[data-beat="focus"] .display--publish .publish { font-size: 1.32em; line-height: 1.05; margin-top: .06em; }
.beat.is-on .lead { transition-delay: .1s; }
.beat.is-on .pillars, .beat.is-on .facts { transition-delay: .15s; }
.beat .actions { margin-top: auto; justify-content: center; width: 100%; }
.beat .btn--ghost { background: #000; }
.beat .lead { max-width: 44ch; margin-inline: auto; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: var(--step--1); color: var(--gold-hi); background: rgba(214, 180, 106, .05); }
.facts { display: flex; justify-content: center; gap: clamp(18px, 4vw, 48px); margin: 0; }
.facts div { display: grid; gap: 4px; justify-items: center; }
.facts dt { font-weight: 900; font-size: var(--step-3); line-height: 1; color: var(--gold-hi); unicode-bidi: isolate; }
.facts dd { margin: 0; color: var(--muted); font-size: var(--step--1); max-width: 16ch; }
.stage__skip {
  position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline-start: 50%; transform: translateX(50%);
  border: 0; color: var(--muted); font: 500 var(--step--1) var(--f-body); cursor: pointer;
  background: rgba(0, 0, 0, .6); border-radius: 999px; padding: 8px 14px;
}
.stage__skip:hover { color: var(--ivory); }
.stage__progress { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .05); }
.stage__progress span { display: block; width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); background: var(--gold-grad); }
.display { font-size: clamp(2rem, 1.3rem + 3.4vw, 4.4rem); }
.display--md { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3.2rem); }
@media (max-width: 860px) {
  .beat[data-beat="open"] .actions .btn { flex: 1; }
  /* phones: the two hero buttons share one row, so the emblem above them stays whole */
  .beat[data-beat="open"] .actions { flex-wrap: nowrap; gap: 10px; }
  .beat[data-beat="open"] .actions .btn--gold { flex: 2.4; }
  .beat[data-beat="open"] .actions .btn { min-height: 50px; padding-inline: 12px; font-size: .95rem; white-space: nowrap; }
  .lead { font-size: var(--step-0); }
  .facts dt { font-size: var(--step-2); }
}

/* static fallback: reduced motion or no frames → chapters become ordinary sections */
.story.is-static { height: auto; }
.story.is-static .stage { position: relative; height: auto; display: block; }
.story.is-static .stage__media { position: relative; top: auto; height: 70vh; max-height: 720px; }
.story.is-static .stage__copy { position: static; height: auto; display: grid; gap: 72px; padding: 48px var(--gutter) 24px; }
.story.is-static .beat { position: static; opacity: 1; visibility: visible; transform: none; max-width: 760px; }
.story.is-static .beat .line, .story.is-static .beat .lead, .story.is-static .beat .pillars, .story.is-static .beat .facts { opacity: 1 !important; transform: none !important; filter: none !important; }
.story.is-static .beat .actions { margin-top: 0; }
.story.is-static .stage__skip, .story.is-static .stage__progress { display: none; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); text-align: center; justify-items: center; }
.section__head .sub { margin-inline: auto; }
.h2 .line { display: block; }

/* WhatsApp wall */
.proof { background: radial-gradient(80% 60% at 70% 0%, rgba(214, 180, 106, .07), transparent 70%); }


/* video testimonials */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.reel::-webkit-scrollbar { display: none; }
.clip { scroll-snap-align: start; }
.reel__nav { display: flex; gap: 10px; margin-top: 24px; }
.reel__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-2); color: var(--gold-hi); font-size: 1.2rem; cursor: pointer; }
.reel__btn:hover { border-color: var(--gold); }
@media (max-width: 1100px) { .reel { grid-auto-columns: calc((100% - 2 * 22px) / 3); } }
.clip { margin: 0; display: grid; gap: 14px; align-content: start; }
.clip__play, .clip video { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-3); }
.clip__play { padding: 0; cursor: pointer; display: block; }
.clip__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.clip__play:hover img { transform: scale(1.03); }
.clip__play::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  background: var(--gold-grad) ; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  -webkit-mask: radial-gradient(circle, #000 70%, transparent 71%); mask: radial-gradient(circle, #000 70%, transparent 71%);
}
.clip__play::before {
  content: ""; position: absolute; z-index: 1; inset: 0; margin: auto; width: 0; height: 0;
  border-block: 11px solid transparent; border-inline-end: 18px solid #1a1206; transform: translateX(-3px);
}
.clip video { object-fit: cover; }
.clip figcaption { font-size: var(--step-0); line-height: 1.55; }
.clip figcaption span { display: block; margin-top: 6px; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) {
  .reel { grid-auto-columns: 74%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .clip { scroll-snap-align: center; }
}

/* campaigner vs strategist */
.versus { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: stretch; }
.versus__col { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.versus__col h3 { font-family: var(--f-display); font-weight: 800; font-size: var(--step-2); }
.versus__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.versus__col li { position: relative; padding-inline-start: 30px; }
.versus__col--them { border: 1px solid rgba(255, 255, 255, .07); color: var(--muted); }
.versus__col--them li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: #6f675c; }
.versus__col--us { background: linear-gradient(160deg, rgba(214, 180, 106, .12), rgba(214, 180, 106, .02) 60%), var(--ink-2); border: 1px solid var(--line); }
.versus__col--us h3 { color: var(--gold-hi); }
.versus__col--us li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 760px) { .versus { grid-template-columns: none; } }

/* the call: 3 real steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px clamp(18px, 2.4vw, 36px) 8px; display: grid; gap: 10px; align-content: start; }
.step + .step { border-inline-start: 1px solid var(--line); }
.step__n { font-family: var(--f-display); font-weight: 900; font-size: var(--step-4); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.step h3 { font-size: var(--step-1); font-weight: 700; }
.step p { color: var(--muted); }
@media (max-width: 760px) {
  .steps { grid-template-columns: none; }
  .step + .step { border-inline-start: 0; border-top: 1px solid var(--line); }
  .step { grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; padding-inline: 0; }
  .step__n { grid-row: span 2; font-size: var(--step-3); }
}

/* about */
.about { background: var(--ink-2); }
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: radial-gradient(70% 60% at 50% 40%, rgba(214, 180, 106, .16), transparent 70%), var(--ink); border: 1px solid var(--line); max-width: 100%; }
.about__photo > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.about__mark { position: absolute; width: 56%; inset: 0; margin: auto; height: auto; display: none; }
.about__photo.is-empty .about__mark { display: block; }
.about__text { display: grid; gap: 18px; max-width: 58ch; }
.about__text p { color: var(--ivory); opacity: .88; font-weight: 300; font-size: var(--step-1); }
@media (max-width: 760px) { .about__grid { grid-template-columns: none; } .about__photo { max-width: 420px; } }

/* fit */
.fit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fit__list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 24px; padding-inline-start: 58px; position: relative; font-size: var(--step-1); font-weight: 300; line-height: 1.5; }
.fit__list li::before { content: "✓"; position: absolute; inset-inline-start: 22px; top: 20px; color: var(--gold); font-weight: 700; font-size: 1.2em; }
@media (max-width: 760px) { .fit__list { grid-template-columns: none; } }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-size: var(--step-1); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4em; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* lead form */
.signup { background: radial-gradient(60% 70% at 20% 30%, rgba(214, 180, 106, .10), transparent 70%), var(--ink); border-top: 1px solid var(--line); }
.signup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.signup__pitch { display: grid; gap: 18px; }
.signup__alt { color: var(--muted); }
.signup__alt a { color: var(--gold-hi); }
.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--step--1); color: var(--muted); }
.field input {
  min-height: 54px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: var(--ink-3);
  color: var(--ivory); font: 400 var(--step-0) var(--f-body); padding: 0 16px; transition: border-color .2s;
}
.field input::placeholder { color: #6e685f; }
.field input:focus { border-color: var(--gold); outline: none; }
.field input[aria-invalid="true"] { border-color: #e0806a; }
.field input[dir="ltr"] { text-align: right; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { min-height: 1.4em; font-size: var(--step--1); }
.form__msg.is-error { color: #f0a08c; }
.form__msg.is-ok { color: var(--gold-hi); }
@media (max-width: 860px) { .signup__grid { grid-template-columns: none; } }

/* footer */
.foot { padding-block: 56px calc(110px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.foot__grid { display: grid; gap: 14px; justify-items: start; }
.foot__grid img { width: 96px; height: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__small { opacity: .6; }
@media (min-width: 861px) { .foot { padding-bottom: 56px; } }

/* mobile dock */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  display: none; gap: 10px; align-items: center;
  background: rgba(7, 7, 10, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s ease;
}
.dock .btn { flex: 1; min-height: 48px; }
.dock__wa { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-hi); }
.dock.is-on { transform: none; }
@media (max-width: 860px) { .dock { display: flex; } }

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

/* photos */
.call .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); align-items: center; }
.call .section__head { grid-column: 1 / -1; }
.call__photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; max-width: 100%; grid-column: 2; grid-row: 2; }
.call__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.call .steps { grid-column: 1; grid-row: 2; grid-template-columns: none; }
.call .step + .step { border-inline-start: 0; border-top: 1px solid var(--line); }
.call .step { grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; padding-inline: 0; }
.call .step__n { grid-row: span 2; font-size: var(--step-3); }
@media (max-width: 760px) { .call .wrap { grid-template-columns: none; } .call__photo, .call .steps { grid-column: 1; grid-row: auto; } .call__photo { max-height: 70vh; } }
.about__photo > img:first-child { filter: saturate(.85) contrast(1.05); }
.signup__me { display: flex; align-items: center; gap: 14px; }
.signup__me img { width: 68px; height: 68px; border-radius: 50%; border: 1px solid var(--gold); object-fit: cover; }
.signup__me p { color: var(--ivory); font-weight: 500; }

/* ---------- results: account explorer ---------- */
.results { border-top: 1px solid var(--line); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 clamp(36px, 5vw, 56px); border-block: 1px solid var(--line); }
.kpis div { padding: 28px clamp(12px, 2vw, 28px); display: grid; gap: 6px; }
.kpis div + div { border-inline-start: 1px solid var(--line); }
.kpis dt { font-weight: 900; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.kpis dd { margin: 0; color: var(--muted); }
.acct { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 20px; align-items: start; }
.acct__tabs { display: grid; gap: 8px; }
.acct__tab {
  display: grid; gap: 2px; text-align: start; cursor: pointer; padding: 16px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; color: var(--ivory); font: 700 var(--step-0)/1.3 var(--f-body);
  transition: background-color .2s, border-color .2s;
}
.acct__tab span { font-weight: 400; font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.acct__tab:hover { border-color: rgba(214, 180, 106, .45); }
.acct__tab[aria-selected="true"] { background: linear-gradient(160deg, rgba(214, 180, 106, .16), rgba(214, 180, 106, .04)); border-color: var(--gold); }
.acct__tab[aria-selected="true"] span { color: var(--gold-hi); }
.acct__panel { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--ink-2); padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.acct__period { color: var(--muted); font-size: var(--step--1); }
.acct__shot { margin: 0; display: grid; gap: 8px; }
/* estimated revenue: the first thing you read in each account */
.rev { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; text-align: center; padding: 18px 16px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(214, 180, 106, .14), rgba(214, 180, 106, .04)); border: 1px solid rgba(214, 180, 106, .35); }
.rev__v { font-weight: 900; font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; unicode-bidi: isolate; white-space: nowrap; }
.rev__k { display: grid; gap: 4px; font-weight: 700; font-size: var(--step-0); color: var(--ivory); }
.rev__k small { font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.acct__shot > img { width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); }
.acct__shot figcaption { font-size: var(--step--1); color: var(--muted); }
.key { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; overflow: hidden; }
.key__m { display: grid; gap: 6px; align-content: center; padding: 18px 18px; }
.key__m + .key__m { border-inline-start: 1px solid rgba(255, 255, 255, .06); }
.key__m--lead { background: rgba(214, 180, 106, .07); }
.key__m--lead .metric__v { font-size: var(--step-3); font-weight: 900; color: var(--gold-hi); line-height: 1; }
.metric__v { font-weight: 800; font-size: clamp(1.05rem, .95rem + .5vw, 1.4rem); font-variant-numeric: tabular-nums; unicode-bidi: isolate; white-space: nowrap; }
.metric__k { font-size: var(--step--1); color: var(--muted); }
.acct__more { justify-self: start; }
.full { display: grid; gap: 16px; }
.full__h { font-weight: 800; font-size: var(--step-2); }
.full__row { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: grid; gap: 12px; }
.full__row h4 { margin: 0; font-size: var(--step-1); color: var(--gold-hi); font-weight: 800; }
.full__row dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; }
.full__row dt { font-size: var(--step--1); color: var(--muted); }
.full__row dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
@media (max-width: 860px) {
  .acct { grid-template-columns: none; }
  .acct__tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .acct__tab { padding: 12px 16px; }
  .key { grid-template-columns: 1fr 1fr; }
  .key__m--lead { grid-column: 1 / -1; }
  .key__m + .key__m { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
  .key__m:last-child { border-inline-start: 1px solid rgba(255, 255, 255, .06); }
}
@media (max-width: 760px) {
  .kpis { grid-template-columns: none; }
  .kpis div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .kpis div { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 16px; padding-inline: 0; }
  .kpis dt { font-size: var(--step-3); }
}

/* Ads Manager replica inside the lightbox (Meta's own light UI, so it reads as the real source) */
.ads { background: #fff; color: #1c2b33; border-radius: 10px; overflow: hidden; font: 14px/1.4 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; text-align: left; }
.ads__bar { display: flex; justify-content: flex-end; padding: 12px; border-bottom: 1px solid #dde1e5; }
.ads__date { border: 1px solid #cbd2d9; border-radius: 6px; padding: 6px 12px; font-weight: 600; font-size: 13px; }
.ads__scroll { overflow-x: auto; }
.ads table { border-collapse: collapse; width: 100%; min-width: 620px; font-variant-numeric: tabular-nums; }
.ads th { text-align: left; font-weight: 700; padding: 10px 14px; border-bottom: 1px solid #dde1e5; border-inline-end: 1px solid #eef0f2; white-space: nowrap; }
.ads td { padding: 12px 14px; border-bottom: 1px solid #eef0f2; border-inline-end: 1px solid #eef0f2; text-align: right; vertical-align: top; white-space: nowrap; }
.ads td small { display: block; color: #65676b; font-size: 12px; }
.ads tbody tr:last-child td { border-bottom: 0; }
.ads__note { margin-top: 12px; color: var(--muted); font-size: var(--step--1); }

/* ---------- WhatsApp wall: equal cards in a row ---------- */
.wall { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.wall::-webkit-scrollbar { display: none; }
.chat { margin: 0; scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chat__open { display: block; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 3 / 4; background: #efeae2; width: 100%; }
.chat__open img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.chat__open.is-tall img { object-fit: cover; object-position: top center; }
.chat figcaption { padding: 14px 16px 16px; font-weight: 700; font-size: var(--step-0); color: var(--gold-hi); line-height: 1.35; }
@media (max-width: 1100px) { .wall { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 760px) { .wall { grid-auto-columns: 78%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }

/* ---------- platform check (quiz) ---------- */
.quiz { background: radial-gradient(70% 50% at 50% 0%, rgba(214, 180, 106, .08), transparent 70%); }
.quiz__box { border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--ink-2); padding: clamp(20px, 4vw, 40px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.quiz__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-bottom: 14px; }
.quiz__bar span { display: block; height: 100%; background: var(--gold-grad); transition: width .4s cubic-bezier(.16, 1, .3, 1); }
.quiz__meta { font-family: var(--f-label); font-size: var(--step--1); letter-spacing: .04em; color: var(--gold-hi); margin-bottom: 8px; }
.quiz__q { border: 0; padding: 0; margin: 0; min-width: 0; min-inline-size: 0; }
.quiz__legend { font-weight: 800; font-size: var(--step-1); line-height: 1.3; margin-bottom: 18px; padding: 0; }
.quiz__legend:focus { outline: none; }
.quiz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quiz__text { display: flex; gap: 10px; }
.quiz__text input, .quiz__fields input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: var(--ink-3); color: var(--ivory); font: 500 var(--step-0) var(--f-body); }
.quiz__text input:focus, .quiz__fields input:focus { border-color: var(--gold); outline: none; }
.quiz__go { flex: none; min-height: 52px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--gold-grad); color: #1a1206; font: 800 var(--step-0) var(--f-body); cursor: pointer; }
.quiz__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quiz__chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(214, 180, 106, .05); color: var(--gold-hi); font: 500 var(--step--1) var(--f-body); cursor: pointer; }
.quiz__chip:hover { border-color: var(--gold); }
.quiz__cap { display: grid; gap: 10px; margin-top: 10px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(214, 180, 106, .05); }
.quiz__cap .quiz__h4 { margin-top: 0; }
.quiz__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .quiz__fields { grid-template-columns: 1fr; } }
.quiz__opt { text-align: center; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: var(--ink-3); color: var(--ivory); font: 500 var(--step-0)/1.4 var(--f-body); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.quiz__opt:hover { border-color: var(--gold); background: rgba(214, 180, 106, .08); transform: translateY(-1px); }
.quiz__opt.is-picked { border-color: var(--gold); background: rgba(214, 180, 106, .12); }
.quiz__back { margin-top: 18px; background: none; border: 0; padding: 6px 0; color: var(--muted); font: 500 var(--step--1) var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quiz__back:hover { color: var(--gold-hi); }
.quiz__result { display: grid; gap: 12px; animation: quizIn .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes quizIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quiz__title { font-weight: 900; font-size: var(--step-3); line-height: 1.1; }
.quiz__title:focus { outline: none; }
.quiz__lead { color: var(--ivory); opacity: .9; }
.quiz__split { display: grid; gap: 10px; margin-block: 4px 6px; }
.quiz__row { display: grid; grid-template-columns: 64px 1fr 48px; align-items: center; gap: 12px; }
.quiz__pname { font-weight: 700; }
.quiz__track { height: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.quiz__track span { display: block; height: 100%; border-radius: 12px; background: var(--gold-grad); animation: quizBar 1s cubic-bezier(.16, 1, .3, 1) .2s both; transform-origin: right; }
@keyframes quizBar { from { transform: scaleX(0); } to { transform: none; } }
.quiz__pct { font-weight: 800; color: var(--gold-hi); text-align: end; font-variant-numeric: tabular-nums; }
.quiz__h4 { font-weight: 800; color: var(--gold-hi); margin-top: 6px; }
.quiz__why { display: grid; gap: 6px; padding-inline-start: 1.2em; margin: 0; }
.quiz__why li { color: var(--ivory); opacity: .9; }
.quiz__first { color: var(--ivory); }
.quiz__note { font-size: var(--step--1); color: var(--muted); }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 8px; }
.quiz__actions .quiz__back { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .quiz__result, .quiz__track span { animation: none; } }

/* ---------- 3D tilt (desktop, set by app.js) ---------- */
.tilt { transition: transform .5s cubic-bezier(.16, 1, .3, 1); transform-style: preserve-3d; position: relative; }
.tilt:hover { transition-duration: .12s; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(40% 50% at var(--gx, 50%) var(--gy, 0%), rgba(243, 220, 159, .10), transparent 70%); }
.tilt:hover::after { opacity: 1; }

/* ---------- lightbox ---------- */
.box { width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); color: var(--ivory); overflow: auto; }
.box::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(4px); }
.box__body { padding: clamp(18px, 3vw, 32px); padding-top: 56px; }
.box__body > img { display: block; width: 100%; height: auto; margin-inline: auto; border-radius: 10px; }
/* larger screens: a whole message fits on screen and is never blown up past its sharpness */
@media (min-width: 761px) { .box__body > img { width: auto; max-width: 100%; max-height: calc(100vh - 120px); } }
.box__close { position: sticky; float: left; top: 12px; margin: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); color: var(--ivory); font-size: 16px; cursor: pointer; z-index: 2; }

/* ---------- story: readable copy on phones ---------- */

/* the replica keeps Ads Manager's desktop proportions and scales down like a screenshot */
.acct__shot .ads { width: 760px; }
.acct__shot .ads table { min-width: 0; }
.acct__shot__fit { overflow: hidden; border-radius: 10px; }
.acct__panel > *, .acct__panels { min-width: 0; }
.acct__shot { overflow: hidden; }

/* ---------- life: reveal on scroll (classes added by JS only) ---------- */
.rv { opacity: 0; transform: perspective(1000px) translateY(36px) rotateX(14deg) scale(.97); transform-origin: 50% 100%; transition: opacity .8s ease var(--d, 0s), transform 1.1s cubic-bezier(.16, 1, .3, 1) var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.step.rv .step__n { transform: scale(.6); opacity: 0; transition: transform 1s cubic-bezier(.34, 1.4, .64, 1) calc(var(--d, 0s) + .1s), opacity .6s ease calc(var(--d, 0s) + .1s); }
.step.rv.in .step__n { transform: none; opacity: 1; }
.versus__col--us li.rv::before { transform: scale(0); display: inline-block; transition: transform .5s cubic-bezier(.34, 1.6, .64, 1) calc(var(--d, 0s) + .25s); }
.versus__col--us li.rv.in::before { transform: none; }
/* gold headline lines catch the light once when they arrive */
.h2 .gold, .display .gold { background-size: 220% 100%; background-position: 100% 0; }
.rv.in .gold, .beat.is-on .gold { animation: sheen 1.8s ease .3s 1 both; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.gold { background-image: linear-gradient(115deg, #a87d36 0%, #f3dc9f 30%, #c79a4c 48%, #fff1c9 56%, #c79a4c 64%, #8f6a2c 100%); }

/* the call: big centred numbers, like a timeline */
.step__n { font-weight: 900; -webkit-text-stroke: 0; color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; text-shadow: none; filter: drop-shadow(0 6px 24px rgba(214, 180, 106, .25)); }
.kpis__hero dt { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); }
.kpis div { justify-items: center; text-align: center; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
/* the opening headline is long: a touch smaller, and wide enough that each sentence keeps to one line on desktop */
.beat[data-beat="open"] { max-width: 1180px; }
.beat[data-beat="open"] .display { font-size: clamp(1.75rem, 1.1rem + 3vw, 3.9rem); line-height: 1.12; }
.beat[data-beat="open"] .display .line { text-wrap: balance; }

/* method pillars: an editorial line with gold diamonds instead of pill chips */
.pillars { display: grid; gap: 10px; justify-items: center; }
.pillars__row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; }
.pillars__row li { font-weight: 600; font-size: var(--step-0); color: var(--ivory); letter-spacing: .01em; display: flex; align-items: center; }
.pillars__row li + li::before { content: ""; width: 6px; height: 6px; margin-inline: 14px; transform: rotate(45deg); background: var(--gold-grad); flex: none; }
.pillars__row--ch { padding-top: 10px; border-top: 1px solid var(--line); direction: ltr; }
.pillars__row--ch li { font-size: var(--step--1); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
/* about: Amir's own story */
.about__text p { font-size: var(--step-0); }
.about__quote { margin: 6px 0; padding-inline-start: 18px; border-inline-start: 2px solid var(--gold); display: grid; gap: 6px; }
.about__quote p { margin: 0; font-weight: 700; font-size: var(--step-1); opacity: 1; line-height: 1.4; }
.about__sign strong { color: var(--gold-hi); font-weight: 700; }

/* desktop: the wide footage fills the whole stage; a fixed black fade keeps the copy zone clean */
.stage--wide .stage__media { top: 0; }
.stage--wide .stage__poster { object-fit: cover; object-position: center bottom; }
.stage--wide .stage__media::after { background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 10%), linear-gradient(to right, #000 0, rgba(0, 0, 0, 0) max(0px, calc((100% - 177.78vh) / 2 + 8%))), linear-gradient(to left, #000 0, rgba(0, 0, 0, 0) max(0px, calc((100% - 177.78vh) / 2 + 8%))); }
/* the black behind the copy follows the copy that is on screen, so a short chapter never hides the gold below it */
.stage--wide .stage__media::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; z-index: 1; pointer-events: none;
  height: calc(var(--fade, 45vh) + 90px);
  background: linear-gradient(to bottom, #000 0, #000 calc(100% - 90px), rgba(0, 0, 0, 0) 100%);
  transition: height .9s cubic-bezier(.65, 0, .35, 1);
}

/* ---------- scene mode: the vector story (app.js STORY_MODE = 'scene') ---------- */
.scene { display: none; }
.stage--scene .stage__poster, .stage--scene .stage__canvas, .stage--scene .stage__media::before, .stage--scene .stage__media::after { display: none; }
.stage--scene .stage__media { background: radial-gradient(55% 40% at 50% 72%, rgba(214, 180, 106, .11), transparent 72%); }
.stage--scene .scene { perspective: 900px; perspective-origin: 50% 40%; display: block; position: absolute; inset-inline: 8px; top: calc(var(--zone) - var(--header-h) - env(safe-area-inset-top, 0px) - 6px); bottom: calc(46px + env(safe-area-inset-bottom, 0px)); }
/* a faint gold grid laid out like a floor in perspective, fading out at the edges */
.stage--scene .scene::before {
  content: ""; position: absolute; inset: 20% -30% -20%; pointer-events: none; transform: rotateX(62deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(214, 180, 106, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 180, 106, .07) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 55%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 55% at 50% 55%, #000 0%, transparent 75%);
}
/* the scene box keeps the SVG's 400×276 frame; --u is one SVG unit in px (set by app.js) */
.scene__box { position: absolute; left: 50%; top: 50%; width: calc(400 * var(--u, 1px)); height: calc(276 * var(--u, 1px)); transform: translate(-50%, -50%);
  transform-style: preserve-3d; perspective: calc(1000 * var(--u, 1px)); perspective-origin: 50% 35%; }
.scene__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; direction: ltr; transform-origin: 50% 60%; will-change: transform; }
/* 3D phone */
.p3d { position: absolute; left: calc(137 * var(--u, 1px)); top: calc(10 * var(--u, 1px)); width: calc(126 * var(--u, 1px)); height: calc(252 * var(--u, 1px));
  transform-style: preserve-3d; will-change: transform; }
.p3d__face { position: absolute; inset: 0; border-radius: calc(26 * var(--u, 1px)); -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden;
  border: 2px solid #d6b46a; box-shadow: 0 0 calc(22 * var(--u, 1px)) rgba(214, 180, 106, .35), inset 0 0 0 1px rgba(0, 0, 0, .6); }
.p3d__front { background: #050506; }
.p3d__svg { display: block; width: 100%; height: 100%; direction: ltr; }
.p3d__back { transform: rotateY(180deg); display: grid; place-items: center;
  background: radial-gradient(80% 60% at 30% 20%, rgba(243, 220, 159, .16), transparent 60%), linear-gradient(150deg, #24211c, #0d0c0f 55%, #1d1a15); }
.p3d__back img { width: 46%; height: auto; opacity: .95; }
.p3d__cam { position: absolute; top: 5%; left: 8%; width: 36%; height: 17%; border-radius: 26%; background: linear-gradient(145deg, #1a181c, #08080a);
  box-shadow: inset 0 0 0 1px rgba(214, 180, 106, .35); }
.p3d__cam::before, .p3d__cam::after { content: ""; position: absolute; width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b3a44, #050506 60%); box-shadow: 0 0 0 2px #222; }
.p3d__cam::before { top: 9%; left: 9%; } .p3d__cam::after { bottom: 9%; left: 9%; }
/* 3D laptop: an origin point on the hinge; the deck lies flat toward the viewer, the lid stands on the hinge.
   Sizes in SVG units: lid 220×140, deck 236×150, 6 thick. */
.l3d { position: absolute; left: calc(146 * var(--u, 1px)); top: calc(152 * var(--u, 1px)); width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.l3d > div { position: absolute; transform-style: preserve-3d; }
.l3d__deck { left: calc(-118 * var(--u, 1px)); top: 0; width: calc(236 * var(--u, 1px)); height: calc(150 * var(--u, 1px)); transform-origin: 50% 0; transform: rotateX(90deg);
  border-radius: 0 0 calc(12 * var(--u, 1px)) calc(12 * var(--u, 1px)); background: linear-gradient(180deg, #2b2730, #17151a 70%); box-shadow: inset 0 0 0 1px rgba(214, 180, 106, .45); }
.l3d__keys { position: absolute; left: 9%; right: 9%; top: 9%; height: 48%; border-radius: 3px;
  background: repeating-linear-gradient(90deg, #0b0a0d 0 6.6%, transparent 6.6% 7.6%), repeating-linear-gradient(180deg, #0b0a0d 0 16%, transparent 16% 20%); }
.l3d__pad { position: absolute; left: 34%; right: 34%; top: 64%; height: 26%; border-radius: 4px; background: #222026; box-shadow: inset 0 0 0 1px rgba(214, 180, 106, .3); }
.l3d__lip { left: calc(-118 * var(--u, 1px)); top: 0; width: calc(236 * var(--u, 1px)); height: calc(6 * var(--u, 1px)); transform: translateZ(calc(150 * var(--u, 1px)));
  border-radius: 0 0 calc(4 * var(--u, 1px)) calc(4 * var(--u, 1px)); background: linear-gradient(180deg, #d6b46a, #6f5426); }
.l3d__side { top: 0; width: calc(150 * var(--u, 1px)); height: calc(6 * var(--u, 1px)); transform-origin: 0 0; transform: rotateY(-90deg); background: linear-gradient(180deg, #b8924a, #4d3a1a); }
.l3d__side--a { left: calc(-118 * var(--u, 1px)); }
.l3d__side--b { left: calc(118 * var(--u, 1px)); }
.l3d__shadow { left: calc(-140 * var(--u, 1px)); top: calc(6 * var(--u, 1px)); width: calc(280 * var(--u, 1px)); height: calc(180 * var(--u, 1px)); transform-origin: 50% 0; transform: rotateX(90deg);
  background: radial-gradient(50% 50% at 50% 45%, rgba(0, 0, 0, .75), transparent 70%); filter: blur(calc(8 * var(--u, 1px))); }
.l3d__lid { left: calc(-110 * var(--u, 1px)); top: calc(-140 * var(--u, 1px)); width: calc(220 * var(--u, 1px)); height: calc(140 * var(--u, 1px)); transform-origin: 50% 100%; }
.l3d__face { position: absolute; inset: 0; border-radius: calc(9 * var(--u, 1px)); -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.l3d__front { background: #0b0a0d; border: calc(4 * var(--u, 1px)) solid #121014; box-shadow: 0 0 0 1.5px #d6b46a, 0 0 calc(24 * var(--u, 1px)) rgba(214, 180, 106, .3); }
.l3d__svg { display: block; width: 100%; height: 100%; direction: ltr; }
.l3d__back { transform: translateZ(calc(-5 * var(--u, 1px))) rotateY(180deg); display: grid; place-items: center; box-shadow: 0 0 0 1.5px #b8924a;
  background: radial-gradient(70% 70% at 30% 20%, rgba(243, 220, 159, .2), transparent 60%), linear-gradient(160deg, #2c2822, #0f0e11 55%, #221d16); }
.l3d__back img { width: 24%; height: auto; }
.l3d__rim { position: absolute; left: 0; top: 0; width: 100%; height: calc(5 * var(--u, 1px)); transform-origin: 50% 0; transform: rotateX(-90deg); background: linear-gradient(90deg, #6f5426, #d6b46a, #6f5426); }
/* a soft gold glow on the floor under the 3D scene */
.stage--scene .scene::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 18%; pointer-events: none; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(214, 180, 106, .18), transparent 70%); filter: blur(6px); }
.scene text { font-family: var(--f-body); letter-spacing: 0; word-spacing: 0; }
.scene [data-s="toast"] rect { fill: rgba(22, 19, 24, .94); stroke: rgba(224, 65, 47, .45); stroke-width: 1; }
.scene [data-s="toast"] text { fill: #f3eee5; font-size: 10.5px; font-weight: 600; }
.scene .sc-ig { fill: #111; font: italic 700 14px "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive; }
.scene .sc-dk { fill: #111; font-size: 8px; font-weight: 600; }
.scene .sc-gr { fill: #737373; font-size: 7px; }
.scene .sc-wh { fill: #fff; font-size: 8px; }
.scene .sc-b { font-weight: 700; }
.scene .sc-glogo { font: 700 20px "Product Sans", Arial, sans-serif; }
.scene .sc-gl { fill: #1a0dab; font-size: 8.5px; font-weight: 600; }
.scene .sc-st { fill: #8a8a8a; font-size: 7.5px; font-weight: 700; font-family: Arial, sans-serif; }
.scene .sc-glass { fill: rgba(18, 16, 22, .9); stroke: rgba(214, 180, 106, .35); stroke-width: 1; }
.scene .sc-k { fill: #c9c2b6; font-size: 10.5px; font-weight: 600; }
.scene .sc-card { fill: #141217; stroke: rgba(214, 180, 106, .28); stroke-width: 1.2; transition: stroke .35s ease; }
.scene [data-s="step"] > text { fill: #f3eee5; font-size: 12px; font-weight: 600; text-anchor: middle; }
.scene [data-s="step"] .sc-v2 { fill: #f0d79a; font-size: 9px; font-weight: 700; }
.scene [data-s="step"].is-lit .sc-card { stroke: #f3dc9f; filter: url(#sg-glow); }
.scene .sc-am { fill: #1c1e21; font: 600 8px Arial, sans-serif; }
.scene .sc-amk { fill: #65676b; font-size: 7.5px; font-family: var(--f-body); }
.scene .sc-amv { fill: #1c1e21; font: 800 17px Arial, sans-serif; }
.scene .sc-amb { fill: #1c1e21; font: 700 7.5px Arial, sans-serif; }
.scene .sc-note { fill: rgba(28, 28, 30, .94); stroke: rgba(255, 255, 255, .08); stroke-width: 1; filter: url(#sg-shadow); }
.scene .sc-nt { fill: #a1a1a6; font-size: 7.5px; }
.scene .sc-nm { fill: #fff; font-size: 11px; font-weight: 700; }
.story.is-static .scene { position: relative; height: 60vh; }

/* story CTAs sit on top of the gold: dark glass with a gold rim instead of gold-on-gold */
.beat .btn--gold {
  background: rgba(0, 0, 0, .72); color: var(--gold-hi);
  border: 1px solid rgba(240, 215, 154, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .35), 0 14px 40px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 241, 201, .18);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}
.beat .btn--gold::after { content: "←"; font-weight: 400; transition: transform .25s ease; }
.beat .btn--gold:hover { background: var(--gold-grad); color: #1a1206; text-shadow: none; transform: translateY(-1px); }
.beat .btn--gold:hover::after { transform: translateX(-4px); }
.stage__skip { border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(0, 0, 0, .7); color: var(--ivory); }

/* ---------- accessibility helpers ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.foot__small { color: var(--muted); opacity: 1; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__legal a { color: var(--muted); }
.foot__legal a:hover { color: var(--gold-hi); }

/* form: privacy approval */
.check a { color: var(--gold-hi); font-weight: 700; }

/* ---------- legal pages ---------- */
.legal-page { background: var(--ink); }
.legal-top { padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.legal-top img { width: 74px; height: auto; }
.legal { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 80px; line-height: 1.8; }
.legal h1 { font-weight: 900; font-size: var(--step-3); margin-bottom: 6px; }
.legal h2 { font-weight: 800; font-size: var(--step-1); margin: 34px 0 10px; color: var(--gold-hi); }
.legal h3 { font-weight: 700; font-size: var(--step-0); margin: 18px 0 6px; }
.legal--box { max-width: none; padding: 0 0 8px; }
.legal p, .legal li { color: var(--ivory); opacity: .92; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-inline-start: 20px; display: grid; gap: 6px; }
.legal a { color: var(--gold-hi); }
.legal__meta { color: var(--muted) !important; font-size: var(--step--1); }
.legal__back { margin-top: 40px; }
.legal .todo { background: rgba(214, 180, 106, .15); color: var(--gold-hi); padding: 1px 6px; border-radius: 4px; }
.legal-foot { border-top: 1px solid var(--line); padding: 24px var(--gutter) 40px; color: var(--muted); font-size: var(--step--1); display: grid; gap: 10px; justify-items: center; text-align: center; }
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.legal-foot a { color: var(--muted); }
.legal-foot a[aria-current] { color: var(--gold-hi); }

/* ---------- accessibility toolbar (a11y.js) ---------- */
.a11y { position: fixed; z-index: 90; inset-inline-end: 16px; bottom: 24px; font-family: Arial, "Arial Hebrew", sans-serif; font-size: 15px; line-height: 1.35; letter-spacing: normal; word-spacing: normal; }
.a11y__fab {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #1d4fd8; color: #fff; border: 2px solid #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}
.a11y__fab svg { width: 28px; height: 28px; fill: currentColor; }
.a11y__fab.is-set::after { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 12px; height: 12px; border-radius: 50%; background: #ffd400; border: 2px solid #000; }
.a11y__fab:focus-visible, .a11y button:focus-visible, .a11y a:focus-visible { outline: 3px solid #ffd400; outline-offset: 3px; }
.a11y__panel {
  position: absolute; bottom: 60px; inset-inline-end: 0; width: min(340px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 170px)); overflow: auto;
  background: #fff; color: #111; border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); padding: 14px; text-align: start;
}
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.a11y__title { font: 700 18px/1.2 Arial, "Arial Hebrew", sans-serif; color: #111; margin: 0; }
.a11y__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #bbb; background: #fff; color: #111; font-size: 16px; cursor: pointer; }
.a11y__size { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #ddd; border-radius: 10px; margin-bottom: 10px; }
.a11y__label { flex: 1; font-weight: 700; }
.a11y__size button { min-width: 44px; height: 40px; border-radius: 8px; border: 1px solid #1d4fd8; background: #fff; color: #1d4fd8; font-weight: 700; font-size: 15px; cursor: pointer; }
.a11y__size button:disabled { opacity: .4; cursor: default; }
.a11y__val { min-width: 48px; text-align: center; font-weight: 700; }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__opt {
  display: grid; justify-items: center; gap: 4px; padding: 10px 6px; min-height: 68px; border-radius: 10px; cursor: pointer;
  border: 2px solid #ddd; background: #f5f6f8; color: #111; font: 600 14px/1.25 Arial, "Arial Hebrew", sans-serif;
}
.a11y__opt svg { width: 24px; height: 24px; fill: currentColor; }
.a11y__opt[aria-pressed="true"] { background: #1d4fd8; border-color: #1d4fd8; color: #fff; }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.a11y__reset { padding: 9px 14px; border-radius: 8px; border: 1px solid #111; background: #111; color: #fff; font: 700 14px Arial, sans-serif; cursor: pointer; }
.a11y__foot a { color: #1d4fd8; text-decoration: underline; font-weight: 700; }
/* phones: in the header row, between the logo and the call button, clear of the hero buttons and the dock */
@media (max-width: 860px) {
  .a11y { bottom: auto; top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-end: auto; left: 50%; transform: translateX(-50%); }
  .a11y__fab { width: 44px; height: 44px; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
  .a11y__fab svg { width: 26px; height: 26px; }
  .a11y__panel { bottom: auto; top: 54px; inset-inline-end: auto; left: 50%; transform: translateX(-50%); max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); }
}

/* the settings; the toolbar itself keeps its own look */
/* bigger text: long headlines and button rows wrap instead of running off a phone screen */
html.a11y-big .beat, .story.is-static .beat { min-width: 0; max-width: 100%; }
html.a11y-big .beat .actions { flex-wrap: wrap !important; }
html.a11y-big .btn { white-space: normal; text-align: center; line-height: 1.2; }
html.a11y-big .display--publish { text-wrap: wrap !important; }
html.a11y-contrast {
  --ink: #000; --ink-2: #000; --ink-3: #000; --ivory: #fff; --muted: #fff; --line: rgba(255, 255, 255, .7);
  --gold: #ffd400; --gold-hi: #ffd400; --gold-lo: #ffd400; --gold-grad: linear-gradient(#ffd400, #ffd400);
}
html.a11y-contrast body { background: #000; }
html.a11y-contrast :not(.a11y *) { text-shadow: none !important; }
html.a11y-contrast a:not(.a11y *):not(.btn) { color: #ffd400; }
/* the page ground is painted on <html>/<body>, so the inversion goes on the root; photos, video and the toolbar flip back */
html.a11y-invert { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert :is(img, video, .p3d, .l3d, .a11y) { filter: invert(1) hue-rotate(180deg); }
html.a11y-gray body > *:not(.a11y) { filter: grayscale(1); }
html.a11y-links a:not(.a11y *), html.a11y-links button:not(.a11y *) { outline: 2px solid #ffd400 !important; outline-offset: 2px; }
html.a11y-links a:not(.a11y *) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-font { --f-display: Arial, "Arial Hebrew", sans-serif; --f-body: Arial, "Arial Hebrew", sans-serif; --f-label: Arial, "Arial Hebrew", sans-serif; }
html.a11y-font :not(.a11y *) { font-family: Arial, "Arial Hebrew", sans-serif !important; }
html.a11y-font .gold, html.a11y-font .gold * { background: none !important; color: var(--gold-hi) !important; -webkit-text-fill-color: currentColor; }
/* WCAG 1.4.12 text spacing */
html.a11y-spacing :not(.a11y, .a11y *) { line-height: 1.6 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing p:not(.a11y *) { margin-bottom: 2em; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .rv, html.a11y-still .rv * { opacity: 1 !important; transform: none !important; }
html.a11y-still .beat .line { filter: none !important; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 12-6.2.6 3.7 7.6-2.7 1.3-3.6-7.7L5 20z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 8 4, auto !important;
}
