/* HH MARKETING / V5.5 -- typography spacing & responsive alignment
 * Targeted corrections for the two areas shown in the client screenshots:
 *   1. The HH Method SEE / SMILE / STICK word group.
 *   2. Footer MAKE IT / STICK oversized signature.
 * This override is intentionally loaded AFTER the existing V5.4 CSS layers,
 * leaving brand assets, CMS, admin, Supabase and the other 5 pages intact.
 */

/* HH METHOD: no artificially compressed glyphs or crushed grid columns. */
.v5-manifesto-inner {
  grid-template-columns: minmax(155px, .22fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 60px);
  align-items: center;
}
.v5-manifesto-words {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(22px, 2.5vw, 48px);
  row-gap: 20px;
}
.v5-manifesto-words > div {
  min-width: 0;
  padding-left: clamp(12px, 1.2vw, 24px);
}
.v5-manifesto-words strong {
  font-size: clamp(43px, 4.35vw, 78px);
  letter-spacing: .002em;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  font-kerning: normal;
  font-variant-ligatures: none;
}

/* FOOTER: each phrase owns an independent column, separated by an actual gap. */
.v5-footer-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: end;
  gap: clamp(12px, 2.2vw, 38px);
  box-sizing: border-box;
  width: 100%;
  overflow: visible;
  white-space: normal;
  font-size: clamp(28px, 7.35vw, 138px);
  font-weight: 900;
  letter-spacing: .002em;
  line-height: 1.08;
  padding: .075em 0 .16em;
  font-kerning: normal;
  font-variant-ligatures: none;
}
.v5-footer-statement .v5-footer-statement__lead,
.v5-footer-statement .v5-footer-statement__impact {
  display: block;
  min-width: 0;
  white-space: nowrap;
}
.v5-footer-statement .v5-footer-statement__lead {
  justify-self: start;
  background: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(179,185,235,.34);
}
.v5-footer-statement .v5-footer-statement__impact {
  justify-self: end;
  background: var(--v5-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
}

/* Tablet: 3 equally readable words with breathable spacing. */
@media (max-width: 1050px) {
  .v5-manifesto-inner { grid-template-columns: 1fr; gap: 23px; }
  .v5-manifesto-words { column-gap: 18px; }
  .v5-manifesto-words strong { font-size: clamp(39px, 5.9vw, 64px); }
}

/* Phones: a vertical three-step editorial sequence, not crammed columns. */
@media (max-width: 540px) {
  .v5-manifesto-words {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .v5-manifesto-words > div {
    display: grid;
    grid-template-columns: minmax(95px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    column-gap: 12px;
    min-height: 72px;
    border-left: 0;
    border-top: 1px solid rgba(186,192,242,.26);
    padding: 14px 2px;
  }
  .v5-manifesto-words > div:last-child {
    border-bottom: 1px solid rgba(186,192,242,.26);
  }
  .v5-manifesto-words span {
    margin-bottom: 0;
    font-size: 10px;
    letter-spacing: .1em;
  }
  .v5-manifesto-words strong {
    font-size: clamp(32px, 9.4vw, 51px);
    letter-spacing: .002em;
    line-height: 1;
    justify-self: start;
  }
  .v5-footer-statement {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 9px;
    font-size: clamp(27px, 7.25vw, 39px);
  }
}
@media (max-width: 350px) {
  .v5-manifesto-words > div { grid-template-columns: 100px minmax(0,1fr); }
  .v5-manifesto-words strong { font-size: 30px; }
  .v5-footer-statement { font-size: 26px; letter-spacing: 0; }
}
