/* =========================================================
   Bnaya Fitness — styles
   Direction and tokens: see CLAUDE.md (three acts: dark, light, dark)
   Principles used: Taste (one idea a screen, real photographs, quiet hover layer),
   Apple Design (size-specific tracking and leading, press feedback, translucent chrome,
   reduced motion / transparency / contrast), UI/UX Pro Max (44px targets, contrast, sticky CTA).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Dark (default ground): a neutral, soft black with charcoal greys for depth — no blue cast */
  --ink: #0F0F10;
  --surface-1: #18181A;     /* charcoal: the FAQ ground, placeholder frames */
  --surface-2: #222225;     /* raised charcoal: form fields */
  --border: #2E2E33;
  --text: #F5F5F7;          /* 17.6:1 on --ink */
  --text-2: #C3C3C8;        /* 10.9:1: body copy that is easy on the eye */
  --text-3: #929298;        /* 6.2:1: small print only */
  --blue-on-dark: #5B86FF;  /* 5.8:1 on --ink, 5.3:1 on charcoal: key words, lines, focus */
  --error: #FF8A8A;         /* 8.4:1 on --ink, 7.0:1 on --surface-2 */

  /* Light band (sections 3 and 4) */
  --light: #F5F5F7;
  --light-surface: #FFFFFF;
  --light-border: #D2D2D7;
  --light-text: #1D1D1F;    /* 15.5:1 on --light */
  --light-text-2: #4B4B52;  /* 8.0:1 */
  --light-text-3: #6E6E73;  /* 4.7:1 */

  /* Brand */
  --brand: #023DDF;         /* fills; white text 7.7:1 */
  --brand-hover: #0A47EC;
  --brand-deep: #0129A3;

  /* Type: one family, a scale where tracking and leading change with size */
  --font: "Heebo", "Arial Hebrew", "Segoe UI", system-ui, sans-serif;
  --fs-display: clamp(2.5rem, 1rem + 3vw, 3.75rem);         /* 40 → 60: the long blue line stays whole on desktop */
  --fs-h2: clamp(2.25rem, 1.25rem + 3vw, 4.5rem);           /* 36 → 72 */
  --fs-h3: clamp(1.375rem, 1.1rem + .7vw, 1.75rem);         /* 22 → 28 */
  --fs-lead: clamp(1.125rem, 1.02rem + .35vw, 1.3125rem);   /* 18 → 21 */
  --fs-body: 1.0625rem;                                     /* 17 */
  --fs-small: .9375rem;                                     /* 15 */

  /* Layout */
  --nav: 72px;
  --gut: 80px;
  --maxw: 1440px;
  --gap: 24px;
  --space-section: clamp(104px, 4rem + 6vw, 168px);

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --press: 110ms;
}

@media (max-width: 899px) {
  :root { --gut: 40px; }
}
@media (max-width: 639px) {
  :root { --nav: 60px; --gut: 20px; --gap: 16px; --fs-body: 1.0625rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }   /* component display rules never override hidden */
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

:focus-visible {
  outline: 2px solid var(--blue-on-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Type roles ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .01em;             /* small text: a hair of positive tracking */
  color: var(--text-2);
}
.eyebrow::before {                   /* a short stretch of the blue line opens every section */
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue-on-dark);
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.032em;           /* large text: negative tracking */
  text-wrap: balance;
}
.h2 .soft { display: block; }       /* a line break only: colour is reserved for the key words */
/* Key words in a heading: the only blue in a title, chosen by hand */
.hl { color: var(--blue-on-dark); font-style: normal; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
}

/* A short stretch of the blue line opens each section heading (decorative) */
.tick {
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--blue-on-dark);
  transform-origin: right;
}
@media (max-width: 639px) { .tick { width: 24px; margin-bottom: 22px; } }

/* SplitText lines (motion.js): each mask gets room for descenders such as ק ף ץ */
.sl { padding-block: .06em .16em; margin-block: -.06em -.16em; }

/* Draft copy that needs the owner's facts */
.todo { color: var(--text-3); }

/* ---------- Header: a translucent material over every ground ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav);
  background: rgb(15 15 16 / .68);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: 0 1px 0 rgb(255 255 255 / .06);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .site-header { background: var(--ink); box-shadow: 0 1px 0 var(--text-3); }
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 44px;
  text-decoration: none;
  direction: ltr;                    /* Latin wordmark reads left to right */
  font-size: .9375rem;
  letter-spacing: .22em;
  line-height: 1;
}
.wordmark__name { font-weight: 800; color: var(--text); }
.wordmark__trade { font-weight: 500; color: var(--text-3); }
.wordmark--lg { font-size: 1.125rem; }

.site-nav { display: flex; gap: 36px; }
.site-nav .link-quiet { color: var(--text-2); }
.site-nav .link-quiet:hover { color: var(--text); }
@media (max-width: 1023px) {
  .site-nav { display: none; }
}

/* Quiet link: an underline that draws from the reading start (right) */
.link-quiet {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.link-quiet::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.link-quiet:hover::after,
.link-quiet:focus-visible::after { transform: scaleX(1); }
.link-quiet--lg { font-size: 1.0625rem; color: var(--text-2); }
.link-quiet--lg:hover { color: var(--text); }
.link-quiet--inline { display: inline; min-height: 0; color: var(--text); font-weight: 600; }
.link-quiet--inline::after { bottom: -2px; transform: scaleX(1); opacity: .4; }
.link-quiet--inline:hover::after { opacity: 1; }

/* ---------- Buttons: they answer on press, not on release ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 56px;
  padding: 0 28px;
  border: 0;                         /* <button> brings a default border */
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-2px); }
.btn:active {
  transform: scale(.97);
  transition-duration: var(--press);
}
.btn--primary:active { background: var(--brand-deep); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.125rem; }
.btn__icon { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(-4px); }

/* The blue line: a hairline across the wrap, its first stretch in brand blue */
.blue-line {
  position: relative;
  display: block;
  height: 1px;
  background: var(--border);
}
.blue-line__lead {
  position: absolute;
  inset-inline-start: 0;
  top: -.5px;
  width: 120px;
  height: 2px;
  background: var(--blue-on-dark);
  transform-origin: right;
}

/* ---------- Media slots ---------- */
/* The owner's photograph drops in; until then a quiet frame with crop marks says what goes here */
.media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface-1);
  aspect-ratio: 4 / 5;
}
.media--tall { aspect-ratio: 3 / 4; }
.media--video { aspect-ratio: 9 / 16; }
.media img,
.media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media::before {
  content: "";
  position: absolute;
  inset: 16px;
  --c: rgb(255 255 255 / .14);
  background:
    linear-gradient(var(--c), var(--c)) top right / 20px 1px,
    linear-gradient(var(--c), var(--c)) top right / 1px 20px,
    linear-gradient(var(--c), var(--c)) top left / 20px 1px,
    linear-gradient(var(--c), var(--c)) top left / 1px 20px,
    linear-gradient(var(--c), var(--c)) bottom right / 20px 1px,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 20px,
    linear-gradient(var(--c), var(--c)) bottom left / 20px 1px,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 20px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.media__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--text-3);
}
.media.has-photo::before,
.media.has-photo .media__label { display: none; }
/* An optional slot takes no room at all until its file exists */
.media[data-optional]:not(.has-photo) { display: none; }

/* Photographs answer the pointer: a slow, small zoom inside the frame */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .media.has-photo img,
  .stage__photo img { transition: transform 1.2s var(--ease); }
  .media.has-photo:hover img,
  .stage__photo:hover img { transform: scale(1.025); }
}

/* ---------- Video: one clear play action, then the player's own controls ---------- */
.video video { background: transparent; }
.video.is-playing video { object-fit: contain; background: #000; }
.video.is-playing::before,
.video.is-playing .media__label,
.video.is-playing .video__play { display: none; }

.video__play {
  position: absolute;
  z-index: 2;
  inset-inline-start: 50%;
  top: 50%;
  translate: 50% -50%;               /* RTL: inline-start is the right edge */
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding-inline: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 10px 30px rgb(0 0 0 / .35);
  transition: transform .3s var(--ease);
}
.video__play:hover { transform: scale(1.03); }
.video__play:active { transform: scale(.97); transition-duration: var(--press); }
.video__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  transition: transform .3s var(--ease);
}
.video__play:hover .video__icon { transform: scale(1.06); }
.video__icon svg { width: 20px; height: 20px; translate: 1px 0; }   /* play points right in every language */
.video__time {
  padding-inline-start: 14px;
  border-inline-start: 1px solid rgb(15 15 16 / .18);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #55555C;
}

