/* Sculpt & Scale — shared styles: cookie banner, click-to-load video, results note */

/* ── COOKIE BANNER ── */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 3000;
  max-width: 440px;
  background: #161616; color: #fff;
  border: 1px solid rgba(26,111,212,0.35); border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  font-family: 'Inter', sans-serif;
  display: none;
}
.cc-banner.show { display: block; }
.cc-banner h2 { font-size: 0.95rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.cc-banner p { font-size: 0.8rem; line-height: 1.6; color: #A0A0A0; margin: 0 0 16px; }
.cc-banner p a { color: #2d83ef; text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; }
.cc-btn {
  flex: 1; padding: 12px 14px; border-radius: 8px;
  font-family: inherit; font-size: 0.85rem; font-weight: 700;
  color: #fff; cursor: pointer; border: 1px solid transparent;
}
.cc-accept { background: #1A6FD4; }
.cc-reject { background: #2a2a2a; border-color: rgba(255,255,255,0.12); }
.cc-btn:hover { filter: brightness(1.15); }
.cc-btn:focus-visible { outline: 3px solid #2d83ef; outline-offset: 2px; }
@media (min-width: 600px) { .cc-banner { left: 20px; bottom: 20px; right: auto; } }

/* ── CLICK-TO-LOAD VIDEO ── */
.yt-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #0a0d14 center / cover no-repeat;
  cursor: pointer; text-decoration: none;
}
.yt-facade .yt-play-btn {
  width: 60px; height: 60px; background: #1A6FD4; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5); transition: transform 0.2s;
}
.yt-facade .yt-play-btn::after {
  content: ''; border-style: solid; border-width: 9px 0 9px 18px;
  border-color: transparent transparent transparent #fff; margin-left: 3px;
}
.yt-facade:hover .yt-play-btn { transform: scale(1.1); }
.yt-facade:focus-visible { outline: 3px solid #2d83ef; outline-offset: -3px; }
.yt-facade-note {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 0.68rem; color: #D0D0D0; background: rgba(10,10,10,0.78);
  border-radius: 100px; padding: 3px 10px;
}

/* ── RESULTS DISCLAIMER ── */
.results-note {
  max-width: 760px; margin: 28px auto 0; text-align: center;
  font-size: 0.75rem; line-height: 1.65; color: #A0A0A0;
}
.results-note--left { margin: 14px 0 0; text-align: left; }

/* ── FOOTER LEGAL DETAILS ── */
footer .footer-copy { color: #8a8a8a; }
.footer-legal {
  max-width: 1100px; margin: 20px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.72rem; line-height: 1.6; color: #8a8a8a; text-align: left;
}
.footer-legal--wide { max-width: 1200px; }

/* ── MOBILE OVERFLOW FIXES ── */
/* footer links wrapped onto a second line instead of pushing the page wider than the screen */
footer .footer-links { flex-wrap: wrap; row-gap: 10px; }
/* before/after cards on the results page were wider than a phone */
@media (max-width: 600px) {
  .case-studies .cs-ba { grid-template-columns: 1fr; }
  .case-studies .cs-ba-card { min-width: 0; }
  .case-studies .cs-ba-val { font-size: 1.4rem; overflow-wrap: anywhere; }
}

/* ── STICKY BAR: leave room so it never covers the bottom of the footer ── */
.sticky-bar ~ footer { padding-bottom: 110px; }

/* ── CASE STUDIES: "Their problems before working with us" ── */
.cs-problems ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.cs-problems li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; line-height: 1.65; color: #D0D0D0; }
.cs-problems li::before { content: '✗'; color: #ef4444; font-weight: 700; flex-shrink: 0; }

/* ══ ACCESSIBILITY ══ */

/* skip link: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 16px; top: -120px; z-index: 4000; background: #1A6FD4; color: #fff; padding: 12px 18px; border-radius: 8px; font: 700 0.9rem 'Inter', sans-serif; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* visible keyboard focus everywhere */
body :focus-visible { outline: 2px solid #4a95f2; outline-offset: 2px; }

/* small blue labels lightened so they pass 4.5:1 contrast on every background they sit on */
body :is(.section-tag, .cs-section-title, .cs-step-num, .onboard-step-num, .onboard-step-time, .ob-step-num, .ob-step-time, .result-pill-stat, .yt-duration, .pillar-num, .resource-what-label, .info-card-title, .pillar-num-badge, .pillar-proof-label, .compare-header.good, .badge-blue, .case-client-tag, .cs-client-tag, .case-quote-attr, .cs-quote-attr, .maths-card.featured .maths-card-label) { color: #4a95f2; }
body .badge-red { color: #f87171; }

/* labels were 10-11px; nothing below 12px now */
body :is(.yt-feat-stat-label, .hero-focal-stat-label, .banner-stat-label, .maths-card-label, .onboard-step-num, .case-client-tag, .case-metric-label, .yt-featured-tag, .comp-col-title .badge, .pillar-proof-label, .ob-step-num, .cs-client-tag, .cs-roas-label, .cs-metric-label, .cs-update-tag, .cs-ba-label, .resource-bracket, .resource-what-label, .onboard-step-time, .yt-duration, .pillar-num-badge, .ob-step-time, .cs-step-num, .booking-banner-tag, .calendar-badge, .hero-focal-header, .nav-urgency, .hero-tag, .proof-stat-label, .section-tag, .pillar-num, .flow-label, .case-quote-attr, .yt-badge, .footer-copy, .page-hero-tag, .founder-block-info span, .info-card-title) { font-size: 0.75rem; }

/* FAQ: real buttons, and closed answers are hidden from screen readers */
button.faq-q { width: 100%; background: transparent; border: 0; color: inherit; font-family: inherit; line-height: 1.6; text-align: left; }
.faq-item .faq-a { visibility: hidden; transition: max-height 0.35s ease, visibility 0s linear 0.35s; }
.faq-item.open .faq-a { visibility: visible; transition: max-height 0.35s ease, visibility 0s; }

/* bigger tap target for the mobile menu button */
nav .hamburger { padding: 14px 12px; margin-right: -12px; }

/* links inside paragraphs must be distinguishable without relying on colour */
.content p a, .content li a { text-decoration: underline; text-underline-offset: 2px; }

/* respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
