/* =====================================================================
   bold-he.css (Mika, 19 Nov 2026) — Shraada HE homepage, RTL layer on bold.css
   Load AFTER bold.css, on site-he.html only:
     <link rel="stylesheet" href="build/bold.css">
     <link rel="stylesheet" href="build/bold-he.css">
   and <body data-palette="b">.
   Faces: Hebrew display = Noto Sans Hebrew, variable, set at 860 (Archivo has no
   Hebrew; this is the Hebrew sans whose black weight carries the same mass and width
   as Archivo 800 at 112%). Hebrew text = Miriam Libre 400/700 (the HE door's text face
   since 15 Nov; the existing fonts/MiriamLibre-400-hebrew.woff2 is the 400-700 variable
   file). Latin, digits and punctuation inside Hebrew lines fall through to Archivo /
   Hanken, so "20%" and "?" match the EN page. All self-hosted (OFL), works offline.
   The photo placeholder (.ph) is hidden here, CSS only: hero and close run one column
   until a real photo figure (without .ph) is put back, then these rules switch off.
   ===================================================================== */

@font-face{font-family:"Shr Display HE";src:url(../fonts/NotoSansHebrew-var-hebrew.woff2) format("woff2");font-weight:100 900;font-display:swap;
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Shr Text HE";src:url(../fonts/MiriamLibre-400-hebrew.woff2) format("woff2");font-weight:400 700;font-display:swap;
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}

/* FONT SWAP (Dev, 23 Nov 2026; a new Hebrew font is picked later): add its @font-face above (Hebrew unicode-range,
   file in fonts/), then set ONE variable here, e.g. --he-font:"Shr New HE";  Unset = today's two faces below, unchanged.
   It replaces display, text and button Hebrew at once, on every page that loads this file (/he, /he/free, /accessibility). */