/* Round play button for small vertical frames */
.video__play--round { padding: 10px; min-height: 0; }
.video__play--round .video__icon { width: 52px; height: 52px; }

.video__note {
  position: absolute;
  z-index: 2;
  inset-inline: 16px;
  bottom: 16px;
  font-size: .875rem;
  color: var(--text-2);
  text-align: center;
}
.video__note:empty { display: none; }

/* =========================================================
   1. HERO — the champion, waist up; the promise of service beside him
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  background: var(--ink);
}

.hero__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Bnaya stands on the base line: the frame cuts him at the waist, right on the line.
   Under the line, his two credentials. --base is the height of that strip. */
.hero {
  --base: 104px;
  --fig-h: min(calc(100svh - var(--nav) - var(--base) - 8px), 760px);
  --fig-w: calc(var(--fig-h) * 720 / 742);
  --fig-l: max(48px, calc((100vw - var(--maxw)) / 2 + 100px));   /* a step in from the edge, towards the centre */
}
.hero__figure {
  position: absolute;
  z-index: 1;
  bottom: var(--base);
  left: var(--fig-l);
  height: var(--fig-h);
  aspect-ratio: 720 / 742;           /* the photo's own frame fades to the page ground on every side */
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.hero__base {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  height: var(--base);
}
.hero__creds {                       /* centred under the portrait */
  position: absolute;
  top: 0;
  left: calc(var(--fig-l) - max(0px, (100vw - var(--maxw)) / 2) + var(--fig-w) / 2);
  transform: translateX(-50%);
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  white-space: nowrap;
}
.hero__cred {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .005em;
  color: var(--text-2);
}
.hero__cred--title { font-size: 1rem; font-weight: 700; color: var(--text); }
.hero__cred-icon { width: 20px; height: 20px; flex: none; color: var(--blue-on-dark); }

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-top: calc(var(--nav) + 40px);
  padding-bottom: calc(var(--base) + 40px);
}
.hero__copy {
  grid-column: 1 / span 6;           /* RTL: column 1 is the right edge */
  align-self: center;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.036em;
}
.hero__line { display: block; }

.nb { white-space: nowrap; }          /* a phrase that never breaks inside itself */

.hero__lead {
  margin-top: 28px;
  max-width: 36rem;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  margin-top: 40px;
}

/* Small laptops: the portrait steps back so it never reaches the words */
@media (min-width: 900px) and (max-width: 1199px) {
  .hero { --fig-h: min(58svh, 500px); --fig-l: 8px; }
  .hero__copy { grid-column: 1 / span 7; }
}

/* Tablet and phone: the portrait on top, standing on the base line; credentials, then the words */
@media (max-width: 899px) {
  .hero { --base: 100px; grid-template-rows: auto auto; }
  .hero__stage {
    position: relative;
    inset: auto;
    height: calc(var(--nav) + 88vw + var(--base));   /* tall enough to show him from head to waist */
    overflow: hidden;
  }
  .hero__figure {
    inset: calc(var(--nav) + 8px) 0 var(--base);
    height: auto;
    aspect-ratio: auto;
  }
  .hero__creds { position: static; transform: none; justify-content: center; }
  .hero__photo { object-fit: cover; object-position: 50% 0%; }   /* wide, short stages trim the waist, never the head */
  .hero__creds { padding-top: 22px; }

  .hero__layout { padding-top: 40px; padding-bottom: 48px; }
  .hero__copy { grid-column: 1 / -1; align-self: start; }
  .hero__lead { margin-top: 20px; }
  .hero__actions { margin-top: 32px; }
}
@media (max-width: 639px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .hero__actions .btn { width: 100%; }
}

/* Hero entrance. With GSAP (assets/js/motion.js) the timeline runs it and these rules stand down:
   .js-motion holds the hero for the timeline; .motion-on means GSAP is in charge.
   Without GSAP, this CSS entrance plays instead, so the hero always arrives. */
.js-motion .hero__figure,
.js-motion .hero__cred,
.js-motion .hero [data-rise] { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.js-motion):not(.motion-on) .hero__figure { animation: hero-figure 1.5s var(--ease-enter) .05s both; }
  html:not(.js-motion):not(.motion-on) .hero__cred { animation: hero-rise 1.1s var(--ease-enter) .7s both; }
  html:not(.js-motion):not(.motion-on) .hero [data-rise] {
    animation: hero-rise 1.1s var(--ease-enter) both;
    animation-delay: calc(300ms + var(--i, 0) * 90ms);
  }
  html:not(.js-motion):not(.motion-on) .hero .blue-line__lead { animation: line-draw 1.1s var(--ease-enter) .9s both; }

  @keyframes hero-figure { from { opacity: 0; scale: 1.03; transform-origin: 50% 100%; } }
  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes line-draw {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* =========================================================
   SECTION SCAFFOLD — one rhythm, learned once
   ========================================================= */
.section { padding-block: var(--space-section); }

/* =========================================================
   2. MY STORY — the film leads; the words frame it
   ========================================================= */
.story { padding-top: clamp(88px, 3rem + 5vw, 136px); }
.story__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: var(--gap);
}
.story__head { grid-column: 1 / span 6; grid-row: 1; align-self: end; }
.story__body { grid-column: 1 / span 5; grid-row: 2; align-self: start; padding-top: 36px; }
.story__hello {
  margin-bottom: 20px;
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--text-2);
}
.story__body { display: grid; gap: 20px; }
.story__lead {
  max-width: 30rem;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-2);
}

/* The reel: vertical 9:16, never cropped. Its height is capped by the screen. */
.story__video {
  grid-column: 7 / span 6;
  grid-row: 1 / span 2;
  justify-self: center;
  align-self: center;
  width: min(100%, 480px, calc((100svh - var(--nav) - 56px) * 9 / 16));
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 40px 80px -30px rgb(0 0 0 / .8);
}
.story__video video { object-fit: contain; }
.story__video .video__play { top: auto; bottom: 28px; translate: 50% 0; }

/* From → to: two real points on the blue line, set large */
.milestones {
  position: relative;
  list-style: none;
  margin-top: 48px;
  padding: 0;
  padding-inline-start: 36px;
  display: grid;
  gap: 36px;
}
.milestones::before {
  content: "";
  position: absolute;
  inset-inline-start: 5px;
  top: 14px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(var(--border), var(--blue-on-dark));
}
.milestone { position: relative; }
.milestone::before {
  content: "";
  position: absolute;
  inset-inline-start: -36px;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--text-3);
}
.milestone--now::before { background: var(--blue-on-dark); border-color: var(--blue-on-dark); }
.milestone__big {
  display: block;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.milestone--now .milestone__big { color: var(--text); }
.milestone:not(.milestone--now) .milestone__big { color: var(--text-2); }
.milestone__small {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-3);
}

@media (max-width: 1023px) {
  .story__grid { grid-template-rows: auto; }
  .story__head, .story__body { grid-column: 1 / -1; }
  .story__head { grid-row: 1; }
  /* phones and tablets: heading, then straight to the film, then the words */
  .story__video {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 40px;
    width: min(100%, 440px, calc((100svh - var(--nav) - 40px) * 9 / 16));
  }
  .story__body { grid-row: 3; padding-top: 44px; }
}
@media (max-width: 639px) {
  .story__video { margin-top: 32px; border-radius: 12px; }
  .video__play { min-height: 56px; font-size: 1rem; gap: 10px; padding-inline: 8px 18px; }
  .video__icon { width: 40px; height: 40px; }
  .video__time { padding-inline-start: 10px; }
}

/* =========================================================
   LIGHT BAND (act B) — sections 3 and 4 share one ground
   ========================================================= */
.theme-light {
  --text: var(--light-text);
  --text-2: var(--light-text-2);
  --text-3: var(--light-text-3);
  --border: var(--light-border);
  --surface-1: #E8E8ED;
  --blue-on-dark: var(--brand);      /* on light, the brand blue itself passes (7.1:1) */
  background: var(--light);
  color: var(--text);
}
.theme-light .media::before { --c: rgb(29 29 31 / .16); }

/* =========================================================
   3. WHAT THE COACHING INCLUDES — six parts in a bento grid (Apple-style tiles on the light ground)
   ========================================================= */
.includes__head { max-width: 56rem; }

.bento {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 36px 34px 38px;
  border-radius: 28px;
  background: var(--light-surface);
  box-shadow: 0 1px 2px rgb(29 29 31 / .04), 0 0 0 1px rgb(29 29 31 / .04);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
@media (hover: hover) {
  .bento__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -24px rgb(29 29 31 / .28), 0 0 0 1px rgb(29 29 31 / .05);
  }
}
.bento__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #EAF0FE;               /* the brand blue at its lightest: a tint, not a glow */
  color: var(--brand);
}
.bento__icon svg { width: 28px; height: 28px; }
.bento__title {
  margin-top: auto;                  /* the words sit low in the tile, the icon high: a calm diagonal */
  padding-top: 56px;
  font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.bento__text {
  margin-top: 12px;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-2);
}

