/* ==========================================================================
   Avarten Capital — Brand typography (reference: blackstone.com)
   Headings: Sanomat (serif) · Body / descriptions / sub-headings: Guardian Sans
   Font files go in /assets/fonts/ (see README.txt there).
   ========================================================================== */

/* ---------- Sanomat (headings) ---------- */
@font-face{
  font-family:"Sanomat";
  src:local("Sanomat"),local("Sanomat-Regular"),
      url("../fonts/Sanomat-Regular.woff2") format("woff2"),
      url("../fonts/Sanomat-Regular.woff") format("woff");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Sanomat";
  src:local("Sanomat Light"),local("Sanomat-Light"),
      url("../fonts/Sanomat-Light.woff2") format("woff2"),
      url("../fonts/Sanomat-Light.woff") format("woff");
  font-weight:300;font-style:normal;font-display:swap;
}

/* ---------- Guardian Sans (body, descriptions, sub-headings) ---------- */
@font-face{
  font-family:"Guardian Sans";
  src:local("Guardian Sans"),local("GuardianSans-Regular"),
      url("../fonts/GuardianSans-Regular.woff2") format("woff2"),
      url("../fonts/GuardianSans-Regular.woff") format("woff");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Guardian Sans";
  src:local("Guardian Sans Medium"),local("GuardianSans-Medium"),
      url("../fonts/GuardianSans-Medium.woff2") format("woff2"),
      url("../fonts/GuardianSans-Medium.woff") format("woff");
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Guardian Sans";
  src:local("Guardian Sans Semibold"),local("GuardianSans-Semibold"),
      url("../fonts/GuardianSans-Semibold.woff2") format("woff2"),
      url("../fonts/GuardianSans-Semibold.woff") format("woff");
  font-weight:600;font-style:normal;font-display:swap;
}

/* ---------- Global font tokens (override the old Cormorant / Manrope) ---------- */
:root, html{
  --font-serif:"Sanomat", Georgia, "Times New Roman", serif !important;
  --font-sans:"Guardian Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  --font-cormorant:"Sanomat", Georgia, serif !important;
  --font-manrope:"Guardian Sans", "Helvetica Neue", Arial, sans-serif !important;
}

body, input, textarea, select, button{
  font-family:var(--font-sans);
}

/* Headings = Sanomat */
h1, h2, h3, li.font-serif, a.font-serif, span.font-serif, div.font-serif{
  font-family:var(--font-serif) !important;
  font-weight:400 !important;
  letter-spacing:-0.015em;
}

/* Sub-headings / taglines / eyebrows / small titles = Guardian Sans */
p.font-serif{
  font-family:var(--font-sans) !important;
  font-weight:400 !important;
  letter-spacing:-0.01em;
}
h4, h5, h6,
.uppercase,
footer p.uppercase{
  font-family:var(--font-sans) !important;
}

/* ---------- Page header (H1) size: 62px desktop · 40px mobile ---------- */
h1{
  font-size:40px !important;
  line-height:1.08 !important;
}
@media (min-width:768px){
  h1{ font-size:52px !important; line-height:1.06 !important; }
}
@media (min-width:1024px){
  h1{ font-size:62px !important; line-height:1.04 !important; }
}

/* Keep hierarchy: large section H2s stay smaller than the page H1 */
h2[class*="text-[clamp(2.5rem"],
h2[class*="text-[clamp(2.75rem"]{
  font-size:clamp(2rem,3.6vw,3.25rem) !important;
  line-height:1.08 !important;
}

/* Footer bottom bar: copyright left · regions right */
footer .av-footer-bottom{
  display:flex; flex-direction:column; gap:.35rem;
  padding-top:1.25rem; margin-top:.5rem;
  border-top:1px solid rgba(255,255,255,.08);
}
footer .av-footer-bottom p{ margin:0; }
footer .av-regions{ letter-spacing:.01em; }
@media (min-width:768px){
  footer .av-footer-bottom{
    flex-direction:row; align-items:center; justify-content:space-between; gap:1.5rem;
  }
  footer .av-regions{ text-align:right; }
}
@media (min-width:1024px){
  footer .av-footer-grid>.av-footer-bottom{ grid-column:1/-1; }
}

/* ---------- Header logo: desktop spacing ---------- */
@media (min-width:1024px){
  header[data-header] a[aria-label="Avarten Capital, home"]{ padding-top:25px; }
}

/* ---------- Footer tagline "Capital. Strategy. Execution." ---------- */
footer p.font-serif.text-2xl{ font-size:22px !important; line-height:1.3 !important; }

/* ---------- Home banner description ---------- */
main p.max-w-\[520px\].text-\[14px\]{ font-size:16px !important; }
