@import url('./preview.css');

/* Keep the approved campaign dimensions beneath a single 76px header. */
:root {
  --gutter: 40px;
  --muted: #b7b7b7;
  font-size: 18px;
}

.site-header {
  position: relative;
  height: 76px;
  min-height: 0;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  padding-block: 0;
  border-bottom: 0;
}
.brand { grid-column: 2; grid-row: 1; width: 136px; justify-self: center; }
.main-nav { grid-column: 1; grid-row: 1; gap: 24px; margin: 0; justify-content: flex-start; }
.main-nav a { font-size: 18px; line-height: 1.3; min-height: 48px; white-space: nowrap; }
.press-link { gap: 7px; }
.press-link svg { width: 14px; height: 14px; }
.account-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 10px; }
.account-button { min-height: 44px; padding: 9px 20px; border: 1px solid #727272; border-radius: 0; background: transparent; color: #f8f8f8; font-size: 16px; line-height: 1.25; font-weight: 700; white-space: nowrap; }
.account-signup { background: #f8f8f8; color: #080808; border-color: #f8f8f8; }
.account-button:hover { border-color: var(--pink); }
.account-signup:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.menu-toggle { display: none; }

.hero { padding-inline: var(--gutter); padding-top: var(--gutter); }   /* 28.10: רווח מעל הסרטון כמו בצדדים — ממוסגר ולא צמוד לסרגל (כמו ב-Gymshark) */
/* סרטון הפתיחה (28.10.2026): מחשב 8:3 כמו שאושר, נייד 9:16 — תמיד contain, בלי חיתוך ובלי מסגור לפי שוט */
.video-frame { aspect-ratio: 8 / 3; }
.video-frame video { object-fit: contain; object-position: center; }
.hero-poster, .hero-poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-poster { z-index: 1; pointer-events: none; }   /* תמונת הפתיחה מעל הנגן עד שיש פריים אמיתי (preview.js מסמן data-video-ready) */
.video-frame[data-video-ready] .hero-poster { visibility: hidden; }
.hero-heading {
  position: absolute;
  inset: auto 40px 40px auto;
  z-index: 3;
  display: block;
  max-width: min(650px, calc(100% - 80px));
  padding: 0;
}
.round-link {
  min-height: 52px;
  border-radius: 0;
  font-size: 18px;
  padding: 12px 24px;
  margin-top: 20px;
  gap: 28px;
}
.round-link svg { width: 20px; height: 20px; }
.hero-heading .round-link { margin: 0; }
.media-status { font-size: 16px; }

.eyebrow,
.focus-topline .eyebrow,
.coach-intro > .eyebrow,
.comparison-heading > .eyebrow,
.studio-heading .eyebrow,
.studio-address > p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #b7b7b7;
}
.coach-section { display: block; padding-block: 112px 104px; background: radial-gradient(ellipse at 12% 35%, rgb(238 31 113 / 12%), transparent 48%), radial-gradient(ellipse at 88% 70%, rgb(238 31 113 / 10%), transparent 46%); }
.studio-introduction { max-width: 1080px; margin-inline: auto; text-align: center; }
.studio-story { margin: 0; text-align: center; text-wrap: pretty; font-family: Rubik, Assistant, Arial, sans-serif; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.75; font-weight: 400; letter-spacing: -.025em; color: #e3dce0; }
.studio-story strong { font-weight: 500; }
.studio-story bdi { white-space: nowrap; }
.studio-story .studio-name { color: var(--pink); white-space: nowrap; }
.studio-join { display: inline-flex; align-items: center; justify-content: center; gap: 32px; width: min(100%, 300px); min-height: 60px; margin-top: 40px; padding: 14px 28px; background: var(--pink); color: #080808; font-size: 22px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.studio-join svg { flex: none; width: 22px; height: 22px; }
.studio-join:hover { background: #ff438c; }
.studio-join:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.coach-section.reveal-ready [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); }
.coach-section.reveal-ready [data-revealed] { opacity: 1; transform: none; transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 1000ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .coach-section.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}
.text-link { font-size: 18px; min-height: 52px; color: #f5f5f5; }
.studio-focus { padding-block: 64px 80px; }
.focus-location { font-size: 16px; line-height: 1.5; color: #b7b7b7; }
.section-index { font-size: 16px; color: #b7b7b7; }
.discipline { padding-block: 36px; }
.discipline h2 { font-size: clamp(42px, 4.5vw, 72px); line-height: 1.12; }
.comparison-section { padding-block: 80px 96px; }
.comparison-heading { max-width: 1000px; margin-inline: auto; text-align: center; }
.comparison-heading h2 { font-family: Rubik, Assistant, Arial, sans-serif; font-size: clamp(32px, 3.2vw, 48px); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; text-wrap: balance; }
.comparison-heading h2 span { color: var(--pink); }
.recipes-section { padding-block: 72px 96px; border-top: 1px solid var(--line); font-family: Rubik, Assistant, Arial, sans-serif; }
.recipes-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.recipes-heading h2 { margin: 0; font-size: clamp(30px, 3.2vw, 48px); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
.recipes-heading h2 span { color: var(--pink); }
.recipes-profile { display: inline-flex; flex: none; align-items: center; gap: 12px; min-height: 48px; color: #e3dce0; font-size: 17px; line-height: 1.5; }
.recipes-profile svg { width: 19px; height: 19px; }
.recipes-profile:hover { color: var(--pink); }
.recipes-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 4.5); gap: 20px; padding: 6px 6px 20px; margin: -6px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 6px; scrollbar-width: thin; scrollbar-color: var(--pink) #202020; }
.recipes-track::-webkit-scrollbar { height: 8px; }
.recipes-track::-webkit-scrollbar-track { background: #202020; }
.recipes-track::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 4px; }
.recipes-track:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.recipes-track > li { min-width: 0; scroll-snap-align: start; scroll-margin-inline: 6px; }
.recipe-card { position: relative; display: block; height: 100%; color: #f8f8f8; text-decoration: none; }
.recipe-cover { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: #171717; }
.recipe-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.recipe-instagram { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: rgb(8 8 8 / 72%); border-radius: 50%; }
.recipe-instagram svg { width: 22px; height: 22px; }
.recipe-card h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 500; line-height: 1.5; }
.recipe-card:hover h3 { color: var(--pink); }
.recipe-card:focus-visible, .recipes-profile:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
/* פס תחתון דק (28.10): שורה אחת במחשב, שתי שורות צפופות בנייד; קו עליון שמתחמם לוורוד באמצע */
.location-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 18px; background: #0d0d0d; font-family: Rubik, Assistant, Arial, sans-serif; }
.location-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent 8%, rgb(238 31 113 / 55%) 50%, transparent 92%), var(--line); }
.location-details { display: flex; align-items: center; gap: 20px; }
.location-footer address { display: inline-flex; align-items: center; gap: 10px; font-style: normal; font-size: 17px; line-height: 1.4; font-weight: 400; color: #ededed; }
.location-footer address::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.location-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; padding: 0 14px; border: 1px solid #727272; color: #f8f8f8; font-size: 15px; font-weight: 500; line-height: 1; transition: background-color .2s, border-color .2s, color .2s; }
.location-link svg { width: 14px; height: 14px; flex: none; }
.location-link:hover { background: var(--pink); border-color: var(--pink); color: #080808; }
.footer-meta { display: flex; align-items: center; gap: 16px; }
.location-domain { font-size: 15px; font-weight: 400; color: #8f8f8f; letter-spacing: .01em; }
.footer-sep { width: 1px; height: 14px; background: #3a3a3a; }
.comparison-label { font-size: 18px; color: #d0d0d0; }
.comparison-figure figcaption { font-size: 16px; color: #b7b7b7; }
.studio-address address { font-size: 28px; }
.footer-brand { width: 136px; }
.footer-domain, .back-top { font-size: 16px; color: #b7b7b7; }

@media (max-width: 1050px) {
  .recipes-track { grid-auto-columns: calc((100% - 60px) / 3.25); }
  .site-header { gap: 20px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 16px; }
  .brand { width: 120px; }
  .hero-heading { right: 28px; bottom: 28px; }
  .round-link { margin-top: 14px; }
}

@media (max-width: 1000px) {
  .menu-toggle { display: flex; grid-column: 1; grid-row: 1; align-items: center; gap: 10px; justify-self: start; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #fff; font-size: 16px; }
  .menu-toggle svg { width: 24px; height: 24px; }
  .main-nav { display: none; position: absolute; inset: 100% 0 auto; z-index: 5; grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--gutter); margin: 0; border-block: 1px solid var(--line); background: #101010; width: 100%; }
  .site-header[data-menu-open] .main-nav { display: flex; }
  .main-nav a { font-size: 18px; min-height: 48px; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .site-header {
    height: 76px;
    position: relative;
    grid-template-columns: auto 44px 1fr;
    gap: 8px;
    padding-top: 0;
  }
  .brand { grid-column: 1; grid-row: 1; justify-self: start; width: clamp(92px, 28vw, 112px); }
  .menu-toggle { grid-column: 2; justify-self: center; justify-content: center; width: 44px; }
  .menu-toggle > span { display: none; }
  .account-actions { grid-column: 3; gap: 6px; }
  .account-button { padding-inline: 8px; }
  .hero { padding-inline: 16px; }
  .video-frame { aspect-ratio: 9 / 16; }
  .hero-heading { inset: auto 16px 24px 16px; max-width: none; }
  .round-link { font-size: 16px; min-height: 52px; padding: 12px 20px; gap: 24px; margin-top: 16px; }
  .coach-section { padding-block: 72px 80px; }
  .studio-story { font-size: clamp(23px, 6vw, 28px); line-height: 1.75; }
  .studio-join { min-height: 58px; margin-top: 28px; font-size: 21px; }
  .text-link { font-size: 16px; min-height: 52px; }
  .studio-focus { padding-block: 48px 56px; }
  .focus-topline { flex-wrap: wrap; gap: 6px 20px; padding-bottom: 20px; }
  .focus-topline .eyebrow, .focus-location { font-size: 16px; }
  .discipline { grid-template-columns: 24px 1fr 16px; gap: 12px; padding-block: 28px; }
  .section-index { font-size: 14px; padding-top: 8px; }
  .discipline h2 { font-size: clamp(34px, 9vw, 46px); line-height: 1.15; letter-spacing: -.02em; }
  .discipline-mark { font-size: 24px; }
  .comparison-section { padding-block: 56px 64px; }
  .comparison-heading > .eyebrow, .studio-heading .eyebrow { font-size: 16px; margin-bottom: 16px; }
  .comparison-heading h2 { font-size: clamp(28px, 7vw, 38px); }
  .recipes-section { padding-block: 48px 64px; }
  .recipes-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .recipes-heading h2 { font-size: clamp(28px, 7vw, 38px); }
  .recipes-profile { font-size: 16px; }
  .recipes-track { grid-auto-columns: calc((100% - 16px) / 1.5); gap: 16px; }
  .recipe-card h3 { font-size: 18px; margin-top: 14px; }
  .location-footer { flex-direction: column; align-items: stretch; gap: 6px; padding-block: 16px 18px; }
  .location-details, .footer-meta { justify-content: space-between; gap: 12px; }
  .location-footer address { font-size: 16px; }
  .location-domain, .footer-a11y { font-size: 14px; }
  .footer-sep { display: none; }
  .comparison-label { font-size: 16px; }
  .comparison-figure figcaption { font-size: 16px; }
  .studio-section { padding-block: 52px 56px; }
  .studio-address > p { font-size: 16px; }
  .studio-address address { font-size: 26px; }
  .footer-brand { width: 122px; }
  .footer-domain, .back-top { font-size: 16px; }
}

@media (max-width: 350px) {
  :root { --gutter: 16px; }
  .main-nav { gap: 8px; }
  .hero-heading { right: 16px; left: 16px; bottom: 20px; }
}

/* ---- תוספות 27.10.2026: חיבור כפתורי החשבון כקישורים, כפתור עצירה לסרטון (WCAG 2.2.2), קישור הצהרת נגישות ---- */
.account-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.account-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.video-toggle { flex: none; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(8,8,8,.74); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.video-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.video-toggle [hidden] { display: none; }
.video-toggle:hover { border-color: var(--pink); }
.video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.footer-a11y { display: inline-flex; align-items: center; min-height: 36px; color: #b7b7b7; font-size: 15px; text-decoration: underline; text-decoration-color: #5a5a5a; text-underline-offset: 4px; }
.footer-a11y:hover, .footer-a11y:focus-visible { color: var(--pink); text-decoration-color: currentColor; outline-offset: 4px; }
@media (max-width: 700px) { .video-toggle { width: 44px; height: 44px; } }

/* ---- 27.10.2026 (ערב): מקום שמור לתהליך התזונה, אייקון אינסטגרם בכותרת המתכונים ---- */
.nutrition-section { padding-block: 80px 96px; border-top: 1px solid var(--line); }
.nutrition-heading { max-width: 1000px; margin: 0 auto 56px; text-align: center; }
.nutrition-heading h2 { font-family: Rubik, Assistant, Arial, sans-serif; font-size: clamp(32px, 3.2vw, 48px); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
.recipes-profile-icon { justify-content: center; width: 48px; height: 48px; }
.recipes-profile-icon svg { width: 30px; height: 30px; }
@media (max-width: 700px) {
  .nutrition-section { padding-block: 56px 64px; }
  .nutrition-heading { margin-bottom: 28px; }
  .nutrition-heading h2 { font-size: clamp(28px, 7vw, 38px); }
  .recipes-heading { flex-direction: row; align-items: center; }
  .recipes-profile-icon { width: 44px; height: 44px; }
  .recipes-profile-icon svg { width: 28px; height: 28px; }
}

/* ---- 27.10.2026 (לילה): תהליך התזונה — 4 שלבים לרוחב; הטאבים למעלה קבועים וזכוכית אחרי גלילה ---- */
.nutrition-heading h2 span { color: var(--pink); }
.nutrition-section { background: radial-gradient(70% 55% at 50% 0%, rgb(238 31 113 / 8%), transparent 72%); }
.process-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; font-family: Rubik, Assistant, Arial, sans-serif; }
.process-step { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "num icon" "label label" "title title" "text text"; align-content: start; align-items: end; padding: 4px 32px 8px; border-inline-start: 1px solid var(--line); }
.process-step:first-child { padding-inline-start: 0; border-inline-start: 0; }
.process-step:last-child { padding-inline-end: 0; }
.step-icon { grid-area: icon; color: var(--pink); }
.step-icon svg { width: 40px; height: 40px; }
.step-num { grid-area: num; font-size: 76px; font-weight: 600; line-height: .9; letter-spacing: -.04em; color: transparent; background: linear-gradient(180deg, #ff5c9a, var(--pink) 55%, #cf175f); -webkit-background-clip: text; background-clip: text; }
.step-label { grid-area: label; margin: 22px 0 0; color: #f3c4d6; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.step-title { grid-area: title; margin: 8px 0 12px; color: #fff; font-size: 26px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.step-text { grid-area: text; margin: 0; color: #cfcfcf; font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.process-step[data-step="4"]::after { content: ''; position: absolute; inset: -36px -12px; z-index: -1; background: radial-gradient(55% 45% at 50% 28%, rgb(238 31 113 / 17%), transparent 72%); pointer-events: none; }
@media (max-width: 1100px) {
  .process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .process-step:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .process-step:nth-child(even) { padding-inline-end: 0; }
}
@media (max-width: 700px) {
  .nutrition-heading { margin-bottom: 32px; }
  .process-track { grid-template-columns: 1fr; row-gap: 0; }
  .process-step { padding: 30px 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .process-step:first-child { padding-top: 0; border-top: 0; }
  .step-num { font-size: 62px; }
  .step-icon svg { width: 36px; height: 36px; }
  .step-title { font-size: 23px; }
  .step-text { font-size: 16px; }
}

html { scroll-padding-top: 120px; }
.site-header { position: sticky; top: 0; z-index: 20; transition: background-color .25s ease, border-color .25s ease; }
.site-header[data-scrolled]:not([data-menu-open]) { background: rgb(8 8 8 / 78%); -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px); border-bottom-color: rgb(255 255 255 / 10%); }
@media (prefers-reduced-transparency: reduce) { .site-header[data-scrolled] { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (min-width: 1001px) { html { scroll-padding-top: 96px; } }   /* מעל 1000: הנעוץ = שורת הטאבים בלבד (52px) */
@media (min-width: 1800px) { html { scroll-padding-top: 112px; } }
@media (max-width: 950px) { html { scroll-padding-top: 104px; } }
@media (max-width: 700px) { html { scroll-padding-top: 96px; } }

/* ---- 27.10.2026: תהליך התזונה — מסע תלת-ממדי בגלילה, טקסט פתוח בלי קופסאות (nutrition-3d.js מוסיף .is-3d). בלי JS, עם הפחתת תנועה או כשהמסך נמוך מדי — נשארת הפריסה הרגילה ---- */
.journey-space, .journey-foot { display: none; }
.nutrition-section.is-3d { height: 520vh; padding: 0; border-top: 0; background: none; scroll-margin-top: -120px; }
.is-3d .journey-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hdr, 76px) + 28px) var(--gutter) 20px; background: radial-gradient(60% 45% at 50% 58%, rgb(238 31 113 / 16%), transparent 70%), linear-gradient(#080808, #040404 16%, #040404 84%, #080808); isolation: isolate; }
.is-3d .journey-space { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; perspective: 900px; perspective-origin: 50% 54%; }
.journey-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.is-3d .nutrition-heading { position: relative; z-index: 2; isolation: isolate; margin: 0 auto; }
.is-3d .nutrition-heading::before, .is-3d .journey-foot::before { content: ''; position: absolute; inset: -70% -25%; z-index: -1; background: radial-gradient(closest-side, rgb(8 8 8 / 86%), rgb(8 8 8 / 0%)); }
.is-3d .process-track { position: relative; z-index: 1; display: grid; place-items: center; grid-template-columns: none; margin: 0; padding: 0; }
.is-3d .process-step { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; width: min(780px, 100%); padding: 0; border: 0; text-align: center; perspective: 1100px; }
/* מאחורי הטקסט: הצללה כמעט אטומה באזור הכתוב (העצמים המעופפים מתעמעמים כשהם עוברים מאחוריו), ומעליה המספר הענק */
.is-3d .process-step::before { content: ''; position: absolute; inset: -28% -22%; z-index: -1; background: radial-gradient(closest-side, rgb(4 4 4 / 94%) 62%, rgb(4 4 4 / 0%)); opacity: var(--o, 1); pointer-events: none; }
.step-ghost { display: none; }
.is-3d .step-ghost { display: block; position: absolute; left: 50%; top: 50%; z-index: -1; font-family: Rubik, Assistant, Arial, sans-serif; font-weight: 600; font-size: clamp(240px, 36vw, 560px); line-height: 1; letter-spacing: -.05em; color: transparent; background: linear-gradient(180deg, rgb(238 31 113 / 58%), rgb(238 31 113 / 0%) 80%); -webkit-background-clip: text; background-clip: text; pointer-events: none; }
.is-3d .process-step[data-step="4"]::after, .is-3d .step-num { display: none; }
.is-3d .step-icon svg { width: 58px; height: 58px; filter: drop-shadow(0 0 12px rgb(238 31 113 / 75%)); }
.is-3d .step-label { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; color: #fff; font-size: 16px; letter-spacing: .1em; }
.is-3d .step-label::before, .is-3d .step-label::after { content: ''; width: 40px; height: 1px; background: rgb(238 31 113 / 75%); }
.is-3d .step-title { margin: 16px 0 18px; font-size: clamp(34px, 9.5vw, 80px); line-height: 1.08; letter-spacing: -.02em; }
.is-3d .step-text { max-width: 34ch; color: #e2e2e2; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.6; }
.is-3d .process-step[data-step="4"] .step-title { text-shadow: 0 0 44px rgb(238 31 113 / 60%); }
.is-3d .journey-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; z-index: 2; isolation: isolate; justify-self: center; padding: 6px 28px; font-family: Rubik, Assistant, Arial, sans-serif; }
.journey-hud { position: relative; display: flex; justify-content: space-between; width: min(260px, 62vw); height: 10px; }
.journey-hud::before { content: ''; position: absolute; inset: 4px 0; background: rgb(255 255 255 / 16%); }
.journey-hud-fill { position: absolute; inset-block: 4px; inset-inline-start: 0; width: calc(var(--hp, 0) * 100%); background: var(--pink); box-shadow: 0 0 10px rgb(238 31 113 / 70%); }
.journey-hud b { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #2e2e2e; }
.journey-hud b.on { background: var(--pink); box-shadow: 0 0 10px rgb(238 31 113 / 80%); }
.journey-hint { display: flex; align-items: center; gap: 8px; color: #cfcfcf; font-size: 15px; }
.journey-hint svg { width: 18px; height: 18px; }
/* בזמן המסע הכותרת העליונה אטומה: טשטוש זכוכית מעל סצנה שזזה כבד מדי לטלפון */
.site-header[data-journey][data-scrolled]:not([data-menu-open]) { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 700px) {
  .is-3d .journey-stage { padding-top: calc(var(--hdr, 76px) + 18px); }
}

/* העוגן "תזונה" נוחת בדיוק בתחילת המסע התלת-ממדי: מבטלים את ה-scroll-padding של כל רוחב */
@media (min-width: 1001px) { .nutrition-section.is-3d { scroll-margin-top: -96px; } }
@media (min-width: 1800px) { .nutrition-section.is-3d { scroll-margin-top: -112px; } }
@media (max-width: 950px) { .nutrition-section.is-3d { scroll-margin-top: -104px; } }
@media (max-width: 700px) { .nutrition-section.is-3d { scroll-margin-top: -96px; } }

/* פוסט 4:5 (לא רילס 9:16) במסגרת גבוהה: במקום פסים שחורים — אותה תמונה מטושטשת ומוחשכת ברקע; התמונה עצמה נשארת שלמה */
.recipe-cover .recipe-cover-fill { position: absolute; inset: 0; object-fit: cover; filter: blur(22px) brightness(.75) saturate(1.15); transform: scale(1.25); }
.recipe-cover > img:not(.recipe-cover-fill) { position: relative; z-index: 1; }
.recipe-instagram { z-index: 2; }

/* תהליך התזונה עבר להיות מיד אחרי הפסקה של נוי (27.10): הקו העליון מגיע ממקטע נוי, והתזונה מקבלת קו תחתון לפני לפני/אחרי */
.nutrition-section, .nutrition-section.is-3d { border-top: 0; border-bottom: 1px solid var(--line); }

/* פסקת נוי בשתי "שורות נשימה": ההיכרות, ואז ההזמנה (27.10) */
.studio-story .story-line { display: block; text-wrap: balance; }
.studio-story .story-line + .story-line { margin-top: .6em; }

/* ---- 27.10.2026 (לילה): אייפון. ספארי ב-iOS 26 חותך רכיבים נעולים (sticky/fixed) מתחת לסרגל הצף שלו, במקום לצייר אותם מאחוריו.
   לכן: הבמה לא גבוהה מהשטח הנראה (--vis-h נמדד ב-JS), שורת השלב לא יכולה לדחוף את הפס החוצה,
   ובטלפון פס ההתקדמות עולה מתחת לכותרת והשלב ממורכז מעל רצועת ביטחון בתחתית ---- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.is-3d .journey-stage { grid-template-rows: auto minmax(0, 1fr) auto; }
.is-3d .process-track { min-height: 0; }
@supports (height: 100svh) { .is-3d .journey-stage { height: min(100svh, var(--vis-h, 100svh)); } }
/* המספר הענק בלי background-clip:text (באגים ידועים ב-WebKit על שכבות תלת-ממד): צבע + מסיכת דעיכה, אותו מראה */
.is-3d .step-ghost { color: rgb(238 31 113 / 58%); background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
@media (max-width: 700px) {
  .is-3d .journey-stage { grid-template-rows: auto auto minmax(0, 1fr); row-gap: 8px; padding-bottom: 64px; }
  .is-3d .journey-foot { grid-row: 2; }
  .is-3d .process-track { grid-row: 3; place-items: start center; padding-top: clamp(12px, 4svh, 40px); }   /* השלב צמוד מתחת לפס, לא ממורכז נמוך */
}
@media (max-width: 700px) and (max-height: 640px) {   /* מסכים נמוכים (אייפון SE / מיני): קצת פחות גובה לשלב */
  .is-3d .journey-stage { padding-top: calc(var(--hdr, 76px) + 10px); padding-bottom: 44px; }
  .is-3d .process-track { padding-top: 6px; }
  .is-3d .step-icon svg { width: 46px; height: 46px; }
  .is-3d .step-label { margin-top: 14px; }
  .is-3d .step-title { margin: 10px 0 12px; font-size: clamp(28px, 8.6vw, 36px); }
  .is-3d .step-text { font-size: 16px; line-height: 1.55; }
}


/* הטאב "מתכונים" מנחית את הכותרת כ-40px מתחת לטאבים (כמו "תוצאות") — בלי זנב מסע התזונה מעליה */
.recipes-section { scroll-margin-top: -76px; }
@media (min-width: 1800px) { .recipes-section { scroll-margin-top: -92px; } }
@media (max-width: 950px) { .recipes-section { scroll-margin-top: -60px; } }
@media (max-width: 700px) { .recipes-section { scroll-margin-top: -28px; } }

/* ---- 28.10: במחשב (מעל 1000px) הסרגל בשתי שורות — הלוגו לבד למעלה וגדול יותר; הטאבים, ההרשמה וההתחברות בשורה ממש מעל הסרטון.
   בגלילה שורת הלוגו עולה מעל המסך ורק שורת הטאבים נשארת נעוצה (top שלילי בגובה שורת הלוגו). עד 1000px — הסרגל הרגיל עם ☰ ---- */
@media (min-width: 1001px) {
  .site-header { --brand-row: 96px; height: auto; grid-template-columns: 1fr auto; grid-template-rows: var(--brand-row) 52px; row-gap: 0; top: calc(-1 * var(--brand-row)); }
  .brand { grid-column: 1 / -1; grid-row: 1; justify-self: center; align-self: end; margin-bottom: 0; width: 176px; }   /* 28.10: הלוגו נמוך יותר, צמוד לשורת הטאבים; הגודל נשאר */
  .main-nav { grid-column: 1; grid-row: 2; }
  .account-actions { grid-column: 2; grid-row: 2; }
  .hero { padding-top: 0; }   /* שורת הלוגו גדלה ב-8px על חשבון הרווח הזה — הסרטון נשאר בדיוק באותו גובה */
}
