/* Fonts are served from this site (assets/fonts), not from Google: one request less and no third party.
   Subsets: latin + latin-ext (č, š, ž). Inter, Inter Tight and Montserrat are variable files (one file covers all weights). */
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/instrument-serif-latin-ext-italic.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/instrument-serif-latin-italic.woff2) format('woff2');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}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/instrument-serif-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/instrument-serif-latin.woff2) format('woff2');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}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/inter-latin.woff2) format('woff2');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}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500 800;font-display:swap;src:url(assets/fonts/inter-tight-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500 800;font-display:swap;src:url(assets/fonts/inter-tight-latin.woff2) format('woff2');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}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/montserrat-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 700;font-display:swap;src:url(assets/fonts/montserrat-latin.woff2) format('woff2');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}

/* One type scale for every page (Home, IMS, O meni). Loaded last.
   Six sizes only; change a size here and it changes everywhere.
   The :is(main,#ty) part only raises priority so these win over older per-section sizes. */
:root{
  --ty-h1:clamp(42px,5.4vw,84px);   /* page heading */
  --ty-h2:clamp(34px,3.9vw,58px);   /* section heading */
  --ty-h3:clamp(28px,2.9vw,42px);   /* heading of a block inside a section */
  --ty-h4:clamp(21px,1.65vw,24px);  /* card heading */
  --ty-lead:clamp(20px,1.65vw,24px);/* emphasised lead-in sentence */
  --ty-body:clamp(16px,1.25vw,18px);/* running text */
  --ty-card:16px;                   /* text inside cards and lists */
  --ty-note:13.5px;                 /* small notes */
}
@media (max-width:760px){
  :root{--ty-h1:36px;--ty-h2:31px;--ty-h3:26px;--ty-h4:21px;--ty-lead:20px;--ty-body:16px;--ty-card:15px}
}

.ims-page :is(main,#ty) h1{font-size:var(--ty-h1)!important}
.ims-page :is(main,#ty) :is(h2,.final-quote){font-size:var(--ty-h2)!important}
.ims-page :is(main,#ty) .bj-pain-h{max-width:none!important;line-height:1.03!important;letter-spacing:-.03em!important}
.ims-page :is(main,#ty) :is(.track-copy h3,.vt-title,h2.om-sub,.team-name){font-size:var(--ty-h3)!important}
.ims-page :is(main,#ty) :is(.bj-card h3,.flow-steps h3,.om-card h3,.imsr-caps b){font-size:var(--ty-h4)!important}

.ims-page :is(main,#ty) :is(.bj-about-big,.pkg-lead,.om-lead,.om-pull,.story-letter p.big){font-size:var(--ty-lead)!important}

.ims-page :is(main,#ty) :is(.lead,.sec-sub,.vt-sub,.apply-p,.change-lead,.bj-about-copy>p:not(.bj-about-big),.apply-story p:not(.apply-sign),.track-copy p,.om-letter>p:not(.om-lead):not(.om-pull):not(.om-sign),.om-facts li,.faq2 summary,.pkg-box-t,.story-energy figcaption,.team-copy>p:not(.team-role)),
.ims-page :is(main,#ty) .story-letter :is(p:not(.big),.story-list li){font-size:var(--ty-body)!important}

.ims-page :is(main,#ty) :is(.bj-pain-grid p,.bj-card li,.apply-steps li,.imsr-caps p,.pkg-box li,.pkg-team,.flow-steps p,.rv-card p,.faq2 details p,.om-card p,.change-list li,.story-energy span,.team-list li){font-size:var(--ty-card)!important}

.ims-page :is(main,#ty) :is(.hero-note,.apply-note,.pkg-note){font-size:var(--ty-note)!important}
@media (max-width:359px){:root{--ty-h1:31px;--ty-h2:28px;--ty-h3:24px}}
