/* AVS typography v8 (26 Nov 2026). Loaded last on every page.
   Display: EB Garamond (OFL, variable 400–800). Text/UI: Manrope (OFL, variable 200–800). Both self-hosted.
   Hierarchy rule: every headline is heavier, larger and darker than the descriptive text below it. */
:root{
  --t-ink:#141416;          /* headlines */
  --t-body:#3d3d40;         /* descriptive text */
  --t-quiet:#6b6b6f;        /* kickers, meta, captions */
  --t-track-caps:0.2em;
}
html body{font-family:var(--sans);font-weight:400;font-size:1rem;line-height:1.7;letter-spacing:0.005em;color:var(--t-body);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;font-kerning:normal}
html body h1,html body h2,html body h3,html body .serif{font-family:var(--serif);font-feature-settings:"kern","liga","onum" 0,"lnum";text-wrap:balance}

/* H1: hero + service-page heroes */
html body h1{font-weight:500;letter-spacing:-0.012em;line-height:1.04}
html body .hero h1,html body .hero-copy h1{font-size:clamp(2.55rem,5.4vw,4.9rem);line-height:1.02;letter-spacing:-0.014em;font-weight:500}
html body .page-hero h1,html body .svc-hero h1{font-size:clamp(2.3rem,4.6vw,3.9rem);color:var(--t-ink);font-weight:500}

/* H2: section titles */
html body h2{font-weight:500;letter-spacing:-0.01em;line-height:1.08;color:var(--t-ink)}
html body .section-head h2,html body .svc-band-head h2,html body section.founder h2,html body .how h2,html body .enquire h2,html body .examples h2{
  font-size:clamp(2.2rem,3.9vw,3.35rem)}
html body .svc-section h2,html body .svc-how h2,html body .svc-about h2,html body .svc-faq h2,html body .svc-related h2,html body .prose h2{
  font-size:clamp(1.55rem,2.3vw,2rem);font-weight:600;color:var(--t-ink);line-height:1.15}

/* H3: card / item titles: semibold so they sit clearly above the description */
html body h3,html body .svc-title{font-weight:600;letter-spacing:-0.004em;line-height:1.15;color:var(--t-ink)}
html body .svc-group h3,html body .svc-title{font-size:clamp(1.5rem,2vw,1.85rem)}
html body .how-network h3{font-size:clamp(1.4rem,1.9vw,1.7rem)}

/* Descriptive text sits lighter, smaller, in sans */
html body .section-head p:not(.kicker),html body .svc-line,html body .hero-intro,html body .lede,html body .how-copy p,html body .how-intro,
html body .founder-bio p,html body .founder-personal,html body .network p,html body .how-network p,html body .svc-section p,html body .svc-faq p,html body .svc-hero .lede{
  font-family:var(--sans);font-weight:400;color:var(--t-body);line-height:1.72}
html body .svc-line{font-size:1rem;margin-top:0.55rem}
html body .section-head p:not(.kicker),html body .lede{font-size:1.06rem}
html body .svc-points li{font-weight:400;font-size:0.95rem;color:var(--t-body);line-height:1.6}
html body .founder-bio p{font-size:1.02rem}

/* Hero copy over video keeps its ivory ink */
html body .hero-copy h1{color:var(--ivory,#f5f4f2)}
html body .hero-copy .hero-intro{color:rgba(245,244,242,0.92);font-size:clamp(1rem,1.15vw,1.1rem);font-weight:400;line-height:1.7;max-width:36rem}

/* Kickers / eyebrows: small, tracked caps (luxury signature) */
html body .kicker,html body .founder-meta,html body .role{font-family:var(--sans);font-weight:600;font-size:0.7rem;letter-spacing:var(--t-track-caps);text-transform:uppercase;color:var(--t-quiet)}
html body .role{font-size:0.74rem;letter-spacing:0.16em}
html body .hero .kicker{color:rgba(245,244,242,0.82)}

/* Navigation, buttons, links */
html body .nav a,html body .header-enquire,html body .lang a{font-family:var(--sans);font-weight:500;font-size:0.72rem;letter-spacing:0.16em}
html body .btn{font-family:var(--sans);font-weight:600;font-size:0.74rem;letter-spacing:0.17em}
html body .svc-link{font-family:var(--sans);font-weight:600;font-size:0.66rem;letter-spacing:0.15em}

/* Quotes / examples: italic display serif, figcaption in sans */
html body blockquote{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--t-ink);letter-spacing:-0.005em;line-height:1.3}
html body figcaption{font-family:var(--sans);font-weight:400;color:var(--t-body);line-height:1.65}

/* Forms + footer */
html body .field span,html body label{font-family:var(--sans);font-weight:500;letter-spacing:0.02em}
html body .site-footer{font-family:var(--sans);font-weight:400}
html body .fine,html body .footer-vat{font-size:0.82rem;color:var(--t-quiet)}

@media (max-width:720px){
  html body{font-size:1rem;line-height:1.68}
  html body .hero h1,html body .hero-copy h1{font-size:clamp(2.2rem,9.4vw,2.9rem);line-height:1.05}
  html body .section-head h2,html body .svc-band-head h2,html body section.founder h2,html body .how h2,html body .enquire h2,html body .examples h2{font-size:clamp(2rem,8.6vw,2.6rem)}
  html body .svc-group h3,html body .svc-title{font-size:1.5rem}
  html body .page-hero h1,html body .svc-hero h1{font-size:clamp(2.05rem,8.6vw,2.7rem)}
}
/* Mobile hero: keep the headline below the Sound pill and music switcher on short phones (iPhone SE etc.) */
@media (max-width:720px){
  html body[data-page="home"] .hero-bleed .hero-copy{margin-top:calc(var(--header-actual,111px) + 7.4rem) !important}
}
@media (max-width:400px){
  html[lang="de-CH"] body[data-page="home"] .hero-bleed .hero-copy{margin-top:calc(var(--header-actual,111px) + 10rem) !important}
}
