/* ספייס: נבנה אוטומטית מ-research/v50/font_pages/space/{css,js} על ידי build_font_pages.py. לא לערוך כאן. */
/* ===== 00-core.css ===== */
/* ===========================================================================
   ספייס - הליבה המשותפת לכל האזורים בעמוד (29.10.2026). שייך לליבה: אזורים לא עורכים את הקובץ הזה.
   השפה: הבמה היא הכחול של שער הספר (לא שחור, כדי שהצל השחור של האותיות ייראה), החומר הוא הקרש הצהוב,
   וכל צל שמוסיפים בממשק הוא שחור וקשה, באותו כיוון כמו הצל שבתוך הפונט (ימינה ולמטה).
   =========================================================================== */

/* ---------- the two colour fonts, with font-display: block on this page: until the real file is in, text in Space stays
   invisible (both files are preloaded and tiny) instead of showing another font as if it were Space ---------- */
@font-face { font-family: 'FS Space'; src: url('../assets/fonts-showcase/space-regular.woff2?v=6') format('woff2'); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: 'FS Space Rough'; src: url('../assets/fonts-showcase/space-rough.woff2?v=6') format('woff2'); font-weight: 400; font-style: normal; font-display: block; }

/* when the browser cannot draw colour fonts (canvas probe in 00-core.js), say so instead of pretending */
.fp--space .s-nocolr { width: var(--wrap); margin: 14px auto 0; padding: 12px 16px; border: 2px solid #000; border-radius: 12px; background: #fff6df; color: #1d1608; font: 600 .95rem/1.5 var(--f-text); box-shadow: 4px 4px 0 #000; }

/* ---------- טוקנים ---------- */
body.fp--space {
  /* שני הצבעים שבתוך הפונט */
  --s-yellow: #FCBE32; --s-black: #000;
  /* הבמה: הכחול של השער, מהעמוק לבהיר */
  --s-blue-0: #0b1550; --s-blue-1: #13206b; --s-blue-2: #1b2f8f; --s-blue-3: #2a43b8;
  --s-violet: #3d2a8a; --s-violet-2: #5b3fb3;
  /* נייר וחום עץ לאזורים בהירים */
  --s-paper: #f3ead2; --s-paper-2: #e9dcbc; --s-wood: #7a4a12;
  --s-orange: #f08a2c;
  /* טקסט */
  --s-text: #fff6df; --s-muted: #c9d0f5; --s-ink: #10131f;
  /* צללים קשים בכיוון של הצל שבפונט */
  --s-hard-s: 4px 4px 0 #000; --s-hard: 6px 6px 0 #000; --s-hard-l: 8px 8px 0 #000;
  --s-ease: cubic-bezier(.16, 1, .3, 1); --s-ease-io: cubic-bezier(.65, 0, .35, 1); --s-spring: cubic-bezier(.34, 1.56, .64, 1);
  /* מה ש-font-page.css המשותף קורא */
  --fp-bg: var(--s-blue-1); --fp-fg: var(--s-text); --fp-muted: var(--s-muted); --fp-acc: var(--s-yellow); --fp-acc2: var(--s-orange);
  --fp-panel: rgba(255, 255, 255, .06); --fp-line: rgba(252, 190, 50, .3); --fp-ink: #000;
  /* the hero's sky starts at the very top, behind the crumbs, so there is no band between them */
  background: radial-gradient(130% 1000px at 72% 240px, #2a43b8 0%, #1b2f8f 34%, #13206b 66%, #0e1a5c 100%) top / 100% 1250px no-repeat, var(--s-blue-1);
  color: var(--s-text);
}
html.reduce-motion { scroll-behavior: auto; }
.fp--space .s-nw { white-space: nowrap; }
.fp--space .s-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fp--space :focus-visible { outline: 3px solid var(--s-yellow); outline-offset: 3px; }
.fp--space .s-on-paper :focus-visible { outline-color: var(--s-black); }
/* selection never in yellow: the planks are yellow and would vanish inside it */
.fp--space ::selection { background: rgba(255, 246, 223, .38); color: inherit; }
.fp--space .s-on-paper ::selection { background: rgba(27, 47, 143, .22); }

/* ---------- כפתור = קרש ---------- */
.fp--space .s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 2px solid #000; border-radius: 12px; background: var(--s-yellow); color: #000; font: 700 1rem/1 var(--f-text);
  text-decoration: none; cursor: pointer; box-shadow: var(--s-hard); transition: transform .18s var(--s-ease), box-shadow .18s var(--s-ease); }
.fp--space .s-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #000; }
.fp--space .s-btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 #000; transition-duration: .06s; }
.fp--space .s-btn--ghost { background: transparent; color: var(--s-text); border-color: var(--s-text); }
.fp--space .s-on-paper .s-btn--ghost { color: #000; border-color: #000; }

/* ---------- כותרת אזור: מספר באותיות של הפונט, כותרת בפונט עצמו ---------- */
.fp--space .s-head { width: var(--wrap); margin: 0 auto clamp(28px, 4vw, 56px); display: grid; gap: 10px; }
.fp--space .s-head__num { font: 400 clamp(1.6rem, 1.2rem + 1vw, 2.2rem)/1 'FS Space', var(--f-text); }
.fp--space .s-head__title { margin: 0; font: 400 min(clamp(2.6rem, 1.6rem + 4vw, 5.2rem), 12vw)/1.08 'FS Space', var(--f-text); text-wrap: balance; }
.fp--space .s-head__lead { max-width: 60ch; margin: 0; font: 400 var(--fs-lead)/1.6 var(--f-text); color: var(--s-muted); }
.fp--space .s-on-paper .s-head__lead { color: #4a3d22; }

/* ---------- אותיות שזזות כקרשים: משבצת > תעופה > האות (space_kit.s_letters) ---------- */
.fp--space .s-w { display: inline-flex; white-space: nowrap; }
.fp--space .s-l { position: relative; display: inline-block; }
.fp--space .s-f, .fp--space .s-g { display: inline-block; }

/* ---------- אזור בהיר: נייר ---------- */
.fp--space .s-on-paper { background: var(--s-paper); color: var(--s-ink); }

/* the site's nav pill on this page: a hard black shadow like everything else (its soft grey one hazed over paper sections) */
.fp--space .topnav__pill { box-shadow: 4px 4px 0 #000, inset 0 0 0 1px rgba(255, 255, 255, .07); }

/* wide screens (Daniel works on ~2000px): the showcase gets more room than the site's 1240px column */
@media (min-width: 1600px) { .fp--space main { --wrap: min(1520px, 100% - 2 * var(--gutter)); } }

/* ---------- טלפון ---------- */
@media (max-width: 700px) {
  .fp--space .s-btn { min-height: 52px; }
  /* the font switcher is the shared plank (font-page.css, 29.10.2026); only the crumbs' top stays this page's own */
  .fp--space .fp-crumbs { margin-top: calc(84px + env(safe-area-inset-top)); }
}
/* the smallest phones, where the two hero actions stack: a little less air so both sit above the fold at 320x568 */
@media (max-width: 350px) {
  .fp--space .fp-crumbs--plank + .fp-hero { padding-top: 8px; }
  .fp--space .fp-hero .s-hero__cta { gap: 10px; }
}

/* no word left alone on a line: short texts are balanced, longer paragraphs avoid a lonely last word */
.fp--space :is(p, li, dd, figcaption) { text-wrap: pretty; }
.fp--space :is(h2, h3, figcaption, .s-head__lead, .s-m__cap) { text-wrap: balance; }

/* ===== 10-story.css ===== */
/* ===========================================================================
   מהכריכה לפונט: שלושה צעדים אמיתיים (כריכה > כותרת > פונט) על השמיים הצבועים של השער, ואחריהם הסיפור.
   הכריכה עומדת כמו ספר קשיח (שדרה, צל שחור), הכותרת על לוח כחול, והפונט באותו לוח בדיוק כדי שאפשר יהיה להשוות.
   =========================================================================== */
.fp--space .s-story { padding: var(--section) 0; background: var(--s-paper); color: var(--s-ink); }
.fp--space .s-story .s-head__num { color: #000; }
.fp--space .s-story__flow { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); grid-template-areas: "cover title" "cover font";
  gap: clamp(16px, 2.4vw, 30px) clamp(20px, 3.5vw, 56px); align-items: center; }
.fp--space .s-story__step { margin: 0; display: grid; gap: 12px; }
.fp--space .s-story__step--cover { grid-area: cover; justify-items: center; }
.fp--space .s-story__step--title { grid-area: title; }
.fp--space .s-story__step--font { grid-area: font; }
.fp--space .s-story__step figcaption { display: flex; align-items: center; gap: 10px; font: 500 .95rem/1.4 var(--f-text); color: #3b301a; }
.fp--space .s-story__step--cover figcaption { margin-top: 14px; }
.fp--space .s-story__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid #000; border-radius: 9px; background: var(--s-yellow); color: #000;
  font: 400 1.25rem/1 'FS Space', var(--f-text); box-shadow: 2px 2px 0 #000; background: #fff6df; }

/* ספר קשיח: מעט מסובב, עם שדרה כהה וצל שחור קשה */
.fp--space .s-story__book { position: relative; width: min(100%, 380px); transform: perspective(1200px) rotateY(10deg) rotateZ(-1.5deg); transform-origin: 70% 50%; }
.fp--space .s-story__book picture, .fp--space .s-story__book img { display: block; width: 100%; height: auto; border-radius: 4px 10px 10px 4px; }
.fp--space .s-story__book img { border: 2.5px solid #000; box-shadow: 12px 12px 0 #000; }
.fp--space .s-story__spine { position: absolute; top: 0; bottom: 0; right: 0; width: 16px; border-radius: 0 10px 10px 0; background: linear-gradient(90deg, rgba(0, 0, 0, .0), rgba(0, 0, 0, .35)); pointer-events: none; }

.fp--space .s-story__panel { display: grid; place-items: center; min-height: clamp(120px, 12vw, 180px); padding: clamp(14px, 2.4vw, 30px); border: 2.5px solid #000; border-radius: 18px; background: #1b2f8f; box-shadow: var(--s-hard-l); container-type: inline-size; }
.fp--space .s-story__panel picture, .fp--space .s-story__panel img { display: block; width: 100%; height: auto; }
.fp--space .s-story__typed { margin: 0; width: 100%; text-align: center; white-space: nowrap; font-size: calc(96cqw / 8.12); line-height: 1.2; color: #fff6df; }

/* ---------- הסיפור ---------- */
.fp--space .s-story__body { width: var(--wrap); margin: clamp(36px, 5vw, 64px) auto 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.fp--space .s-story__text p { margin: 0 0 1em; max-width: 62ch; font: 400 clamp(1.05rem, 1rem + .3vw, 1.2rem)/1.8 var(--f-text); color: #1d1608; }
.fp--space .s-story__facts { margin: 0; display: grid; border-top: 2px solid #000; }
.fp--space .s-story__facts > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .18); }
.fp--space .s-story__facts dt { font: 600 .9rem/1.4 var(--f-text); color: #5b4a26; }
.fp--space .s-story__facts dd { margin: 0; font: 500 1rem/1.5 var(--f-text); color: #1d1608; }

.js-motion .fp--space .s-story__step--cover .s-story__book { transition: transform 1.2s var(--s-ease); }
.js-motion .fp--space .s-story__step--cover:not(.is-in) .s-story__book { transform: perspective(1200px) rotateY(28deg) rotateZ(-6deg) translateY(30px); }

@media (max-width: 860px) {
  .fp--space .s-story__flow { grid-template-columns: 1fr; grid-template-areas: "cover" "title" "font"; }
  .fp--space .s-story__book { width: min(72%, 300px); }
  .fp--space .s-story__body { grid-template-columns: 1fr; }
}

/* ===== 20-hero.css ===== */
/* ===========================================================================
   פתיחה: המילה ספייס נבנית מקרשים שעפים פנימה, נוחתים במשקל וצפים. מפסלת חורצת אותם ל-Space Rough במקום.
   הבמה כחולה (השער של הספר) כדי שהצל השחור שבפונט ייראה. השבבים שמרחפים הם סימנים קטנים של הפונט עצמו.
   סדר: שם הפונט, משפט אחד, שתי פעולות, ומתחתיהן המתג (צעצוע). כל זה נראה מהפריים הראשון.
   =========================================================================== */
/* overflow-x: clip keeps the flights from making the page scroll sideways; overflow-y stays visible so a plank in flight is
   never sliced by the hero's top edge */
.fp--space .s-hero { position: relative; min-height: min(100svh, 1000px); display: grid; align-content: start; padding: clamp(20px, 5vh, 80px) 0 clamp(70px, 9vw, 110px);
  isolation: isolate; overflow-x: clip; overflow-y: visible; }

/* ---------- רקע ---------- */
.fp--space .s-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* the galaxy's top edge is fixed in px (not %): when the hero's height changes while fonts load, its box does not move */
.fp--space .s-hero__galaxy { position: absolute; top: -220px; bottom: -220px; left: -30%; right: -30%;
  background: radial-gradient(ellipse 75vmax 23vmax at 50% 44%, rgba(255, 226, 150, .3), rgba(250, 190, 110, .14) 22%, rgba(150, 110, 235, .15) 42%, rgba(70, 100, 225, .1) 62%, transparent 78%);
  transform: rotate(-14deg); }
/* wood chips: the font's own . , ־ ' - drifting slowly in zero gravity, each on its own path */
.fp--space .s-hero__chips b { position: absolute; left: clamp(18px, var(--x), calc(100% - var(--s) - 8px)); top: var(--y); font-size: var(--s); line-height: 1; font-weight: 400; transform: rotate(var(--r)); opacity: .9; }
.js-motion .fp--space .s-hero__chips b { animation: s-hero-chip 11s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes s-hero-chip { from { transform: translate(0, 0) rotate(var(--r)); } to { transform: translate(-14px, -22px) rotate(calc(var(--r) + 24deg)); } }
.fp--space .s-hero:not(.is-live) * { animation-play-state: paused !important; }

/* ---------- תוכן ---------- */
.fp--space .s-hero__inner { position: relative; z-index: 2; width: var(--wrap); margin-inline: auto; display: grid; justify-items: center; text-align: center; gap: clamp(12px, 1.8vw, 22px); }
.fp--space .s-hero__kicker { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font: 700 var(--fs-label)/1.3 var(--f-text); color: var(--s-yellow); }
.fp--space .s-hero__kicker span + span::before { content: "·"; margin-inline-end: 14px; opacity: .6; }
.fp--space .s-hero__wordwrap { position: relative; isolation: isolate; width: 100%; display: grid; justify-items: center; }
/* the orbit lives with the word, so it never moves when the text below reflows */
.fp--space .s-hero__orbitbox { --ow: min(1180px, 96vw, 100vw - 48px); --oh: min(330px, 30vw); position: absolute; z-index: -1; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
/* max-width: none, or the site's svg { max-width: 100% } squeezes the ring into its 0px box and it never shows */
.fp--space .s-hero__orbit { position: absolute; left: 0; top: 0; width: var(--ow); max-width: none; height: var(--oh); transform: translate(-50%, -46%) rotate(-7deg); overflow: visible; }
.fp--space .s-hero__orbit ellipse { fill: none; stroke: rgba(255, 238, 200, .35); stroke-width: 1.5; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; }
/* the plank on the orbit is the font's own maqaf (־). It moves in the ring's own frame (centre 4% of the ring's height below
   the word's, turned -7deg, rx .49 and ry .467 of the box): two sine moves with one period, a quarter apart, so it rides
   exactly on the dashes */
.fp--space .s-hero__sat { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: translateY(calc(var(--oh) * .04)) rotate(-7deg); }
.fp--space .s-hero__sat-y { position: absolute; display: block; }
.fp--space .s-hero__sat b { display: block; font: 400 clamp(40px, 3.6vw, 64px)/1 'FS Space', var(--f-text); transform: translate(-50%, -50%); }
.js-motion .fp--space .s-hero__sat { animation: s-hero-ox 18s cubic-bezier(.37, 0, .63, 1) infinite alternate; }
.js-motion .fp--space .s-hero__sat-y { animation: s-hero-oy 18s cubic-bezier(.37, 0, .63, 1) infinite alternate; animation-delay: -9s; }
@keyframes s-hero-ox { from { transform: translateY(calc(var(--oh) * .04)) rotate(-7deg) translateX(calc(var(--ow) * -.49)); } to { transform: translateY(calc(var(--oh) * .04)) rotate(-7deg) translateX(calc(var(--ow) * .49)); } }
@keyframes s-hero-oy { from { transform: translateY(calc(var(--oh) * -.467)); } to { transform: translateY(calc(var(--oh) * .467)); } }

/* positioned: the chisel's blade is measured from the word's own box */
.fp--space .s-hero__word { position: relative; margin: 0; display: flex; justify-content: center; direction: rtl;
  font: 400 min(clamp(7rem, 2rem + 19vw, 26rem), calc((100vw - 2 * var(--gutter)) / 2.75), 34vh)/1.12 'FS Space', var(--f-text); }
.fp--space .s-hero__word .s-l { cursor: pointer; }
.fp--space .s-hero__word .s-g { transform-origin: 50% 88%; }
/* the carved twin sits exactly on the plank (same advance in both files). Complementary clips with -.4em of room: Space is
   cut away exactly where the twin shows, so Rough's grooves (holes) show the sky behind, never Space's yellow, and no ink or
   shadow is ever clipped. Rest states: Space = plank whole, twin hidden; Rough = plank hidden, twin whole. */
.fp--space .s-hero__word .s-f { position: relative; }
.fp--space .s-hero__word .s-g { clip-path: inset(-.4em -.4em -.4em -.4em); }
.fp--space .s-hero__word .s-g2 { position: absolute; left: 0; top: 0; font-family: 'FS Space Rough', var(--f-text); clip-path: inset(-.4em -.4em -.4em 100%); pointer-events: none; }
.fp--space .s-hero__word .s-g.is-rough { clip-path: inset(-.4em 100% -.4em -.4em); }
.fp--space .s-hero__word .s-g.is-rough + .s-g2 { clip-path: inset(-.4em -.4em -.4em -.4em); }
/* the chisel: a bright blade line that crosses the word in reading direction */
.fp--space .s-blade { position: absolute; top: 4%; bottom: 8%; left: 0; width: 0; z-index: 3; pointer-events: none; opacity: 0; }
.fp--space .s-blade::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; border-radius: 2px; background: #fff6df; box-shadow: 0 0 0 1.5px #000; }
.fp--space .s-blade::after { content: ""; position: absolute; top: -14px; left: -9px; width: 18px; height: 18px; border: 2px solid #000; border-radius: 4px; background: var(--s-yellow); transform: rotate(45deg); }

/* entrance: flight (s-f) > landing squash (s-g) > float (s-l). One animation per layer */
.js-motion .fp--space .s-hero__word .s-f { opacity: 0; }
.js-motion .fp--space .s-hero__word.is-go .s-f { opacity: 1; animation: s-hero-fly 1.25s cubic-bezier(.2, .75, .25, 1) both; animation-delay: calc(.15s + var(--i) * .11s); }
.js-motion .fp--space .s-hero__word.is-go .s-g { animation: s-hero-land .5s cubic-bezier(.3, 1.6, .5, 1); animation-delay: calc(1.2s + var(--i) * .11s); }
.js-motion .fp--space .s-hero__word.is-go .s-l { animation: s-hero-float 6.5s ease-in-out infinite; animation-delay: calc(1.8s + var(--i) * .37s); }
@keyframes s-hero-fly {
  0% { transform: translate3d(calc(var(--fx) * 1em), calc(var(--fy) * 1em), 0) rotateZ(var(--fr)) rotateY(var(--fyr)) scale(.55); opacity: 0; }
  14% { opacity: 1; }
  80% { transform: translate3d(0, -.06em, 0) rotateZ(calc(var(--fr) * -.06)) scale(1.02); }
  100% { transform: none; opacity: 1; }
}
@keyframes s-hero-land { 0% { transform: none; } 35% { transform: scale(1.06, .9); } 70% { transform: scale(.98, 1.03); } 100% { transform: none; } }
@keyframes s-hero-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-.03em) rotate(calc(var(--fr) * .012)); } }

/* widths in rem, not ch or content: they stay the same when the site's text font swaps in, so nothing shifts */
.fp--space .s-hero__lead { width: min(100%, 40rem); margin: 0; font: 400 var(--fs-lead)/1.65 var(--f-text); color: var(--s-text); text-wrap: pretty; }
/* room for three lines from the first paint: the site's text font arrives a moment later and the lead shrinks to two, so
   what comes after it never jumps */
@media (min-width: 701px) { .fp--space .s-hero__lead { min-height: 3lh; } }
.fp--space .s-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* the toy: the style switch and its hint, under the main actions */
.fp--space .s-hero__toy { width: min(100%, 440px); display: grid; justify-items: center; gap: 8px; margin-top: clamp(4px, 1.2vw, 14px); }
@media (min-width: 701px) { .fp--space .s-hero__cta .s-btn { min-width: 12.5rem; } }
.fp--space .s-hero__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 440px); }
.fp--space .s-seg { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: start;
  min-height: 56px; padding: 6px 14px 6px 10px; border: 2px solid rgba(255, 246, 223, .55); border-radius: 14px; background: rgba(11, 21, 80, .55); color: var(--s-text);
  cursor: pointer; box-shadow: var(--s-hard-s); transition: transform .18s var(--s-ease), box-shadow .18s var(--s-ease), background .2s, border-color .2s; }
.fp--space .s-seg b { grid-row: span 2; font-size: 1.8rem; line-height: 1.1; font-weight: 400; }
.fp--space .s-seg span { font: 700 .95rem/1.1 var(--f-text); white-space: nowrap; }
.fp--space .s-seg small { font: 400 .8rem/1.2 var(--f-text); color: var(--s-muted); }
.fp--space .s-seg:hover { transform: translate(-2px, -2px); box-shadow: var(--s-hard); }
.fp--space .s-seg[aria-pressed="true"] { background: var(--s-blue-3); border-color: var(--s-yellow); box-shadow: var(--s-hard); }
.fp--space .s-seg[aria-pressed="true"] small { color: #fff1c8; }
.fp--space .s-seg:active { transform: translate(4px, 4px); box-shadow: 0 0 0 #000; }
.fp--space .s-hero__hint { margin: 0; font: 400 .88rem/1.4 var(--f-text); color: var(--s-muted); }
.fp--space .s-hero .s-hint--touch { display: none; }
@media (hover: none) { .fp--space .s-hero .s-hint--hover { display: none; } .fp--space .s-hero .s-hint--touch { display: inline; } }
.fp--space .s-hero .fp-hero__scroll { color: var(--s-muted); }

@media (max-width: 700px) {
  .fp--space .s-hero { min-height: auto; padding-top: 16px; }
  .fp--space .s-hero__cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .fp--space .s-hero__cta .s-btn { padding: 0 12px; }
  .fp--space .s-hero__toy { width: 100%; }
  .fp--space .s-hero__switch { width: 100%; }
  .fp--space .s-seg { padding: 6px 10px; column-gap: 8px; }
  .fp--space .s-seg b { font-size: 1.5rem; }
  .fp--space .s-hero .fp-hero__scroll { display: none; }
}
@media (max-width: 380px) { .fp--space .s-seg small { display: none; } .fp--space .s-seg span { font-size: .86rem; } }
@media (max-width: 350px) { .fp--space .s-hero__cta { grid-template-columns: 1fr; } }

/* the colour font never arrived (8s): the word simply stands, it never flies in as a stand-in font */
.js-motion .fp--space .s-hero__word.is-still .s-f { opacity: 1; animation: none; }
.js-motion .fp--space .s-hero__word.is-still .s-g { animation: none; }

/* ===== 30-play.css ===== */
/* ===========================================================================
   תורכם לשחק: סטודיו קטן. הלוח (הבמה) גדול ובמרכז, הפקדים שקטים מתחתיו, ונקודות התחלה על מדף.
   הלוח מקבל צבע רקע בלבד. האותיות לא נצבעות ולא מקבלות פילטר אף פעם.
   =========================================================================== */
/* starts on the violet the comparison ends on, so there is no hard line between the two */
.fp--space .s-play { padding: var(--section) 0; background: linear-gradient(180deg, #24185e, var(--s-blue-1) 180px, #101c62 60%, var(--s-blue-1)); }
.fp--space .s-studio { width: var(--wrap); margin-inline: auto; display: grid; gap: 18px; position: relative; }

/* ---------- הלוח ---------- */
.fp--space .s-stage { --size: 120px; --track: 0em; --lead: 1.15; --align: center; scroll-margin-top: 96px; position: relative; min-height: clamp(300px, 46vh, 520px); display: grid; align-content: center;
  padding: clamp(26px, 4vw, 56px) clamp(18px, 4vw, 60px); border: 2.5px solid #000; border-radius: 22px; background: var(--bg); box-shadow: var(--s-hard-l);
  transition: background-color .45s var(--s-ease); }
.fp--space .s-stage__text { min-height: 1.2em; outline: none; font-size: var(--size); letter-spacing: var(--track); line-height: var(--lead); text-align: var(--align);
  white-space: pre-wrap; overflow-wrap: anywhere; text-wrap: balance; caret-color: var(--s-orange); cursor: text; color: #fff; transition: letter-spacing .25s var(--s-ease); }
/* a colour font ignores CSS color; we declare the colour you actually read against the board (the black shadow on light boards) for contrast tools */
.fp--space .s-stage[data-ink="dark"] .s-stage__text { caret-color: #000; color: #000; }
.fp--space .s-stage__text:empty::before { content: attr(data-placeholder); padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, .45); font-family: var(--f-text); font-size: clamp(1.1rem, 2vw, 1.5rem); color: #fff6df; }
.fp--space .s-stage[data-ink="dark"] .s-stage__text:empty::before { background: rgba(255, 255, 255, .7); color: #000; }
.fp--space .s-stage__text:focus-visible { outline: 2px dashed rgba(255, 246, 223, .7); outline-offset: 12px; border-radius: 6px; }
.fp--space .s-stage[data-ink="dark"] .s-stage__text:focus-visible { outline-color: rgba(0, 0, 0, .6); }
.fp--space .s-stage__count { position: absolute; inset-inline-start: 14px; bottom: 10px; margin: 0; padding: 4px 8px; border-radius: 7px; background: rgba(0, 0, 0, .55); font: 600 .78rem/1 var(--f-text); color: #fff6df; font-variant-numeric: tabular-nums; }
.fp--space .s-stage[data-ink="dark"] .s-stage__count { background: rgba(255, 255, 255, .7); color: #000; }
/* the selection never paints yellow over yellow planks: a light veil on dark boards, a blue veil on light ones.
   ::highlight(s-sel) keeps the chosen part visible when a tap on a button takes the focus away */
.fp--space .s-stage__text::selection, .fp--space .s-stage__text *::selection { background: rgba(255, 246, 223, .38); }
.fp--space .s-stage[data-ink="dark"] .s-stage__text::selection, .fp--space .s-stage[data-ink="dark"] .s-stage__text *::selection { background: rgba(27, 47, 143, .26); }
::highlight(s-sel) { background-color: rgba(255, 246, 223, .38); }

/* ---------- הפקדים ---------- */
.fp--space .s-deck { display: grid; grid-template-columns: 1.25fr 1fr .95fr; gap: 14px; }
.fp--space .s-deck__col { display: grid; align-content: start; gap: 14px; padding: 16px; border-radius: 16px; background: rgba(8, 14, 58, .55); border: 1.5px solid rgba(255, 246, 223, .16); }
.fp--space .s-ctl { display: grid; gap: 8px; }
.fp--space .s-ctl__label { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 700 .9rem/1.3 var(--f-text); color: var(--s-text); }
.fp--space .s-ctl__note { font: 400 .8rem/1.3 var(--f-text); color: var(--s-muted); }
.fp--space .s-ctl__sel { display: none; padding: 2px 8px; border-radius: 6px; background: var(--s-yellow); color: #000; font: 700 .76rem/1.3 var(--f-text); }
.fp--space .s-play.has-sel .s-ctl__sel { display: inline-block; }
.fp--space .s-segs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fp--space .s-segbtn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 10px; border: 2px solid rgba(255, 246, 223, .5); border-radius: 12px;
  background: rgba(255, 255, 255, .04); color: var(--s-text); font: 700 .95rem/1 var(--f-text); cursor: pointer; transition: transform .16s var(--s-ease), box-shadow .16s var(--s-ease), background .2s, border-color .2s; }
.fp--space .s-segbtn b { font-weight: 400; font-size: 1.7rem; line-height: 1; }
.fp--space .s-segbtn span { white-space: nowrap; }
/* narrow phones: the plank above its name, so the name never breaks and the button never grows past the screen */
@media (max-width: 420px) { .fp--space .s-segbtn { flex-direction: column; gap: 3px; padding: 6px; } .fp--space .s-segbtn b { font-size: 1.5rem; } }
.fp--space .s-segbtn[aria-pressed="true"] { background: var(--s-blue-3); border-color: var(--s-yellow); box-shadow: var(--s-hard-s); transform: translate(-2px, -2px); }
.fp--space .s-play.has-sel .s-segbtn { border-style: dashed; }
.fp--space .s-segbtn:active { transform: translate(3px, 3px); box-shadow: none; }

/* the boards wrap to a second row on narrow screens instead of running off them */
.fp--space .s-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.fp--space .s-board { position: relative; display: grid; place-items: center; aspect-ratio: 1; min-height: 44px; padding: 0; border: 2px solid rgba(255, 246, 223, .6); border-radius: 10px; background: var(--sw); cursor: pointer;
  transition: transform .16s var(--s-ease), box-shadow .16s var(--s-ease); }
.fp--space .s-board__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fp--space .s-board:hover { transform: translate(-2px, -2px); box-shadow: var(--s-hard-s); }
.fp--space .s-board[aria-pressed="true"] { border: 3px solid var(--s-yellow); box-shadow: 4px 4px 0 #000; transform: translate(-2px, -2px); }
/* every swatch previews two real letters on its own colour: you see how the yellow and the black shadow read before choosing */
.fp--space .s-board__g { font-size: clamp(1.05rem, .8rem + .6vw, 1.45rem); line-height: 1; color: #fff; pointer-events: none; }
.fp--space .s-board[data-ink="dark"] .s-board__g { color: #000; }
.fp--space .s-board[aria-pressed="true"] { border: 3px solid #fff6df; box-shadow: inset 0 0 0 3px var(--s-yellow), 4px 4px 0 #000; transform: translate(-2px, -2px); }
.fp--space .s-board:focus-visible { outline: 3px dashed #fff6df; outline-offset: 4px; }

.fp--space .s-slider { display: grid; grid-template-columns: 6.6em 1fr 3.4em; align-items: center; gap: 10px; min-height: 44px; font: 700 .9rem/1 var(--f-text); color: var(--s-text); }
.fp--space .s-slider output { justify-self: end; padding: 6px 8px; min-width: 3.2em; text-align: center; border-radius: 8px; background: rgba(255, 255, 255, .08); font: 700 .9rem/1 var(--f-text); font-variant-numeric: tabular-nums; direction: ltr; }
/* the sliders are planks too: a 44px tall hit area, a black-edged track filled in yellow up to the value (--p, from the
   script; the fill grows from the right because the page reads right to left) and a yellow plank to grab */
.fp--space .s-slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.fp--space .s-slider input::-webkit-slider-runnable-track { height: 10px; border: 2px solid #000; border-radius: 6px;
  background: linear-gradient(to left, var(--s-yellow) var(--p, 50%), rgba(255, 246, 223, .18) var(--p, 50%)); }
.fp--space .s-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 30px; margin-top: -12px; border: 2.5px solid #000; border-radius: 8px; background: var(--s-yellow); box-shadow: 3px 3px 0 #000; }
.fp--space .s-slider input::-moz-range-track { height: 10px; border: 2px solid #000; border-radius: 6px; background: rgba(255, 246, 223, .18); }
.fp--space .s-slider input::-moz-range-progress { height: 10px; border: 2px solid #000; border-radius: 6px; background: var(--s-yellow); }
.fp--space .s-slider input::-moz-range-thumb { width: 20px; height: 26px; border: 2.5px solid #000; border-radius: 8px; background: var(--s-yellow); box-shadow: 3px 3px 0 #000; }
.fp--space .s-slider input:focus-visible { outline: 3px solid var(--s-yellow); outline-offset: 2px; border-radius: 10px; }
.fp--space .s-aligns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fp--space .s-icon { min-height: 44px; display: grid; place-items: center; border: 2px solid rgba(255, 246, 223, .5); border-radius: 10px; background: transparent; color: var(--s-text); cursor: pointer;
  transition: transform .16s var(--s-ease), box-shadow .16s var(--s-ease), background .2s; }
.fp--space .s-icon svg { width: 20px; height: 20px; }
/* one "chosen" look for every toggle on the page: blue with a yellow rim. A yellow fill is kept for the main actions */
.fp--space .s-icon[aria-pressed="true"] { background: var(--s-blue-3); color: #fff6df; border-color: var(--s-yellow); box-shadow: var(--s-hard-s); transform: translate(-2px, -2px); }
.fp--space .s-actions { display: grid; gap: 8px; }
.fp--space .s-act { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 2px solid rgba(255, 246, 223, .5); border-radius: 10px; background: transparent;
  color: var(--s-text); font: 700 .9rem/1 var(--f-text); cursor: pointer; text-align: start; transition: transform .16s var(--s-ease), box-shadow .16s var(--s-ease), background .2s; }
.fp--space .s-act svg { flex: none; width: 18px; height: 18px; }
.fp--space .s-act:hover { transform: translate(-2px, -2px); box-shadow: var(--s-hard-s); }
.fp--space .s-act--main { background: var(--s-yellow); color: #000; border-color: #000; box-shadow: var(--s-hard-s); }
.fp--space .s-act:active { transform: translate(3px, 3px); box-shadow: none; }
.fp--space .s-act.is-busy { opacity: .6; pointer-events: none; }

.fp--space .s-toast { position: fixed; z-index: 950; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 10px 16px; border: 2px solid #000;
  border-radius: 12px; background: var(--s-yellow); color: #000; font: 700 .92rem/1.3 var(--f-text); box-shadow: 4px 4px 0 #000; opacity: 0; transform: translate(-50%, 12px); pointer-events: none;
  transition: opacity .25s var(--s-ease), transform .3s var(--s-ease); }
.fp--space .s-toast:not(.is-on) { visibility: hidden; transition: opacity .25s var(--s-ease), transform .3s var(--s-ease), visibility 0s .3s; }
.fp--space .s-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.fp--space .s-toast button { margin-inline-start: 10px; min-height: 40px; padding: 6px 14px; border: 1.5px solid #000; border-radius: 6px; background: #fff; font: 700 .85rem/1.3 var(--f-text); cursor: pointer; }

.fp--space .s-ctl__read { margin: 2px 0 0; min-height: 2.6em; font: 500 .82rem/1.35 var(--f-text); color: #e7e0ff; }
.fp--space .s-warn { margin: 0; padding: 8px 12px; border: 2px solid #000; border-radius: 10px; background: #fff6df; color: #1d1608; font: 600 .86rem/1.4 var(--f-text); }

/* ---------- מדף נקודות התחלה ---------- */
.fp--space .s-shelf { width: var(--wrap); margin: clamp(28px, 4vw, 48px) auto 0; display: grid; gap: 12px; }
.fp--space .s-shelf__cap { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 700 1rem/1.3 var(--f-text); color: var(--s-text); }
.fp--space .s-shelf__cap span { font: 400 .86rem/1.3 var(--f-text); color: var(--s-muted); }
.fp--space .s-shelf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fp--space .s-preset { display: grid; gap: 8px; padding: 0; border: 0; background: none; color: var(--s-text); text-align: start; cursor: pointer; }
.fp--space .s-preset__board { display: grid; place-items: center; height: 150px; padding: 14px 16px; overflow: hidden; border: 2px solid #000; border-radius: 14px; background: var(--pbg); container-type: size;
  box-shadow: var(--s-hard); transition: transform .2s var(--s-ease), box-shadow .2s var(--s-ease); }
.fp--space .s-preset__t { display: block; width: 100%; font-size: 2.3rem; line-height: 1.05; white-space: normal; text-wrap: balance; color: #fff6df; }
/* fit to the board: by the longest line (letters are about .62em wide) and by the number of lines */
.fp--space .s-preset[style*="--pch"] .s-preset__t { font-size: min(2.7rem, calc(96cqw / var(--pch) / .62), calc(86cqh / var(--pln) / 1.1)); }
.fp--space .s-preset[data-ink="dark"] .s-preset__t { color: #000; }
.fp--space .s-preset[data-s-preset="5"] .s-preset__t { font-size: 1.1rem; line-height: 1.35; }
.fp--space .s-preset__name { font: 700 .92rem/1.2 var(--f-text); }
.fp--space .s-preset:hover .s-preset__board { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: var(--s-hard-l); }
.fp--space .s-preset:active .s-preset__board { transform: translate(4px, 4px); box-shadow: 2px 2px 0 #000; }
.fp--space .s-preset:focus-visible { outline: none; }
.fp--space .s-preset:focus-visible .s-preset__board { outline: 3px solid var(--s-yellow); outline-offset: 3px; }
.fp--space .s-preset.is-current .s-preset__board { border-color: var(--s-yellow); border-width: 3px; }

/* ---------- טאבלט / טלפון ---------- */
@media (max-width: 1080px) { .fp--space .s-deck { grid-template-columns: 1fr 1fr; } .fp--space .s-deck__col:last-child { grid-column: 1 / -1; grid-template-columns: 1fr 1.6fr; align-items: start; } }
@media (max-width: 700px) {
  .fp--space .s-stage { min-height: 240px; border-radius: 18px; box-shadow: var(--s-hard); padding: 26px 16px 34px; }
  .fp--space .s-deck { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fp--space .s-deck__col, .fp--space .s-deck__col:last-child { grid-column: auto; grid-template-columns: 1fr; padding: 12px; }
  .fp--space .s-boards { gap: 6px; }
  .fp--space .s-actions { grid-template-columns: 1fr 1fr; }
  .fp--space .s-act--main { grid-column: 1 / -1; justify-content: center; }
  .fp--space .s-shelf__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fp--space .s-preset__board { height: 110px; padding: 10px; }
  .fp--space .s-preset__t { font-size: 1.6rem; }
  .fp--space .s-preset[data-s-preset="5"] .s-preset__t { font-size: .78rem; line-height: 1.3; }
}

/* ===== 35-gallery.css ===== */
/* ===========================================================================
   תערוכה: שבע קומפוזיציות שונות זו מזו בגודל, ברקע ובמבנה. מה שמחבר ביניהן: מסגרת שחורה וצל שחור קשה,
   כמו לוחות שנתלו על קיר. בטלפון עמודה אחת, אבל כל יצירה בגובה משלה.
   =========================================================================== */
.fp--space .s-gal { padding: var(--section) 0; background: linear-gradient(90deg, rgba(0, 0, 0, .025) 50%, transparent 50%) 0 0 / 6px 100%, #efe4c8; color: var(--s-ink); }
.fp--space .s-gal .s-head__num { color: #000; }
.fp--space .s-xgrid { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(16px, 2.2vw, 30px); }
.fp--space .s-x { position: relative; margin: 0; display: grid; place-items: center; min-height: 240px; padding: clamp(22px, 3.4vw, 48px) clamp(18px, 3vw, 44px) clamp(60px, 5vw, 72px);
  border-radius: 22px; overflow: hidden; isolation: isolate; }
/* the dark pieces declare a light text colour (contrast tools read it; the colour glyphs ignore it) */
.fp--space .s-x--dawn, .fp--space .s-x--stack, .fp--space .s-x--count, .fp--space .s-x--nikud { color: #fff6df; }
/* frames: each piece hangs differently on the wall */
.fp--space .s-x--dawn { border-radius: 28px; box-shadow: 12px 12px 0 #000; }
.fp--space .s-x--letter { border: 2.5px solid #000; border-radius: 6px; box-shadow: 8px 8px 0 #000, inset 0 0 0 14px #f3ead2, inset 0 0 0 16px rgba(0, 0, 0, .18); }
.fp--space .s-x--stack { border-radius: 4px 40px 4px 40px; box-shadow: 8px 8px 0 #000; }
.fp--space .s-x--count { border: 7px solid #000; border-radius: 18px; }
.fp--space .s-x--marks { border-radius: 4px; box-shadow: 6px 6px 0 #000; transform: rotate(1.2deg); overflow: visible; }
.fp--space .s-x--nikud { border-radius: 44px; }
.fp--space .s-x--page { border-radius: 0; overflow: visible; }
.fp--space .s-tape--x { position: absolute; top: -10px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: rgba(255, 246, 223, .85); border: 1px solid rgba(0, 0, 0, .18); transform: rotate(-3deg); z-index: 4; }
/* "try it in the studio": a small plank on every piece */
.fp--space .s-try { position: absolute; z-index: 3; inset-inline-end: 12px; bottom: 12px; min-height: 40px; padding: 0 12px; border: 2px solid #000; border-radius: 10px; background: var(--s-yellow);
  color: #000; font: 700 .82rem/1 var(--f-text); cursor: pointer; box-shadow: 3px 3px 0 #000; transition: transform .15s var(--s-ease), box-shadow .15s var(--s-ease); }
.fp--space .s-try:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #000; }
.fp--space .s-try:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.fp--space .s-try:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.fp--space .s-x p { margin: 0; }
.fp--space .s-x__cap { position: absolute; inset-inline-start: 14px; bottom: 12px; z-index: 3; max-width: calc(100% - 170px); padding: 6px 10px; border: 2px solid #000; border-radius: 9px;
  background: #fff6df; color: #1d1608; font: 500 .82rem/1.3 var(--f-text); box-shadow: 2px 2px 0 #000; }
.fp--space .s-x__cap b { font-weight: 800; }

/* A. כותרת ענקית בזריחה */
.fp--space .s-x--dawn { grid-column: span 12; min-height: clamp(320px, 42vw, 620px); background: linear-gradient(180deg, #24185e 0%, #4a35a3 34%, #b84a6e 62%, #e8562a 82%, #f8a14a 100%); }
.fp--space .s-x__sun { position: absolute; left: 50%; bottom: -46%; z-index: -1; width: 80%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 230, 160, .9), rgba(255, 170, 80, .5) 45%, rgba(255, 140, 60, 0) 72%); }
.fp--space .s-x__mega { font-size: min(clamp(5rem, 2rem + 12vw, 15.5rem), calc((100vw - 2 * var(--gutter) - 70px) / 3.85)); line-height: 1.1; white-space: nowrap; }

/* B. אות אחת כפסל */
.fp--space .s-x--letter { grid-column: span 5; grid-row: span 2; min-height: clamp(420px, 44vw, 700px); background: #f3ead2; }
.fp--space .s-x__glyph { font-size: clamp(15rem, 7rem + 20vw, 34rem); line-height: 1.12; }

/* C. ערימה: כותרת של פרק */
.fp--space .s-x--stack { grid-column: span 7; place-items: center start; text-align: start; background: radial-gradient(80% 90% at 85% 15%, #5b3fb3, #3d2a8a 60%, #2b1d6e); }
.fp--space .s-x--stack > p { justify-self: start; }
.fp--space .s-x__kick { font: 800 .95rem/1 var(--f-text); color: #fff6df; margin-bottom: 6px !important; }
.fp--space .s-x__s1 { font-size: clamp(2.8rem, 1.6rem + 3vw, 4.6rem); line-height: 1; }
.fp--space .s-x__s2 { font-size: clamp(5.4rem, 2.6rem + 7vw, 10rem); line-height: 1.12; margin-top: .04em !important; }

/* D. ספירה לאחור */
.fp--space .s-x--count { grid-column: span 7; background: radial-gradient(rgba(140, 170, 255, .14) 1px, transparent 1.5px) 0 0 / 14px 14px, #0b1550; }
.fp--space .s-cd { display: grid; justify-items: center; gap: 6px; width: 100%; }
/* the big digit and the word share one cell, so the board never changes height (no layout shift below it) */
.fp--space .s-cd__stage { display: grid; place-items: center; }
.fp--space .s-cd__stage > * { grid-area: 1 / 1; }
.fp--space .s-cd__label { font: 700 .9rem/1 var(--f-text); color: var(--s-muted); }
.fp--space .s-cd__big { position: relative; height: 1.25em; display: grid; place-items: center; font-size: clamp(5.5rem, 3rem + 6vw, 9rem); line-height: 1.25; font-variant-numeric: tabular-nums; }
.fp--space .s-cd__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .1em .35em; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1.2; direction: rtl; }
.fp--space .s-cd__d { opacity: .3; transition: opacity .25s; }
.fp--space .s-cd__d.is-past { opacity: 1; }
.fp--space .s-cd__go { visibility: hidden; display: flex; font-size: clamp(4rem, 2.4rem + 4.6vw, 7.6rem); line-height: 1.25; justify-content: center; direction: rtl; }
.fp--space .s-cd.is-go .s-cd__big { visibility: hidden; }
.fp--space .s-cd.is-go .s-cd__go { visibility: visible; }
.js-motion .fp--space .s-cd.is-go .s-cd__go .s-f { animation: s-gal-lift .9s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(var(--i) * .07s); }
@keyframes s-gal-lift { 0% { transform: translateY(.7em) scale(.8); opacity: 0; } 100% { transform: none; opacity: 1; } }
.js-motion .fp--space .s-cd.is-go { animation: s-gal-shake .5s ease-out; }
@keyframes s-gal-shake { 0%, 100% { transform: none; } 20% { transform: translate(-3px, 1px); } 40% { transform: translate(3px, -1px); } 60% { transform: translate(-2px, 1px); } 80% { transform: translate(1px, 0); } }
.fp--space .s-cd__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fp--space .s-cd__again { min-height: 48px; margin-top: 6px; }
html:not(.js-motion) .fp--space .s-cd__again { display: none; }
html:not(.js-motion) .fp--space .s-cd .s-cd__d { opacity: 1; }

/* colour-font text on paper: declare the black shadow (what you read against the paper) for contrast tools */
.fp--space .s-x--letter, .fp--space .s-x--marks, .fp--space .s-x__sheet { color: #000; }

/* E. סימנים */
.fp--space .s-x--marks { grid-column: span 5; background: #f3ead2; align-content: center; gap: 4px; }
.fp--space .s-x__marks { display: flex; gap: .05em; font-size: clamp(7rem, 4rem + 7vw, 12rem); line-height: 1.15; direction: ltr; }
.fp--space .s-x__marks span:last-child { transform: rotate(8deg) translateY(-.04em); }
.fp--space .s-x__quote { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.3; text-align: center; }

/* F. ניקוד */
.fp--space .s-x--nikud { grid-column: span 7; background: radial-gradient(70% 80% at 20% 20%, #2a43b8, #1b2f8f 60%); }
.fp--space .s-x__nik { font-size: clamp(3rem, 1.8rem + 3.6vw, 6rem); line-height: 1.55; text-align: center; }

/* G. עמוד מתוך ספר */
.fp--space .s-x--page { grid-column: span 12; background: radial-gradient(60% 90% at 50% 0%, #2a3f9f, #13206b 70%); padding-block: clamp(30px, 4vw, 56px) clamp(60px, 6vw, 80px); }
.fp--space .s-x__sheet { position: relative; width: min(100%, 860px); padding: clamp(26px, 4vw, 54px) clamp(24px, 4.5vw, 64px) clamp(34px, 4vw, 54px); border: 2px solid #000; border-radius: 4px 14px 14px 4px;
  background: linear-gradient(90deg, #efe2c2 0%, #f6ecd4 6%, #f6ecd4 100%); box-shadow: 8px 8px 0 #000; transform: rotate(-.6deg); }
.fp--space .s-x__ph { float: right; margin: -.06em 0 0 .18em !important; font-size: clamp(3.4rem, 2.4rem + 3vw, 5.8rem); line-height: .95; }
.fp--space .s-x__body { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.15rem); line-height: 1.55; }
.fp--space .s-x__folio { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 1.6rem; line-height: 1; }

/* tablets: pieces in pairs (letter + chapter, countdown + marks), the nikud line on its own row */
@media (max-width: 1000px) {
  .fp--space .s-x--letter, .fp--space .s-x--stack, .fp--space .s-x--count, .fp--space .s-x--marks { grid-column: span 6; grid-row: auto; }
  .fp--space .s-x--nikud { grid-column: span 12; }
  .fp--space .s-x--letter { min-height: 380px; }
}
@media (max-width: 559px) {
  .fp--space .s-x--letter, .fp--space .s-x--stack, .fp--space .s-x--count, .fp--space .s-x--marks { grid-column: span 12; }
  .fp--space .s-x--letter { min-height: 300px; }
}
@media (max-width: 700px) {
  .fp--space .s-x { padding-bottom: 110px; }
  .fp--space .s-x__cap { max-width: calc(100% - 28px); bottom: 62px; }
  .fp--space .s-try { inset-inline-end: auto; inset-inline-start: 14px; }
  .fp--space .s-x--dawn { min-height: 300px; }
  .fp--space .s-x__glyph { font-size: min(15rem, 62vw); }
  .fp--space .s-x__ph { font-size: 3rem; }
}

/* ===== 40-compare.css ===== */
/* ===========================================================================
   חלק או מחוספס: אותה מילה פעמיים, אחת מעל השנייה (רוחבים זהים בשני הקבצים), וקו שגוררים ביניהן.
   זכוכית מגדלת שמגדילה בגודל גופן (לא זום של תמונה), ושני חלונות קבועים על אותה נקודה, פי 4.
   הרקע סגול כהה: שולחן עבודה בלילה, והצל השחור נראה עליו היטב.
   =========================================================================== */
.fp--space .s-cmp { padding: var(--section) 0; background: radial-gradient(90% 70% at 20% 10%, #4a35a3 0%, #34237d 45%, #24185e 100%); }
.fp--space .s-cmp .s-head__lead { color: #ddd4fb; }

/* ---------- הקו ---------- */
.fp--space .s-split { --wsize: min(24rem, calc((100vw - 2 * var(--gutter) - 40px) / 2.3)); position: relative; width: var(--wrap); margin-inline: auto; }
.fp--space .s-split__stage { position: relative; display: grid; place-items: center; padding: clamp(18px, 3vw, 40px) 0; border: 2.5px solid #000; border-radius: 22px;
  background: #1b2f8f; box-shadow: var(--s-hard-l); overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
/* both words sit in the same grid cell, full width, so their boxes are identical to the stage's width and the line's %.
   Complementary clips: Rough only left of the line, Space only right of it. They never stack, so Rough's grooves show the
   board behind them (as in the real file), never Space's yellow. -.4em of room top and bottom keeps every shadow whole. */
.fp--space .s-split__w { grid-area: 1 / 1; width: 100%; margin: 0; font-size: var(--wsize); line-height: 1.25; text-align: center; white-space: nowrap; }
.fp--space .s-split__w--a { clip-path: inset(-.4em -.4em -.4em calc(var(--split) * 1%)); }
.fp--space .s-split__w--b { clip-path: inset(-.4em calc(100% - var(--split) * 1%) -.4em -.4em); }
/* the line is a full-width layer moved with transform (no layout per frame): its left edge sits at --split% */
.fp--space .s-split__line { position: absolute; inset: 0; pointer-events: none; transform: translateX(calc(var(--split) * 1%)); }
.fp--space .s-split__line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff6df; box-shadow: 0 0 0 1.5px #000; }
.fp--space .s-split__line i { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 2.5px solid #000; border-radius: 50%;
  background: var(--s-yellow); box-shadow: 4px 4px 0 #000; }
.fp--space .s-split__line i::before, .fp--space .s-split__line i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.fp--space .s-split__line i::before { left: 4px; border-right-color: #000; }
.fp--space .s-split__line i::after { right: 4px; border-left-color: #000; }
.fp--space .s-split__tag { position: absolute; top: 14px; padding: 6px 10px; border: 2px solid #000; border-radius: 8px; background: #fff6df; color: #000; font: 700 .85rem/1 var(--f-text); box-shadow: 2px 2px 0 #000; pointer-events: none; }
.fp--space .s-split__tag--a { right: 14px; }
.fp--space .s-split__tag--b { left: 14px; }
.fp--space .s-split__in { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.fp--space .s-split:has(.s-split__in:focus-visible) .s-split__line i { outline: 3px solid var(--s-yellow); outline-offset: 4px; }
.js-motion .fp--space .s-split.is-hint .s-split__line, .js-motion .fp--space .s-split.is-hint .s-split__w { transition: transform .9s var(--s-ease-io), clip-path .9s var(--s-ease-io); }

/* ---------- זכוכית מגדלת + חלונות ---------- */
.fp--space .s-cmp__row { width: var(--wrap); margin: clamp(22px, 3vw, 36px) auto 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 2.5vw, 30px); align-items: stretch; }
.fp--space .s-lensbox { margin: 0; display: grid; gap: 10px; }
.fp--space .s-lens-stage { --lsize: clamp(13rem, 6rem + 15vw, 25rem); --zoom: 2.4; --r: clamp(62px, 5.4vw, 86px); position: relative; display: grid; place-items: center; min-height: calc(var(--lsize) * 1.3);
  border: 2.5px solid #000; border-radius: 22px; background: #f3ead2; box-shadow: var(--s-hard-l); overflow: hidden; touch-action: pan-y; cursor: none; }
.fp--space .s-lens-stage__g { margin: 0; font-size: var(--lsize); line-height: 1.25; }
.fp--space .s-lens { position: absolute; left: 0; top: 0; width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; overflow: hidden; border: 3px solid #000;
  background: #f3ead2; box-shadow: 6px 6px 0 #000, inset 0 0 0 3px rgba(255, 255, 255, .7); transform: translate(var(--lx, 0px), var(--ly, 0px)); touch-action: none; cursor: grab; will-change: transform; }
.fp--space .s-lens:focus-visible { outline: 3px solid var(--s-blue-2); outline-offset: 3px; }
.fp--space .s-lens__in { position: absolute; left: 0; top: 0; font-size: calc(var(--lsize) * var(--zoom)); line-height: 1.25; white-space: nowrap; transform: translate(var(--ix, 0px), var(--iy, 0px)); will-change: transform; }
.fp--space .s-lensbox figcaption, .fp--space .s-zoom__note { font: 400 .92rem/1.5 var(--f-text); color: #ddd4fb; }
.fp--space .s-lensbox .s-hint--touch { display: none; }
@media (hover: none) { .fp--space .s-lensbox .s-hint--hover { display: none; } .fp--space .s-lensbox .s-hint--touch { display: inline; } .fp--space .s-lens-stage { cursor: default; }
  /* a vertical swipe that starts on the lens scrolls the page; a sideways drag or a tap moves the lens */
  .fp--space .s-lens { touch-action: pan-y; } }

.fp--space .s-zoom { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.fp--space .s-zoom__f { margin: 0; display: grid; justify-items: center; gap: 10px; text-align: center; }
.fp--space .s-zoom__win { position: relative; width: min(var(--zw), 40vw); max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid #000; background: #f3ead2; box-shadow: var(--s-hard); }
/* אותה נקודה בשני החלונות: הזרוע הימנית של ש, איפה שיש הכי הרבה סיבים. בשורה בגובה 1.25em קו הבסיס יושב
   0.95em מלמעלה, אז אמצע האות הוא בערך 0.6em, והזרוע הימנית בערך 0.68em מהשמאל של התיבה */
.fp--space .s-zoom__win { --zw: 240px; --zf: 900px; }
.fp--space .s-zoom__win { container-type: inline-size; }
.fp--space .s-zoom__win span { position: absolute; left: calc(50cqw - var(--zx, .68) * var(--zf)); top: calc(50cqw - var(--zy, .6) * var(--zf)); font-size: var(--zf); line-height: 1.25; white-space: nowrap; }
.fp--space .s-zoom__f figcaption { font: 400 .9rem/1.4 var(--f-text); color: #fff6df; }
.fp--space .s-zoom__f figcaption b { display: block; font: 800 1rem/1.3 var(--f-text); color: var(--s-yellow); }
.fp--space .s-zoom__note { grid-column: 1 / -1; margin: 0; text-align: center; }

@media (max-width: 860px) {
  .fp--space .s-cmp__row { grid-template-columns: 1fr; }
  .fp--space .s-split__tag { top: 10px; font-size: .78rem; }
}
@media (max-width: 700px) {
  .fp--space .s-split__stage { padding: 30px 8px 14px; border-radius: 18px; box-shadow: var(--s-hard); }
  .fp--space .s-lens-stage { --lsize: min(15rem, 62vw); --r: 56px; border-radius: 18px; box-shadow: var(--s-hard); }
  .fp--space .s-zoom__win { --zw: 150px; --zf: min(560px, 150vw); }
}

/* ===== 50-layers.css ===== */
/* ===========================================================================
   מה יש בתוך הקובץ: שרטוט כחול (רשת דקה, כמו תוכנית של נגר). שתי שכבות אמיתיות של הפונט, מפורקות בתלת ממד
   ומתחברות בחזרה למראה של הפונט הצבעוני בדיוק. השכבות עצמן הן פונטים בצבע אחד, כאן צבועים בצבעים שבקובץ.
   =========================================================================== */
.fp--space .s-lay { padding: var(--section) 0;
  background: linear-gradient(rgba(190, 215, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(190, 215, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px, #16328f; }
.fp--space .s-lay__main { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; }
.fp--space .s-lay__scene { position: relative; display: grid; place-items: center; min-height: clamp(320px, 36vw, 520px); perspective: 1500px; overflow: hidden; }
.fp--space .s-lay__stack { position: relative; transform-style: preserve-3d; transform-origin: 50% 50%; font-size: clamp(7rem, 3rem + 10.5vw, 15.5rem); line-height: 1.25;
  transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
.fp--space .s-lay__l { margin: 0; white-space: nowrap; transition: transform 1.1s cubic-bezier(.65, 0, .35, 1), opacity .4s; }
.fp--space .s-lay__l--shadow { position: relative; font-family: 'S L Shadow', var(--f-text); color: #000; }
.fp--space .s-lay__l--solid { position: absolute; inset: 0; font-family: 'S L Solid', var(--f-text); color: #FCBE32; }
.fp--space .s-lay.is-rough .s-lay__l--shadow { font-family: 'S L RShadow', var(--f-text); }
.fp--space .s-lay.is-rough .s-lay__l--solid { font-family: 'S L RSolid', var(--f-text); }
.fp--space .s-lay.is-apart .s-lay__stack { transform: translateY(6%) rotateX(54deg) rotateZ(-28deg) scale(.9); }
.fp--space .s-lay.is-apart .s-lay__l--solid { transform: translateZ(clamp(70px, 9vw, 150px)); }
.fp--space .s-lay.is-apart .s-lay__l--shadow { opacity: .96; }

.fp--space .s-lay__side { display: grid; gap: 14px; }
.fp--space .s-lay__ctl, .fp--space .s-lay__ver { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fp--space .s-lay .s-mini { background: transparent; color: var(--s-text); border-color: rgba(255, 246, 223, .6); }
.fp--space .s-lay .s-mini[aria-pressed="true"] { background: var(--s-blue-3); color: #fff6df; border-color: var(--s-yellow); box-shadow: 4px 4px 0 #000; transform: translate(-2px, -2px); }
.fp--space .s-lay .s-mini:focus-visible { outline: 3px solid var(--s-yellow); outline-offset: 3px; }
.fp--space .s-lay__legend { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fp--space .s-lay__legend li { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 4px 10px; font: 700 .95rem/1.3 var(--f-text); }
.fp--space .s-lay__legend i { width: 22px; height: 22px; border-radius: 6px; border: 2px solid rgba(255, 255, 255, .8); }
.fp--space .s-lay__legend b { justify-self: start; font: 600 .82rem/1 var(--f-text); color: var(--s-muted); }
.fp--space .s-lay__legend span { grid-column: 2 / -1; font: 400 .86rem/1.4 var(--f-text); color: var(--s-muted); }
.fp--space .s-lay__say { margin: 0; min-height: 3em; font: 400 1rem/1.55 var(--f-text); color: var(--s-text); }
.fp--space .s-lay__say b { color: var(--s-yellow); }
.fp--space .s-lay__facts { margin: 4px 0 0; display: grid; border-top: 1px solid rgba(255, 246, 223, .2); }
.fp--space .s-lay__facts > div { display: grid; grid-template-columns: 9em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 246, 223, .2); }
.fp--space .s-lay__facts dt { font: 600 .84rem/1.4 var(--f-text); color: var(--s-muted); }
.fp--space .s-lay__facts dd { margin: 0; font: 500 .9rem/1.4 var(--f-text); color: var(--s-text); }

/* ---------- שכבות בצבע אחד ---------- */
.fp--space .s-mono { width: var(--wrap); margin: clamp(40px, 6vw, 72px) auto 0; padding: clamp(18px, 3vw, 32px); border: 2.5px solid #000; border-radius: 22px; background: #f3ead2; color: #1d1608; box-shadow: var(--s-hard-l); }
.fp--space .s-mono__t { margin: 0 0 6px; font: 800 1.25rem/1.3 var(--f-text); }
.fp--space .s-mono__p { margin: 0 0 18px; max-width: 70ch; font: 400 1rem/1.6 var(--f-text); color: #3b301a; }
.fp--space .s-mono__row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.3fr; align-items: center; gap: 8px; }
.fp--space .s-mono__f { margin: 0; display: grid; justify-items: center; gap: 6px; text-align: center; }
.fp--space .s-mono__w { margin: 0; padding: .08em .3em; border: 2px solid #000; border-radius: 14px; font-size: clamp(2.8rem, 1.6rem + 3vw, 5.4rem); line-height: 1.25; white-space: nowrap; }
/* the grain alone is only thin brown lines: a faint plank under it shows where they sit */
.fp--space .s-mono__w--grain { display: grid; }
.fp--space .s-mono__w--grain > span { grid-area: 1 / 1; }
/* drawn as generated content: it is a hint of a shape, not text to read */
.fp--space .s-mono__ghost::before { content: attr(data-w); font-family: 'S L RSolid', var(--f-text); color: #f8ca55; opacity: .4; }
.fp--space .s-mono__f figcaption small { display: block; font: 500 .74rem/1.3 var(--f-text); color: #6b5a33; }
.fp--space .s-mono__w--paper { background: #fffaf0; }
.fp--space .s-mono__w--night { background: #13206b; }
.fp--space .s-mono__img { display: block; width: min(100%, 300px); height: auto; }
.fp--space .s-mono__f figcaption { font: 600 .86rem/1.35 var(--f-text); color: #4a3d22; }
.fp--space .s-mono__op { font: 400 2rem/1 var(--f-text); color: #6b5a33; }

@media (max-width: 860px) {
  .fp--space .s-lay__main { grid-template-columns: 1fr; }
  .fp--space .s-lay__stack { font-size: min(9rem, 30vw); }
  /* phones: one layer per row, big enough to read the grain, its name beside it */
  .fp--space .s-mono__row { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .fp--space .s-mono__op { display: none; }
  .fp--space .s-mono__f:not(.s-mono__f--sum) { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 14px; text-align: start; }
  .fp--space .s-mono__f--sum { padding-top: 12px; border-top: 2px solid rgba(0, 0, 0, .2); }
  .fp--space .s-mono__w { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .fp--space .s-mono__img { width: min(80%, 300px); }
}

/* ===== 60-world.css ===== */
/* ===========================================================================
   בעולם האמיתי: שש הדמיות, כל אחת על משטח משלה ובאור משלה. האותיות הן תמיד הפונט האמיתי, בלי פילטר ובלי צל
   CSS על הטקסט. החפצים סביבן מצוירים ב-CSS, והצללים שלהם שחורים וקשים, באותו כיוון כמו הצל שבפונט.
   =========================================================================== */
.fp--space .s-world { padding: var(--section) 0; background: linear-gradient(180deg, #13206b, #1a1550 60%, #13206b); }
.fp--space .s-mgrid { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(18px, 2.6vw, 34px); }
.fp--space .s-m { margin: 0; display: grid; gap: 10px; align-content: start; }
.fp--space .s-m--book { grid-column: span 5; } .fp--space .s-m--poster { grid-column: span 7; }
.fp--space .s-m--stickers { grid-column: span 7; } .fp--space .s-m--game { grid-column: span 5; }
.fp--space .s-m--sign { grid-column: span 6; } .fp--space .s-m--box { grid-column: span 6; }
/* scenes have no frame: only the objects in them cast the hard black shadow */
.fp--space .s-m__surface { position: relative; min-height: clamp(320px, 30vw, 430px); display: grid; place-items: center; border-radius: 22px; overflow: hidden; isolation: isolate; }
.fp--space .s-m__tag { display: inline-block; margin-inline-end: 8px; padding: 2px 7px; border: 1.5px solid currentColor; border-radius: 6px; font: 700 .72rem/1.2 var(--f-text); vertical-align: 1px; }
.fp--space .s-m__cap { font: 400 .92rem/1.4 var(--f-text); color: var(--s-muted); }
.fp--space .s-m__cap b { color: var(--s-text); font-weight: 800; margin-inline-end: 4px; }
.fp--space .s-m p { margin: 0; }

/* ---------- 1. ספר קשיח על שולחן עץ ---------- */
.fp--space .s-m--book .s-m__surface { background: repeating-linear-gradient(176deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 11px), linear-gradient(160deg, #b3743a, #7a4a12); }
.fp--space .s-book { position: relative; width: min(58%, 250px); aspect-ratio: 3 / 4; transform: perspective(1100px) rotateX(14deg) rotateZ(-7deg); }
.fp--space .s-book__cover { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; padding: 12%;
  border: 2px solid #000; border-radius: 10px 4px 4px 10px; background: radial-gradient(90% 55% at 70% 92%, rgba(232, 86, 42, .85), transparent 62%), linear-gradient(165deg, #2a43b8, #13206b 72%); box-shadow: 9px 10px 0 #000; }
.fp--space .s-book__t { font-size: clamp(2.5rem, 1.7rem + 2vw, 3.7rem); line-height: 1.08; }
.fp--space .s-book__by { font: 800 .74rem/1 var(--f-text); color: #fff1c8; }
.fp--space .s-book__moon { position: absolute; top: 9%; left: 12%; width: 18%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #000; background: radial-gradient(circle at 35% 35%, #fff6df, #f3d98a); }
/* כריכה עברית: השדרה מימין, דפי הספר משמאל */
.fp--space .s-book__spine { position: absolute; z-index: 3; top: 0; bottom: 0; right: -2px; width: 13%; border: 2px solid #000; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #13206b, #0b1550); }
.fp--space .s-book__pages { position: absolute; z-index: 1; top: 3%; bottom: 3%; left: -12px; width: 16px; border: 2px solid #000; border-radius: 6px 0 0 6px; background: repeating-linear-gradient(90deg, #fff6df 0 2px, #d9cba4 2px 3px); }

/* ---------- 2. כרזה מודבקת על קיר ---------- */
.fp--space .s-m--poster .s-m__surface { background: linear-gradient(90deg, rgba(255, 255, 255, .035) 50%, transparent 50%) 0 0 / 8px 100%, linear-gradient(180deg, #2f48b4, #22379a); }
.fp--space .s-poster { position: relative; width: min(54%, 280px); aspect-ratio: 3 / 4.1; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 9%; text-align: center;
  border: 2px solid #000; background: #f3ead2; transform: rotate(1.6deg); box-shadow: 4px 4px 0 #000; isolation: isolate; }
/* a screen print: violet sky inside a paper margin, an orange planet rising at the bottom */
.fp--space .s-poster::before { content: ""; position: absolute; inset: 5.5% 7%; z-index: -2; border: 1.5px solid #000; background: #3d2a8a; }
.fp--space .s-poster__sun { position: absolute; z-index: -1; left: 7%; right: 7%; bottom: 5.5%; height: 25%; border: 1.5px solid #000; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #e8562a; }
.fp--space .s-poster__kick { font: 800 .82rem/1 var(--f-text); color: #fff1c8; }
.fp--space .s-poster__t { font-size: clamp(2.6rem, 1.8rem + 2.2vw, 4rem); line-height: 1.05; }
.fp--space .s-poster__line { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1.2; }
.fp--space .s-poster__info { font: 600 .72rem/1.4 var(--f-text); color: #1d1608; }
.fp--space .s-tape { position: absolute; z-index: 2; width: 64px; height: 20px; background: rgba(255, 246, 223, .78); border: 1px solid rgba(0, 0, 0, .18); }
.fp--space .s-tape--a { top: -9px; left: -18px; transform: rotate(-32deg); }
.fp--space .s-tape--b { top: -9px; right: -18px; transform: rotate(28deg); }

/* ---------- 3. דף מדבקות ---------- */
.fp--space .s-m--stickers .s-m__surface { background: radial-gradient(80% 80% at 80% 20%, #8b6fe0, #5b3fb3 70%); }
.fp--space .s-stk { position: relative; width: 88%; height: 80%; min-height: 280px; border: 2px solid #000; border-radius: 14px; background: #fffaf0; box-shadow: 4px 4px 0 #000; }
.fp--space .s-stk__s { position: absolute; display: grid; place-items: center; padding: .12em .5em .2em; border: 5px solid #fff; border-radius: 22px; background: #1b2f8f; font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1.2;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .14), 2px 2px 0 #000; }
.fp--space .s-stk__s--1 { top: 8%; right: 6%; transform: rotate(-7deg); }
.fp--space .s-stk__s--2 { top: 9%; left: 6%; transform: rotate(6deg); background: #3d2a8a; border-radius: 50%; width: 2.6em; height: 2.6em; padding: 0; }
.fp--space .s-stk__s--3 { top: 36%; left: 44%; border-radius: 50%; width: 1.5em; height: 1.5em; padding: 0; background: #e8562a; transform: rotate(10deg); font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); }
.fp--space .s-stk__s--4 { top: 38%; right: 6%; transform: rotate(4deg); background: #2563c9; }
.fp--space .s-stk__s--5 { bottom: 8%; left: 6%; border-radius: 50%; width: 2.3em; height: 2.3em; padding: 0; transform: rotate(-9deg); background: #13206b; }
.fp--space .s-stk__s--6 { bottom: 8%; right: 30%; transform: rotate(-3deg); background: #3d2a8a; }
/* 3, 2, 1: small round stickers in the empty middle */
.fp--space .s-stk__s--7, .fp--space .s-stk__s--8, .fp--space .s-stk__s--9 { width: 1.7em; height: 1.7em; padding: 0; border-width: 4px; border-radius: 50%; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); }
.fp--space .s-stk__s--7 { top: 11%; left: 36%; background: #e8562a; transform: rotate(-8deg); }
.fp--space .s-stk__s--8 { top: 46%; left: 28%; background: #2563c9; transform: rotate(7deg); }
.fp--space .s-stk__s--9 { top: 14%; left: 58%; background: #1a8a5a; transform: rotate(-5deg); }

/* ---------- 4. מסך משחק בטאבלט ---------- */
.fp--space .s-m--game .s-m__surface { background: radial-gradient(70% 60% at 50% 40%, #24307e, #0b1550 75%); }
.fp--space .s-tab { width: min(88%, 380px); aspect-ratio: 4 / 3.1; padding: 14px; border: 2px solid #000; border-radius: 28px; background: #16161d; box-shadow: 12px 12px 0 #000; }
.fp--space .s-tab__screen { position: relative; height: 100%; display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; border-radius: 16px; overflow: hidden;
  background: radial-gradient(90% 40% at 22% 112%, #13704a 60%, transparent 61%), radial-gradient(110% 44% at 82% 118%, #1a8a5a 60%, transparent 61%), linear-gradient(180deg, #5b9cf4, #2563c9 70%); }
.fp--space .s-tab__score { position: absolute; top: 10px; right: 12px; display: flex; align-items: center; gap: 6px; font: 700 .7rem/1 var(--f-text); color: #fff1c8; }
.fp--space .s-tab__score b { font-weight: 400; font-size: 1.5rem; line-height: 1; }
.fp--space .s-tab__t { font-size: clamp(2.3rem, 1.6rem + 1.8vw, 3.2rem); line-height: 1.05; }
.fp--space .s-tab__btn { display: inline-block; padding: .05em .75em .12em; border: 3px solid #000; border-radius: 16px; background: #13206b; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1.2; box-shadow: 0 6px 0 #000; }
.fp--space .s-tab__lvl { position: absolute; bottom: 10px; font: 700 .72rem/1 var(--f-text); color: #fff1c8; }

/* ---------- 5. שלט עץ בעולם דמיוני ---------- */
.fp--space .s-m--sign .s-m__surface { background: radial-gradient(1.3px 1.3px at 30% 20%, #fff6df 50%, transparent 51%) 0 0 / 90px 70px, linear-gradient(180deg, #24185e, #3d2a8a 70%); }
.fp--space .s-sign { position: relative; width: 100%; height: 100%; min-height: 320px; }
.fp--space .s-sign__post { position: absolute; left: 50%; bottom: 0; width: 24px; height: 86%; margin-left: -12px; border: 2px solid #000; background: linear-gradient(90deg, #8a531c, #6b3d0a); box-shadow: 5px 0 0 #000; }
.fp--space .s-sign__ground { position: absolute; left: -5%; right: -5%; bottom: -30px; height: 70px; border-radius: 50% 50% 0 0; border-top: 2.5px solid #000; background: #1a6b4a; }
.fp--space .s-sign__b { position: absolute; z-index: 2; display: grid; place-items: center; padding: .1em .9em .18em; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.2; isolation: isolate; }
.fp--space .s-sign__b::before, .fp--space .s-sign__b::after { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: var(--arrow); }
.fp--space .s-sign__b::before { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 8px), linear-gradient(180deg, #a5642a, #7a4a12); }
.fp--space .s-sign__b::after { z-index: -2; background: #000; transform: translate(6px, 6px); }
.fp--space .s-sign__b--1 { --arrow: polygon(16% 0, 100% 0, 100% 100%, 16% 100%, 0 50%); top: 16%; right: 50%; transform: translateX(14%) rotate(-4deg); padding-inline-start: 1.3em; }
.fp--space .s-sign__b--2 { --arrow: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%); top: 38%; left: 50%; transform: translateX(-12%) rotate(3deg); padding-inline-end: 1.3em; }
.fp--space .s-sign__b--3 { --arrow: polygon(13% 0, 100% 0, 100% 100%, 13% 100%, 0 50%); top: 60%; right: 50%; transform: translateX(10%) rotate(-2deg); padding-inline-start: 1.3em; }

/* ---------- 6. אריזה על מדף ---------- */
.fp--space .s-m--box .s-m__surface { background: linear-gradient(180deg, #f3ead2 0 74%, #8a531c 74% 79%, #6b3d0a 79% 82%, #e9dcbc 82%); }
.fp--space .s-box { --d: clamp(22px, 2.6vw, 34px); position: relative; width: min(50%, 230px); aspect-ratio: 3 / 3.5; margin: var(--d) var(--d) 6% 0; filter: drop-shadow(12px 12px 0 #000); }
.fp--space .s-box__front { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 10%; text-align: center;
  border: 2px solid #000; border-radius: 3px; background: linear-gradient(#13206b, #13206b) 50% 50% / 100% 60% no-repeat, #c9965a; }
.fp--space .s-box__kick { font: 800 .74rem/1 var(--f-text); color: #fff1c8; }
.fp--space .s-box__t { font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.1rem); line-height: 1.05; }
.fp--space .s-box__age { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 54px; height: 54px; border: 2.5px solid #000; border-radius: 50%; background: #fff6df; font-size: 1.6rem; line-height: 1; }
.fp--space .s-box__side { position: absolute; z-index: 1; top: 0; left: 100%; width: var(--d); height: 100%; border: 2px solid #000; background: #a8773f; transform: skewY(-45deg); transform-origin: 0 0; }
.fp--space .s-box__top { position: absolute; z-index: 1; left: 0; bottom: 100%; width: 100%; height: var(--d); border: 2px solid #000; background: #dcb47e; transform: skewX(-45deg); transform-origin: 0 100%; }

@media (max-width: 900px) {
  .fp--space .s-m--book, .fp--space .s-m--poster, .fp--space .s-m--stickers, .fp--space .s-m--game, .fp--space .s-m--sign, .fp--space .s-m--box { grid-column: span 6; }
}
@media (max-width: 640px) {
  .fp--space .s-m--book, .fp--space .s-m--poster, .fp--space .s-m--stickers, .fp--space .s-m--game, .fp--space .s-m--sign, .fp--space .s-m--box { grid-column: span 12; }
  .fp--space .s-m__surface { min-height: 300px; }
}
@media (max-width: 700px) {
  .fp--space .s-m__surface { border-radius: 18px; }
  .fp--space .s-m--book .s-m__surface, .fp--space .s-m--box .s-m__surface { min-height: 340px; }
}

/* wide screens: the objects grow with their scenes instead of floating small in them */
@media (min-width: 1600px) {
  .fp--space .s-book { width: min(58%, 320px); } .fp--space .s-book__t { font-size: clamp(2.5rem, 1.7rem + 2vw, 4.6rem); }
  .fp--space .s-poster { width: min(54%, 360px); } .fp--space .s-poster__t { font-size: clamp(2.6rem, 1.8rem + 2.2vw, 5rem); }
  .fp--space .s-box { width: min(50%, 300px); } .fp--space .s-box__t { font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.9rem); }
  .fp--space .s-tab { width: min(88%, 470px); } .fp--space .s-tab__t { font-size: clamp(2.3rem, 1.6rem + 1.8vw, 4rem); }
  .fp--space .s-sign__b { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 3.2rem); }
  .fp--space .s-stk__s { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 3.3rem); }
}
@media (max-width: 640px) { .fp--space .s-stk__s { font-size: 1.55rem; } .fp--space .s-stk__s--3 { font-size: 2.2rem; } .fp--space .s-stk__s--7, .fp--space .s-stk__s--8, .fp--space .s-stk__s--9 { font-size: 1.2rem; } }

/* ===== 70-glyphs.css ===== */
/* ===========================================================================
   כל האותיות: קטלוג על דף נייר, כמו גיליון דוגמה של בית יציקה. הנבחרת מורמת עם מסגרת וצל שחורים, ולעולם לא
   נצבעת בצהוב (הפונט צהוב בעצמו, והאות הייתה נעלמת). בצופה: קו בסיס, חצי הגובה וגובה האות, מדויקים לפי
   המידות של הקובץ: ascender 980, descender 330, גובה אות 700 מתוך 1000.
   =========================================================================== */
.fp--space .s-gl { padding: var(--section) 0; }
.fp--space .s-gl .s-head__num { color: #000; }
.fp--space .s-gl__wrap { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 430px); gap: clamp(20px, 3vw, 44px); align-items: start; }
.fp--space .s-gl__sets { grid-column: 1; grid-row: 1; display: grid; gap: 26px; }
.fp--space .s-insp { grid-column: 2; grid-row: 1; position: sticky; top: 90px; }

/* ---------- אריחים ---------- */
.fp--space .s-gl__h { margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; font: 700 1.05rem/1.2 var(--f-text); color: #2b2310; }
.fp--space .s-gl__h span { font: 600 .82rem/1 var(--f-text); color: #6b5a33; }
.fp--space .s-gl__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; }
.fp--space .s-tile { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 1.5px solid rgba(0, 0, 0, .3); border-radius: 12px;
  background: #fffaf0; cursor: pointer; transition: transform .16s var(--s-ease), box-shadow .16s var(--s-ease), border-color .16s, background .16s; }
.fp--space .s-tile__g { font: 400 2.65rem/1 'FS Space', var(--f-text); pointer-events: none; }
/* קנה מידה מנורמל: ניקוד וסימנים קטנים מטבעם, אז האריח שלהם מגדיל אותם */
.fp--space .s-tile--nikud .s-tile__g { font-size: 2.8rem; }
.fp--space .s-tile--marks .s-tile__g { font-size: 3rem; }
.fp--space .s-tile--digits .s-tile__g { font-size: 2.7rem; }
@media (hover: hover) { .fp--space .s-tile:hover { transform: translate(-2px, -2px); border-color: #000; box-shadow: 4px 4px 0 #000; } }
.fp--space .s-tile__flag { position: absolute; top: 6px; inset-inline-start: 6px; width: 12px; height: 6px; border: 1.5px solid #000; border-radius: 2px; background: var(--s-yellow); pointer-events: none; }
.fp--space .s-gl__legend { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font: 500 .86rem/1.35 var(--f-text); color: #4a3d22; }
.fp--space .s-gl__legend i { width: 14px; height: 7px; border: 1.5px solid #000; border-radius: 2px; background: var(--s-yellow); }
.fp--space .s-tile[aria-pressed="true"] { background: #fff; border: 2.5px solid #000; box-shadow: 4px 4px 0 #000; transform: translate(-3px, -3px); z-index: 1; }
.fp--space .s-tile:focus-visible { outline: 3px solid var(--s-blue-2); outline-offset: 3px; }

/* ---------- הצופה ---------- */
.fp--space .s-insp { display: grid; gap: 0; border: 2.5px solid #000; border-radius: 20px; background: #fffaf0; box-shadow: var(--s-hard-l); overflow: hidden; }
.fp--space .s-insp__stage { --gsize: clamp(8.5rem, 5rem + 8vw, 13.5rem); position: relative; padding: 10px 14px 0;
  background: linear-gradient(rgba(27, 47, 143, .07) 1px, transparent 1px) 0 0 / 100% 22px, linear-gradient(90deg, rgba(27, 47, 143, .07) 1px, transparent 1px) 0 0 / 22px 100%, #fffaf0;
  border-bottom: 2px solid #000; }
/* קופסה בגובה שורה אחת (1.4em): קו הבסיס יושב ב-((1.4 - 1.31) / 2 + 0.98)em = 1.025em מלמעלה */
.fp--space .s-insp__box { position: relative; height: 1.4em; font: 400 var(--gsize)/1.4 'FS Space', var(--f-text); text-align: center; }
.fp--space .s-insp__glyph { position: relative; z-index: 1; display: inline-block; transform-origin: 50% 70%; }
.fp--space .s-insp.is-rough .s-insp__glyph { font-family: 'FS Space Rough', var(--f-text); }
.fp--space .s-insp__rule { position: absolute; inset-inline: -14px; height: 0; border-top: 1.5px solid rgba(27, 47, 143, .55); z-index: 0; }
.fp--space .s-insp__rule span { position: absolute; inset-inline-start: 18px; bottom: 3px; font: 600 .74rem/1 var(--f-text); color: #1b2f8f; letter-spacing: 0; white-space: nowrap; }
.fp--space .s-insp__rule--base { top: 1.025em; border-top-color: rgba(0, 0, 0, .6); }
.fp--space .s-insp__rule--base span { color: #000; }
/* the half-height of THIS glyph (from its real outline, font units above the baseline): glides as you move between letters */
.fp--space .s-insp__rule--half { top: calc(1.025em - var(--half, 350) * .001em); border-top: 1.5px dashed #c2410c; transition: top .35s var(--s-ease); }
.fp--space .s-insp__rule--half span { color: #9a3412; }
.fp--space .s-insp__rule--top { top: .325em; }

.fp--space .s-insp__info { display: grid; gap: 10px; padding: 14px 16px 16px; }
.fp--space .s-insp__name { margin: 0; font: 800 1.25rem/1.2 var(--f-text); color: #000; }
.fp--space .s-insp__src { margin: 0; font: 600 .9rem/1.4 var(--f-text); color: #3b2a0c; }
.fp--space .s-insp__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 .84rem/1.3 var(--f-text); color: #4a3d22; }
.fp--space .s-insp__meta span:empty { display: none; }
.fp--space .s-insp__ver { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fp--space .s-mini { min-height: 44px; padding: 0 12px; border: 2px solid #000; border-radius: 10px; background: #fff; color: #000; font: 700 .92rem/1 var(--f-text); white-space: nowrap; cursor: pointer;
  transition: transform .14s var(--s-ease), box-shadow .14s var(--s-ease), background .14s; }
.fp--space .s-mini[aria-pressed="true"] { background: var(--s-blue-3); color: #fff6df; border-color: var(--s-yellow); box-shadow: 4px 4px 0 #000; transform: translate(-2px, -2px); }
.fp--space .s-vt[aria-pressed="true"] { background: var(--s-blue-3); color: #fff6df; border-color: var(--s-yellow); border-width: 2.5px; }
.fp--space .s-mini:focus-visible { outline: 3px solid var(--s-blue-2); outline-offset: 2px; }
.fp--space .s-insp__words { display: flex; flex-wrap: wrap; gap: 4px 18px; min-height: 1.3em; font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); line-height: 1.3; }
.fp--space .s-insp.is-rough .s-insp__words { font-family: 'FS Space Rough', var(--f-text) !important; }
.fp--space .s-insp__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fp--space .s-insp__nav .s-btn { min-height: 48px; padding: 0 10px; font-size: .95rem; box-shadow: var(--s-hard-s); color: #000; border-color: #000; }
.fp--space .s-insp__nav .s-btn[aria-disabled="true"] { opacity: .4; cursor: default; box-shadow: none; transform: none; }
/* a tiny key for the three lines, shown where the labels on the lines do not fit (phones and tablets) */
.fp--space .s-insp__key { display: none; margin: 0; flex-wrap: wrap; gap: 2px 10px; font: 600 .7rem/1.3 var(--f-text); color: #4a3d22; }
.fp--space .s-insp__key span { display: inline-flex; align-items: center; gap: 4px; }
.fp--space .s-insp__key i { width: 14px; height: 0; border-top: 1.5px solid rgba(0, 0, 0, .6); }
.fp--space .s-insp__key .k-half { border-top: 1.5px dashed #c2410c; }
.fp--space .s-insp__key .k-top { border-top-color: rgba(27, 47, 143, .7); }
/* while the site's menu is hidden on the way down, the sticky viewer moves up into its place */
.fp--space .s-insp { transition: top .3s var(--s-ease); }
.fp--space .topnav.is-hidden:not(:focus-within):not(.is-open) ~ main .s-insp { top: 12px; }

/* ---------- בתוך טקסט ---------- */
.fp--space .s-gl__inuse { width: var(--wrap); margin: clamp(40px, 6vw, 72px) auto 0; display: grid; gap: 12px; }
.fp--space .s-gl__cap { margin: 0; font: 700 .9rem/1 var(--f-text); color: #6b5a33; }
.fp--space .s-gl__line { margin: 0; font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.4rem); line-height: 1.3; overflow-wrap: anywhere; }
.fp--space .s-gl__missing { width: var(--wrap); margin: 26px auto 0; padding-inline-start: 14px; border-inline-start: 4px solid #000; font: 400 .98rem/1.6 var(--f-text); color: #3b301a; }

/* ---------- טלפון: הצופה נדבק למעלה וקומפקטי, האריחים גוללים מתחתיו ---------- */
@media (max-width: 860px) {
  .fp--space .s-gl__wrap { grid-template-columns: 1fr; }
  .fp--space .s-insp { grid-column: 1; grid-row: 1; top: 76px; z-index: 4; grid-template-columns: 132px minmax(0, 1fr); box-shadow: 6px 6px 0 #000; }
  .fp--space .s-gl__sets { grid-column: 1; grid-row: 2; }
  .fp--space .s-insp__stage { --gsize: 5.6rem; padding: 4px 6px 0; border-bottom: 0; border-inline-end: 2px solid #000; display: grid; align-items: center; }
  .fp--space .s-insp__rule { inset-inline: -6px; }
  .fp--space .s-insp__rule span { display: none; }
  .fp--space .s-insp__key { display: flex; }
  .fp--space .s-insp__info { padding: 10px 12px; gap: 7px; }
  .fp--space .s-insp__name { font-size: 1.05rem; }
  .fp--space .s-insp__meta { font-size: .76rem; }
  .fp--space .s-insp__src { font-size: .76rem; }
  .fp--space .s-gl__legend { width: 100%; margin: 4px 0 0; }
  .fp--space .s-gl__h { flex-wrap: wrap; }
  .fp--space .s-insp__words { display: none; }
  .fp--space .s-mini { min-height: 44px; font-size: .82rem; padding: 0 6px; }
  .fp--space .s-insp__nav .s-btn { min-height: 44px; font-size: .85rem; }
  .fp--space .s-gl__grid { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 7px; }
  .fp--space .s-tile { scroll-margin-top: 290px; scroll-margin-bottom: 24px; }
  .fp--space .s-tile__g { font-size: 2rem; }
  .fp--space .s-tile--nikud .s-tile__g { font-size: 2.2rem; }
  .fp--space .s-tile--marks .s-tile__g { font-size: 2.5rem; }
}

/* tablets keep the viewer beside the grid; short phone screens (landscape, small phones) do not get a sticky viewer */
@media (min-width: 640px) and (max-width: 860px) {
  .fp--space .s-gl__wrap { grid-template-columns: minmax(0, 1fr) 270px; }
  .fp--space .s-gl__sets { grid-column: 1; grid-row: 1; }
  .fp--space .s-insp { grid-column: 2; grid-row: 1; position: sticky; top: 90px; grid-template-columns: 1fr; }
  .fp--space .s-insp__stage { --gsize: 8rem; border-inline-end: 0; border-bottom: 2px solid #000; }
}
@media (max-width: 860px) and (max-height: 720px) { .fp--space .s-insp { position: relative; top: 0; } }
@media (max-width: 380px) {
  .fp--space .s-insp { grid-template-columns: 100px minmax(0, 1fr); }
  .fp--space .s-insp__stage { --gsize: 4.5rem; grid-column: 1; grid-row: 1 / span 3; }
  .fp--space .s-insp__info { display: contents; }
  .fp--space .s-insp__name { grid-column: 2; padding: 10px 12px 0; }
  .fp--space .s-insp__src { grid-column: 2; padding: 2px 12px 0; }
  .fp--space .s-insp__meta { grid-column: 2; padding: 4px 12px 10px; }
  .fp--space .s-insp__ver { grid-column: 1 / -1; padding: 10px 10px 0; border-top: 2px solid #000; }
  .fp--space .s-insp__nav { grid-column: 1 / -1; padding: 10px; }
}

/* ===== 90-end.css ===== */
/* ===========================================================================
   סוף: המראה. המילה האחרונה עולה למעלה כמו קרשים שממריאים, ושני כפתורים: לספר עצמו ולכל הפונטים.
   =========================================================================== */
.fp--space .s-end { position: relative; overflow: clip; isolation: isolate; display: grid; justify-items: center; gap: 18px; text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(70px, 10vw, 130px);
  /* the glow settles back into the night blue at the bottom, so the card below starts on the same colour (no hard edge) */
  background: linear-gradient(180deg, transparent 68%, var(--s-blue-1)), radial-gradient(120% 80% at 50% 110%, #f08a2c 0%, #b8422e 22%, #3d2a8a 52%, #13206b 80%); }
.fp--space .s-end__sky { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1.4px 1.4px at 14% 22%, #fff6df 50%, transparent 51%), radial-gradient(1px 1px at 72% 18%, #fff6df 50%, transparent 51%),
  radial-gradient(1.6px 1.6px at 40% 34%, #ffe6b0 50%, transparent 51%), radial-gradient(1px 1px at 86% 40%, #fff6df 50%, transparent 51%); background-size: 340px 260px; opacity: .55; }
.fp--space .s-end__kick { margin: 0; font: 700 var(--fs-label)/1.3 var(--f-text); color: var(--s-yellow); }
.fp--space .s-end__word { margin: 0; display: flex; justify-content: center; direction: rtl; font: 400 min(clamp(5.5rem, 2rem + 13vw, 15rem), calc((100vw - 2 * var(--gutter)) / 3.9))/1.15 'FS Space', var(--f-text); }
.fp--space .s-end__lead { max-width: 52ch; margin: 0; font: 400 var(--fs-lead)/1.6 var(--f-text); color: var(--s-text); text-wrap: pretty; }
.fp--space .s-end__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }
/* ההמראה: כל קרש עולה בתורו, עם האטה בסוף ונחיתה קטנה למקום */
.js-motion .fp--space .s-end:not(.is-in) .s-end__word .s-f { transform: translateY(.9em) rotate(calc((var(--i) - 2.5) * 4deg)); opacity: 0; }
.js-motion .fp--space .s-end .s-end__word .s-f { transition: transform 1s cubic-bezier(.2, 1.3, .4, 1), opacity .6s var(--s-ease); transition-delay: calc(.15s + var(--i) * .08s); }
.js-motion .fp--space .s-end.is-in .s-end__word .s-l { animation: s-end-hover 5.5s ease-in-out infinite; animation-delay: calc(1.4s + var(--i) * .3s); }
.fp--space .s-end:not(.is-live) * { animation-play-state: paused !important; }
@keyframes s-end-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.035em); } }
@media (max-width: 700px) { .fp--space .s-end__cta { display: grid; width: 100%; } }

/* ===== 95-next.css ===== */
/* ===========================================================================
   הפונט הבא + חזרה (רכיבים משותפים מ-build_font_pages.py), בשפה של ספייס: לוח עם מסגרת וצל שחורים.
   השם של הפונט הבא מוקטן כדי שלא ייחתך בטלפון.
   =========================================================================== */
.fp--space .fp-next { margin-top: clamp(48px, 7vw, 90px); border: 2.5px solid #000; border-radius: 22px; background: #f3ead2; color: #1d1608; box-shadow: var(--s-hard-l);
  transition: transform .2s var(--s-ease), box-shadow .2s var(--s-ease); }
.fp--space .fp-next:hover, .fp--space .fp-next:focus-visible { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 #000; }
.fp--space .fp-next small { color: #6b5a33; letter-spacing: 0; }
.fp--space .fp-next b { color: #3a2414; font-size: min(clamp(3rem, 2rem + 6vw, 8rem), 10.5vw); white-space: nowrap; }
.fp--space .fp-next span.fp-next__go { color: #7a1f1a; }
.fp--space .fp-back .fp-btn--ghost { border: 2px solid var(--s-text); border-radius: 12px; color: var(--s-text); box-shadow: var(--s-hard); }