/* Heebo (Eshel picked 23 Nov 2026, option 2), OFL, self-hosted. Hebrew + Latin subsets so digits and punctuation match. */
@font-face{font-family:"Shr Heebo";src:url(../fonts/Heebo-var-hebrew.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Shr Heebo";src:url(../fonts/Heebo-var-latin.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --he-font:"Shr Heebo";

  --head:var(--he-font,"Shr Display HE"),"Shr Display","Archivo","Arial Black",system-ui,sans-serif;
  --text:var(--he-font,"Shr Text HE"),"Shr Text","Hanken Grotesk",system-ui,sans-serif;
  --ui:var(--he-font,"Shr Display HE"),"Shr Text","Hanken Grotesk",system-ui,sans-serif; /* heavy Hebrew for buttons, chips, labels */
}
body{font:400 20px/1.72 var(--text)}

/* ---------- TYPE: Hebrew is never negatively tracked; heavy Hebrew needs air for ק ן ך ף ץ ---------- */
.h1,.h2,.fig{font-weight:800;letter-spacing:0}
.h1{font-size:clamp(40px,4.9vw,72px);line-height:1.1;max-width:15.5em}
.h2{font-size:clamp(34px,3.9vw,56px);line-height:1.12}

/* ---------- LOGO: yellow-tile lockup (also change the <img src> in the HTML; this is the safety net) ---------- */
.wordmark.logo img{content:url(../logo/shraada-lockup-he-tape.svg)}
.foot img.mark{content:url(../logo/shraada-mark-tape.svg)}

/* ---------- NAV: the WhatsApp call is the last item, same yellow block as EN ---------- */
.nav ul{font:700 16px/1 var(--text)}
.nav ul li:last-child a[href*="wa.me"]{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;background:var(--accent);color:var(--on-accent);
  border-radius:3px;font:800 15px/1 var(--ui);letter-spacing:.01em;gap:9px}
.nav ul li:last-child a[href*="wa.me"]:hover{background:var(--accent-hi);text-decoration:none}
.draft-tag{font-family:var(--text)}

/* ---------- BUTTONS: arrow points the way you read ---------- */
.btn{font:800 20px/1 var(--ui);letter-spacing:.01em}
.btn::after,.nav ul li:last-child a[href*="wa.me"]::after{content:"\2190";font-family:"Shr Text",system-ui,sans-serif;font-weight:800;letter-spacing:0;transition:transform .15s ease-out}
.btn:hover::after,.nav ul li:last-child a[href*="wa.me"]:hover::after{transform:translateX(-3px)}

/* ---------- HERO: placeholder hidden, one column on the page grid (as EN) ---------- */
.hero > .hero-photo.ph,.close > .photo.ph{display:none}
.hero:has(> .hero-photo.ph),.close:has(> .photo.ph){grid-template-columns:minmax(0,1fr);min-height:0}
@media (min-width:861px){
  .hero:has(> .hero-photo.ph) .hero-text{max-width:1280px;width:100%;margin:0 auto;padding:clamp(40px,5vw,72px) var(--pad) clamp(72px,8vw,112px)}
  .close:has(> .photo.ph) .txt{padding-inline:max(var(--pad),calc((100vw - 1280px)/2 + var(--pad)))}
  .close .h2{max-width:16em}
}
.who-for{font:800 15px/2.1 var(--ui);letter-spacing:.02em}
.who-for .area{color:inherit;white-space:nowrap}
.lead{font:700 24px/1.5 var(--text);max-width:26em}
/* critic 19 Nov (craft): the rag. No stranded last words in any running text */
.lead,.opt-review,.byline,.moments li,.how-steps li,.proof p,details p,.close-line,.after,.notfit{text-wrap:pretty}
/* Miriam Libre sets small on the body; one step up from EN so Hebrew reads at the same size */
.how-steps li{font-size:21px}
details p{font-size:20px}
/* one call per screen: the hero keeps the button only (EN dropped its text link too); "איך זה עובד" stays in the nav */
.hero .tlink{display:none}
.opt-review.plain{font:400 18px/1.6 var(--text);color:var(--on-room-2);max-width:44em;margin:0 0 34px;padding:0;border:0}
.byline{font:400 17px/1.55 var(--text);color:var(--on-room-2);max-width:44em;margin:0;padding-top:18px;border-top:1px solid var(--rule-room)}
.byline b{font-weight:700;color:var(--on-room)}

/* ---------- PROBLEM ---------- */
.moments li{font:700 clamp(23px,2.1vw,30px)/1.42 var(--text);letter-spacing:0}
.notfit{font-weight:700}
.cf{direction:ltr;unicode-bidi:isolate}

/* ---------- WHAT CHANGES (dark, from bold.css) + HOW (light), as EN.
   If the "מה משתנה" section is ever dropped, #how takes the room ground so the page still alternates. ---------- */
#how{border-top:0!important}
.rows b{letter-spacing:0}
#how .how-steps li{line-height:1.7}
#how .how-steps li b{font:800 1.06em/1.4 var(--ui);display:block;margin-bottom:6px;letter-spacing:0}
main:not(:has(.wrap.changes)) #how{background:var(--room);color:var(--on-room)}
main:not(:has(.wrap.changes)) #how .rows li{border-top-color:var(--on-room)}
main:not(:has(.wrap.changes)) #how .rows li:last-child{border-bottom:2px solid var(--on-room)}
main:not(:has(.wrap.changes)) #how a:focus-visible{outline-color:var(--accent)}
.sheet{text-align:right}

/* ---------- PROOF (#about): the full accent block, ink on yellow, as EN #proof:
   title across the top, then each line set as an EN .proofline (bold, 3px ink rule under it) ---------- */
#about{background:var(--accent);color:var(--on-accent);border-top:0!important}
#about .proof{grid-template-columns:minmax(0,1fr);gap:0}
#about .h2{font-size:clamp(34px,4.4vw,64px);color:var(--on-accent);max-width:16em}
#about .proof > div{max-width:min(100%,46rem)}
#about .proof p,#about .proof .first-proof{font:700 clamp(24px,2.3vw,32px)/1.4 var(--text);color:var(--on-accent);border-bottom:3px solid var(--on-accent);padding-bottom:22px;margin:0 0 24px;max-width:none}
#about .proof p b{font-weight:700}
#about a:focus-visible{outline-color:var(--on-accent)}
#proof .fig{padding-right:0;padding-left:.04em}

/* ---------- QUESTIONS (ready for the FAQ section in Priya's draft): plus sign on the left ---------- */
summary{font:700 22px/1.45 var(--text);letter-spacing:0;padding:24px 0 24px 48px}
summary::after{right:auto;left:4px}
summary::before{right:auto;left:11.5px}

/* ---------- CLOSE + FOOT ---------- */
.close .h2{line-height:1.12}
.sign a{color:var(--on-room)}
.foot .meaning{font-family:var(--text)}

/* ---------- PHONE (390 first) ---------- */
@media (max-width:860px){
  body{font-size:18px}
  .who-for{display:block;background:none;color:var(--accent);padding:0;font-size:14px;line-height:1.5;letter-spacing:.01em}
  /* the area goes on its own line on the phone; the middle dot would hang at the line end */
  .who-for > span:not(.area){display:none}
  .who-for .area{display:block}
  .how-steps li{font-size:18.5px}
  .h1{font-size:34px;line-height:1.14;max-width:none}
  .h2{font-size:32px;line-height:1.14}
  .lead{font-size:19px;line-height:1.5;margin-bottom:16px}
  .opt-review.plain{font-size:16px;line-height:1.55;margin-bottom:22px}
  .btn{font-size:18.5px}
  /* the 18 Nov phone rule put the byline on paper; with the bold hero it stays in the room, under a hairline (as EN .under) */
  .byline{background:none;color:var(--on-room-2);margin:0;padding:16px 0 30px;border-top:1px solid var(--rule-room);font-size:16px}
  .byline b{color:var(--on-room)}
  .moments li{font-size:21px;line-height:1.45}
  #about .proof p,#about .proof .first-proof{font-size:22px;padding-bottom:18px;margin-bottom:20px}
  summary{font-size:19.5px;padding:20px 0 20px 42px}
  .cbar .btn{font-size:16.5px}
  .cbar .tel{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
  /* 44px tap targets for the small text links */
  .foot ul a,.sign a{display:inline-flex;align-items:center;min-height:44px}
}
@media (prefers-reduced-motion:reduce){.btn::after{transition:none}}
