/* Sully Scales shared header + font rules (25 Oct 2026).
   One header size everywhere: logo, bar height and side padding match the home page.
   Playfair Display only on h1 headlines that already used it ([data-ss-hero]) and on the logo. */
@font-face{font-family:"Sully Scales Brand";font-style:normal;font-weight:500;font-display:swap;src:url("/sully-assets/playfair-display-500.ttf") format("truetype")}

/* ---------- header bar: desktop ---------- */
.ss-hdr.ss-hdr{box-sizing:border-box!important;height:84px!important;min-height:0!important;max-width:none!important;
  margin-top:0!important;margin-bottom:0!important;padding:0 clamp(24px,3.9vw,56px)!important;
  display:flex!important;align-items:center!important;justify-content:space-between}
.ss-hdr.ss-hdr.ss-has-in{display:block!important;padding:0!important}
.ss-in.ss-in{box-sizing:border-box!important;height:100%!important;max-width:none!important;width:100%!important;margin:0!important;
  padding:0 clamp(24px,3.9vw,56px)!important;display:flex!important;align-items:center!important}
/* tutor phone menu opens below the bar */
.ss-hdr.ss-hdr:has(.mmenu:not([hidden])){height:auto!important}
.ss-hdr:has(.mmenu:not([hidden])) .ss-in.ss-in{height:84px!important}
.ss-logo.ss-logo.ss-logo{font-family:"Sully Scales Brand","Playfair Display",Georgia,serif!important;font-weight:500!important;font-style:normal!important;
  font-size:27px!important;line-height:1!important;letter-spacing:.01em!important;text-decoration:none!important;white-space:nowrap!important;
  display:inline-flex!important;align-items:center!important;min-height:44px!important;height:auto!important;padding:0!important;margin:0!important;
  flex:none!important;position:static!important;transform:none!important}

/* ---------- header bar: phone and small tablet ---------- */
@media (max-width:899px){
  .ss-hdr.ss-hdr{height:64px!important;padding:0 16px!important}
  .ss-hdr.ss-hdr.ss-has-in{padding:0!important}
  .ss-in.ss-in{padding:0 16px!important}
  .ss-hdr:has(.mmenu:not([hidden])) .ss-in.ss-in{height:64px!important}
  .ss-logo.ss-logo.ss-logo{font-size:22px!important}
}

/* ---------- fonts ---------- */
[data-ss-hero]{font-family:"Playfair Display",Georgia,serif!important}
[data-ss-wm]{font-family:"Sully Scales Brand","Playfair Display",Georgia,serif!important;font-weight:500!important}
