/* Footer styles now live in components/site-footer.css. */
/* Less air between the last section and the footer — the footer brings its own
   top padding, so a full section pad underneath reads as a hole. */
main > section:last-child { padding-bottom: clamp(44px, 4.6vw, 68px) !important; }


/* ===== Project lead + closing CTA, merged (option 4b) ===== */
/* each case study's own light tone, not a fixed grey */
.lead-cta { padding-block: clamp(56px, 6.4vw, 92px); background: var(--cream, #f5f5f7); }
/* The related-work band that follows shares this ground: match it to the same
   page token so the seam is invisible, and keep enough pad that the floating
   CTA card (and its shadow) never touches the next section. */
.related-work { background: var(--cream, #f5f5f7) !important; }
.lead-cta:has(+ .related-work) { padding-bottom: clamp(30px, 3.2vw, 46px); }
.lead-cta:has(+ .related-work) + .related-work { padding-top: clamp(40px, 4.2vw, 60px) !important; }
.lead-cta-shell { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.lead-cta-card {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(17, 26, 65, .08); border-radius: 28px;
  background: #fff; box-shadow: 0 22px 70px rgba(17, 26, 65, .08);
}
.lead-cta-lead { display: grid; gap: 14px }
.lead-cta-kicker { margin: 0; color: #6e6e73; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.lead-cta-byline { display: flex; align-items: center; gap: 14px }
.lead-cta-byline img { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; object-position: 55% 16% }
.lead-cta-byline b { display: block; color: #1d1d1f; font-size: 19px; font-weight: 650; letter-spacing: -.015em }
.lead-cta-byline span { display: block; margin-top: 2px; color: #6e6e73; font-size: 13px }
.lead-cta-lead p.lead-cta-copy { margin: 0; color: #6e6e73; font-size: 15px; line-height: 1.5; max-width: 46ch }
.lead-cta-link { color: var(--accent, #0071e3); font-size: 15px; font-weight: 500; text-decoration: none }
.lead-cta-link:hover { text-decoration: underline; text-underline-offset: 3px }
.lead-cta-ask { display: grid; gap: 18px; justify-items: start }
.lead-cta-ask h2 {
  margin: 0; color: #111a41;
  font-size: clamp(30px, 3.6vw, 48px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04;
}
.lead-cta-ask p { margin: 0; color: #6e6e73; font-size: 17px; line-height: 1.45; letter-spacing: -.015em; max-width: 46ch }
.lead-cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--accent, #0071e3); color: #fff !important;
  font-size: 16px; font-weight: 600; letter-spacing: -.02em; text-decoration: none;
  transition: transform .18s cubic-bezier(.2,.75,.25,1), filter .18s ease;
}
.lead-cta-button:hover { transform: translateY(-2px); filter: brightness(1.06) }
@media (max-width: 900px) {
  .lead-cta-card { grid-template-columns: 1fr; align-items: start }
  .lead-cta-byline img { width: 68px; height: 68px }
}


/* ===== Merged lead + CTA, option 4d: hairline variant ===== */
.lead-cta.is-hairline { background: var(--paper, #fff) }
.lead-cta.is-hairline:has(+ .related-work) { padding-bottom: clamp(34px, 3.6vw, 52px) }
.lead-cta.is-hairline .lead-cta-top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(17, 26, 65, .13);
}
.lead-cta.is-hairline .lead-cta-top h2 {
  margin: 0; max-width: 16ch; color: #111a41;
  font-size: clamp(30px, 3.6vw, 48px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04;
}
.lead-cta.is-hairline .lead-cta-top p { margin: 12px 0 0; color: #6e6e73; font-size: 17px; line-height: 1.45; max-width: 46ch }
.lead-cta.is-hairline .lead-cta-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 24px;
}
.lead-cta.is-hairline .lead-cta-byline img { width: 56px; height: 56px }
.lead-cta.is-hairline .lead-cta-byline b { font-size: 15px }
.lead-cta.is-hairline .lead-cta-byline span { color: #6e6e73; font-size: 13px; line-height: 1.45; max-width: 62ch }


/* ===== Mobile screens, bottom-cut phones (options 7v and 7w) ===== */
.cut-phones { padding-block: clamp(56px, 6vw, 88px); }
.cut-phones .cut-shell { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.cut-win { overflow: hidden; margin: 0; align-self: end; background: rgba(255,255,255,.06); border-radius: 30px 30px 0 0; aspect-ratio: 368 / 640; }
.cut-win img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
/* page's own dark-band accent, then its light tint, before any generic blue */
.cut-kick { margin: 0; color: var(--dark-kicker, var(--sky, var(--cream, #fff))); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.cut-h { margin: 12px 0 0; font-size: clamp(28px, 3.4vw, 46px); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; color: #fff }
.cut-p { margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.5; max-width: 46ch }

/* 7v — one panel, copy left, phones cut at the base */
.cut-phones-panel { background: #f5f5f7 }
.cut-phones-panel .panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: end;
  padding: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) 0;
  border-radius: 32px; color: #fff; overflow: hidden;
  /* each case study's own dark tone, not a fixed navy */
  background: var(--dark, var(--ink, #14232f));
}
/* phones stay anchored to the bottom edge; the copy centres against them */
.cut-phones-panel .copy { align-self: center; padding-bottom: clamp(24px, 3vw, 40px) }
.cut-phones-panel .phones { display: flex; gap: 16px; align-items: end }
.cut-phones-panel .cut-win { width: min(200px, 42vw) }
.cut-phones-panel .cut-win:last-child { aspect-ratio: 368 / 520 }

/* 7w — the black section itself cuts the phones */
/* each case study's own dark tone rather than a flat black */
.cut-phones-black { background: var(--dark, var(--ink, #000)); color: #fff; padding-bottom: 0; text-align: center }
.cut-phones-black .cut-h { margin-inline: auto; max-width: 20ch }
.cut-phones-black .stage { display: flex; justify-content: center; align-items: flex-end; gap: clamp(20px, 3vw, 48px); margin-top: clamp(28px, 4vw, 46px) }
.cut-phones-black .cut-win { width: min(280px, 44%); aspect-ratio: 368 / 760; background: rgba(255,255,255,.06); border-radius: 34px 34px 0 0; box-shadow: 0 -24px 70px rgba(0,0,0,.45) }

@media (max-width: 900px) {
  .cut-phones-panel .panel { grid-template-columns: 1fr }
  .cut-phones-panel .copy { align-self: start; padding-bottom: 8px }
  .cut-phones-black .cut-win { width: min(220px, 46%) }
}
