/* SHRIR: a dark studio, one warm light strip, glass instruments over photographs.
   Colours are sampled from the brand's photos: the wall, the lit sign, the strip light. */
:root {
  --bg: #09090b;
  --bg-2: #111114;
  --text: #f2ede6;            /* 17.4:1 on --bg */
  --text-2: #c3bbb0;          /* 10.3:1 */
  --text-3: #918a80;          /* 5.9:1, labels only */
  --gold: #e2bb8e;            /* the SHRIR sign */
  --gold-hi: #f6e6cf;         /* the strip's hot core */
  --on-gold: #1a130b;
  --line: rgba(242, 237, 230, 0.12);
  --glass: rgba(16, 16, 20, 0.46);
  --glass-line: rgba(242, 237, 230, 0.14);
  --error: #f3a58e;

  --f-he: "Heebo", "Arial Hebrew", system-ui, sans-serif;
  --f-latin: "Rubik", "Heebo", Arial, sans-serif;
  --f-display: "Rubik", "Heebo", "Arial Hebrew", sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --edge: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { direction: rtl; background: var(--bg); -webkit-text-size-adjust: 100%; } /* RTL even where the host page drops <html dir> */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-he);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 0; }
[lang="en"] { font-family: var(--f-latin); }

.skip {
  position: fixed; top: 12px; right: 12px; z-index: 300;
  padding: 10px 16px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-weight: 700; text-decoration: none;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- Type ---------- */

.headline {
  margin: 0;
  font-family: var(--f-he);
  font-weight: 200;
  font-size: clamp(44px, 5.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.headline b { font-weight: 200; }
.headline-md { font-size: clamp(40px, 4.6vw, 76px); }
.headline-sm { font-size: clamp(30px, 2.8vw, 42px); font-weight: 300; }
.headline .latin {
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: 0.62em;
  letter-spacing: 0.12em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--f-latin);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold);
}
.tag::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* the studio's strip light: a hot core with light spilling down onto the wall */
.strip {
  position: absolute;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(246, 230, 207, 0), var(--gold) 14%, var(--gold-hi) 50%, var(--gold) 86%, rgba(246, 230, 207, 0));
  pointer-events: none;
}
.strip::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 2px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(226, 187, 142, 0.28), rgba(226, 187, 142, 0));
  filter: blur(10px);
}

/* ---------- Glass ---------- */

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid var(--glass-line);
  border-radius: 24px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-glass {
  background: rgba(242, 237, 230, 0.06);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
@media (hover: hover) {
  .btn-gold:hover { background: var(--gold-hi); }
  .btn-glass:hover { border-color: var(--gold); color: var(--gold-hi); }
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }

/* ---------- Chrome ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--edge) 18px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.wordmark {
  font-family: var(--f-latin);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  text-decoration: none;
  color: var(--text);
}
.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: rgba(16, 16, 20, 0.36);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
}
.site-nav a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
@media (hover: hover) { .site-nav a:hover { background: rgba(242, 237, 230, 0.08); color: var(--text); } }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
@media (hover: hover) { .pill:hover { background: var(--gold-hi); } }

.progress {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: 50%;
  z-index: 90;
  width: 2px;
  height: 30vh;
  transform: translateY(-50%);
  background: var(--line);
  border-radius: 2px;
  pointer-events: none;
}
.progress span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--gold-hi), var(--gold));
  transform-origin: top;
  transform: scaleY(0);
}

/* ---------- Acts ---------- */

.act { position: relative; }
.stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}
.layer { position: absolute; inset: 0; will-change: transform; }
.layer img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.cut { transform-origin: var(--origin, 50% 100%); }
.haze {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 38% at 72% 6%, rgba(226, 187, 142, 0.16), rgba(226, 187, 142, 0) 70%),
    linear-gradient(to top, var(--bg) 0, rgba(9, 9, 11, 0) 26%);
}
.blackout { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; z-index: 20; }
.scrim { position: absolute; inset: 0; pointer-events: none; }

/* Desktop framing for the portrait scenes: the photograph is sized to the coach, anchored right,
   and its wall dissolves into the page so the left half belongs to the type. */
@media (min-width: 861px) {
  .act-hero .layer, .act-ropes .layer, .act-plan .layer {
    inset: auto 0 -4svh auto;
    height: 112svh;
    width: calc(112svh * 0.8003);
  }
  .act-hero .plate, .act-ropes .plate, .act-plan .plate {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%);
    mask-image: linear-gradient(to right, transparent 0, #000 38%);
  }
  .act-ropes .layer { width: calc(112svh * 0.8003); right: 4vw; }
}

