/* =====================================================================
   ShowYB - Homepage v2
   Builds on the v1 system, with the agreed changes:
   - display font switched to Inter (heavy weights), mono labels kept
   - one small "signature" period on the H1, no terminal periods elsewhere
   - comma-forward copy, no long dashes
   - new sections: proof strip, testimonials, "why ShowYB" band
   ===================================================================== */
/* NOTE: styles.css is no longer @imported here. Nested @import forces a
   sequential, blocking round trip (fetch this file, parse it, THEN discover
   and fetch the next one) before the browser can paint anything. Every file
   that needs styles-v2.css also loads styles.css directly, in parallel
   (pages.css and gfr.css both @import it above their own import of this
   file; index.html links it directly in <head>, before this file). */

/* ---- Font swap: Inter as display, keep Space Mono labels ---- */
:root { --font-display: 'Inter', system-ui, sans-serif; }
h1, h2, h3, h4 { letter-spacing: -0.022em; }
.h1 { font-weight: 800; }
.h2 { font-weight: 800; }
.h3 { font-weight: 700; }

/* Signature small period on the H1 */
.h1 .dot { font-size: 0.38em; color: var(--accent); font-weight: 800; line-height: 1; }

/* =====================================================================
   PROOF STRIP ("BLOCK" under the hero)
   ===================================================================== */
.proof-strip { background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-strip .container { padding-top: 28px; padding-bottom: 28px; }
.proof-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; text-align: left; }
.rating { display: inline-flex; align-items: center; gap: 10px; }
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.rating .score { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.rating .score .ph { font-weight: 700; }
.rating .on { color: var(--muted); font-size: 0.95rem; }
.proof-divider { width: 1px; height: 26px; background: var(--border-strong); }
.proof-text { color: var(--ink-2); font-size: 0.98rem; max-width: 46ch; }
.proof-logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }

/* =====================================================================
   ONE SYSTEM - connective intro line
   ===================================================================== */
.system-note { margin-top: 8px; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 20px;
}
.testi .quote-mark { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 0.6; color: var(--accent); }
.testi blockquote { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.55; flex: 1; }
.testi .cite { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.testi .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); border: 1px dashed rgba(245,162,0,0.5); flex: none; }
.testi cite { font-style: normal; }
.testi .cite .who { font-weight: 700; color: var(--ink); display: block; font-size: 0.95rem; }
.testi .cite .where { color: var(--muted); font-size: 0.85rem; }

/* =====================================================================
   WHY SHOWYB - closing-argument band
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { border-top: 3px solid var(--accent); padding-top: 20px; }
.why-item .why-num { font-family: var(--font-mono); font-weight: 700; color: var(--accent-600); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 12px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: 10px; }
.why-item p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.section--dark .why-item p { color: var(--on-dark-muted); }
.section--dark .why-item h3 { color: var(--on-dark); }

@media (max-width: 1024px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .testi-grid, .why-grid { grid-template-columns: 1fr; }
  .proof-divider { display: none; }
}

/* =====================================================================
   v2.1 changes
   - eyebrow: drop the leading rule ("dash"), new font (Space Grotesk)
   - client logos: horizontally scrolling marquee
   - certified partner badges
   - tasteful growth micro-graphics between sections
   ===================================================================== */

/* Eyebrow: no leading line, distinctive label font */
.eyebrow { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; letter-spacing: 0.16em; gap: 0; }
.eyebrow::before { content: none; }

/* Certified partner badges */
.partners { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; align-items: center; margin-top: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border-strong); border-radius: 50px; padding: 9px 18px;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.82rem; font-weight: 600;
  color: var(--ink-2); background: var(--bg-white);
}
.badge .dotmark { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.partner-badge { height: 130px; width: auto; display: block; }

/* Google reviews embed slot (Trustindex shortcode renders here on WordPress) */
.reviews-embed { max-width: 720px; margin: 0 auto; text-align: center; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 40px 24px; background: var(--bg-white); }
.reviews-embed .re-note { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.reviews-embed .re-sub { display: block; color: var(--muted); font-size: 0.92rem; margin: 6px 0 16px; }
.reviews-embed .re-code { display: inline-block; font-family: var(--font-mono); font-size: 12px; color: var(--accent-600); background: var(--accent-soft); border: 1px dashed rgba(245, 162, 0, 0.5); border-radius: 6px; padding: 6px 12px; }

/* Decorative dashboard underlays (faded, non-literal, behind content) */
.section-bg-a, .section-bg-b { position: relative; overflow: hidden; }
.section-bg-a > .container, .section-bg-b > .container { position: relative; z-index: 1; }
.section-bg-a::after, .section-bg-b::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-repeat: no-repeat; opacity: 0.07; }
.section-bg-a::after { background-image: url("/assets/img/home2.webp?v=2"); background-position: right -60px top 40px; background-size: 54% auto; }
.section-bg-b::after { background-image: url("/assets/img/home3.webp"); background-position: left -60px center; background-size: 46% auto; }
@media (max-width: 760px) { .section-bg-a::after, .section-bg-b::after { display: none; } }

/* How-we-work header with graphic */
.hww-head-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 40px; align-items: center; margin-bottom: 44px; }
.hww-head-grid .section-head { max-width: none; }
.hww-img { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; }

/* Client logo inside a case-study card (light JPG bg blended into white) */
.case-logo { height: 54px; width: auto; max-width: 190px; object-fit: contain; display: block; margin: 2px auto 16px; }
@media (max-width: 900px) { .hww-head-grid { grid-template-columns: 1fr; gap: 22px; } .hww-img { max-width: 460px; } }