@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
  .bento__card { min-height: 0; padding: 28px 26px 30px; border-radius: 24px; }
  .bento__icon { width: 50px; height: 50px; border-radius: 14px; }
  .bento__icon svg { width: 25px; height: 25px; }
  .bento__title { padding-top: 32px; font-size: 1.25rem; }
  .bento__text { margin-top: 10px; }
}

/* =========================================================
   4. PROCESS — a staircase: each step rises from the last; the blue line climbs it
   ========================================================= */
.process { padding-top: 0; }
.process__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  padding-top: var(--space-section);
  border-top: 1px solid var(--border);
}
.process__head > :first-child { grid-column: 1 / span 6; }
.process__aside { grid-column: 8 / span 5; display: grid; gap: 28px; justify-items: end; }   /* RTL: the button on the far side */
.process__lead {
  max-width: 26rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
}

/* Desktop: four treads, each 64px higher than the one before it (RTL: rising to the left) */
.stairs {
  --rise: 64px;
  list-style: none;
  margin: 96px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}
.stair {
  position: relative;
  padding-top: 40px;
  padding-inline: 26px 28px;         /* clear of the riser on the reading side */
  margin-bottom: calc(var(--s) * var(--rise));
}
/* the tread: grey track, blue fill */
.stair__line {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--border);
}
/* the riser that joins this tread to the one before it */
.stair:not(:first-child) .stair__line::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 2px;
  height: calc(var(--rise) + 2px);
  background: var(--brand);
  transform: scaleY(var(--riser, 1));   /* motion.js draws it up from the tread below */
  transform-origin: 50% 100%;
}
.stair__fill {
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform-origin: right;
}
.stair::after {                      /* the station where each step begins */
  content: "";
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--brand);
  scale: var(--dot, 1);
}
.stair:first-child::after { inset-inline-start: 0; }
.stair__num {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}
.stair__title {
  text-wrap: balance;                /* no orphan word on a narrow tread */
  margin-top: 12px;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.stair__text {
  margin-top: 12px;
  max-width: 19rem;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-2);
}

/* The one scroll moment on the page: the treads fill one after another as the stairs pass.
   Plain CSS (no library); browsers without scroll timelines show them filled. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .stairs { view-timeline: --stairs block; }
    html:not(.motion-on) .stair__fill {
      animation: tread-fill linear both;
      animation-timeline: --stairs;
      animation-range: entry calc(55% + var(--s) * 10%) entry calc(75% + var(--s) * 10%);
    }
    @keyframes tread-fill {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }
  }
}

/* Tablet and phone: the staircase turns into a climbing line on the reading edge */
@media (max-width: 1023px) {
  .process__head > :first-child, .process__aside { grid-column: 1 / -1; }
  .process__aside { justify-items: start; }
  .process__aside { margin-top: 28px; }
  .stairs { grid-template-columns: 1fr; margin-top: 64px; padding-inline-start: 40px; position: relative; }
  .stairs::before {
    content: "";
    position: absolute;
    inset-inline-start: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--brand);
    transform: scaleY(var(--climb, 1));
    transform-origin: 50% 0;
  }
  .stair { margin-bottom: 0; padding: 0 0 48px; }
  .stair:last-child { padding-bottom: 0; }
  .stair__line { display: none; }
  .stair::after, .stair:first-child::after { top: 4px; inset-inline-start: -40px; }
  .stair__text { max-width: 34rem; }
}
@media (max-width: 639px) {
  .process__aside .btn { width: 100%; }
  .stairs { margin-top: 48px; }
}

/* =========================================================
   STAGE — the dark act opens on one full-width photograph (house lights dimming)
   ========================================================= */
.stage { background: var(--ink); }
.stage__photo { position: relative; overflow: hidden; background: var(--ink); }
.stage__photo img {
  display: block;
  width: 100%;
  height: min(56.25vw, 88svh);
  object-fit: cover;
  object-position: 50% 30%;
}
/* The achievement sits on a quiet plate at the photo's foot: solid enough to read, small enough
   to leave the moment (Bnaya, the medal, the raised arms) untouched. No gradient over the picture. */
.stage__card {
  position: absolute;
  inset-inline-start: max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut)));
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 2 * var(--gut));
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  background: rgb(15 15 16 / .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--text);
}
@media (prefers-reduced-transparency: reduce) {
  .stage__card { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.stage__card-icon { width: 22px; height: 22px; flex: none; color: var(--blue-on-dark); }

/* The brand's belief: its own block, set large, well apart from the caption */
.stage__statement {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-block: clamp(112px, 4rem + 6vw, 176px) 0;
}
.stage__title {
  grid-column: 1 / -1;
  font-size: clamp(3rem, 1rem + 6.4vw, 7.5rem);    /* 48 → 120 */
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
}
.stage__title .soft { display: block; }
.stage__body {
  grid-column: 1 / -1;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
}
.stage__text {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-2);
}
.stage__text:first-child { grid-column: 1 / span 5; color: var(--text); }
.stage__text:last-child { grid-column: 7 / span 5; }
@media (max-width: 899px) {
  .stage__body { margin-top: 44px; }
  .stage__text:first-child, .stage__text:last-child { grid-column: 1 / -1; max-width: 36rem; }
}
@media (max-width: 639px) {
  .stage__photo img { height: auto; aspect-ratio: 4 / 5; }
  .stage__card { bottom: 16px; gap: 10px; padding: 11px 16px 11px 18px; font-size: .875rem; border-radius: 18px; line-height: 1.4; }
  .stage__card-icon { width: 19px; height: 19px; }
}

/* =========================================================
   5. RESULTS — dark stage, hidden until real material exists
   ========================================================= */
.results__head { max-width: 52rem; }

.case__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 8px;
  overflow: hidden;
}
.case__pair .media { border-radius: 0; }
.case__tag {
  position: absolute;
  z-index: 1;
  top: 14px;
  inset-inline-start: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
}
.case__tag--after { background: var(--brand); color: #fff; }

/* The lead case: the pair large, the person's words beside it */
.case--lead {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
}
.case--lead .case__pair { grid-column: 6 / span 7; }
.case--lead .case__story { grid-column: 1 / span 4; grid-row: 1; }
.case__kicker {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--blue-on-dark);
}
.case__quote { margin-top: 20px; }
.case__quote p {
  font-size: clamp(1.625rem, 1.2rem + 1.3vw, 2.375rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.case__facts {
  margin-top: 40px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.case__facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
}
.case__facts dt { font-size: var(--fs-small); color: var(--text-3); }
.case__facts dd { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--text); text-align: end; }

/* More cases: two smaller pairs */
.cases {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px var(--gap);
}
.case__line {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-small);
  color: var(--text-2);
}
.case__line strong { color: var(--text); font-weight: 700; }
.case__note { margin-top: 8px; font-size: var(--fs-body); color: var(--text-2); }

/* Video testimonials: one leads, two follow */
.voices {
  margin-top: 120px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.voices__head { grid-column: 1 / span 3; }
.voices__title {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.voices__text { margin-top: 14px; font-size: var(--fs-body); color: var(--text-2); }
.voices__grid {
  grid-column: 5 / span 8;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: var(--gap);
  align-items: end;
}
.voice__who {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-small);
  color: var(--text-2);
}
.voice__who strong { color: var(--text); font-weight: 700; }
/* In vertical films the label sits low, clear of the round play button */
.media--video .media__label { place-items: end center; padding-bottom: 40px; }

@media (max-width: 1023px) {
  .case--lead .case__pair, .case--lead .case__story { grid-column: 1 / -1; }
  .case--lead .case__story { grid-row: 2; margin-top: 32px; }
  .voices__head, .voices__grid { grid-column: 1 / -1; }
  .voices__grid { margin-top: 32px; }
}
@media (max-width: 639px) {
  .case--lead { margin-top: 48px; }
  .cases { grid-template-columns: 1fr; margin-top: 64px; gap: 48px; }
  .voices { margin-top: 80px; }
  .voices__grid { grid-template-columns: 1fr 1fr; }
  .voice--lead { grid-column: 1 / -1; max-width: 340px; justify-self: center; width: 100%; }
  .voice__who { flex-direction: column; gap: 2px; }
}

/* =========================================================
   6. FAQ — soft dark, calm reading
   ========================================================= */
.faq { background: var(--surface-1); }
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.faq__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav) + 48px); }
.faq__more { margin-top: 28px; font-size: var(--fs-body); color: var(--text-2); }
.faq__list {
  grid-column: 6 / span 7;
  border-bottom: 1px solid var(--border);
}
.faq__item { border-top: 1px solid var(--border); }
.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84px;
  padding-block: 22px;
  padding-inline-end: 56px;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--text); }