/* Act 1 */
.act-hero { --pos: 50% 20%; --origin: 72% 100%; }
.mega {
  position: absolute;
  inset: 9% 0 auto 0;
  margin: 0;
  text-align: center;
  font-family: var(--f-latin);
  font-weight: 800;
  font-size: 20vw;
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: var(--text);
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}
.strip-hero { left: 0; right: 0; top: 7.5%; }
.scrim-copy {
  background: linear-gradient(to right, rgba(9, 9, 11, 0.9), rgba(9, 9, 11, 0.55) 34%, rgba(9, 9, 11, 0) 56%);
}
.hero-copy {
  position: absolute;
  left: var(--edge);
  bottom: clamp(40px, 8vh, 96px);
  width: min(620px, 46vw);
  z-index: 5;
}
.hero-copy .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-copy .ln > span { display: inline-block; }
.hero-sub { margin: 24px 0 0; max-width: 36ch; font-size: clamp(18px, 1.4vw, 21px); color: var(--text-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Act 2 */
.act-ropes { --pos: 52% 28%; --origin: 50% 80%; }
.slam {
  position: absolute;
  inset: 14% auto auto var(--edge);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: 800;
  font-size: clamp(96px, 13vw, 230px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--text);
  pointer-events: none;
}
.slam span { display: block; }
.slam-2 { opacity: 0; }
.flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 246, 232, 0.55), rgba(246, 230, 207, 0.25) 60%, rgba(246, 230, 207, 0.1));
  mix-blend-mode: screen;
}
.method-card {
  position: absolute;
  left: var(--edge);
  bottom: clamp(32px, 7vh, 80px);
  z-index: 8;
  width: min(470px, calc(100vw - 40px));
  padding: 30px 30px 28px;
}
.method-card p:not(.tag) { margin: 16px 0 0; color: var(--text-2); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 15px 7px; border: 1px solid var(--glass-line); border-radius: 999px; font-size: 15px; font-weight: 400; }
.wipe { position: absolute; inset: 0; z-index: 30; background: var(--bg); transform: translateY(100%); pointer-events: none; }
.wipe .strip { left: 0; right: 0; top: 0; }

/* Act 3 */
.act-coach { --pos: 55% 30%; --origin: 50% 100%; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
  padding: 0 var(--edge);
  background:
    radial-gradient(50% 60% at 25% 50%, rgba(226, 187, 142, 0.07), rgba(226, 187, 142, 0) 70%),
    var(--bg);
}
.coach-copy { max-width: 560px; }
.coach-copy .headline { margin-bottom: 30px; }
.coach-copy p { margin: 0 0 18px; color: var(--text-2); }
.quote { margin: 34px 0 0; padding-right: 22px; border-right: 2px solid var(--gold); }
.quote p { margin: 0; font-weight: 200; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.25; color: var(--text); }
.window {
  position: relative;
  margin: 0;
  justify-self: start;
  height: min(80svh, 820px);
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.window .layer { inset: -6% 0; }
.hud { position: absolute; width: 22px; height: 22px; z-index: 3; border-color: var(--gold); border-style: solid; opacity: 0.85; }
.hud-tl { top: 16px; left: 16px; border-width: 1.5px 0 0 1.5px; border-radius: 8px 0 0 0; }
.hud-br { bottom: 16px; right: 16px; border-width: 0 1.5px 1.5px 0; border-radius: 0 0 8px 0; }

/* Act 4 */
.act-process .stage { background: var(--bg); }
.track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200vw;
  height: 112svh;
  transform: translateY(-50%);
  will-change: transform;
}
.track .layer img { object-fit: fill; }
.scrim-band {
  background:
    linear-gradient(to bottom, rgba(9, 9, 11, 0.7), rgba(9, 9, 11, 0) 30%),
    linear-gradient(to top, rgba(9, 9, 11, 0.85), rgba(9, 9, 11, 0) 38%);
}
.process-head {
  position: absolute;
  top: 34%;
  left: var(--edge);
  z-index: 5;
  width: min(380px, 80vw);
}
.steps {
  position: absolute;
  right: var(--edge);
  bottom: clamp(32px, 7vh, 80px);
  z-index: 6;
  display: grid;
  width: min(420px, calc(100vw - 40px));
  margin: 0;
  padding: 28px 30px;
  list-style: none;
}
.step {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.step.is-on { opacity: 1; transform: none; }
.step-no { display: inline-block; font-size: 12px; letter-spacing: 0.3em; color: var(--gold); }
.step h3 { margin: 10px 0 8px; font-size: 26px; font-weight: 400; line-height: 1.2; }
.step p { margin: 0; font-size: 16px; color: var(--text-2); }
.steps-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; height: 2px; background: var(--line); }
.steps-bar span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform-origin: left;
  transform: scaleX(0);
}

