/* Gizlen Global — Results proof upgrade + responsive composition polish, 2026-08-09.
   Page-specific, additive styling only. */

body.page-results .results-proof-hero .results-hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

body.page-results .results-proof-hero .proof-summary {
  padding:clamp(28px,3vw,38px)!important;
}

body.page-results .proof-stat-row {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:24px;
}

body.page-results .proof-stat-row>div {
  min-width:0;
  padding:14px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.045);
}

body.page-results .proof-stat-row strong {
  display:block;
  color:#fff!important;
  font-family:Manrope,Inter,sans-serif;
  font-size:clamp(1.15rem,1.8vw,1.55rem);
  line-height:1.05;
}

body.page-results .proof-stat-row span {
  display:block;
  margin-top:6px;
  color:#bfcddb!important;
  font-size:.72rem;
  font-weight:700;
  line-height:1.35;
}

body.page-results .results-case-section {
  background:#f7f9fa!important;
}

body.page-results .results-case-intro {
  align-items:end!important;
}

body.page-results .result-case-study {
  display:grid;
  grid-template-columns:minmax(245px,.34fr) minmax(0,.66fr);
  overflow:hidden;
  border:1px solid var(--gg-line)!important;
  border-radius:28px;
  background:#fff;
  box-shadow:0 20px 54px rgba(8,21,36,.08);
}

body.page-results .case-result-rail {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:100%;
  padding:clamp(30px,4vw,48px);
  background:#0b2135;
  color:#fff;
}

body.page-results .case-result-rail .tag {
  align-self:flex-start;
  color:#0c655c!important;
  background:#dff5ef!important;
  border-color:#9dd8cb!important;
}

body.page-results .case-big-number {
  display:block;
  margin-top:28px;
  color:#fff;
  font-family:Manrope,Inter,sans-serif;
  font-size:clamp(3.7rem,7vw,6.6rem);
  font-weight:800;
  letter-spacing:-.075em;
  line-height:.88;
}

body.page-results .case-big-label {
  display:block;
  margin-top:8px;
  color:#78dfd0;
  font-family:Manrope,Inter,sans-serif;
  font-size:clamp(1.2rem,2vw,1.65rem);
  font-weight:800;
}

body.page-results .case-result-rail p {
  max-width:24ch;
  margin:22px 0 0;
  color:#c3d0dc!important;
  line-height:1.65;
}

body.page-results .case-story {
  padding:clamp(30px,4vw,50px);
}

body.page-results .case-story>h3 {
  margin:0;
  color:var(--gg-text)!important;
  font-size:clamp(1.65rem,2.5vw,2.4rem)!important;
  line-height:1.08!important;
}

body.page-results .case-story>.lead {
  max-width:68ch;
  margin-top:14px;
}

body.page-results .before-change-after {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:28px;
}

body.page-results .before-change-after>div {
  padding:20px;
  border:1px solid var(--gg-line);
  border-radius:18px;
  background:#f8fafb;
}

body.page-results .before-change-after .case-change {
  border-color:#a9ddd3;
  background:#edf9f6;
}

body.page-results .before-change-after span,
body.page-results .proof-note-label {
  display:block;
  margin-bottom:8px;
  color:#0d776b;
  font-size:.69rem;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}

body.page-results .before-change-after strong {
  display:block;
  color:var(--gg-text)!important;
  font-family:Manrope,Inter,sans-serif;
  font-size:1rem;
  line-height:1.35;
}

body.page-results .before-change-after p {
  margin:9px 0 0;
  color:var(--gg-muted)!important;
  font-size:.88rem;
  line-height:1.58;
}

body.page-results .case-proof-note {
  display:grid;
  grid-template-columns:minmax(210px,.42fr) minmax(0,.58fr);
  gap:30px;
  align-items:start;
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--gg-line);
}

body.page-results .case-proof-note h4 {
  margin:0;
  color:var(--gg-text)!important;
  font-family:Manrope,Inter,sans-serif;
  font-size:1.25rem;
  line-height:1.25;
}

body.page-results .case-proof-note .check-list {
  margin:0;
}

body.page-results #market-systems .section-head h2 {
  max-width:22ch!important;
}

body.page-results .evidence-takeaway {
  margin:22px 0 0!important;
  padding-top:18px;
  border-top:1px solid var(--gg-line);
  color:#4d5d6e!important;
  font-size:.88rem;
  line-height:1.6!important;
}

body.page-results .evidence-takeaway strong {
  color:#0d776b!important;
}

body.page-results .portfolio-body .result-meta {
  margin-top:16px!important;
}

body.page-results .results-integrity-grid {
  display:grid;
  grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);
  gap:clamp(36px,6vw,76px);
  align-items:start;
}

