/* JONNYHYPE — GLOBAL VISUAL CORRECTION MASTER
   17 November 2026 — one typography system, no decorative rules at page tops. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root{
  --jh-bg:#050507;
  --jh-white:#FFFFFF;
  --jh-pink:#F02D98;
  --jh-text:#E6E6EA;
  --jh-muted:#B9B9C2;
}

/* Remove the two unnecessary horizontal rules around the shared top header. */
html body #jh-site-topbar,
html body .jh-topbar,
html body header.site-header,
html body .site-header{
  border-bottom:0!important;
  box-shadow:none!important;
}
html body #jh-site-topbar::before,
html body #jh-site-topbar::after,
html body .jh-topbar::before,
html body .jh-topbar::after{
  content:none!important;
  display:none!important;
}
html body #jh-site-topbar + hr,
html body .jh-topbar + hr,
html body > hr:first-of-type,
html body main > hr:first-child{
  display:none!important;
}
html body main > :first-child,
html body main > section:first-child,
html body main > .page-intro:first-child,
html body main > .hero:first-child,
html body main > .sb-hero:first-child{
  border-top:0!important;
  box-shadow:none!important;
}

/* One site-wide font family system. */
html body,
html body p,html body li,html body label,html body small,
html body blockquote,html body input,html body textarea,
html body select,html body button,html body a{
  font-family:'Manrope',Arial,sans-serif!important;
  font-synthesis:none!important;
  -webkit-font-smoothing:antialiased!important;
  text-rendering:optimizeLegibility!important;
}
html body h1,html body h2,html body h3,html body h4,
html body h5,html body h6,html body .page-title,
html body .section-title,html body .hero-title{
  font-family:'Montserrat',Arial,sans-serif!important;
  font-weight:900!important;
  font-synthesis:none!important;
  letter-spacing:-.035em!important;
  line-height:1.13!important;
  text-wrap:balance!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
html body p,html body li,html body .description,
html body .intro,html body .subtitle,html body .lead{
  font-family:'Manrope',Arial,sans-serif!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  text-wrap:pretty!important;
  widows:2!important;
  orphans:2!important;
  line-height:1.6;
}

/* The JONNYHYPE wordmark is always one unbroken word: JONNY white + HYPE fuchsia. */
html body .jh-wordmark,
html body .jh-brand-inline,
html body .jh-about-brand,
html body .jh-title-brand,
html body .jh-footer-brand,
html body .jh-seo-brand,
html body .sb-wordmark,
html body .brand-wordmark{
  display:inline-flex!important;
  flex-flow:row nowrap!important;
  align-items:baseline!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  font-family:'Montserrat',Arial,sans-serif!important;
  font-weight:900!important;
  letter-spacing:-.065em!important;
  text-transform:none!important;
}
html body .jh-wordmark-white,
html body .jh-brand-inline__jonny,
html body .jh-title-jonny,
html body .jh-about-brand .jh-brand-white,
html body .jh-footer-brand span,
html body .jh-title-brand span,
html body .jh-seo-brand-white{color:#FFFFFF!important}
html body .jh-wordmark-pink,
html body .jh-brand-inline__hype,
html body .jh-title-hype,
html body .jh-about-brand .jh-brand-pink,
html body .jh-footer-brand b,
html body .jh-title-brand b,
html body .jh-seo-brand-pink{color:#F02D98!important}
html body .jh-wordmark span,
html body .jh-brand-inline span,
html body .jh-about-brand span{
  display:inline!important;
  white-space:nowrap!important;
}

/* SHOW BATTLE: keep the full two-tone wordmark together, even on narrow phones. */
html body .sb-format-title{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  justify-content:center!important;
  column-gap:.24em!important;
  row-gap:0!important;
  max-width:100%!important;
  white-space:normal!important;
  text-wrap:balance!important;
  font-family:'Montserrat',Arial,sans-serif!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
  line-height:1.15!important;
}
html body .sb-format-title .jh-brand-inline{
  display:inline-flex!important;
  flex:0 0 auto!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  color:inherit!important;
  letter-spacing:-.065em!important;
}
html body .sb-format-title .jh-brand-inline__jonny{color:#FFFFFF!important}
html body .sb-format-title .jh-brand-inline__hype{color:#F02D98!important}

/* Keep text blocks balanced on mobile; never force a single orphan word. */
html body .sb-form-section>p,
html body .sb-hero-subtitle,
html body .jh-card p,
html body .format-card p,
html body .events-project>p,
html body .page-intro p{
  max-width:100%;
  text-wrap:pretty!important;
  widows:2!important;
  orphans:2!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
@media(max-width:600px){
  html body h1,html body h2,html body h3{ text-wrap:balance!important; }
  html body .sb-format-title{font-size:clamp(17px,4.5vw,25px)!important}
}

/* Contact CTA: keep the email address visually compact and unbroken. */
html body .jh-actions a[href^="mailto:"]{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-width:0!important;
  white-space:nowrap!important;
  word-spacing:0!important;
  letter-spacing:0!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
  font-size:clamp(10px,3.2vw,15px)!important;
  padding-left:8px!important;
  padding-right:8px!important;
}

/* Contact heading: keep the two-tone brand as one continuous word after the explicit line break. */
html body h1:has(.jh-title-jonny){
  white-space:nowrap!important;
}
html body h1:has(.jh-title-jonny) .jh-title-jonny,
html body h1:has(.jh-title-jonny) .jh-title-hype{
  display:inline!important;
  white-space:nowrap!important;
}


/* FINAL OVERRIDES v2 — remove decorative top rules and enforce the brand system. */
html body header,
html body header.site-header,
html body .site-header,
html body #jh-site-topbar,
html body .jh-topbar,
html body .sb-header{
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  outline:0!important;
}
html body header::before,
html body header::after,
html body .site-header::before,
html body .site-header::after,
html body #jh-site-topbar::before,
html body #jh-site-topbar::after,
html body .jh-topbar::before,
html body .jh-topbar::after{
  content:none!important;
  display:none!important;
  border:0!important;
  box-shadow:none!important;
}
html body main,
html body main>.page-intro:first-child,
html body main>.hero:first-child,
html body main>.sb-hero:first-child,
html body main>section:first-child,
html body main>div:first-child{
  border-top:0!important;
  box-shadow:none!important;
}
html body main>.page-intro:first-child::before,
html body main>.page-intro:first-child::after,
html body main>.hero:first-child::before,
html body main>.hero:first-child::after,
html body main>.sb-hero:first-child::before,
html body main>.sb-hero:first-child::after{
  content:none!important;
  display:none!important;
}
html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{
  font-family:'Montserrat',Arial,sans-serif!important;
  font-weight:900!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  text-wrap:balance!important;
}
html body p,html body li,html body .description,html body .subtitle,html body .lead{
  font-family:'Manrope',Arial,sans-serif!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  text-wrap:pretty!important;
  widows:2!important;
  orphans:2!important;
}
html body .jh-wordmark,html body .jh-brand-inline,html body .jh-title-brand,
html body .jh-footer-brand,html body .jh-seo-brand,html body .jh-logo-link .brand{
  display:inline-flex!important;
  flex-wrap:nowrap!important;
  align-items:baseline!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  font-family:'Montserrat',Arial,sans-serif!important;
  font-weight:900!important;
  letter-spacing:-.065em!important;
}
html body .jh-wordmark-white,html body .jh-brand-inline__jonny,
html body .jh-title-brand>span,html body .jh-footer-brand>span{color:#FFFFFF!important}
html body .jh-wordmark-pink,html body .jh-brand-inline__hype,
html body .jh-title-brand>b,html body .jh-footer-brand>b{color:#F02D98!important}
html body .jh-social,html body .social-icons.brand-socials{
  margin:34px auto 24px!important;
}
html body .jh-social a,html body .social-icons.brand-socials a{
  font-family:'Manrope',Arial,sans-serif!important;
}
@media(max-width:600px){
 html body p,html body li{line-height:1.58!important}
 html body .sb-form-section>p{max-width:100%!important;text-wrap:balance!important}
}


/* v3: the only top-of-page lines removed are header and first-content dividers. */
html body header,html body .site-header,html body #jh-site-topbar,html body .jh-topbar,
html body .sb-header{border-bottom:0!important;border-top:0!important}
html body main>.page-intro:first-child,
html body main>.hero:first-child,
html body main>.sb-hero:first-child,
html body main>section:first-child,
html body main>div:first-child{
 border-top:0!important;border-bottom:0!important;
}
html body main>.page-intro:first-child+section,
html body main>.hero:first-child+section,
html body main>div:first-child+section{
 border-top:0!important;
}
html body .sb-format-title .jh-brand-inline{
 display:inline-flex!important;flex-flow:row nowrap!important;
 white-space:nowrap!important;flex:0 0 auto!important;
}
html body .sb-format-title .jh-brand-inline span{
 display:inline!important;white-space:nowrap!important;
}
html body .sb-format-title{
 display:flex!important;flex-flow:row wrap!important;
 align-items:baseline!important;justify-content:center!important;
 column-gap:.22em!important;row-gap:0!important;
}
html body .sb-form-section>p{
 max-width:650px!important;margin-left:auto!important;margin-right:auto!important;
 text-wrap:balance!important;line-height:1.58!important;
}
html body .jh-card .jh-actions a[href="mailto:jonnyhype@jonnyhype.it"]{
 display:flex!important;justify-content:center!important;align-items:center!important;
 width:100%!important;min-width:0!important;box-sizing:border-box!important;
 padding:12px 6px!important;font-size:clamp(10px,2.9vw,13px)!important;
 font-weight:800!important;letter-spacing:-.02em!important;word-spacing:0!important;
 white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;
}

/* Final cleanup: remove decorative horizontal rules at the top of pages. */
html body header.site-header,
html body .site-header,
html body #jh-site-topbar,
html body .jh-topbar,
html body .sb-header{
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
html body .site-header::before,
html body .site-header::after,
html body .jh-topbar::before,
html body .jh-topbar::after,
html body .sb-header::before,
html body .sb-header::after{display:none!important;content:none!important}
html body main > .page-intro + section,
html body main > .page-intro + .jh-home-live-counter,
html body main > .page-intro + .events-project,
html body main > .sb-hero,
html body main > .sb-hero + section{
  border-top:0!important;
}

/* Last responsive correction for SHOW BATTLE: text may wrap, the brand may not. */
html body .sb-format-title{
 display:block!important;
 flex:none!important;
 flex-wrap:initial!important;
 text-align:center!important;
 white-space:normal!important;
 word-break:normal!important;
 overflow-wrap:normal!important;
 line-height:1.16!important;
}
html body .sb-format-title .jh-brand-inline{
 display:inline-flex!important;
 flex-flow:row nowrap!important;
 white-space:nowrap!important;
 vertical-align:baseline!important;
 margin-left:.16em!important;
}
html body .sb-format-title .jh-brand-inline__jonny{color:#FFFFFF!important}
html body .sb-format-title .jh-brand-inline__hype{color:#F02D98!important}
/* Pages using a plain header (e.g. CARD) also follow the clean top treatment. */
html body>header:not(.site-header),
html body main.wrap>section:first-of-type,
html body main>section:first-child{
 border-top:0!important;
 border-bottom:0!important;
}

/* v4 — final cross-page mobile typography: avoid one-word orphan lines. */
html body p,
html body li,
html body blockquote,
html body .description,
html body .intro,
html body .subtitle,
html body .lead,
html body .sb-hero-subtitle,
html body .sb-form-section>p,
html body .jh-card p,
html body .format-card p,
html body .events-project>p,
html body .page-intro p{
  text-wrap:pretty!important;
  widows:2!important;
  orphans:2!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6{
  text-wrap:balance!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
html body .jh-wordmark,
html body .jh-brand-inline,
html body .jh-about-brand,
html body .jh-title-brand,
html body .jh-footer-brand,
html body .jh-seo-brand,
html body .sb-wordmark,
html body .brand-wordmark,
html body .sb-format-title .jh-brand-inline{
  display:inline-flex!important;
  flex-flow:row nowrap!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}
html body .sb-format-title{
  display:block!important;
  text-align:center!important;
  text-wrap:balance!important;
}
html body .sb-format-title .jh-brand-inline span{
  display:inline!important;
  white-space:nowrap!important;
}
/* Remove only separators immediately adjoining the page header/hero. */
html body main>hr:first-child,
html body main>.page-intro+hr,
html body main>.hero+hr,
html body main>.sb-hero+hr,
html body main>header+hr{
  display:none!important;
}