/* Act 5 */
.act-flow { position: relative; }
.stories {
  padding: clamp(110px, 14vw, 180px) 0;
  background:
    radial-gradient(70% 50% at 80% 0%, rgba(226, 187, 142, 0.06), rgba(226, 187, 142, 0) 70%),
    var(--bg);
}
.sample-note {
  display: inline-block;
  margin: 20px 0 56px;
  padding: 6px 14px;
  border: 1px dashed var(--glass-line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-3);
}
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.story { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: 34px 30px 28px; }
.story::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 30px;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, rgba(246, 230, 207, 0), var(--gold-hi), var(--gold));
}
.story blockquote { margin: 0; }
.story blockquote p { margin: 0; font-size: 20px; font-weight: 300; line-height: 1.55; }
.story-by { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 15px; }
.story-by b { font-weight: 500; }
.story-by span { color: var(--text-3); }

/* Act 6 */
.contact { padding: clamp(110px, 14vw, 180px) 0 0; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: blur(14px) brightness(0.42) saturate(0.9); transform: scale(1.1); }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg), rgba(9, 9, 11, 0.2) 30%, rgba(9, 9, 11, 0.2) 70%, var(--bg)); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.contact-copy { position: relative; padding-top: 40px; }
.strip-static { position: relative; width: 180px; margin-bottom: 40px; }
.contact-copy p { margin: 26px 0 0; max-width: 38ch; color: var(--text-2); font-size: 20px; }
.lead-form { display: grid; gap: 4px; padding: clamp(26px, 3.2vw, 44px); }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field select {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--glass-line);
  background: rgba(9, 9, 11, 0.55);
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
  caret-color: var(--gold);
  transition: border-color 0.2s;
}
.field input::placeholder { color: var(--text-3); }
.field input[dir="ltr"] { text-align: right; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: 24px 50%, 18px 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-left: 44px;
}
.field select option { background: var(--bg-2); color: var(--text); }
@media (hover: hover) { .field input:hover, .field select:hover { border-color: rgba(242, 237, 230, 0.3); } }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 1.4em; margin: 0 0 8px; font-size: 14px; color: var(--error); }
.form-note { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--text-3); }
.form-status { margin: 8px 0 0; text-align: center; font-size: 15px; color: var(--gold-hi); }
.form-status:empty { display: none; }
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(100px, 12vw, 160px);
  padding-top: 28px;
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-3);
}
.site-footer p { margin: 0; }

.mobile-cta { display: none; }

/* ---------- Phone ---------- */

@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-nav, .progress { display: none; }
  .site-header { padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter-r) 14px var(--gutter); }
  .wordmark { font-size: 15px; }
  .pill { min-height: 40px; padding: 0 16px; font-size: 14px; }

  .act-hero { --pos: 76% 16%; --origin: 62% 100%; }
  .mega { inset: 15% 0 auto 0; font-size: 27vw; }
  .strip-hero { top: 11%; }
  .scrim-copy { background: linear-gradient(to top, rgba(9, 9, 11, 0.96) 0, rgba(9, 9, 11, 0.85) 30%, rgba(9, 9, 11, 0) 60%); }
  .hero-copy { left: var(--gutter); right: var(--gutter-r); width: auto; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .headline { font-size: clamp(44px, 12.4vw, 64px); }
  .hero-sub { margin-top: 16px; font-size: 17px; }
  .cta-row { margin-top: 22px; flex-direction: column; }
  .cta-row .btn { width: 100%; min-height: 52px; }
  .tag { font-size: 11px; letter-spacing: 0.2em; margin-bottom: 16px; }

  .act-ropes { --pos: 50% 30%; }
  .slam { inset: auto 0 22% 0; z-index: 4; align-items: center; font-size: 26vw; text-shadow: 0 10px 40px rgba(9, 9, 11, 0.55); }
  .method-card { left: var(--gutter); right: var(--gutter-r); width: auto; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); padding: 22px 22px 20px; }
  .method-card p:not(.tag) { font-size: 16px; }

  .act-coach .stage { height: auto; overflow: visible; }
  .split { grid-template-columns: minmax(0, 1fr); padding: 96px var(--gutter-r) 72px var(--gutter); gap: 36px; }
  .window { order: -1; justify-self: stretch; height: auto; aspect-ratio: 4 / 4.6; }

  .track { height: 100svh; }
  .process-head { top: calc(env(safe-area-inset-top, 0px) + 84px); left: var(--gutter); right: var(--gutter-r); width: auto; }
  .process-head .headline { font-size: 40px; }
  .steps { left: var(--gutter); right: var(--gutter-r); width: auto; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); padding: 22px; }
  .step h3 { font-size: 23px; }

  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact { padding-top: 96px; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }

  .mobile-cta {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 95;
    padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 55%, rgba(9, 9, 11, 0));
    transform: translateY(115%);
    transition: transform 0.45s var(--ease);
  }
  .mobile-cta.is-on { transform: none; }
}

