/* ==========================================================================
   SmartScale360 launch fixes — loaded last on every page.
   1. Readable type sizes   2. Footer   3. Logo   5. Scroll reveal
   ========================================================================== */

/* ---------- 1. Readable type ------------------------------------------------
   Floor: 14px for anything people read or click, 13px only for small
   uppercase labels. Nothing below 13px. */

/* Navigation */
body .site-nav > a,
body .site-nav .industry-nav > summary { font-size: 14px; }
body .site-nav > a.button.small { font-size: 14px; }
body .industry-menu-top > p { font-size: 13px; }
body .industry-menu-top > a,
body .industry-links > a { font-size: 14px; }

/* Small uppercase labels */
body .eyebrow,
body .note-label,
body .work-note .note-label,
body .booking-index,
body .franchise-card-label,
body .article-meta,
body .testimonial-context,
body .marketing-hero-photo figcaption > span,
body .editorial-hero-media figcaption > span,
body .story-facts span { font-size: 13px; }

/* Supporting text, captions and secondary links */
body .micro,
body .availability,
body .work-note > span,
body .proof-inner span,
body .proof-inner > p,
body .proof-inner > a,
body .partner-preferred,
body .franchise-proof-link,
body .home-media-card a,
body .role-detail > a,
body .video-toolbar > p,
body .video-toolbar button,
body .clip > p,
body .steps b,
body .case-evidence > p span,
body .case-work > span,
body .review-stars > span,
body .review-author,
body .review-author > span,
body .review-card > a,
body .review-note,
body .review-note > a,
body .consult-breadcrumb,
body .consult-breadcrumb a,
body .consult-proof > span,
body .consult-proof > strong,
body .consultation-prep > label,
body .consult-summary > p,
body .franchise-note,
body .franchise-art-caption,
body .media-caption,
body .testimonial-footer span,
body .testimonial-note,
body .info-tile > a,
body .role-directory-card > a,
body .marketing-hero-photo figcaption small { font-size: 14px; }

body .role-directory-card > p { font-size: 15px; }

/* Pills, tags and small badges */
body .role-tags > span,
body .franchise-role-list > span,
body .quote-stars,
body .duration,
body .role .number,
body .consult-points span { font-size: 13px; }

/* ---------- 2 & 3. Footer + white logo -------------------------------------- */
body footer .footer-grid > div > strong { font-size: 15px; }
body footer .footer-grid > div:not(.footer-brand) a {
  font-size: 15px;
  line-height: 1.4;
  padding: 6px 0;          /* comfortable tap target without huge gaps */
  margin: 0 !important;    /* pages.css forces 12px margins with !important */
}
body footer .footer-grid > div:not(.footer-brand) { gap: 2px; }
body footer .footer-grid > div:not(.footer-brand) > strong { margin-bottom: 8px; }