/* Client logo marquee */
.logo-marquee {
  overflow: hidden; margin-top: 28px; position: relative;
  background: #eeeef0; border-radius: 16px; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-track { display: flex; gap: 56px; width: max-content; align-items: center; animation: marquee 44s linear infinite; animation-play-state: paused; }
/* Real logo images inside slots (large, generous spacing, blend on the band) */
.logo-slot img { height: 180px; width: auto; max-width: 300px; object-fit: contain; display: block; }
.logo-slot:has(img) { border: none; width: auto; height: auto; padding: 0; background: transparent; }
/* Only animate while the strip is on screen and the page is not being scrolled,
   so the continuous animation never competes with scrolling. */
.logo-marquee.in-view .logo-track { animation-play-state: running; }
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track,
html.is-scrolling .logo-marquee .logo-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* Growth infographics inside case-study cards (brand colours, placeholder data) */
.mini-metric { border-top: 1px solid var(--border); padding-top: 16px; }
.mini-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mini-value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--accent-600); margin: 3px 0 10px; }
.mini-chart { width: 100%; height: auto; display: block; color: var(--accent); }
.mini-chart path[stroke], .mini-chart circle { vector-effect: non-scaling-stroke; }

/* Reel thumbnail (poster frame) that opens the video in a modal */
.reel-player { padding: 0; overflow: hidden; background: #000; }
.reel-media { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); background: #000; }
.reel-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: background 0.2s ease; }
.reel-player:hover .reel-play { background: rgba(0,0,0,0.14); }
.reel .play-btn { width: 50px; height: 50px; background: rgba(20,20,24,0.42); box-shadow: none; }
.reel .play-btn::before { border-left-color: rgba(255,255,255,0.92); }
.reel-player:hover .play-btn { background: rgba(245,162,0,0.85); }
.reel-player:hover .play-btn::before { border-left-color: #1a1205; }

.reel-tag { margin-top: 14px; text-align: center; font-family: var(--font-body); font-size: 1.02rem; font-weight: 400; color: var(--ink); }
.reel-note { margin-top: 6px; text-align: center; font-family: var(--font-body); font-size: 0.86rem; font-weight: 300; line-height: 1.5; color: var(--ink); }

/* Reel video modal */
.lightbox-inner.has-video { background: #000; padding: 0; overflow: hidden; width: min(380px, 92vw); }
.lightbox-video { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 20px; background: #000; }

/* Preview renderer chokes on smooth scroll - force auto (overrides base) */
html { scroll-behavior: auto !important; }

/* Reviews widget (rating + rotating quotes) */
.reviews-widget { max-width: 460px; }
.reviews-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reviews-stars { color: var(--accent); letter-spacing: 3px; font-size: 1.2rem; line-height: 1; }
.reviews-score { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); line-height: 1; }
.reviews-count { color: var(--muted); font-size: 0.9rem; }
.reviews-slides { position: relative; margin-top: 12px; min-height: 96px; }
.review-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease; margin: 0; }
.review-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.review-text { font-style: italic; color: var(--ink-2); margin: 0; line-height: 1.5; }
.review-author { margin-top: 8px; font-weight: 600; color: var(--ink); font-size: 0.9rem; font-style: normal; }

/* Certified partners row (moved to bottom of homepage) */
.partners-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.partners--bottom { justify-content: flex-end; }
@media (max-width: 860px) { .partners-row { grid-template-columns: 1fr; gap: 24px; } .partners--bottom { justify-content: flex-start; } }

/* Blog / Insights cards */
.blog-card { display: flex; flex-direction: column; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.18s var(--ease), border-color 0.18s var(--ease); }
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.blog-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2c333f, #3a2f22); display: grid; place-items: center; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-thumb span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.blog-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.blog-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.blog-body h3 { font-size: 1.12rem; }
.blog-body p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.blog-body .go { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent-600); text-transform: uppercase; margin-top: 4px; }

/* Footer social icons */
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border-dark); color: var(--on-dark-muted); transition: color 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease); }
.socials a:hover { color: #1a1205; background: var(--accent); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; }

/* Vertical explainer video (all site video is 9:16) */
.video-vertical { width: 100%; max-width: 258px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 26px; background: linear-gradient(160deg, #2c333f 0%, #3a2f22 100%); border: 7px solid #10141b; box-shadow: 0 24px 50px rgba(16, 24, 40, 0.28); display: grid; place-items: center; position: relative; overflow: hidden; }
.video-vertical .cap { position: absolute; left: 12px; right: 12px; bottom: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); text-align: center; }

/* Hero: wider headline column + graphic on the right */
@media (min-width: 1025px) { .hero-grid { grid-template-columns: 1.3fr 0.92fr; gap: 36px; } }
.hero .h1 { line-height: 1.0; font-size: clamp(2.9rem, 6.6vw, 5.2rem); }
.h1 .h1-sub { display: block; font-size: 0.56em; font-weight: 800; margin-top: 8px; }
.hero-img { width: 100%; max-width: 580px; height: auto; display: block; margin: 0 auto; }
.hero-mini { width: 100%; max-width: 250px; margin: 0 auto; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 22px; }
.hm-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hm-value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--ink); margin: 4px 0 12px; }
.hm-chart { width: 100%; height: auto; display: block; color: var(--accent); }
.hm-chip { display: inline-block; margin-top: 14px; }
