/* shared by index-karantina.html and tools.html. Edit here, both pages follow. */
  /* ---------- tokens: the brand's own palette, set as a printed page ---------- */
  :root {
    --sc-canvas:     #FAF6F0;   /* paper */
    --sc-surface:    #F3E7DF;   /* rose-pale, the brand's box colour */
    --sc-ink:        #1F1813;
    --sc-ink-soft:   #5A4940;
    --sc-accent:     #8F4F38;   /* the brand rose, one step deeper so it carries small text */
    --sc-accent-ink: #FAF6F0;
    --sc-font-display: "Heebo", system-ui, sans-serif;   /* every heading below poster size */
    --font-poster: "Karantina", "Heebo", sans-serif;      /* only the few giant moments: masthead, chapter titles, the last floor */
    --sc-font-text:    "Heebo", system-ui, sans-serif;

    --rose:      #B5725A;       /* the brand rose itself: fills, rules, the building */
    --espresso:  #1C1714;
    --paper-ink-dark: #F3EAE2;
    --soft-dark: #BCA99C;
    --rose-dark: #D9A28A;       /* same hue, lighter stop for dark grounds */
    --sc-shadow-color: 20 30% 20%;
    --gut: clamp(1.25rem, 5vw, 5rem);
    --maxw: 72rem;
    --slow: cubic-bezier(0.22, 1, 0.36, 1);
  }
  body { direction: rtl; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem); line-height: 1.75; letter-spacing: 0; }
  h1, h2, h3, h4 { font-family: var(--font-poster); font-weight: 700; line-height: 1.02; letter-spacing: .01em; margin: 0; text-wrap: balance; }
  p { margin: 0; text-wrap: pretty; }
  strong { font-weight: 700; color: var(--sc-ink); }
  em.hl { font-style: normal; color: var(--sc-accent); }
  .sc-grain { mix-blend-mode: multiply; opacity: 0.05; }

  .wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
  @media (min-width: 1100px) { .wrap { padding-left: max(var(--gut), 7rem); } }

  /* grounds: each chapter lands on its own ground, hard cut, no interpolation */
  .g-paper   { background: var(--sc-canvas); }
  .g-surface { background: var(--sc-surface); }
  .g-dark    { background: var(--espresso); color: var(--paper-ink-dark);
               --sc-ink: var(--paper-ink-dark); --sc-ink-soft: var(--soft-dark); --sc-accent: var(--rose-dark); --sc-accent-ink: var(--espresso);
               --sc-hairline: color-mix(in oklab, var(--paper-ink-dark) 16%, transparent); color: var(--sc-ink); }
  .g-dark strong { color: var(--paper-ink-dark); }

  .skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 200; background: var(--sc-accent); color: var(--sc-accent-ink); padding: .6rem 1rem; border-radius: 6px; }
  .skip-link:focus { top: 1rem; }

  /* ---------- buttons and running-text links: ONE label everywhere ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 3.1rem;
    padding: .75rem 1.6rem; border-radius: 6px; border: 0; cursor: pointer;
    background: var(--sc-accent); color: var(--sc-accent-ink);
    font-family: var(--sc-font-text); font-weight: 700; font-size: 1.02rem; text-decoration: none; white-space: nowrap;
    box-shadow: var(--sc-e1);
    transition: transform 140ms var(--sc-ease-out), box-shadow 180ms var(--sc-ease-out), background-color 180ms var(--sc-ease-out);
  }
  @media (hover: hover) and (pointer: fine) { .btn:hover { box-shadow: var(--sc-e2); background: color-mix(in oklab, var(--sc-accent) 88%, black); } }
  .btn:active { transform: translateY(1px) scale(0.98); }
  .run-link { color: var(--sc-accent); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
  @media (hover: hover) and (pointer: fine) { .run-link:hover { text-decoration-thickness: 2px; } }

  /* ---------- entrance: slow, soft, and it repeats every time a block re-enters ---------- */
  .rv > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1.5s var(--slow), transform 1.7s var(--slow); }
  .rv.is-in > * { opacity: 1; transform: none; }
  .rv.is-in > *:nth-child(2) { transition-delay: .12s; } .rv.is-in > *:nth-child(3) { transition-delay: .24s; }
  .rv.is-in > *:nth-child(4) { transition-delay: .36s; } .rv.is-in > *:nth-child(5) { transition-delay: .48s; }
  .rv.is-in > *:nth-child(n+6) { transition-delay: .6s; }
  .no-js .rv > * { opacity: 1; transform: none; }

  /* ================================ FOLIO: the building in the margin ================================ */
  .folio { position: fixed; z-index: 70; left: 1.1rem; top: 50%; transform: translateY(-50%); font-family: var(--sc-font-text); }
  .folio__toggle { display: none; }
  .folio__roof { display: block; width: 2.1rem; height: .9rem; margin: 0 0 .3rem; background: var(--rose);
    clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: 0; transform: translateY(6px); transition: opacity .9s var(--slow), transform .9s var(--slow); }
  .folio.is-roofed .folio__roof { opacity: 1; transform: none; }
  .folio ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: .3rem; }
  .folio a { display: flex; flex-direction: row-reverse; align-items: center; gap: .7rem; text-decoration: none; color: var(--sc-ink-soft);
    min-height: 1.5rem; border-radius: 4px; }
  .folio__bar { position: relative; flex: none; width: 2.1rem; height: 1rem; border: 1px solid color-mix(in oklab, var(--rose) 55%, transparent); border-radius: 2px; overflow: hidden; background: color-mix(in oklab, var(--sc-canvas) 70%, transparent); }
  .folio__bar::after { content: ""; position: absolute; inset: 0; background: var(--rose); transform: scaleX(0); transform-origin: 100% 50%;
    transition: transform 1.3s var(--slow), background-color .6s var(--slow); }
  .folio li.is-built .folio__bar::after { transform: scaleX(1); }
  .folio li.is-here .folio__bar::after { background: var(--sc-accent); }
  .folio__label { font-size: .82rem; line-height: 1.2; white-space: nowrap; padding: .2rem .5rem; border-radius: 4px;
    background: color-mix(in oklab, var(--sc-canvas) 92%, transparent); box-shadow: var(--sc-e1);
    opacity: 0; transform: translateX(-4px); transition: opacity .35s var(--sc-ease-out), transform .35s var(--sc-ease-out); pointer-events: none; }
  .folio li.is-here .folio__label, .folio a:focus-visible .folio__label { opacity: 1; transform: none; color: var(--sc-ink); }
  @media (hover: hover) and (pointer: fine) { .folio a:hover .folio__label { opacity: 1; transform: none; } }
  .folio li.floor-top .folio__label { font-weight: 700; color: var(--sc-accent); }
  .folio li.floor-ground .folio__bar { height: .7rem; }

  @media (max-width: 1099px) {
    .folio { top: max(.75rem, env(safe-area-inset-top)); left: .75rem; transform: none; }
    .folio__toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .35rem .8rem .35rem .65rem;
      border: 1px solid color-mix(in oklab, var(--rose) 40%, transparent); border-radius: 6px; cursor: pointer;
      background: color-mix(in oklab, #FAF6F0 94%, transparent); color: #1F1813; box-shadow: var(--sc-e1); font-size: .85rem; }
    .folio__mini { display: flex; flex-direction: column-reverse; gap: 2px; }
    .folio__mini i { display: block; width: 1rem; height: 3px; border-radius: 1px; background: color-mix(in oklab, var(--rose) 25%, transparent); transition: background-color .8s var(--slow); }
    .folio__mini i.on { background: var(--rose); }
    .folio__panel { position: absolute; top: calc(100% + .4rem); left: 0; min-width: 14rem; padding: .8rem; border-radius: 8px;
      background: #FAF6F0; color: #1F1813; box-shadow: var(--sc-e3); display: none; }
    .folio.is-open .folio__panel { display: block; }
    .folio ol { gap: .15rem; }
    .folio a { min-height: 2.75rem; color: #5A4940; }
    .folio__label { opacity: 1; transform: none; box-shadow: none; background: none; font-size: .95rem; }
    .folio li.is-here .folio__label { color: #1F1813; font-weight: 700; }
    .folio__roof { margin-inline-start: 0; }
  }

  /* ================================ COVER ================================ */
  .cover { position: relative; min-height: 100svh; overflow: clip; border-bottom: 1px solid color-mix(in oklab, var(--rose) 45%, transparent); isolation: isolate; }
  .cover__strip { position: absolute; z-index: 5; top: 0; inset-inline: 0; display: flex; align-items: center; justify-content: space-between;
    padding: 1rem var(--gut) .7rem; border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 14%, transparent); }
  @media (min-width: 1100px) { .cover__strip { padding-left: max(var(--gut), 7rem); } }
  .cover__logo { height: clamp(3rem, 5vw, 4.2rem); width: auto; }
  .cover__cred { font-size: .85rem; color: var(--sc-ink-soft); letter-spacing: .02em; }
  .cover__glow { position: absolute; z-index: 0; left: 4vw; top: 16svh; width: 58vw; height: 80svh; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in oklab, var(--rose) 22%, transparent), transparent 72%); pointer-events: none; }
  .cover__symbol { position: absolute; z-index: 1; left: 13vw; top: 12svh; width: min(46svh, 32vw); max-width: none; height: auto; opacity: .13; pointer-events: none; }
  .cover__mast { position: absolute; z-index: 2; top: clamp(5.8rem, 13svh, 8.5rem); inset-inline: var(--gut); }
  @media (min-width: 1100px) { .cover__mast { left: max(var(--gut), 7rem); } }
  .cover__mast h1 { font-family: var(--font-poster); font-weight: 700; color: var(--sc-ink); line-height: .88; letter-spacing: .01em; }
  .cover__mast .pre { display: block; font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.6rem); letter-spacing: .01em; margin-bottom: .05em; color: var(--sc-ink-soft); }
  .cover__mast .big { display: block; font-size: clamp(5rem, 16.5vw, 17rem); }
  .cover__mast .big em { font-style: normal; color: var(--sc-accent); }
  .cover__subject { position: absolute; z-index: 3; left: 3vw; bottom: -15svh; height: 98svh; width: auto; max-width: none;
    filter: drop-shadow(-10px 18px 30px hsl(20 30% 20% / .18)); }
  .cover__copy { position: absolute; z-index: 4; right: var(--gut); bottom: clamp(2.5rem, 9svh, 6rem); width: min(30rem, 40vw); }
  .cover__copy p { font-family: var(--sc-font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); font-weight: 500; line-height: 1.4; color: var(--sc-ink); margin-bottom: 1.5rem; }
  .cover__copy p em { font-style: normal; color: var(--sc-accent); font-weight: 700; }

  @media (max-width: 759px) {
    .cover { min-height: 100svh; display: flex; flex-direction: column; }
    .cover__strip { position: relative; padding-inline-start: var(--gut); padding-inline-end: 9.5rem; }
    .cover__cred { display: none; }
    .cover__mast { position: relative; top: auto; inset-inline: auto; padding: 1.6rem var(--gut) 0; z-index: 2; }
    .cover__mast .big { font-size: 19vw; }
    .cover__copy { position: relative; right: auto; bottom: auto; width: auto; padding: 1.1rem var(--gut) 0; z-index: 4; }
    .cover__copy p { font-size: 1.14rem; margin-bottom: 1rem; }
    .cover__stage { position: relative; flex: 1; min-height: 44svh; }
    .cover__subject { left: 50%; bottom: -8svh; height: min(67svh, 148vw, calc(100% + 7svh)); translate: -50% 0; }   /* never climbs above its own stage, so short phones keep the CTA clear */
    .cover__symbol { left: 50%; top: auto; bottom: 10svh; width: 78vw; translate: -50% 0; }
    .cover__glow { left: 5vw; top: auto; bottom: 0; width: 90vw; height: 50svh; }
  }
  @media (min-width: 760px) { .cover__stage { position: absolute; inset: 0; z-index: 1; } }

  /* ================================ CHAPTERS ================================ */
  .intertitle { padding-block: clamp(5rem, 14svh, 9rem) clamp(2rem, 5svh, 3.5rem); }
  .intertitle .num { display: block; font-family: var(--sc-font-display); font-size: clamp(1rem, .9rem + .4vw, 1.3rem); color: var(--sc-accent); margin-bottom: .6rem; }
  .intertitle h2 { font-size: clamp(3.4rem, 2rem + 5.4vw, 7rem); line-height: .95; }
  .intertitle hr { border: 0; height: 1px; background: color-mix(in oklab, var(--sc-ink) 18%, transparent); margin: clamp(1.6rem, 4svh, 2.6rem) 0 0; }

  .spread { padding-bottom: clamp(4rem, 10svh, 7rem); }
  .standfirst { font-family: var(--sc-font-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.5; font-weight: 500; max-width: 40ch; color: var(--sc-ink); }
  .standfirst em { font-style: normal; color: var(--sc-accent); font-weight: 700; }
  .cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
  .col-7 { grid-column: span 7; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-8 { grid-column: span 8; }
  @media (max-width: 899px) { .cols > * { grid-column: 1 / -1 !important; } }
  .body-copy { color: var(--sc-ink-soft); max-width: 62ch; }
  .body-copy + .body-copy { margin-top: 1.1rem; }
  .pull { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem); line-height: 1.22; color: var(--sc-ink); }
  .pull em { font-style: normal; color: var(--sc-accent); }
  .connector { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; max-width: 58ch; }
  .connector em { font-style: normal; color: var(--sc-accent); font-weight: 700; }

  /* ---------- chapter A ---------- */
  .a-open { padding-bottom: clamp(2.5rem, 6svh, 4rem); }
  .a-open .standfirst { margin-bottom: 1.4rem; }
  .a-open .body-copy { max-width: 56ch; }
  .a-quote { padding-block: clamp(3rem, 9svh, 6rem) 0; border-top: 1px solid color-mix(in oklab, var(--sc-ink) 12%, transparent); }
  .a-quote .intro { margin-top: 2rem; color: var(--sc-ink-soft); line-height: 1.95; }
  .a-quote .connector { margin-top: 2rem; }
  .breath { min-height: 52svh; display: flex; align-items: flex-end; padding-bottom: 6svh; }
  .breath p { font-family: var(--sc-font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 500; color: var(--sc-ink-soft); }

  /* ---------- the peak: four scattered questions become one picture ---------- */
  .peak__stage { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: clamp(1rem, 3svh, 2rem); padding: 1.5rem var(--gut); }
  .peak__board { position: relative; width: min(62rem, 100%); display: grid; grid-template-columns: 1fr 1fr; }
  .peak__frame { position: absolute; inset: -10px; border: 2px solid var(--rose); border-radius: 4px; pointer-events: none;
    opacity: var(--frame, 0); transform: scale(calc(1.04 - .04 * var(--frame, 0))); }
  .q { position: relative; background: #FFFCF8; padding: clamp(1.1rem, 2.4vw, 1.8rem) clamp(1.1rem, 2.4vw, 2rem); border: 1px solid color-mix(in oklab, var(--sc-ink) 12%, transparent);
    will-change: transform; }
  .q::after { content: ""; position: absolute; inset: 0; box-shadow: var(--sc-e3); opacity: var(--lift, 1); pointer-events: none; }
  .q h3 { font-size: clamp(1.5rem, 1.25rem + .9vw, 1.95rem); margin-bottom: .5rem; color: var(--sc-ink); }
  .q p { color: var(--sc-ink-soft); font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.65; }
  .peak__land { max-width: 44ch; text-align: center; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.2rem); line-height: 1.35;
    opacity: var(--land, 0); }
  .peak__land em { font-style: normal; color: var(--sc-accent); }
  @media (max-width: 759px) {
    .peak__board { grid-template-columns: 1fr; }
    .q { padding: .8rem 1rem; }
    .q h3 { font-size: 1.35rem; margin-bottom: .15rem; }
    .q p { font-size: .9rem; line-height: 1.5; }
    .peak__stage { gap: .9rem; padding-block: 1rem; justify-content: center; }
    .peak__land { font-size: 1.15rem; }
  }
  @media (max-height: 700px) and (max-width: 759px) { .q p { font-size: .84rem; line-height: 1.42; } .q { padding: .6rem .85rem; } }

  /* ---------- chapter B (dark) ---------- */
  .b-lead h2.head { font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.6rem); }
  .b-lead h2.head em { font-style: normal; color: var(--sc-accent); }
  .b-lead .standfirst { margin-top: 1.6rem; max-width: 46ch; }
  .b-lead .body-copy { margin-top: 1.4rem; }
  .b-lead .connector { margin-top: 1.4rem; }
  .b-grid { margin-top: clamp(3rem, 8svh, 5rem); }
  .b-photo { position: sticky; top: 8svh; margin: 0; }
  .b-photo__frame { position: relative; overflow: clip; border-radius: 4px; background: #E9D8CC; aspect-ratio: 4 / 5; }
  /* the full photo, cropped to a portrait frame around her, with room above and below for the parallax travel */
  .b-photo__frame img { position: absolute; left: 0; top: -17%; width: 100%; height: 134%; max-width: none; object-fit: cover; object-position: 52% 50%; }
  .b-photo figcaption, .fig-cap { margin-top: .7rem; font-size: .85rem; color: var(--sc-ink-soft); border-top: 1px solid var(--sc-hairline); padding-top: .5rem; }
  .outcomes { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 3vw, 3rem); }
  .outcome { padding-block: 1.5rem; border-top: 1px solid var(--sc-hairline); }
  .outcome h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); margin-bottom: .55rem; }
  .outcome p { color: var(--sc-ink-soft); font-size: 1rem; line-height: 1.7; }
  @media (max-width: 899px) { .b-photo { position: relative; top: auto; max-width: 26rem; } }
  @media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }
  .invite { padding-block: clamp(3.5rem, 9svh, 6rem); border-top: 1px solid var(--sc-hairline); margin-top: clamp(3rem, 8svh, 5rem); }
  .invite p { font-family: var(--sc-font-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.6rem); line-height: 1.55; max-width: 46ch; }

  /* ---------- chapter C ---------- */
  .c-fig { margin: 0; }
  .c-fig img { width: 100%; height: auto; border-radius: 4px; }
  .c-text h2 { font-size: clamp(2.5rem, 1.9rem + 2.5vw, 4rem); margin-bottom: 1.4rem; }
  .c-pull { margin-top: clamp(3rem, 8svh, 5rem); padding: clamp(2rem, 4vw, 3rem) 0; border-block: 1px solid color-mix(in oklab, var(--rose) 50%, transparent); }
  .c-pull p { font-family: var(--sc-font-display); font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.6rem); line-height: 1.3; font-weight: 500; max-width: 34ch; }
  .c-pull p em { font-style: normal; color: var(--sc-accent); font-weight: 700; }

  /* ---------- the video library: hear it in her voice ---------- */
  .vlib { margin-top: clamp(3.5rem, 9svh, 6rem); }
  .vlib__head h2 { font-size: clamp(2.5rem, 1.9rem + 2.5vw, 4rem); }
  .vlib__head p { margin-top: .8rem; color: var(--sc-ink-soft); max-width: 56ch; }
  .vgrid { margin-top: clamp(1.8rem, 4svh, 2.6rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.8rem); align-items: start; }
  .vcard { margin: 0; }
  .vcard__frame { position: relative; overflow: clip; border-radius: 10px; background: var(--espresso); box-shadow: var(--sc-e2); }
  .vcard__frame--tall { aspect-ratio: 9 / 16; }
  .vcard__frame--post { aspect-ratio: 9 / 16; }   /* the one 4:5 clip sits whole inside the same tall frame, so the row stays even */
  .vcard__frame.vcard__frame--post video { object-fit: contain; }
  .vcard__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .vcard__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
    background: linear-gradient(to top, hsl(20 30% 8% / .45), transparent 45%); transition: opacity .3s var(--sc-ease-out); }
  .vcard__play span { width: 4.2rem; height: 4.2rem; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, #FFFCF8 92%, transparent); box-shadow: var(--sc-e2);
    transition: transform .18s var(--sc-ease-out); }
  .vcard__play svg { width: 1.5rem; height: 1.5rem; margin-left: 4px; fill: var(--sc-accent); }
  @media (hover: hover) and (pointer: fine) { .vcard__play:hover span { transform: scale(1.06); } }
  .vcard__play:active span { transform: scale(.97); }
  .vcard.is-playing .vcard__play { opacity: 0; pointer-events: none; }
  .vcard figcaption { margin-top: .9rem; }
  .vcard h3 { font-size: clamp(1.45rem, 1.25rem + .6vw, 1.8rem); }
  .vcard .len { display: block; margin-top: .25rem; font-size: .85rem; color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; }
  @media (max-width: 1023px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
  /* phones: a swipeable shelf, one card and a peek of the next */
  @media (max-width: 640px) {
    .vgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70vw; overflow-x: auto; scroll-snap-type: x mandatory;
      margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); padding-bottom: .6rem; scrollbar-width: none; }
    .vgrid::-webkit-scrollbar { display: none; }
    .vcard { scroll-snap-align: start; }
  }

  /* ---------- chapter D: stories ---------- */
  .d-lead h2 { font-size: clamp(2.5rem, 1.9rem + 2.5vw, 4rem); margin-bottom: 1.2rem; }
  .d-lead .body-copy { max-width: 60ch; }
  .d-lead .three { margin-top: 1rem; font-weight: 700; color: var(--sc-ink); }
  .stories { margin-top: clamp(2.5rem, 6svh, 4rem); border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 16%, transparent); }
  .story { border-top: 1px solid color-mix(in oklab, var(--sc-ink) 16%, transparent); }
  .story__trigger { width: 100%; display: flex; align-items: center; gap: 1.2rem; padding: clamp(1.3rem, 3svh, 2rem) .2rem; background: none; border: 0; cursor: pointer; text-align: right; color: var(--sc-ink); }
  .story__meta { flex: 1; display: flex; flex-direction: column; gap: .25rem; }
  .story__school { font-size: .95rem; color: var(--sc-accent); }
  .story__title { font-family: var(--font-poster); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.7vw, 2.9rem); line-height: 1.05; letter-spacing: .01em; }
  .story__icon { flex: none; position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--sc-accent) 55%, transparent); transition: background-color .3s var(--sc-ease-out); }
  .story__icon::before, .story__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1rem; height: 1.5px; background: var(--sc-accent); translate: -50% -50%; transition: transform .45s var(--slow); }
  .story__icon::after { transform: rotate(90deg); }
  .story.open .story__icon::after { transform: rotate(0deg); }
  @media (hover: hover) and (pointer: fine) { .story__trigger:hover .story__icon { background: color-mix(in oklab, var(--sc-accent) 12%, transparent); } }
  .story__body { display: none; padding-bottom: clamp(2rem, 5svh, 3.5rem); }
  .story.open .story__body { display: block; animation: storyIn 1.1s var(--slow); }
  @keyframes storyIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3.5vw, 3.5rem); }
  .story__cols p { color: var(--sc-ink-soft); line-height: 1.8; }
  .story__cols p + p { margin-top: 1rem; }
  .story__name { font-family: var(--font-poster); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.4rem); color: var(--sc-accent) !important; text-align: center; margin-block: 1.3rem !important; line-height: 1.3; }
  .story__line { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.25rem; color: var(--sc-ink) !important; }
  .fact { background: #FFFCF8; border-top: 2px solid var(--rose); padding: 1.1rem 1.3rem; border-radius: 0 0 4px 4px; color: var(--sc-ink) !important; line-height: 1.7; }
  .fact .fig { display: block; font-family: var(--font-poster); font-weight: 700; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--sc-accent); margin-bottom: .4rem; }
  .quote { margin: 0; padding: 1.1rem 1.3rem; border-top: 1px solid color-mix(in oklab, var(--sc-ink) 20%, transparent); }
  .quote p { font-family: var(--sc-font-display); font-size: 1.22rem !important; line-height: 1.5 !important; color: var(--sc-ink) !important; }
  .quote cite { display: block; margin-top: .6rem; font-style: normal; font-size: .88rem; color: var(--sc-ink-soft); }
  .pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.2rem; }
  .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; align-items: start; }
  .photos figure { margin: 0; }
  .photos img { width: 100%; height: auto; border-radius: 4px; }
  .signs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
  .zoom { cursor: zoom-in; }
  .explain { margin-top: .5rem; font-size: .95rem; color: var(--sc-ink-soft); }
  .closing { margin-top: 2rem; padding: 1.4rem 1.6rem; background: #FFFCF8; border-radius: 4px; line-height: 1.8; }
  .sub-move { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 2px solid var(--rose); }
  .sub-move .kicker { font-size: .88rem; font-weight: 700; color: var(--sc-accent); }
  .sub-move h4 { font-size: 1.9rem; margin: .3rem 0 1.1rem; }
  .sub-move .twocol { column-count: 2; column-gap: 2.2rem; }
  .sub-move .twocol p { color: var(--sc-ink-soft); line-height: 1.8; break-inside: avoid-column; }
  .sub-move .twocol p + p { margin-top: 1rem; }
  @media (max-width: 759px) {
    .story__cols, .pair, .photos, .sub-move .twocol { grid-template-columns: 1fr; column-count: 1; }
  }
  .d-common { margin-top: clamp(2.5rem, 6svh, 4rem); max-width: 60ch; }
  .d-common p { font-family: var(--sc-font-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.55; }
  .d-common p em { font-style: normal; color: var(--sc-accent); font-weight: 700; }
  .d-common .btn { margin-top: 1.6rem; }

  /* ---------- chapter E: the method as stairs, the tracks as a ledger ---------- */
  .e-lead h2 { font-size: clamp(2.5rem, 1.9rem + 2.5vw, 4rem); max-width: 22ch; }
  .e-lead .body-copy { margin-top: 1.2rem; }
  .stairs { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 0; margin-top: clamp(2.5rem, 6svh, 4rem); max-width: 50rem; }
  .step { position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding: 1rem 1.2rem; border-top: 2px solid var(--rose); background: var(--sc-surface); }
  .step:nth-child(1) { height: 7.5rem; } .step:nth-child(2) { height: 10.5rem; } .step:nth-child(3) { height: 13.5rem; background: var(--rose); color: #FFFCF8; border-top-color: var(--sc-accent); }
  .step .n { font-size: .85rem; color: var(--sc-accent); font-weight: 700; }
  .step:nth-child(3) .n { color: #FFF3EC; }
  .step .name { font-family: var(--font-poster); font-weight: 700; font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.9rem); line-height: 1.1; }
  .step .badge { margin-top: auto; align-self: flex-start; font-size: .78rem; font-weight: 700; padding: .2rem .55rem; border-radius: 4px; background: #FFFCF8; color: var(--sc-accent); }
  .stairs-cap { margin-top: 1rem; color: var(--sc-ink-soft); max-width: 60ch; }
  .ledger { margin-top: clamp(3rem, 8svh, 5rem); }
  .ledger h3 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); margin-bottom: 1.2rem; }
  .track { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding-block: 1.6rem; border-top: 1px solid color-mix(in oklab, var(--sc-ink) 16%, transparent); }
  .track:last-of-type { border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 16%, transparent); }
  .track .tag { font-size: .9rem; font-weight: 700; color: var(--sc-accent); padding-top: .35rem; }
  .track h4 { font-size: clamp(1.55rem, 1.35rem + .7vw, 2rem); margin-bottom: .5rem; }
  .track p { color: var(--sc-ink-soft); max-width: 62ch; }
  .ledger .after { margin-top: 1.4rem; color: var(--sc-ink-soft); }
  @media (max-width: 640px) { .track { grid-template-columns: 1fr; gap: .4rem; } .step { padding: .8rem .7rem; } .step .badge { font-size: .7rem; } }

  /* ================================ CLOSE: your floor ================================ */
  .close { padding-block: clamp(5rem, 14svh, 9rem) 0; }
  .close__floor { font-family: var(--font-poster); font-weight: 700; font-size: clamp(3rem, 1.8rem + 4.2vw, 5.6rem); line-height: .95; letter-spacing: .005em; }
  .close__floor > span { color: var(--sc-accent); } .close__floor .w { color: var(--sc-ink); }
  .close h2 { margin-top: 1.4rem; font-size: clamp(1.8rem, 1.45rem + 1.3vw, 2.6rem); font-weight: 400; max-width: 30ch; }
  .close .sub { margin-top: 1rem; color: var(--sc-ink-soft); max-width: 52ch; }
  .form { margin-top: clamp(2rem, 5svh, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; max-width: 46rem; }
  .field { display: flex; flex-direction: column; gap: .4rem; }
  .field.full { grid-column: 1 / -1; }
  .field label { font-size: .92rem; font-weight: 500; color: var(--sc-ink); }
  .field .opt { color: var(--sc-ink-soft); font-weight: 400; }
  .field input, .field select, .field textarea { min-height: 3rem; padding: .7rem .9rem; border-radius: 6px; border: 1px solid color-mix(in oklab, var(--paper-ink-dark) 28%, transparent);
    background: color-mix(in oklab, var(--paper-ink-dark) 6%, transparent); color: var(--paper-ink-dark); transition: border-color .18s var(--sc-ease-out), background-color .18s var(--sc-ease-out); }
  .field input::placeholder, .field textarea::placeholder { color: color-mix(in oklab, var(--paper-ink-dark) 50%, transparent); }
  .field select option { color: #1F1813; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose-dark); background: color-mix(in oklab, var(--paper-ink-dark) 10%, transparent); }
  .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 2px; }
  .consent { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--sc-ink-soft); }
  .consent input { width: 1.2rem; height: 1.2rem; margin-top: .3rem; flex: none; }
  .consent a { color: var(--rose-dark); text-decoration: underline; cursor: pointer; }
  .form .btn { grid-column: 1 / -1; justify-self: start; }
  @media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; justify-content: center; } }
  .colophon { margin-top: clamp(4rem, 10svh, 6rem); padding-block: 1.6rem 2.2rem; border-top: 1px solid var(--sc-hairline); display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .88rem; color: var(--sc-ink-soft); }
  .colophon a { color: var(--sc-ink-soft); cursor: pointer; }
  .colophon img { height: 2.4rem; width: auto; opacity: .92; }

  /* ---------- WhatsApp ---------- */
  .wa { position: fixed; z-index: 70; left: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25D366;
    display: grid; place-items: center; box-shadow: var(--sc-e2); transition: transform .16s var(--sc-ease-out); }
  .wa svg { width: 1.9rem; height: 1.9rem; }
  .wa:active { transform: scale(.96); }
  @media (min-width: 1100px) { .wa { left: auto; right: 1.4rem; } }

  /* ---------- modals & lightbox ---------- */
  .modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 1rem; background: hsl(20 30% 8% / .62); }
  .modal.active { display: grid; }
  .modal__card { position: relative; max-width: 40rem; max-height: 86svh; overflow: auto; background: var(--sc-canvas); color: #1F1813; border-radius: 8px; padding: 2.2rem 2rem 1.8rem; box-shadow: var(--sc-e3); }
  .modal__card h2 { font-size: 2.1rem; margin-bottom: 1rem; }
  .modal__card h3 { font-size: 1.4rem; margin: 1.2rem 0 .3rem; }
  .modal__card p { color: #5A4940; margin-top: .6rem; }
  .modal__close { position: absolute; top: .6rem; left: .6rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: none; font-size: 1.6rem; cursor: pointer; color: #1F1813; }
  .lightbox { position: fixed; inset: 0; z-index: 320; display: none; place-items: center; background: hsl(20 30% 6% / .9); padding: 1rem; }
  .lightbox.active { display: grid; }
  .lightbox img { max-width: 94vw; max-height: 88svh; width: auto; height: auto; border-radius: 4px; }
  .lightbox .modal__close { color: #FAF6F0; }

  /* ---------- reduced motion: fewer and gentler, and no held scroll ---------- */
  @media (prefers-reduced-motion: reduce) {
    .rv > * { transform: none !important; transition: opacity .3s linear; }
    .peak { height: auto !important; }
    .peak .sc-stage { position: relative; height: auto; min-height: 0; padding-block: 3rem; }
    .cover__subject, .cover__symbol, .cover__glow { transform: none !important; }
  }

/* ---------- main page: the quiet P.S. after the form, a second door into the free tools ---------- */
.ps { margin-top: clamp(4rem, 10svh, 6rem); padding-top: clamp(2rem, 5svh, 3rem); border-top: 1px solid var(--sc-hairline); max-width: 46rem; }
.ps h3 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); line-height: 1.05; }
.ps p { margin-top: 1rem; color: var(--sc-ink-soft); max-width: 58ch; }
.ps .row { margin-top: 1.6rem; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.btn--ghost { background: transparent; color: var(--sc-accent); box-shadow: none; border: 1.5px solid var(--sc-accent); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: color-mix(in oklab, var(--sc-accent) 12%, transparent); box-shadow: none; } }
.free { position: relative; display: inline-grid; place-items: center; font-size: 1.05rem; font-weight: 800; padding: .45rem 1rem; border-radius: 999px;
  background: var(--sc-accent); color: var(--sc-accent-ink); }
/* three soft ripples when the P.S. comes into view, then stillness. The word itself never moves. */
.free::before, .free::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--sc-accent); opacity: 0; pointer-events: none; }
.ps.is-in .free::before { animation: freeRipple 2.2s var(--slow) .7s 3 both; }
.ps.is-in .free::after  { animation: freeRipple 2.2s var(--slow) 1.8s 3 both; }
@keyframes freeRipple { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9, 2.3); } }
@media (prefers-reduced-motion: reduce) { .free::before, .free::after { animation: none !important; } }