/* plus that turns into a minus, inside a ring */
.faq__item summary::before {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 12px no-repeat;
  transition: border-color .25s var(--ease), background-size .3s var(--ease);
}
.faq__item[open] summary::before {
  background-size: 12px 1.5px, 1.5px 0;
  border-color: var(--blue-on-dark);
}
.faq__item summary:hover::before { border-color: var(--text-3); }
.faq__item p {
  max-width: 40rem;
  padding-bottom: 32px;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text-2);
}
.faq__item p.todo { color: var(--text-3); }

@media (max-width: 899px) {
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__head { position: static; }
  .faq__list { margin-top: 48px; }
  .faq__item summary { min-height: 72px; }
}

/* =========================================================
   7. CONTACT — the portrait and a short form close the page
   ========================================================= */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
}
.contact__main { grid-column: 1 / span 6; grid-row: 1; }
.contact__portrait {
  grid-column: 8 / span 5;
  grid-row: 1;
  border-radius: 10px;
  align-self: stretch;
  aspect-ratio: auto;
  min-height: 640px;
}
.contact__portrait img { object-position: 50% 12%; }   /* keep headroom above Bnaya */

.next-steps {
  list-style: none;
  margin-top: 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.next-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-body);
  color: var(--text-2);
}
.next-steps__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--blue-on-dark);
}

/* The closing heading is long: a size that keeps each phrase whole beside the portrait */
.contact .h2 { font-size: clamp(2.25rem, 1.3rem + 2.4vw, 3.5rem); }
.contact__lead {
  margin-top: 24px;
  max-width: 34rem;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-2);
}
.form { margin-top: 44px; display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field__label { font-size: var(--fs-small); font-weight: 600; color: var(--text); }
.field__input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field__input:hover { border-color: #3D3D43; }
.field__input:focus-visible { outline: 2px solid var(--blue-on-dark); outline-offset: 2px; border-color: transparent; }
.field__input[aria-invalid="true"] { border-color: var(--error); }
input[dir="ltr"].field__input { text-align: right; }
.field__input::placeholder { color: var(--text-3); opacity: 1; }   /* digits stay LTR, but sit on the reading side */

.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-inline-end: 48px; cursor: pointer; }
.field__select select:invalid { color: var(--text-3); }
.field__select option { color: var(--text); background: var(--surface-2); }
.field__select::after {
  content: "";
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-2);   /* physical sides: a chevron that points down in RTL too */
  border-bottom: 1.5px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding-top: 4px;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-2);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.field__error { font-size: .875rem; color: var(--error); }
.field__error:empty { display: none; }

