/* Local Hebrew and Latin editions. License notices are in assets/fonts. */
@font-face {
  font-family: "Alef";
  src: url("fonts/alef-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alef";
  src: url("fonts/alef-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

html[lang="he"]:not([data-iw-font="true"]) {
  --sans: "Alef", Arial, sans-serif;
  --serif: var(--sans);
  --iw-latin-display: "Manrope", "Alef", Arial, sans-serif;
}
html[lang="en"]:not([data-iw-font="true"]) {
  --sans: "Manrope", Arial, sans-serif;
  --serif: var(--sans);
  --iw-latin-display: var(--sans);
}
html[lang] :is(.iw-field, .iw-field-close) { --display: var(--serif); }
html[lang] .iw-site .iw-inquiry-intro h2 { font-family: var(--serif); }
html[lang="en"] .iw-site :is(.ii-intro h1,.iw-about h1,.iw-workshop-feature h2,.iw-field h2) { font-weight: 450; letter-spacing: -.045em; line-height: 1.09; }

/* The display face stays light at large sizes, with firmer section labels. */
html[lang="he"] :is(.iw-site .ii-intro:not(.ii-project-intro) h1,
                    .iw-about h1, .iw-about h2, .iw-field h2, .iw-field-close h2,
                    .iw-world-text h2, .iw-plate .dp-intro h2, .iw-inquiry-intro h2) {
  font-family: var(--serif);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.1;
  letter-spacing: -.023em;
}
html[lang="he"] :is(.ii-reading .iw-article-row h2,
                    .ii-service-row summary, .iw-gallery-sheet h3) {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: normal;
}
html[lang="he"] .ii-reading .iw-article-row h2 {
  font-size: clamp(1.56rem,2.35vw,2.55rem);
}
html[lang="he"] :is(.iw-world-copy, .iw-about p, .ii-intro .iw-deck,
                    .iw-site .iw-inquiry-intro p, .dp-description) {
  line-height: 1.65;
}
html[lang="he"] .ii-reading .iw-article-row p {
  max-inline-size: 64ch;
  line-height: 1.76;
}
html[lang="he"] .iwb-mast .iwb-consult {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
}
html[lang="he"] .iw-about-intro h1,
html[lang="he"] .iw-site .ii-photo-intro h1 {
  font-size: clamp(2.75rem,6.1vw,6.75rem);
}
@media (max-width: 40rem) {
  html[lang="he"] :is(.iw-about-intro h1, .iw-site .ii-intro:not(.ii-project-intro) h1) {
    font-size: clamp(2.45rem,9.3vw,3.7rem);
  }
  html[lang="he"] :is(.iw-about h2, .iw-field h2, .iw-field-close h2,
                      .iw-world-text h2, .iw-plate .dp-intro h2) {
    font-size: clamp(2.3rem,8.5vw,3.5rem);
  }
}