/* ---------- Reduced motion: every scene complete and still ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .wipe, .blackout, .flash, .slam-2 { display: none; }
  .steps { display: grid; gap: 22px; }
  .step { grid-area: auto; opacity: 1; transform: none; }
  .track { width: 100%; height: 100%; }
  .track .layer img { object-fit: cover; object-position: 60% 50%; }
}


/* =====================================================================
   2027 layer: living light, scan lines, focus reticle, depth everywhere.
   ===================================================================== */

/* film grain, always moving a little */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 98;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s 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); }
}

/* a warm light that follows the pointer (or drifts by itself on touch screens) */
.glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 97;
  width: 70vmax;
  height: 70vmax;
  margin: -35vmax 0 0 -35vmax;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(246, 230, 207, 0.12), rgba(226, 187, 142, 0.05) 45%, rgba(226, 187, 142, 0) 70%);
  mix-blend-mode: soft-light;
  transform: translate3d(70vw, 30vh, 0);
  will-change: transform;
}

/* pointer parallax uses the independent `translate` property, so it never fights the scroll transforms */
.act .plate { translate: calc(var(--mx, 0) * 10px) calc(var(--my, 0) * 6px); transition: translate 0.9s var(--ease); }
.act .cut { translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -10px); transition: translate 0.9s var(--ease); }
.act .mega { translate: calc(var(--mx, 0) * 26px) calc(var(--my, 0) * 12px); transition: translate 1.1s var(--ease); }

/* focus reticle */
.reticle {
  position: absolute;
  left: 0;
  top: 0;
  width: 160px;
  height: 160px;
  pointer-events: none;
  opacity: 0;
}
.reticle i {
  position: absolute;
  width: 22%;
  height: 22%;
  border: 0 solid var(--gold-hi);
}
.reticle i:nth-child(1) { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.reticle i:nth-child(2) { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.reticle i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.reticle i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
.reticle span {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  white-space: nowrap;
  font-family: var(--f-latin);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-2);
}
.reticle span b { font-weight: 600; color: var(--gold-hi); margin-left: 6px; }

/* scan line: everything below it is still resolving (blurred, colourless), everything above is sharp */
.scan {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  -webkit-backdrop-filter: blur(14px) grayscale(1) brightness(0.78);
  backdrop-filter: blur(14px) grayscale(1) brightness(0.78);
  transform: translateY(0%);
  will-change: transform;
}
.scan .strip { left: 0; right: 0; top: 0; }
.scan .strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 120px;
  background: linear-gradient(to top, rgba(246, 230, 207, 0.1), rgba(246, 230, 207, 0));
}

/* scenes arrive as a floating panel that grows to full frame: no black gaps between them */
.act + .act .stage, .act + .act-flow { transform-origin: 50% 0; }

/* soft studio behind sections that would otherwise be flat black */
.backdrop { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(24px) brightness(0.5) saturate(0.9); transform: scale(1.15); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9, 9, 11, 0.6), rgba(9, 9, 11, 0.25) 40%, rgba(9, 9, 11, 0.7)); }
.split > *:not(.backdrop) { position: relative; z-index: 1; }
.stories > .wrap { position: relative; z-index: 1; }

/* HUD markers pinned to places in the panorama */
.marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 0 4px rgba(226, 187, 142, 0.25);
  opacity: 0.35;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.marker::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(246, 230, 207, 0.6);
  border-radius: 50%;
  animation: ping 2.4s var(--ease) infinite;
}
.marker b {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-hi);
}
.marker.is-on { opacity: 1; transform: scale(1.25); }
@keyframes ping { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* glass edges carry a slow travelling light */
.glass { isolation: isolate; }
.lead-form, .result-card { position: relative; }
.glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--spin, 0deg), rgba(246, 230, 207, 0) 0deg, rgba(246, 230, 207, 0.55) 40deg, rgba(246, 230, 207, 0) 90deg, rgba(246, 230, 207, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite;
  pointer-events: none;
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }

/* headline words resolve out of blur */
.word { display: inline-block; white-space: pre; }