.form__actions { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.form__status { font-size: var(--fs-small); color: var(--text-2); }
.form__status:empty { display: none; }

@media (max-width: 1023px) {
  .contact__main { grid-column: 1 / span 7; }
  .contact__portrait { grid-column: 9 / span 4; min-height: 520px; }
}
@media (max-width: 899px) {
  .contact__main, .contact__portrait { grid-column: 1 / -1; }
  .contact__main { grid-row: 1; }
  .contact__portrait { grid-row: 2; margin-top: 64px; min-height: 0; aspect-ratio: 4 / 5; max-width: 520px; }
}
@media (max-width: 639px) {
  .form__row { grid-template-columns: 1fr; }
  .form__actions { flex-direction: column; align-items: stretch; }
  .form__submit { width: 100%; }
  .form__actions .link-quiet { align-self: center; }
  .contact__portrait { margin-top: 56px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid rgb(255 255 255 / .06);
  padding-block: 72px 40px;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 32px; align-content: start; }
.site-footer__nav .link-quiet,
.site-footer__legal .link-quiet { color: var(--text-2); }
.site-footer__nav .link-quiet:hover,
.site-footer__legal .link-quiet:hover { color: var(--text); }
.site-footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
}
.site-footer__legal { display: flex; gap: 28px; }
.site-footer__copy { font-size: .875rem; color: var(--text-3); }
@media (max-width: 639px) {
  .site-footer { padding-block: 56px 32px; }
  .site-footer__nav { flex-direction: column; }
  .site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* =========================================================
   MOBILE ACTION BAR — after the hero; steps aside at the form and the footer
   ========================================================= */
.mbar { display: none; }
@media (max-width: 899px) {
  .mbar {
    position: fixed;
    z-index: 40;
    inset-inline: 0;
    bottom: 0;
    display: block;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: rgb(15 15 16 / .78);
    -webkit-backdrop-filter: saturate(1.6) blur(20px);
    backdrop-filter: saturate(1.6) blur(20px);
    box-shadow: 0 -1px 0 rgb(255 255 255 / .07);
    transform: translateY(110%);
    transition: transform .45s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar__btn { width: 100%; min-height: 52px; }
  /* the bar never sits over the last words of the page */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 899px) and (prefers-reduced-transparency: reduce) {
  .mbar { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mbar { transition: opacity .2s ease; }
}

/* =========================================================
   PHONES (≤ 639px) — a design of its own, not the desktop made smaller.
   Everything here is scoped to phones; desktop and tablet are untouched.
   Principles: one idea per screen, more air between groups than inside them,
   fewer lines and frames, bigger type with tighter tracking, photographs cropped for a tall screen.
   ========================================================= */
@media (max-width: 639px) {
  :root {
    --gut: 24px;
    --space-section: 120px;
    --fs-display: clamp(2.75rem, 2rem + 3vw, 3rem);        /* 43 → 45: three lines, each a whole phrase */
    --fs-h2: clamp(2.25rem, 1.6rem + 3vw, 2.625rem);       /* 37 → 39 */
    --fs-lead: 1.125rem;
  }

  /* Type: headings carry the page; labels step back */
  .eyebrow { margin-bottom: 18px; font-size: .875rem; gap: 10px; }
  .eyebrow::before { width: 22px; }
  .h2 { line-height: 1.04; letter-spacing: -.03em; }

  /* Header: just the name. The hero owns the first action; the bottom bar takes over after it */
  .site-header .btn { display: none; }
  .site-header__inner { justify-content: center; }
  .wordmark { font-size: .875rem; letter-spacing: .26em; }

  /* ---------- Hero: the portrait standing on the line, the credentials, then the words ---------- */
  .hero { --base: 96px; grid-template-rows: auto auto; }
  .hero__stage { height: calc(var(--nav) + 100vw + var(--base)); min-height: 0; }
  .hero__figure { inset: calc(var(--nav) + 4px) 0 var(--base); }
  .hero__creds { padding-top: 20px; gap: 4px; }
  .hero__cred { font-size: .875rem; gap: 9px; }
  .hero__cred--title { font-size: .9375rem; }
  .hero__cred-icon { width: 18px; height: 18px; }
  .hero__layout { padding-top: 36px; padding-bottom: 48px; }
  .hero__title { line-height: 1.04; letter-spacing: -.034em; }
  .hero__lead { margin-top: 20px; font-size: 1.0625rem; line-height: 1.75; }
  .hero__actions { margin-top: 32px; }

  /* ---------- Story: the greeting and heading, the film nearly full width, then the two paragraphs ---------- */
  .story { padding-top: 96px; }       /* the hero already ends in open space */
  .story__video {
    margin-top: 40px;
    width: min(100%, calc((100svh - var(--nav) - 32px) * 9 / 16));
    border-radius: 20px;
  }
  .story__video .video__play { bottom: 22px; }
  .story__body { padding-top: 48px; }
  .story__hello { margin-bottom: 16px; font-size: 1.0625rem; }
  .story__lead { font-size: 1.0625rem; line-height: 1.75; }


  /* ---------- Includes: the bento tiles stack one per row (sizes live with the bento rules) ---------- */

  /* ---------- Process: the heading block, then a calm climbing line ---------- */
  .process__aside { margin-top: 24px; gap: 28px; }
  .stairs { margin-top: 64px; padding-inline-start: 36px; }
  .stairs::before { inset-inline-start: 6px; }
  .stair { padding-bottom: 52px; }
  .stair::after, .stair:first-child::after { inset-inline-start: -36px; }
  .stair__title { margin-top: 8px; font-size: 1.375rem; }
  .stair__text { margin-top: 8px; }

  /* ---------- Stage: the tall crop, a small place card, then the statement with air above ---------- */
  .stage__card { inset-inline-start: 16px; bottom: 16px; }
  .stage__statement { padding-top: 104px; }
  .stage__body { margin-top: 36px; row-gap: 20px; }
  .stage__text { font-size: 1.0625rem; }

  /* ---------- Results ---------- */
  .case--lead { margin-top: 56px; }
  .case__pair { gap: 3px; border-radius: 12px; }
  .case--lead .case__story { margin-top: 32px; }
  .case__quote p { font-size: 1.5rem; line-height: 1.3; }
  .case__facts { margin-top: 28px; }
  .cases { margin-top: 80px; gap: 64px; }
  .voices { margin-top: 96px; padding-top: 40px; }
  .voices__grid { margin-top: 32px; gap: 12px; row-gap: 32px; }
  .voice--lead { max-width: none; }

  /* ---------- FAQ: quieter rows, larger touch targets ---------- */
  .faq__more { margin-top: 18px; }
  .faq__list { margin-top: 40px; }
  .faq__item summary { min-height: 72px; padding-block: 20px; padding-inline-end: 52px; font-size: 1.0625rem; }
  .faq__item summary::before { width: 32px; height: 32px; margin-top: -16px; }

  /* ---------- Contact: the portrait opens the section, then the words and a short form ---------- */
  .contact__portrait {
    grid-row: 1;
    margin: 0 0 56px;
    max-width: none;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }
  .contact__portrait img { object-position: 50% 30%; }
  .contact__main { grid-row: 2; }
  .contact__lead { margin-top: 20px; font-size: 1.0625rem; }
  .form { margin-top: 40px; gap: 18px; }
  .form__actions { margin-top: 12px; }

  /* ---------- Footer: links in two columns ---------- */
  .site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; flex-direction: initial; }
}

/* =========================================================
   POLISH ROUND (2026-11-22) — one set of radii, natural heading lines, calmer stairs,
   the brand statement with the podium photo, FAQ cards, the contact panel.
   Desktop rules first, then tablet, then phones. Later rules here win over earlier ones.
   ========================================================= */
:root {
  --r-media: 16px;      /* photographs and film frames */
  --r-card: 24px;       /* tiles, cards, panels */
}

/* Header: a darker material, so it never turns grey and see-through over the light band */
.site-header { background: rgb(15 15 16 / .9); }

/* Heading lines: each .ln is one line by design; .nb keeps a phrase whole when a phone must wrap */
.ln { display: block; }
.ln-mask { display: block; overflow: hidden; padding-block: .06em .18em; margin-block: -.06em -.18em; }

/* One radius family */
.media { border-radius: var(--r-media); }
.story__video { border-radius: 20px; }
.case__pair { border-radius: var(--r-media); }

/* ---------- Includes: the icon sits closer to its title; tiles of one height per row ---------- */
.bento__card { min-height: 0; border-radius: var(--r-card); padding: 32px 32px 34px; }
.bento__title { margin-top: 26px; padding-top: 0; }
.bento__text { margin-top: 10px; }

/* ---------- Process: numbered stations on the treads; text always readable; the CTA on the top step ---------- */
.process__head > :first-child { grid-column: 1 / -1; }
.stairs { margin-top: 112px; }
.stair { padding-top: 44px; }
.stair::after { display: none; }                 /* the number itself is the station now */
.stair__num {
  position: absolute;
  top: -19px;
  inset-inline-start: -19px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--brand);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--brand);
  scale: var(--dot, 1);
}
.stair:first-child .stair__num { inset-inline-start: 0; }
.stair:first-child { padding-inline-start: 0; }
.stair__title { margin-top: 0; }
.stair__text { margin-top: 10px; max-width: 18rem; }
.stair__cta { margin-top: 28px; }

/* ---------- Stage statement: the podium photo beside the belief, read as one column of words ---------- */
.stage__statement { align-items: center; row-gap: 48px; }
.stage__portrait {
  grid-column: 8 / span 5;
  grid-row: 1;
  aspect-ratio: 680 / 690;
  border-radius: var(--r-card);
}
.stage__words { grid-column: 1 / span 6; grid-row: 1; }
.stage__title { font-size: clamp(3rem, 1.2rem + 4.6vw, 6.25rem); }
.stage__body {
  margin-top: 44px;
  display: grid;
  grid-template-columns: none;
  gap: 18px;
  max-width: 36rem;
}
.stage__text:first-child, .stage__text:last-child { grid-column: auto; }
.stage__text { color: var(--text-2); }
.stage__text:first-child { color: var(--text); }

/* ---------- Results: one look for every pair; room for more clients; three equal films ---------- */
.case__tag { top: 12px; inset-inline-start: 12px; }
.cases { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.voices { display: block; }
.voices__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* more clients simply add rows of three */
  gap: var(--gap);
  align-items: start;
  max-width: 1040px;
}
.voice--lead { grid-column: auto; max-width: none; }

/* ---------- FAQ: separate rounded cards that open softly ---------- */
.faq__head { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / span 7; border: 0; display: grid; gap: 12px; }
.faq__item {
  border: 0;
  border-radius: 20px;
  background: #212124;               /* one step up from the charcoal ground */
  box-shadow: 0 0 0 1px rgb(255 255 255 / .04);
  transition: background-color .3s var(--ease);
}
.faq__item:hover { background: #252528; }
.faq__item[open] { background: #252528; }
.faq__item summary { min-height: 76px; padding: 20px 24px; padding-inline-end: 72px; }
.faq__item summary::before { inset-inline-end: 20px; }
.faq__item p { padding: 0 24px 26px; max-width: none; }
.faq__item .faq__body { overflow: hidden; }

/* ---------- Contact: a calmer crop beside a charcoal form panel ---------- */
.contact__grid { align-items: center; }
.contact__portrait {
  align-self: center;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border-radius: var(--r-card);
}
.contact__portrait img { object-position: 50% 30%; }
.form--panel {
  margin-top: 36px;
  padding: 32px;
  border-radius: var(--r-card);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .06);
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .stairs { margin-top: 64px; }
  .stair { padding: 0 0 52px; padding-inline-start: 0; }
  .stair__num { top: -4px; inset-inline-start: -59px; }
  .stair:first-child .stair__num { inset-inline-start: -59px; }
  .stairs { padding-inline-start: 56px; }
  .stairs::before { inset-inline-start: 18px; }
  .stair__text { max-width: 34rem; }
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__list { margin-top: 40px; }
}
@media (max-width: 899px) {
  .stage__portrait, .stage__words { grid-column: 1 / -1; }
  .stage__words { grid-row: 1; }
  .stage__portrait { grid-row: 2; max-width: 560px; }
  .contact__portrait { aspect-ratio: 4 / 5; }
}

/* ---------- Phones ---------- */
@media (max-width: 639px) {
  .bento__card { padding: 26px 24px 28px; }
  .bento__title { margin-top: 20px; }
  .stairs { padding-inline-start: 52px; margin-top: 48px; }
  .stairs::before { inset-inline-start: 16px; }
  .stair__num { inset-inline-start: -54px; width: 34px; height: 34px; }
  .stair:first-child .stair__num { inset-inline-start: -54px; }
  .stair__cta { width: 100%; }
  .stage__statement { row-gap: 36px; }
  .stage__portrait { border-radius: 20px; }
  .stage__body { margin-top: 28px; }
  .voices__grid { grid-template-columns: minmax(0, 300px); justify-content: center; gap: 28px; }
  .faq__item { border-radius: 18px; }
  .faq__item summary { padding: 18px 18px; padding-inline-end: 62px; min-height: 68px; }
  .faq__item summary::before { inset-inline-end: 16px; }
  .faq__item p { padding: 0 18px 22px; }
  .contact__portrait { aspect-ratio: 4 / 5; margin-bottom: 48px; border-radius: 20px; }
  .form--panel { padding: 22px 20px; margin-top: 28px; }
}

/* The FAQ heading shares its row with the cards: a size that keeps both lines whole */
@media (min-width: 1024px) {
  .faq .h2 { font-size: clamp(2.5rem, 1.2rem + 2.4vw, 3.5rem); }
  .faq__head { grid-column: 1 / span 5; }
  .faq__list { grid-column: 7 / span 6; }
}

/* =========================================================
   LOGO — the official BS · FITNESS & NUTRITION lockup (transparent PNG, trimmed, 3x for sharpness)
   ========================================================= */
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  line-height: 0;
  border-radius: 6px;
}
.logo__img { height: 54px; width: auto; }        /* header: clear, but never louder than the menu */
.logo--footer .logo__img { height: 112px; }      /* footer: large enough for FITNESS & NUTRITION to read */
.logo:hover .logo__img { opacity: .88; }
.logo__img { transition: opacity .2s var(--ease); }
@media (max-width: 639px) {
  .logo__img { height: 44px; }
  .logo--footer .logo__img { height: 96px; }
}
/* Header: the BS symbol alone, sized against the 15px menu and the 44px button */
.logo--symbol .logo__img { height: 36px; }
@media (max-width: 639px) {
  .logo--symbol .logo__img { height: 32px; }
}

/* =========================================================
   HERO FORM — the contact form's component, set in the hero in place of the button.
   A quieter, more compact panel so the title and the photo keep the lead.
   ========================================================= */
.hero__form { margin-top: 36px; max-width: 36rem; }
.form--hero {
  margin-top: 0;
  padding: 24px;
  gap: 16px;
  background: rgb(24 24 26 / .86);     /* charcoal 1, so the photo's fade never shows a hard edge behind it */
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.form--hero .form__row { gap: 16px; }
.form--hero .field { gap: 6px; }
.form--hero .field__input { min-height: 52px; font-size: 1rem; }
.form--hero .check { min-height: 0; padding-block: 10px; margin-block: -10px; }   /* a 44px-tall tap area; the padding reaches into the gaps, so the spacing looks the same */
.form--hero .form__actions { margin-top: 4px; }
.form--hero .form__submit { width: 100%; }
/* Desktop: a slightly tighter copy column, so the hero with its form still fits one screen */
@media (min-width: 900px) {
  .hero__layout { padding-top: calc(var(--nav) + 28px); padding-bottom: calc(var(--base) + 24px); }
  .hero__lead { margin-top: 20px; }
  .hero__form { margin-top: 28px; }
  .form--hero { padding: 22px; gap: 14px; }
  .form--hero .form__row { gap: 14px; }
  .form--hero .field__input { min-height: 50px; }
}
@media (prefers-reduced-transparency: reduce) {
  .form--hero { background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 899px) {
  .hero__form { margin-top: 28px; max-width: none; }
}
@media (max-width: 639px) {
  .hero__form { margin-top: 24px; }
  .form--hero { padding: 20px 18px; gap: 14px; }
  .form--hero .form__row { gap: 14px; }
}

/* =========================================================
   DESIGN POLISH (round 2) — hero at small-laptop widths, one form spec, even stairs, the story's balance
   ========================================================= */

/* ---------- Hero, 900–1199px: the portrait as large as the copy column allows ----------
   Its width follows the viewport (the copy column starts at about 43.5vw), and it bleeds a little off the
   left edge, where the photo already fades into the ground. Never wider than the photo's own 720px. */
@media (min-width: 900px) and (max-width: 1199px) {
  .hero { --fig-l: -12px; --fig-h: calc(min(50vw, 720px) * 742 / 720); }
}

/* ---------- One contact-form spec, used by both forms ----------
   Same field height, type, spacing, consent row and full-width button; only the panel's ground differs
   (the hero panel is translucent over the photo's fade). */
.form--panel { padding: 28px; gap: 16px; }
.form--panel .form__row { gap: 16px; }
.form--panel .field { gap: 6px; }
.form--panel .field__input { min-height: 52px; font-size: 1rem; }
.form--panel .check { min-height: 0; padding-block: 10px; margin-block: -10px; }   /* 44px tap area, same visual rhythm */
.form--panel .form__actions { margin-top: 4px; }
.form--panel .form__submit { width: 100%; }
.contact .form--panel { margin-top: 36px; }
.hero .form--panel { margin-top: 0; }
@media (min-width: 900px) {
  .hero .form--panel { padding: 24px; }
  /* the shared spec is 14px taller than the old hero form: give it back in the column's spacing */
  .hero__layout { padding-top: calc(var(--nav) + 22px); }
  .hero__form { margin-top: 20px; }
}
@media (max-width: 639px) {
  .form--panel { padding: 20px 18px; gap: 14px; }
  .form--panel .form__row { gap: 14px; }
  .contact .form--panel { margin-top: 28px; }
}

/* ---------- Process (desktop): treads placed from the top, one even rise between every step ----------
   Before, the steps were aligned by their bottoms, so a longer text or the CTA pushed a tread up and the
   rises came out uneven. Now each tread sits exactly one rise above the one before it. */
@media (min-width: 1024px) {
  .stairs { --rise: 80px; align-items: start; }
  .stair { margin-bottom: 0; margin-top: calc((3 - var(--s)) * var(--rise)); }
}

/* ---------- Story (desktop): the words sit in the middle of the film's height, not at its top ---------- */
@media (min-width: 1024px) {
  .story__grid { grid-template-rows: 1fr auto auto 1fr; }
  .story__head { grid-row: 2; }
  .story__body { grid-row: 3; }
  .story__video { grid-row: 1 / -1; }
}

/* =========================================================
   LEGAL PAGES (privacy.html, accessibility.html) — DRAFTS. One readable column on the dark ground.
   ========================================================= */
.legal-header { border-bottom: 1px solid var(--border); }
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav); }
.legal { padding-block: clamp(56px, 2rem + 5vw, 112px); }
.legal__inner { max-width: 46rem; }
.legal__title { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.legal__meta { margin-top: 16px; font-size: var(--fs-small); color: var(--text-3); }
.legal__draft {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--text-2);
  line-height: 1.7;
}
.legal__draft strong { color: var(--text); }
.legal h2 { margin-top: 56px; font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.legal h3 { margin-top: 28px; font-size: 1.125rem; font-weight: 700; }
.legal p, .legal li { margin-top: 14px; font-size: 1.0625rem; line-height: 1.8; color: var(--text-2); }
.legal ul { margin-top: 8px; padding-inline-start: 1.25em; }
.legal li { margin-top: 8px; }
.legal a:not(.btn) { color: var(--blue-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal .todo {                       /* an open item for the owner: visible, never mistaken for final text */
  padding: 1px 6px;
  border-radius: 6px;
  background: #2A2A12;
  color: #F2E08A;                    /* 11.8:1 on its own ground */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.legal-footer { padding-block: 32px; border-top: 1px solid var(--border); }
.legal-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; font-size: var(--fs-small); color: var(--text-3); }
.legal-footer__inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* 404 (404.html): one line, one way home */
.notfound { min-height: calc(100svh - var(--nav) - 100px); display: grid; align-items: center; padding-block: clamp(64px, 2rem + 8vw, 140px); }
.notfound__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.notfound__line { display: block; width: 56px; height: 2px; background: var(--blue-on-dark); }
.notfound__title { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }

/* =========================================================
   TECHNICAL FIXES (accessibility round)
   ========================================================= */
/* Text for assistive technology only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Field edges at 3:1 or more against both the field and the form panel (UI components, WCAG 1.4.11):
   #727279 is 3.3:1 on the field fill #222225 and 3.7:1 on the panel #18181A. */
.field__input { border-color: #727279; }
.field__input:not([aria-invalid="true"]):hover { border-color: #8A8A92; }   /* an error keeps its red edge */

/* The privacy link inside the consent line: the blue of the dark ground, always underlined */
.check a {
  color: var(--blue-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 2px;
  white-space: nowrap;               /* "מדיניות הפרטיות" never splits across two lines */
}
.check a:hover { color: var(--text); }

/* Text enlarged to 200%: a button may wrap onto two lines instead of pushing past its column */
.btn { max-width: 100%; }
.stair__cta { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }

/* Text enlarged by the visitor (browser font size or text zoom). An em media query follows the visitor's own
   font size: at the default 16px it starts below 320px, so it never applies; at 200% it covers phones.
   Then the phrases that normally never break, and the buttons, may wrap instead of pushing past the screen. */
@media (max-width: 20em) {
  .nb, .hl { white-space: normal; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
}
@media (max-width: 20em) {
  .hero__creds { white-space: normal; }
  .hero__cred { justify-content: center; text-align: start; }
  .video__play { white-space: normal; max-width: calc(100% - 24px); }
}
/* Large text on a small laptop: the credentials under the portrait wrap within the portrait's width */
@media (min-width: 900px) and (max-width: 40em) {
  .hero__creds { white-space: normal; width: calc(var(--fig-w) - 48px); }
  .hero__cred { justify-content: center; }
}
/* Large text: the strip under the portrait grows with the text, so wrapped credentials are never cut off */
@media (max-width: 20em) { .hero { --base: 7rem; } }
@media (min-width: 900px) and (max-width: 40em) { .hero { --base: 7rem; } }
/* Large text: the header keeps the logo and the button, like on tablets. 64em is 1024px at the default size,
   the same point where the menu already steps aside. */
@media (max-width: 63.99em) { .site-nav { display: none; } }

/* Shown only when JavaScript is off: the form cannot send, and says so (the button sends nothing without it) */
.form__noscript {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px #727279;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text);
}

/* Hero spacing after the longer consent line (two lines on desktop): the column gives back the 24px it gained.
   Type sizes, field heights and tap areas are unchanged; only gaps move. */
@media (min-width: 900px) {
  .hero__layout { padding-top: calc(var(--nav) + 14px); padding-bottom: calc(var(--base) + 16px); }
  .hero__lead { margin-top: 16px; }
  .hero__form { margin-top: 16px; }
  .hero .form--panel { padding: 20px 24px; }
}
@media (max-width: 639px) {
  .hero__layout { padding-top: 32px; padding-bottom: 40px; }
}

/* The note under the button (both forms): what the button does, and the privacy link. Small, calm, readable. */
.form__note {
  margin-top: -4px;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-2);                /* 9.6:1 on the form panel */
  text-wrap: pretty;
}
.form__note a {
  color: var(--blue-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 2px;
  white-space: nowrap;
}
.form__note a:hover { color: var(--text); }

/* =========================================================
   3b. THE APP — one iPhone, five real screens; the explanations beside it choose the screen.
   Light band. Desktop: the phone stays in view while the explanations pass (the one in the middle is active).
   Phones and tablets: one phone, five numbered buttons, the active explanation under them.
   ========================================================= */
.app-show { padding-top: 0; }
.app-show__head {
  padding-top: var(--space-section);
  border-top: 1px solid var(--border);       /* the same quiet rule that opens "איך זה עובד?" */
}
.app-show__lead {
  margin-top: 24px;
  max-width: 34rem;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-2);
}

/* The iPhone: a precise, quiet frame. Screen 1179 × 2556 (iPhone 15), corners and island in proportion. */
.device {
  --s: 300px;                                 /* screen width; everything else follows it */
  --bezel: calc(var(--s) * .034);
  --r: calc(var(--s) * .135);
  position: relative;
  width: calc(var(--s) + 2 * var(--bezel));
  padding: var(--bezel);
  border-radius: calc(var(--r) + var(--bezel));
  background: #1D1D1F;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / .08),  /* the polished edge */
    0 1px 2px rgb(29 29 31 / .08),
    0 30px 60px -24px rgb(29 29 31 / .35);
}
.device__screen {
  position: relative;
  aspect-ratio: 1179 / 2556;                  /* the screenshots' own proportions, never cropped */
  border-radius: var(--r);
  overflow: hidden;
  background: #FFFFFF;
  isolation: isolate;
}
.device__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.device__shot.is-active { opacity: 1; z-index: 1; }
.device__island {                             /* the Dynamic Island, over the status bar like the real phone */
  position: absolute;
  z-index: 2;
  top: calc(var(--bezel) + var(--s) * .028);
  left: 50%;
  width: calc(var(--s) * .32);
  height: calc(var(--s) * .094);
  translate: -50% 0;
  border-radius: 999px;
  background: #000;
}

/* The explanations */
.app-show__steps { list-style: none; margin: 0; padding: 0; }
.app-step__btn {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: start;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.app-step__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  font-size: .875rem;
  font-weight: 800;
  color: var(--text-3);
  transition: border-color .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease);
}
.app-step__title {
  display: block;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text);
}
.app-step__text {
  display: block;
  margin-top: 10px;
  max-width: 24rem;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-2);
}
.app-step.is-active .app-step__num { border-color: var(--brand); background: var(--brand); color: #fff; }
.app-show__caption { display: none; }

@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-on) .device__shot { transition: opacity .5s var(--ease); }   /* GSAP crossfades when it runs */
}

/* ---------- Desktop (≥1024): scroll-driven. The phone stays in view; each explanation is one stop ---------- */
@media (min-width: 1024px) {
  .app-show__stage {
    --dev-h: calc(var(--s-dev) / (1179 / 2556) + var(--s-dev) * .068);
    --s-dev: min(330px, calc((100svh - var(--nav) - 120px) * .4613));
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    margin-top: 40px;
  }
  .app-show__steps { grid-column: 1 / span 4; grid-row: 1; }
  .app-show__device {
    grid-column: 5 / span 6;             /* the phone sits near the middle of the page */
    grid-row: 1;
    justify-self: center;
    align-self: start;
    position: sticky;
    top: calc(var(--nav) + (100svh - var(--nav) - var(--dev-h)) / 2);
  }
  .app-show__device .device { --s: var(--s-dev); }
  .app-step {
    min-height: 42svh;                        /* one stop per screen */
    display: flex;
    align-items: center;
  }
  /* room before the first and after the last explanation, so the phone is whole whenever one is in the middle */
  .app-show__steps { padding-block: max(0px, calc(var(--dev-h) / 2 - 21svh + 32px)); }
  /* inactive explanations: a readable grey (#6E6E73, 4.7:1), never faded; the active one is dark */
  .app-step__title, .app-step__text { color: var(--light-text-3); transition: color .45s var(--ease); }
  .app-step.is-active .app-step__title { color: var(--text); }
  .app-step.is-active .app-step__text { color: var(--text-2); }
  @media (hover: hover) { .app-step:not(.is-active) .app-step__btn:hover .app-step__title { color: var(--text-2); } }
}

/* ---------- Phones and tablets (<1024): one phone, five numbers, the active explanation under them ---------- */
@media (max-width: 1023px) {
  .app-show__stage { margin-top: 48px; display: grid; justify-items: center; }
  .app-show__device .device { --s: min(300px, 66vw); }
  .app-show__steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
  }
  .app-step__btn { display: block; width: auto; padding: 3px; border-radius: 50%; }   /* 44px tap target */
  .app-step__body {                           /* the words stay in the button for assistive tech; the caption shows them */
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .app-step__num { width: 38px; height: 38px; }
  .app-show__caption {
    display: block;
    margin-top: 18px;
    max-width: 22rem;
    min-height: 3.4em;                        /* no jump when the text changes length */
    text-align: center;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text-2);
  }
  .app-show__caption strong { display: block; font-size: 1.125rem; font-weight: 800; color: var(--text); }
}
@media (max-width: 639px) {
  .app-show__stage { margin-top: 36px; }
  .app-show__device .device { --s: min(270px, 70vw); }
}

/* =========================================================
   FINAL ROUND (desktop and mobile) — the owner's list of 13 points
   ========================================================= */

/* ---------- 1. Header: the full BS · FITNESS & NUTRITION lockup, sized for the menu bar ---------- */
:root { --nav: 84px; }
@media (max-width: 639px) { :root { --nav: 66px; } }
.logo--header .logo__img { height: 60px; width: auto; }
@media (max-width: 639px) { .logo--header .logo__img { height: 50px; } }

/* ---------- 1. Hero: more presence for the photo, the title higher, the column balanced ---------- */
@media (min-width: 1200px) {
  .hero {
    min-height: calc(100svh + 48px);
    --fig-h: min(calc(100svh - var(--nav) - var(--base) + 40px), 820px);
    --fig-l: max(40px, calc((100vw - var(--maxw)) / 2 + 72px));
  }
}
@media (min-width: 900px) {
  .hero__layout { padding-top: calc(var(--nav) + 28px); }
  .hero__copy { align-self: start; }           /* the title starts level with the top of the portrait, not in mid-air */
}
/* Long button labels (hero and contact): one line on desktop; on phones they may wrap, evenly */
.form__submit { white-space: normal; text-wrap: balance; line-height: 1.25; padding-block: 12px; }

/* ---------- 3. The win: right after the story; the achievement centred at its foot, larger and calmer ---------- */
.stage--win .stage__card {
  inset-inline-start: auto;
  left: 50%;
  translate: -50% 0;
  bottom: 36px;
  gap: 14px;
  padding: 16px 30px 16px 26px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  background: rgb(15 15 16 / .78);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 18px 40px -18px rgb(0 0 0 / .6);
}
.stage--win .stage__card-icon { width: 26px; height: 26px; }
@media (max-width: 639px) {
  .stage--win .stage__card {
    left: 50%; inset-inline-start: auto; bottom: 16px;
    width: max-content; max-width: calc(100% - 32px);
    white-space: normal; text-align: center;
    padding: 12px 20px; font-size: 1rem; gap: 10px; border-radius: 20px;
  }
  .stage--win .stage__card-icon { width: 22px; height: 22px; }
}
.stage--statement .stage__statement { padding-bottom: 0; }

/* ---------- 4. What the coaching includes: clearer hierarchy, the icon answers the hover ---------- */
.bento__icon { transition: background-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease); }
.bento__title { font-size: clamp(1.3125rem, 1.08rem + .55vw, 1.5625rem); }
.bento__text { margin-top: 12px; max-width: 30rem; }
@media (hover: hover) {
  .bento__card:hover .bento__icon { background: var(--brand); color: #fff; transform: translateY(-2px); }
}

/* ---------- 5. The app: the heading sits with the phone and the explanations ---------- */
@media (min-width: 1024px) {
  .app-show__stage { margin-top: 16px; }
  .app-show__steps { padding-top: 24px; }
  .app-step__text { max-width: 26rem; }
}
@media (max-width: 1023px) {
  .app-show__stage { margin-top: 32px; }
  .app-show__caption { min-height: 9.6em; max-width: 24rem; }   /* the longest explanation, so the page never jumps */
}

/* ---------- 6. How it works: the stations a touch more present ---------- */
.stair__num { width: 44px; height: 44px; font-size: .9375rem; }
@media (min-width: 1024px) { .stair__num { top: -22px; inset-inline-start: -22px; } .stair:first-child .stair__num { inset-inline-start: 0; } }

/* ---------- 9. FAQ: Bnaya at the gym mirror beside the questions, sinking softly into the charcoal ---------- */
.faq__photo {
  position: relative;
  margin-top: 40px;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-media);
  overflow: hidden;
}
.faq__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.faq__photo::after {                          /* a quiet fall-off into the section ground, like the hero */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(24 24 26 / .6), rgb(24 24 26 / 0) 45%);
  pointer-events: none;
}
@media (max-width: 1023px) {
  .faq__photo { margin-top: 32px; max-width: 520px; aspect-ratio: 16 / 11; }
  .faq__photo img { object-position: 50% 28%; }
}
@media (max-width: 639px) { .faq__photo { margin-top: 28px; aspect-ratio: 4 / 3; } }
/* Hero (desktop): the shorter form leaves room; the column breathes instead of leaving a gap under the form */
@media (min-width: 900px) {
  .hero__lead { margin-top: 26px; }
  .hero__form { margin-top: 36px; }
}

