/* he.css
   Extra styling used ONLY by the Hebrew pages (the he/ folder).
   It sits on top of styles.css and adapts the design to right-to-left text. */

/* Hebrew fonts: Frank Ruhl Libre (elegant serif) and Heebo (light sans),
   chosen to match the feel of Cormorant Garamond and Jost. Latin words
   inside Hebrew text still use the original fonts. */
:root {
  --serif: 'Cormorant Garamond', 'Frank Ruhl Libre', Georgia, serif;
  --sans:  'Jost', 'Heebo', system-ui, sans-serif;
}
[dir="rtl"] body { font-family: var(--sans); }

/* Hebrew has no capital letters, so the wide letter spacing used for the
   English small-caps labels only pulls Hebrew words apart. */
[dir="rtl"] body * { letter-spacing: 0.01em !important; }

/* Hebrew reads best a touch larger than Latin at the same size. */
[dir="rtl"] .nav-links a      { font-size: 14px; }
[dir="rtl"] .dropdown a       { font-size: 13px !important; }
[dir="rtl"] .btn-inquire,
[dir="rtl"] .btn-hero-primary,
[dir="rtl"] .btn-hero-ghost   { font-size: 13px; }
[dir="rtl"] .label,
[dir="rtl"] .cat-crumb,
[dir="rtl"] .assign-head .label2 { font-size: 13px; }

/* Italic is a Latin tradition; Hebrew uses upright letters. */
[dir="rtl"] em,
[dir="rtl"] .cat-intro p,
[dir="rtl"] .manifesto-quote { font-style: normal; }

/* Right-align text blocks that the English design aligns left. */
[dir="rtl"] .hero-content,
[dir="rtl"] .cat-hero-inner,
[dir="rtl"] .about-text,
[dir="rtl"] .contact-left,
[dir="rtl"] .assign-head,
[dir="rtl"] .howio,
[dir="rtl"] footer { text-align: right; }

/* Mirror the homepage hero: name and buttons on the right, slide dots on the left. */
[dir="rtl"] .hero-content { left: auto; right: 56px; }
[dir="rtl"] .hero-counter { right: auto; left: 56px; }
@media (max-width: 768px) {
  [dir="rtl"] #hero .hero-content { left: auto; right: 24px; }
  [dir="rtl"] .hero-counter { left: auto; right: 24px; bottom: 22px; }
}

/* The hidden anti-spam form field is parked far off the left edge in English.
   In right-to-left pages that edge is scrollable, which made phones show a
   blank, very wide page. Hide it completely instead. */
[dir="rtl"] .hp-field { display: none; }

/* The scrolling photo strip is pictures only: keep its motion as designed. */
[dir="rtl"] .work-marquee { direction: ltr; }

/* Phone numbers, email and handles always read left to right. */
[dir="rtl"] [dir="ltr"] { unicode-bidi: isolate; }

/* Language switch: show "English" in the Latin font. */
[dir="rtl"] .lang-switch { font-family: 'Jost', system-ui, sans-serif; }
