/* Salt Café case study only. Tightens vertical rhythm on /case-studies/salt-cafe/
   without changing shared seo-pages.css / site.css used by other case studies. */

/* The shared hero is min-height: 100svh even though the decorative wordmark is
   hidden on dark inner pages, which leaves an empty band on tall viewports. */
body.salt-case .seo-hero{
  min-height: 0;
  align-items: flex-start;
}

body.salt-case .seo-hero-in{
  padding-top: calc(var(--hdr) + clamp(1.5rem, 3vw, 2.5rem));  /* 24–40px under the fixed nav */
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);                  /* 40–56px */
}

body.salt-case .seo-hero .hero-cta{
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Shared .seo-concept margin is fine in isolation; keep it in the 24–40px band. */
body.salt-case .seo-concept{
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Shared .seo-section is clamp(72px, 9vw, 140px) — 130px+ at 1440, 72px on mobile.
   Compact but still generous: 40–56px mobile, 64–88px desktop. */
body.salt-case .seo-section{
  padding-top: clamp(2.5rem, 5.5vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 5.5vw, 5.5rem);
}

body.salt-case .seo-section.seo-related{
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

body.salt-case .seo-media,
body.salt-case .seo-glance{
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Shared .contact is clamp(110px, 13vw, 200px), and 190px bottom under 760px.
   That is the large empty band above the footer. */
body.salt-case .contact{
  padding: clamp(3.5rem, 6vw, 6rem) var(--pad);
}

@media (max-width: 760px){
  body.salt-case .contact{
    /* Keep modest bottom clearance for the cookie notice; do not keep the 190px spacer. */
    padding: clamp(2.5rem, 8vw, 3.5rem) var(--pad) 4.5rem;
  }
}
