/* M Sefira v1.100 — Copyright (c) 2026 Michaelov.Art. All rights reserved.
   Designer: Rafael Michaelov. Proprietary font software; see ../LICENSE.txt.
   Keep the four WOFF2 files beside this stylesheet. */
@font-face {
  font-family: "M Sefira";
  src: url("M-Sefira-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "M Sefira";
  src: url("M-Sefira-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "M Sefira";
  src: url("M-Sefira-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "M Sefira";
  src: url("M-Sefira-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

.m-sefira,
.m-sefira-reading,
.m-sefira-heading,
.m-sefira-display {
  font-family: "M Sefira", Arial, sans-serif;
  font-synthesis: none;
  font-kerning: normal;
  font-feature-settings: "mark" 1, "mkmk" 1;
}

/* Approved reading treatment, revision 6.3.
   Set --m-sefira-size to a unitless pixel size so type size and tracking stay
   coordinated, e.g. style="--m-sefira-size:16". Default:18px Light.
   14/.032em,16/.028em,18/.024em,20/.020em,22/.018em. */
.m-sefira-reading {
  --m-sefira-size: 18;
  font-size: calc(var(--m-sefira-size) * 1px);
  font-weight: 300;
  letter-spacing: .024em;
  letter-spacing: clamp(.018em, calc((.06 - var(--m-sefira-size) * .002) * 1em), .032em);
  word-spacing: .04em;
  line-height: 1.85;
}
.m-sefira-reading--14 { --m-sefira-size: 14; }
.m-sefira-reading--16 { --m-sefira-size: 16; }
.m-sefira-reading--18 { --m-sefira-size: 18; }
.m-sefira-reading--20 { --m-sefira-size: 20; }
.m-sefira-reading--22 { --m-sefira-size: 22; }
.m-sefira-pointed { line-height: 2; }

.m-sefira-heading,
.m-sefira-display {
  letter-spacing: 0;
  word-spacing: 0;
  line-height: 1.3;
}
.m-sefira-heading { font-weight: 700; }
.m-sefira-display { font-weight: 900; }
.m-sefira-light { font-weight: 300; }
.m-sefira-regular { font-weight: 400; }
.m-sefira-bold { font-weight: 700; }
.m-sefira-black { font-weight: 900; }