body footer .footer-brand img.logo,
body footer .footer-brand .footer-logo {
  width: 216px;
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
body footer .footer-brand > p { font-size: 15px; margin-top: 8px; }

body .footer-contact {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
body .footer-contact a {
  display: inline-block;
  margin: 0 !important;
  padding: 4px 0;
  font-size: 15px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 5px;
}
body .footer-contact a:hover { text-decoration-color: #fff; }

body footer .footer-note {
  display: flex !important;   /* multi-page.css forces display:block */
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
}
body footer .footer-note p { margin: 0; max-width: none; }

/* Header: never squash the logo */
body .nav > a:first-child { flex: 0 0 auto; }

/* Switch to the Menu button below 1000px (was 760px), so the larger nav
   text never crowds the logo on tablets and small laptops.
   Mirrors the existing mobile-menu rules in site.css / multi-page.css. */
@media (max-width: 1000px) {
  body .nav { min-height: 76px; }
  body .menu {
    display: block; min-height: 44px; background: #fff;
    border: 1px solid var(--line); padding: 8px 16px; border-radius: 5px;
    font-size: 15px;
  }
  body .site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    max-height: calc(100vh - 76px); overflow: auto; padding: 14px 20px 24px;
    background: #fff; border-bottom: 1px solid var(--line); gap: 0;
  }
  body .site-nav.open { display: grid; }
  body .site-nav > a,
  body .site-nav > details > summary {
    width: 100%; min-height: 46px; padding: 11px 4px;
    border-bottom: 1px solid #edf1f7; font-size: 15px;
  }
  body .site-nav .button.small { width: 100%; margin-top: 14px; }
  body .site-nav .industry-nav { width: 100%; }
  body .site-nav .industry-nav > summary { justify-content: space-between; padding: 11px 4px; font-size: 15px; }
  body .site-nav .industry-nav-panel {
    position: static; width: auto; max-height: none;
    padding: 12px 13px; margin: 7px 0 10px; box-shadow: none;
  }
  body .site-nav .industry-menu-top { align-items: flex-start; flex-direction: column; gap: 8px; }
  body .site-nav .industry-links { grid-template-columns: 1fr 1fr; column-gap: 14px; }
}

/* ---------- 5. Scroll reveal: quicker, subtler ------------------------------
   motion.js now starts the reveal before a section scrolls into view and no
   longer hides the proof strip or partner logos at all. */
.motion-ready .motion-reveal {
  transform: translateY(8px);
  transition-duration: 380ms;
}
.hero .hero-visual.motion-reveal { transform: translateY(8px); }

/* Higher-specificity overrides for rules that out-rank the floor above */
html body .site-nav .industry-menu-top p { font-size: 13px; }
html body .site-nav .industry-menu-top a,
html body .site-nav .industry-links a { font-size: 14px; }
html body .hero .work-note > span:not(.note-label) { font-size: 14px; }
html body .home-media-card .eyebrow,
html body .testimonial-card .eyebrow { font-size: 13px; }
html body .live-trustpilot span,
html body .story-facts strong { font-size: 14px; }

/* Bug fix: the Client Stories video card overflowed the page by ~250px.
   It was stretched to the row height and its fixed aspect ratio then made it
   wider than its column. Size it from the column width instead. */
body .story-feature > * { min-width: 0; }
body .story-feature .story-feature-media { align-self: center; width: 100%; }

/* ==========================================================================
   Design consistency pass
   One type scale, one spacing rhythm, one card style across every page.
   ========================================================================== */
:root {
  --space-section: clamp(72px, 8vw, 104px);   /* standard content sections */
  --space-band: clamp(56px, 6vw, 80px);       /* coloured bands and CTAs   */
  --card-radius: 10px;
}

/* ---- Type scale: was three H1 sizes and seven H2 sizes ---- */
html body main h1 { font-size: clamp(40px, 4.8vw, 62px) !important; line-height: 1.08; }
html body main h2 { font-size: clamp(30px, 3.2vw, 42px) !important; line-height: 1.12; }
html body main .booking-heading h2 { font-size: clamp(24px, 2.2vw, 30px) !important; }

/* ---- Vertical rhythm: was 24–100px with no pattern ---- */
html body main .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
html body .page-band,
html body .cta-band,
html body .franchise-proof,
html body .franchise-close,
html body .consult-final,
html body .consult-questions,
html body .story-media-band { padding-top: var(--space-band); padding-bottom: var(--space-band); }

/* Consultation "Start with the work" section was inset 24px from every other section */
html body section.consult-prep {
  padding: var(--space-section) 0;
  border-radius: 0;
  background: #fff;
}

/* ---- Section headings: heading left, intro right, bottoms aligned ---- */
@media (min-width: 761px) {
  html body .heading,
  html body .page-heading,
  html body .blog-section-head,
  html body .testimonials-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 64px;
    margin-bottom: 48px;
  }
  html body .heading > p,
  html body .page-heading > p,
  html body .blog-section-head > p,
  html body .testimonials-heading > p { max-width: 440px; margin: 0; }
  html body .page-heading h2 { max-width: 20ch; }
}

/* ---- Navy page bands: the button was stretched 564px wide on its own row ---- */
html body .page-band-inner {
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  row-gap: 20px;
  align-items: start;
}
html body .page-band-inner > div { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
html body .page-band-inner > p { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
html body .page-band-inner > .button { grid-column: 2; grid-row: 2; justify-self: start; }
@media (max-width: 760px) {
  html body .page-band-inner { grid-template-columns: 1fr; }
  html body .page-band-inner > div,
  html body .page-band-inner > p,
  html body .page-band-inner > .button { grid-column: 1; grid-row: auto; }
}

/* ---- Cards: one corner radius, photos run edge to edge ---- */
html body .info-tile,
html body .role-directory-card,
html body .review-card,
html body .home-media-card,
html body .franchise-role-tile,
html body .testimonial-card,
html body .article-card,
html body .featured-article,
html body .steps-with-media article,
html body .story-feature,
html body .consult-booking,
html body .consultation-prep,
html body .live-trustpilot { border-radius: var(--card-radius); }

/* Card photos were capped at 100% width, leaving a gap on the right edge */
html body .role-card-photo,
html body .steps-with-media .step-photo,
html body .franchise-role-photo,
html body .info-tile-image { max-width: none; }

/* Role directory: the "Industry 0X" label inherited a 66px min-height */
html body .role-directory-card p.eyebrow { min-height: 0; margin-bottom: 8px; }

/* Step notes ("Together: shape the role") as consistent pills */
html body .steps article > b {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--blue);
  font-weight: 600;
  line-height: 1.3;
}

/* ---- About: founder section ---- */
html body .founder-feature {
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-top: var(--space-section);
  padding-bottom: 0;
}
html body .founder-photo { max-width: 380px; width: 100%; }
html body .founder-photo img { width: 100%; height: auto; max-width: none; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 760px) {
  html body .founder-feature { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; }
  html body .founder-photo { max-width: 320px; }
}

/* ---- Client Stories: fact row had mixed boxed / unboxed items ---- */
html body .story-facts div {
  padding: 0 20px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: none;
}
html body .story-facts div:first-child { padding-left: 0; border-left: 0; }

/* ---- Consultation: redundant "BOOK A CALL" badge next to the heading ---- */
html body .booking-index { display: none; }

/* ---- Franchising hero: caption bar overlapped the role card ---- */
html body .franchise-art-caption { display: none; }