/* =========================================================
   IPHONE REVIEW ROUND — the owner's list, desktop and phone
   ========================================================= */

/* ---------- Both: the hero credentials ---------- */
.hero__cred { font-weight: 700; color: var(--text); }            /* "מאמן כושר מוסמך…" as strong as the title */
.hero__cred-icon { color: var(--brand); }                          /* the darker brand blue, as asked (decorative icons) */
.hero .blue-line__lead { background: var(--brand); }               /* the line under the portrait, darker blue */
.stage__portrait { aspect-ratio: 4 / 5; }                          /* the white-background stage photo, uncropped 4:5 */
.stage__portrait img { object-position: 50% 20%; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  /* the credentials stand in the first screen again; icons in one column, the words after them */
  .hero { --base: 96px; }
  .hero__creds { justify-items: start; text-align: start; }
  .hero__lead { margin-top: 20px; }
  .hero__form { margin-top: 28px; }
}
@media (min-width: 1200px) {
  .hero { min-height: 100svh; --fig-h: min(calc(100svh - var(--nav) - var(--base)), 800px); }
}
@media (min-width: 1024px) {
  /* the app heading closer to the section before it, and down towards the iPhone */
  .includes { padding-bottom: 88px; }
  .app-show__head { padding-top: 88px; }
  .app-show__stage { margin-top: 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 639px) {
  .hero__title { text-align: center; }                             /* "אתה כבר משקיע…" centred */
  .story { padding-top: 48px; padding-bottom: 64px; }               /* closer to the hero, and to the win photo */
  .includes { padding-top: 64px; padding-bottom: 64px; }            /* closer to the win photo, and to what follows */
  .includes__head, .process__head, .contact__main { text-align: center; }
  .includes__head .tick, .process__head .tick, .contact__main .tick { margin-inline: auto; transform-origin: center; }
  .contact__lead { margin-inline: auto; }
  .contact__lead br { display: none; }                             /* one flowing, centred paragraph: no half-empty line */

  /* the six tiles, shorter: the icon beside its title, the words below */
  .bento { gap: 12px; }
  .bento__card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 20px 20px 22px; }
  .bento__icon { width: 44px; height: 44px; border-radius: 12px; }
  .bento__icon svg { width: 22px; height: 22px; }
  .bento__title { margin-top: 0; padding-top: 0; font-size: 1.1875rem; }
  .bento__text { grid-column: 1 / -1; margin-top: 10px; }

  .app-show__head { padding-top: 64px; }
  .process__head { padding-top: 64px; }
  .faq { padding-top: 72px; }                                       /* closer to the stage photo */
  .faq__photo { display: none; }                                    /* no photo after "כל מה שרצית לדעת…" on phones */
  .contact__portrait { margin-bottom: 24px; }                       /* "אתה יודע לאן…" closer to the photo */

  /* the footer: the logo and everything under it, centred */
  .site-footer__top, .site-footer__brand { justify-items: center; text-align: center; }
  .site-footer__brand { display: grid; }
  .site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
  .site-footer__bottom { align-items: center; text-align: center; }
  .site-footer__legal { justify-content: center; }
}
@media (max-width: 639px) { .site-footer__top { flex-direction: column; align-items: center; } }
@media (max-width: 639px) { .contact__main .form { text-align: start; } }   /* the form keeps the same alignment as the hero form */