/* ---------- the tools floor: top of the building, hollow like the others, the logo leaf green outline ---------- */
.folio li.floor-tools .folio__bar { border: 1px solid #21452E; background: color-mix(in oklab, var(--sc-canvas) 70%, transparent); }
.folio li.floor-tools .folio__bar::after { display: none; }
.folio li.floor-tools .folio__label { color: #21452E; font-weight: 700; }


/* ---------- mobile round (2026-09-24): Shosh's notes from checking on a real phone ---------- */
@media (max-width: 759px) {
  /* 1. a bigger, bolder masthead; tighter spacing keeps the whole hero, photo included, on the first screen */
  .cover__strip { padding-block: .7rem .5rem; }
  .cover__mast { padding-top: .9rem; }
  .cover__mast .pre { font-size: 2.55rem; font-weight: 700; margin-bottom: 0; }
  .cover__mast .big { font-size: 22.5vw; }
  .cover__copy { padding-top: .6rem; }
  .cover__copy p { margin-bottom: .8rem; }
  /* 2. half the air around "שאלו את עצמכם" */
  .breath { min-height: 26svh; padding-bottom: 1svh; }
  .peak__stage { justify-content: flex-start; padding-top: 16svh; }
  /* 3. the six outcome titles */
  .outcome h3 { font-size: 1.95rem; line-height: 1; }
  /* 7. the first video no longer touches the edge */
  .vgrid { scroll-padding-inline: var(--gut); }
  /* 8. "המשותף לשלושתם" reads as its own closing note, not part of the last story */
  .d-common { margin-top: 3rem; padding: 1.6rem 1.3rem 1.8rem; background: #FFFCF8; border-top: 3px solid var(--rose); border-radius: 0 0 6px 6px; box-shadow: var(--sc-e1); }
  /* 9. "ייחודי לשיטה שלי" */
  .step .badge { font-size: .86rem; align-self: center; text-align: center; padding: .3rem .6rem; }
  /* 10. the track tags */
  .track .tag { font-size: 1.08rem; }
}