body.page-results .results-integrity-copy h2 {
  max-width:11ch;
}

body.page-results .integrity-points {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

body.page-results .integrity-points article {
  padding:22px;
  border:1px solid var(--gg-line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--gg-shadow-sm);
}

body.page-results .integrity-points strong {
  display:block;
  color:var(--gg-text)!important;
  font-family:Manrope,Inter,sans-serif;
  font-size:.98rem;
  line-height:1.35;
}

body.page-results .integrity-points p {
  margin:8px 0 0;
  color:var(--gg-muted)!important;
  font-size:.88rem;
  line-height:1.6;
}

body.page-results .cta-band .container {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  gap:40px;
  align-items:center;
}

body.page-results .results-cta-copy .eyebrow {
  margin-bottom:10px!important;
}

body.page-results .results-cta-copy h2 {
  max-width:28ch;
  margin:0!important;
}

body.page-results .results-cta-copy>p:last-child {
  max-width:66ch;
  margin:14px 0 0;
  color:#c4d0dc!important;
}

body.page-results .results-cta-actions {
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:190px;
}

body.page-results .results-cta-actions .button {
  text-align:center;
  justify-content:center;
}

@media(max-width:980px) {
  body.page-results .result-case-study,
  body.page-results .results-integrity-grid {
    grid-template-columns:1fr;
  }
  body.page-results .case-result-rail {
    min-height:0;
  }
  body.page-results .case-result-rail p {
    max-width:44ch;
  }
  body.page-results .cta-band .container {
    grid-template-columns:1fr!important;
    gap:24px;
  }
  body.page-results .results-cta-actions {
    flex-direction:row;
    flex-wrap:wrap;
    min-width:0;
  }
}

@media(max-width:720px) {
  body.page-results .proof-stat-row,
  body.page-results .before-change-after,
  body.page-results .integrity-points {
    grid-template-columns:1fr;
  }
  body.page-results .case-proof-note {
    grid-template-columns:1fr;
    gap:20px;
  }
  body.page-results .case-big-number {
    font-size:clamp(3.3rem,18vw,5.1rem);
  }
  body.page-results .results-hero-actions,
  body.page-results .results-cta-actions {
    flex-direction:column;
    align-items:stretch;
  }
  body.page-results .results-hero-actions .button,
  body.page-results .results-cta-actions .button {
    width:100%;
    text-align:center;
    justify-content:center;
  }
}


/* Line-break hardening.
   Keep semantic metric phrases intact and use balanced wrapping for headings.
   Mobile gets one deliberate break rather than splitting a number from its unit. */
body.page-results :is(h1,h2,h3,h4) {
  text-wrap: balance !important;
  hyphens: none;
}

body.page-results :is(.lead,.proof-summary p,.case-story p,.portfolio-body p,.integrity-points p,.results-cta-copy p) {
  text-wrap: pretty;
}

/* Hero hierarchy: keep the proposition prominent, but let the proof card share
   visual authority instead of competing with an oversized headline. */
body.page-results .results-proof-hero h1 {
  font-size: clamp(2.85rem, 3.85vw, 3.9rem) !important;
  line-height: 1.02 !important;
  max-width: 15ch !important;
}

body.page-results .proof-number {
  display: inline-flex;
  align-items: baseline;
  gap: .16em;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(2.25rem, 3vw, 3.3rem);
  letter-spacing: -.052em;
  line-height: .96;
}

body.page-results .proof-number .proof-period,
body.page-results .proof-number .proof-arrow {
  white-space: nowrap;
}

body.page-results .proof-number .proof-arrow {
  margin-inline: .02em;
}

body.page-results .before-change-after strong {
  text-wrap: balance;
}

/* Intermediate widths: prevent the proof rail from forcing a bad metric wrap. */
@media (min-width:981px) and (max-width:1180px) {
  body.page-results .results-proof-hero .proof-summary {
    padding-inline: 26px !important;
  }
  body.page-results .proof-number {
    font-size: clamp(2rem, 2.85vw, 2.65rem);
    gap: .12em;
  }
}

/* On genuinely narrow screens, use a deliberate two-line composition:
   "4 weeks" / "→ 2 weeks". Number and unit never separate. */
@media (max-width:460px) {
  body.page-results .proof-number {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    column-gap: .16em;
    row-gap: .04em;
    white-space: normal;
    font-size: clamp(2.25rem, 11.5vw, 3rem);
  }
  body.page-results .proof-number .proof-period:first-child {
    grid-column: 1 / -1;
  }
  body.page-results .proof-number .proof-arrow {
    grid-column: 1;
  }
  body.page-results .proof-number .proof-period:last-child {
    grid-column: 2;
  }
}

body.page-results .result-meta span { white-space: nowrap; }