/* ---------- Transformations ---------- */
.transforms { margin: 40px 0 72px; }
.ba {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--glass-line);
  aspect-ratio: var(--ratio, 4 / 5);
  max-height: 82svh;
  margin-inline: auto;
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut, 50%);
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(to bottom, rgba(246, 230, 207, 0), var(--gold-hi) 20%, var(--gold-hi) 80%, rgba(246, 230, 207, 0));
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--cut, 50%);
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 16, 20, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(246, 230, 207, 0.5);
  pointer-events: none;
}
.ba-handle svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ba-label {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 16, 20, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-line);
  font-size: 13px;
  font-weight: 500;
}
.ba-label-before { left: 18px; }
.ba-label-after { right: 18px; }
.ba input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  direction: ltr;
  pointer-events: none; /* keyboard and screen readers use the range; pointers drag the photo itself */
}
.ba { cursor: ew-resize; }
.ba:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }
.ba-caption { margin: 18px 0 0; text-align: center; color: var(--text-2); font-size: 16px; }

.result-rail {
  display: flex;
  gap: 18px;
  margin: 48px calc(var(--gutter) * -1) 0;
  padding: 6px var(--gutter) 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.result-rail::-webkit-scrollbar { display: none; }
.result-card {
  flex: 0 0 min(320px, 76vw);
  scroll-snap-align: start;
  overflow: hidden;
  padding: 0;
  transition: transform 0.6s var(--ease);
}
.result-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.result-card figcaption { padding: 16px 20px 18px; font-size: 15px; color: var(--text-2); }
@media (hover: hover) {
  .result-card:hover { transform: translateY(-6px); }
  .result-card:hover img { transform: scale(1.05); }
}

@media (max-width: 860px) {
  .reticle span { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .glow, .scan, .reticle { display: none; }
  .marker::after, .glass::before { animation: none; }
  .act .plate, .act .cut, .act .mega { translate: none; }
}


/* ---------- The plan ---------- */
.act-plan { --pos: 62% 45%; }
.act-plan .plate { transform-origin: 82% 58%; }
.plan-copy {
  position: absolute;
  left: var(--edge);
  top: 50%;
  z-index: 5;
  width: min(520px, 44vw);
  transform: translateY(-50%);
}
.plan-copy > p:not(.tag) { margin: 22px 0 0; max-width: 38ch; color: var(--text-2); font-size: 19px; }
.plan-copy .chips { margin-top: 26px; }
.reticle-plan span b { color: #9fe3b8; }
@media (max-width: 860px) {
  .act-plan { --pos: 74% 40%; }
  .plan-copy { left: var(--gutter); right: var(--gutter-r); width: auto; top: auto; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .plan-copy > p:not(.tag) { font-size: 16px; }
}

/* ---------- Results: featured comparison + story rail ---------- */
.results-sub { margin: 18px 0 0; color: var(--text-2); font-size: 18px; }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.feature .ba { width: 100%; max-height: 78svh; aspect-ratio: var(--ratio, 1 / 2); max-width: 340px; justify-self: end; }
.feature-info { padding: clamp(24px, 3vw, 40px); }
.feature-name { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.1; }
.feature-focus { margin: 8px 0 0; color: var(--text-2); }
.feature-kg {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 26px 0 0;
  font-family: var(--f-latin);
  font-weight: 400;
  direction: ltr;
  justify-content: flex-end;
}
.feature-kg .from { font-size: 22px; color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.feature-kg .to { font-size: clamp(40px, 4.4vw, 64px); color: var(--text); line-height: 1; }
.feature-kg .unit { font-family: var(--f-he); font-size: 18px; color: var(--text-2); }
.feature-delta {
  display: inline-block;
  margin: 14px 0 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  font-size: 16px;
}
.feature-pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-pick button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 16px 4px 6px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: rgba(242, 237, 230, 0.05);
  color: var(--text-2);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.feature-pick img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.feature-pick button[aria-pressed="true"] { border-color: var(--gold); color: var(--text); background: rgba(226, 187, 142, 0.12); }
@media (hover: hover) { .feature-pick button:hover { color: var(--text); border-color: rgba(242, 237, 230, 0.35); } }
.ba img.is-swap { opacity: 0; }
.ba img { transition: opacity 0.45s var(--ease); }

.result-card { display: flex; flex-direction: column; }
.result-card .rc-media { position: relative; overflow: hidden; border-radius: 24px 24px 0 0; }
.result-card .rc-media img { aspect-ratio: 459 / 405; }
.rc-tag {
  position: absolute;
  bottom: 12px;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
}
.rc-tag.before { left: 12px; }
.rc-tag.after { right: 12px; }
.rc-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.rc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rc-name { font-weight: 500; font-size: 18px; }
.rc-result { padding: 3px 12px; border-radius: 999px; background: rgba(226, 187, 142, 0.16); color: var(--gold-hi); font-size: 14px; font-weight: 500; white-space: nowrap; }
.rc-quote { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.rail-nav { display: flex; gap: 10px; justify-content: flex-start; margin-top: 8px; }
.rail-nav button {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--glass-line); background: rgba(242, 237, 230, 0.05); cursor: pointer;
}
.rail-nav svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .rail-nav button:hover { border-color: var(--gold); } }
.illustrative-note {
  display: inline-block;
  margin: 26px 0 0;
  padding: 6px 14px;
  border: 1px dashed var(--glass-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-3);
}
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature .ba { justify-self: center; max-width: min(100%, 320px); max-height: 72svh; }
  .feature-kg { justify-content: flex-start; direction: rtl; }
}

/* text-only story cards */
.result-card .rc-big {
  margin: 0;
  padding: 28px 22px 4px;
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: clamp(44px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-hi);
  text-align: right;
  min-height: 1em;
}
.result-card .rc-big small { margin-right: 8px; font-family: var(--f-he); font-size: 18px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.result-card { flex-basis: min(300px, 74vw); }
.rc-quote { font-size: 17px; color: var(--text); font-weight: 300; }

/* wordmark with the studio line, as on the studio sign */
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1; }
.wordmark small {
  font-family: var(--f-latin);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.mega-sub {
  position: absolute;
  z-index: 4;
  inset: calc(9% + 16.2vw) 0 auto 0;
  margin: 0;
  text-align: center;
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: clamp(12px, 1.25vw, 20px);
  letter-spacing: 0.9em;
  text-transform: uppercase;
  color: var(--gold-hi);
  pointer-events: none;
}
@media (max-width: 860px) {
  .mega-sub { inset: calc(15% + 22vw) 0 auto 0; font-size: 11px; letter-spacing: 0.5em; text-shadow: 0 2px 12px rgba(9, 9, 11, 0.8); }
}

/* explicit plane order: Safari can otherwise paint promoted layers out of DOM order */
.act-hero .plate { z-index: 1; }
.act-hero .mega { z-index: 2; }
.act-hero .cut { z-index: 3; }
.act-hero .haze { z-index: 4; }
.act-hero .mega-sub { z-index: 5; }
.act-hero .strip-hero { z-index: 5; }
.act-hero .scrim-copy { z-index: 6; }
.act-hero .hero-copy { z-index: 7; }
.act-hero .blackout { z-index: 20; }

/* phone hero: one idea at a time. The name lives in the giant mark, so the header and the
   extra labels step back and the headline gets the floor. */
@media (max-width: 860px) {
  .site-header .wordmark small { display: none; }
  .act-hero .hero-copy .tag { display: none; }
  .act-hero .reticle span { display: none; }
  .act-hero .reticle { --r: 0.85; }
  .hero-sub { font-size: 16px; }
}
@media (max-width: 860px) {
  .act-hero .reticle { display: none; }
  .act-hero .mega-sub {
    z-index: 2;
    inset: calc(15% + 22.5vw) auto auto var(--gutter);
    text-align: left;
    font-size: 10px;
    letter-spacing: 0.34em;
    text-shadow: none;
  }
}


/* =====================================================================
   Round 5: sportier type, more drama, more action
   ===================================================================== */

/* type: Rubik black italic for every display line, Hebrew and Latin alike */
.headline, .headline-md, .headline-sm, .quote p, .feature-name, .step h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.015em;
}
.headline { line-height: 0.98; }
.headline .latin { font-family: var(--f-display); font-style: italic; font-weight: 900; letter-spacing: 0.04em; }
.mega {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  font-size: 22vw;
  line-height: 0.82;
}
.slam { font-family: var(--f-display); font-weight: 900; font-style: italic; letter-spacing: -0.02em; }
.wordmark span { font-family: var(--f-display); font-weight: 900; font-style: italic; letter-spacing: 0.16em; }
.wordmark { letter-spacing: 0; margin-right: 0; }
.tag, .step-no, .marker b, .reticle span, .ba-label { font-family: var(--f-latin); font-weight: 600; }
.result-card .rc-big { font-family: var(--f-display); font-weight: 900; font-style: italic; }

/* "Fitness studio": very small, tight under SHRIR */
.wordmark small { font-family: var(--f-latin); font-size: 8px; font-weight: 500; letter-spacing: 0.42em; color: var(--gold); }
.mega-sub {
  inset: calc(9% + 17.4vw) 0 auto 0 !important;
  font-family: var(--f-latin);
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.7em !important;
  text-align: center !important;
  color: var(--gold-hi);
  text-shadow: none !important;
}
@media (max-width: 860px) {
  .site-header .wordmark small { display: block; font-size: 7px; }
  .mega { font-size: 27vw; }
  .mega-sub { inset: calc(15% + 21.5vw) auto auto var(--gutter) !important; font-size: 8.5px !important; letter-spacing: 0.5em !important; text-align: left !important; }
}

/* drama: a cone of light falling from the sign, fog crawling over the floor, deeper vignette */
.act-hero .stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(120% 90% at 62% 40%, rgba(9, 9, 11, 0) 46%, rgba(9, 9, 11, 0.72) 100%);
}
.beam {
  position: absolute;
  z-index: 4;
  top: -10%;
  right: 6%;
  width: 46vw;
  height: 120%;
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, rgba(246, 230, 207, 0) 160deg, rgba(246, 230, 207, 0.16) 176deg, rgba(246, 230, 207, 0.26) 180deg, rgba(246, 230, 207, 0.16) 184deg, rgba(246, 230, 207, 0) 200deg);
  filter: blur(18px);
  mix-blend-mode: screen;
  transform-origin: 50% 0;
  animation: beam 7s ease-in-out infinite alternate;
}
@keyframes beam { from { transform: rotate(-3deg); opacity: 0.75; } to { transform: rotate(4deg); opacity: 1; } }
.fog { position: absolute; inset: auto 0 0 0; height: 46%; z-index: 4; pointer-events: none; overflow: hidden; }
.fog i {
  position: absolute;
  inset: 0 -40%;
  background:
    radial-gradient(40% 60% at 20% 80%, rgba(220, 210, 196, 0.12), rgba(220, 210, 196, 0) 70%),
    radial-gradient(35% 50% at 60% 90%, rgba(220, 210, 196, 0.1), rgba(220, 210, 196, 0) 70%),
    radial-gradient(30% 45% at 90% 75%, rgba(220, 210, 196, 0.08), rgba(220, 210, 196, 0) 70%);
  filter: blur(8px);
  animation: fog 18s linear infinite;
}
.fog i + i { animation-duration: 26s; animation-direction: reverse; opacity: 0.8; }
@keyframes fog { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
@media (max-width: 860px) { .beam { width: 90vw; right: -10%; } }

/* action: speed streaks in the rope scene */
.speed {
  position: absolute;
  inset: -20% 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(100deg, rgba(246, 230, 207, 0) 0 46px, rgba(246, 230, 207, 0.08) 46px 48px, rgba(246, 230, 207, 0) 48px 120px);
  mix-blend-mode: screen;
  animation: streak 0.5s linear infinite;
}
@keyframes streak { from { background-position: 0 0; } to { background-position: -240px 0; } }

/* action: kinetic ribbons between scenes, speed and skew follow the scroll */
.ribbon {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px) 0;
  background: var(--bg);
  transform: rotate(-2.5deg);
  margin: -10px -4vw;
  border-block: 1px solid rgba(226, 187, 142, 0.25);
}
.ribbon-track {
  display: flex;
  gap: 0.6em;
  width: max-content;
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(54px, 9vw, 150px);
  line-height: 1;
  white-space: nowrap;
  will-change: transform;
}
.ribbon-track + .ribbon-track { margin-top: 0.08em; }
.ribbon-track span { color: var(--text); }
.ribbon-track span.o { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.ribbon-b { transform: rotate(2deg); }

/* footer credit */
.site-footer .credit { margin: 0; color: var(--text-2); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .beam, .fog i, .speed { animation: none; }
  .ribbon-track { transform: none !important; }
}

/* the tilted ribbons overhang the frame on purpose; never let them widen the page */
main { overflow-x: clip; }

/* ==========================================================================
   Round 6: clean Hebrew/English direction, calmer drama
   ========================================================================== */
/* English labels in a right-to-left page: the gold rule leads from the right, like the Hebrew */
.tag[dir="ltr"] { flex-direction: row-reverse; }
bdi { unicode-bidi: isolate; }
.rc-result, .rc-name { unicode-bidi: plaintext; }

/* calmer: lighter vignette, softer light cone, thinner fog, quieter streaks */
.act-hero .stage::after { background: radial-gradient(130% 100% at 62% 40%, rgba(9, 9, 11, 0) 55%, rgba(9, 9, 11, 0.4) 100%); }
.beam { opacity: 0.5; animation: none; transform: rotate(1deg); }
.fog { opacity: 0.55; }
.speed { animation-duration: 0.9s; }
/* weights read right to left on every width: 98 (struck), then 78 ק״ג */
.feature-kg { direction: rtl; justify-content: flex-start; }
/* brand set as written: Shrir / Fitness */
.wordmark small, .mega-sub { text-transform: none; }
/* "Fitness" spans the full width of SHRIR, letter to letter */
.wordmark { align-items: stretch; }
.wordmark span { margin-right: -0.16em; }
.wordmark small, .site-header .wordmark small { display: flex !important; justify-content: space-between; letter-spacing: 0; }
.wordmark small i { font-style: normal; }

/* phones: cards always clear the fixed bottom button, so no line hides under it */
@media (max-width: 860px) {
  :root { --cta-clear: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .method-card { bottom: var(--cta-clear); }
  .steps { bottom: var(--cta-clear); }
  .plan-copy { bottom: calc(var(--cta-clear) + 8px); }
}

/* ==========================================================================
   Round 7: fewer effects, more weight, and a page that asks for the call
   ========================================================================== */
/* header: dark glass once past the hero, so nothing runs under the logo */
.site-header { transition: background-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease); }
.site-header.is-solid {
  background: rgba(9, 9, 11, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}

/* less clutter: one ribbon, no fog, no streaks */
.fog, .speed { display: none; }
/* drama comes from light and contrast, not from more layers */
.act-hero .stage::after { background: radial-gradient(120% 95% at 62% 38%, rgba(9, 9, 11, 0) 48%, rgba(9, 9, 11, 0.66) 100%); }
.beam { opacity: 0.7; }

/* hero: one clear action and why it is easy to say yes */
.hero-trust { margin: 14px 0 0; font-size: 14px; color: var(--text-2); letter-spacing: 0.01em; }
.hero-trust::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* results end with an ask */
.stories-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: clamp(40px, 6vw, 72px); }
.stories-cta p { margin: 0; font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; }

/* the offer: the dramatic peak before the form */
.offer { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 14vw, 190px) 0; }
.offer-bg { position: absolute; inset: 0; z-index: -1; }
.offer-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(0.35) brightness(0.42) contrast(1.15); transform: scale(1.06); }
.offer-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 30% 50%, rgba(226, 187, 142, 0.16), rgba(9, 9, 11, 0) 70%),
  linear-gradient(to bottom, var(--bg), rgba(9, 9, 11, 0.35) 22%, rgba(9, 9, 11, 0.35) 78%, var(--bg)); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.offer-title { margin: 0; font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(56px, 8.4vw, 132px); line-height: 0.92; letter-spacing: -0.01em; text-wrap: balance; }