/* =========================================================
   PHONE ROUND 2 — phones only (≤639px); desktop and tablet untouched
   ========================================================= */
.app-show__arrow { display: none; }
@media (max-width: 639px) {
  /* ---------- Centred text ---------- */
  .hero__lead { text-align: center; }
  .form--panel .field__label, .form--panel .field__error, .form--panel .form__note { text-align: center; }
  .form--panel .field__select select { text-align: center; text-align-last: center; padding-inline: 48px; }
  .story__head, .story__body { text-align: center; }
  .story__lead { margin-inline: auto; }
  .bento__card { justify-content: center; text-align: center; }
  .bento__card { grid-template-columns: auto auto; }
  .app-show__head { text-align: center; }
  .app-show__head .tick { margin-inline: auto; transform-origin: center; }
  .app-show__lead { margin-inline: auto; }
  .stage__title { text-align: center; }
  .btn-dash { display: none; }                                      /* "בניה, אני נעול מקסימום בוא ניתן בראש!" */

  /* ---------- Gaps ---------- */
  .hero__layout { padding-top: 4px; padding-bottom: 16px; }         /* the hook line reaches the first screen */
  .story { padding-top: 32px; padding-bottom: 32px; }               /* closer to the hero form, and to the win photo */
  .includes { padding-bottom: 40px; }                               /* a little less before and after the divider */
  .app-show__head { padding-top: 40px; }
  .app-show { padding-bottom: 40px; }                               /* closer to "איך זה עובד?" */
  .process__head { padding-top: 40px; }
  .stair__cta { display: none; }                                    /* no button under the last step on phones */
  .faq { padding-bottom: 40px; }                                    /* the last question closer to the photo */
  .contact { padding-top: 40px; }

  /* ---------- The app: the whole iPhone and its words in one screen; swipe, tap a number or an arrow ---------- */
  .app-show__stage { margin-top: 24px; }
  .app-show__device { position: relative; }
  .app-show__device .device { --s: min(212px, 56vw); }
  .device__screen {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .device__screen::-webkit-scrollbar { display: none; }
  .device__shot {
    position: relative;
    inset: auto;
    flex: 0 0 100%;
    opacity: 1;
    scroll-snap-align: center;
  }
  .app-show__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--light-text);
    box-shadow: 0 0 0 1px rgb(29 29 31 / .08), 0 8px 20px -10px rgb(29 29 31 / .35);
    cursor: pointer;
  }
  .app-show__arrow svg { width: 20px; height: 20px; }
  .app-show__arrow--prev { inset-inline-start: -56px; }             /* RTL: the previous screen is on the right */
  .app-show__arrow--next { inset-inline-end: -56px; }
  .app-show__steps { margin-top: 16px; gap: 8px; }
  .app-show__caption { margin-top: 12px; min-height: 10em; font-size: .9375rem; line-height: 1.6; }
}
@media (max-width: 389px) { .app-show__device .device { --s: min(200px, 53vw); } }   /* narrow phones: the words still clear the bottom bar */

/* Phones: each tile reads from the right. The title sits right beside its icon; the words below start
   exactly at the icon's right edge (the tile's own right padding), aligned right, never past it. */
@media (max-width: 639px) {
  .bento__card { grid-template-columns: auto 1fr; justify-content: stretch; column-gap: 12px; text-align: start; }
  .bento__title { text-align: start; }
  .bento__text { text-align: start; margin-inline: 0; }
}