.offer-title em { font-style: italic; color: var(--gold); }
.offer-lead { margin: 26px 0 0; max-width: 34ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); }
.offer-card { padding: clamp(24px, 3vw, 36px); }
.offer-list { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 16px; }
.offer-list li { position: relative; padding-right: 32px; font-size: 17px; color: var(--text-2); line-height: 1.5; }
.offer-list li b { color: var(--text); font-weight: 500; }
.offer-list li::before { content: ""; position: absolute; right: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231a130b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.offer-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--text-3); }

@media (max-width: 860px) {
  .offer { padding: 96px 0; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .offer-title { font-size: clamp(54px, 16vw, 80px); }
  .stories-cta { flex-direction: column; align-items: stretch; }
  .stories-cta .btn { width: 100%; min-height: 52px; }
  .hero-trust { font-size: 13px; }
}
.ba img.is-swap { opacity: 0.35; filter: blur(6px); }

/* legal: marketing consent (never pre-checked) and footer links */
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.form-note a, .legal-links a { color: var(--text-2); text-underline-offset: 3px; }
.form-note a:hover, .legal-links a:hover { color: var(--gold); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.legal-links a { min-height: 24px; display: inline-flex; align-items: center; }
/* focused fields never sit under the fixed header or the bottom button */
.field input, .field select, .consent input, .lead-form .btn { scroll-margin: 96px 0 120px; }
.field select option { background-color: #111114; color: var(--text); }
.site-footer .demo-note { flex-basis: 100%; order: 3; margin: 0; padding: 10px 14px; border: 1px dashed rgba(226, 187, 142, 0.45); border-radius: 10px; color: var(--gold); font-size: 14px; text-align: center; }

/* ==========================================================================
   Round 8: smooth on iPhone, readable ribbon
   ========================================================================== */
/* ribbon rows are centred and filled, so the middle words read clearly */
.ribbon { direction: ltr; }
.ribbon-track { position: relative; left: 50%; transform: translateX(-50%); }
.ribbon-track span.o { color: var(--gold); -webkit-text-stroke: 0; }
.ribbon { transform: rotate(-1.5deg); }

/* phones: drop the full-screen blend layers and blurred light; they are what made scrolling stutter in Safari */
@media (max-width: 860px), (hover: none) {
  .grain, .glow { display: none; }
  .beam { filter: none; mix-blend-mode: normal; opacity: 0.35; animation: none; }
  .act-hero .stage::after { background: radial-gradient(120% 95% at 62% 38%, rgba(9, 9, 11, 0) 50%, rgba(9, 9, 11, 0.6) 100%); }
  .ribbon-track { will-change: auto; }
}
@media (max-width: 860px) { .ribbon-track { font-size: 44px; gap: 0.5em; } .ribbon { padding: 26px 0; } }
