/* ═══════════════════════════════════════════════════════════════
   GloCoach — imagery layer (logo marquee, video facades, team photos,
   product icon chips, section art). Companion to styles.css/motion.css.
   Imagery pass 2026-06-12.
   ═══════════════════════════════════════════════════════════════ */

/* ── Customer logo marquee (lifted from customer deck — dual counter-scroll) ── */
.logo-marquee-section {
  background: var(--blue-deep, #0D1240);
  padding: 56px 0 60px;
  overflow: hidden;
}
.logo-marquee { overflow: hidden; }
.marquee-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFF522;
  text-align: center;
  margin-bottom: 24px;
}
.marquee-row {
  display: flex;
  width: max-content;
  gap: 52px;
  padding: 8px 0;
  align-items: center;
}
.marquee-row-top { animation: marquee-left 50s linear infinite; }
.marquee-row-bottom { animation: marquee-right 45s linear infinite; }
.marquee-logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  /* Uniform light monochrome on the dark band — clean now that logos are transparent PNGs.
     COLOR-READY: drop full-color transparent logos into assets/logos/ and change the
     :hover filter below to `none` to reveal full brand color on hover. */
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.marquee-logo:hover { opacity: 1; transform: scale(1.08); }
/* Pause the scroll on hover so hit-testing realigns (fixes the wrong-tile highlight)
   and the hovered logo is readable. */
.logo-marquee:hover .marquee-row-top,
.logo-marquee:hover .marquee-row-bottom { animation-play-state: paused; }
@keyframes marquee-left  { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }
@keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-row-top, .marquee-row-bottom { animation: none; }
}
@media (max-width: 768px) {
  .marquee-row { gap: 32px; }
  .marquee-logo { height: 48px; }
}

/* ── YouTube facade (click-to-load — no iframe until click, Lighthouse-safe) ── */
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #0D1240 center / cover no-repeat;
  box-shadow: 0 12px 40px rgba(13, 18, 64, 0.25);
}
.yt-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,18,64,0.05) 0%, rgba(13,18,64,0.35) 100%);
}
.yt-facade .yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(33, 57, 194, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.25s ease, background 0.25s ease;
}
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: #2139C2; }
.yt-facade .yt-play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt-facade .yt-title {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-shadow: 0 1px 8px rgba(13,18,64,0.6);
}
.yt-facade iframe,
.yt-facade video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
  background: #000;
  object-fit: contain;
}
.yt-facade.is-playing .yt-play,
.yt-facade.is-playing .yt-title,
.yt-facade.is-playing::after {
  display: none;
}
.video-band { max-width: 880px; margin: 0 auto; }
.video-band .video-caption {
  text-align: center;
  font-size: 14px;
  color: #5b6478;
  margin-top: 14px;
}

/* ── Team photos (about.html leadership cards) ── */
.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 16px rgba(33, 57, 194, 0.18);
  border: 3px solid #fff;
}

/* ── Product icon chips (branded PNG/SVG marks at section anchors) ── */
.product-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.product-icon-sm { width: 40px; height: 40px; object-fit: contain; display: block; }
.sensor-icon-img { width: 48px; height: 48px; display: block; margin: 0 auto 12px; }

/* ── Testimonial headshot avatars (proof.html / index.html quote cards) ── */
.t-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #DB961F;
  flex-shrink: 0;
  display: block;
}

/* ── Section-art photo cards (humanizing imagery on light sections) ── */
.photo-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(13, 18, 64, 0.16);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Photo-band pull-quote (graduated from index.html 2026-07-04 — every band image
      must carry a job; the pull line is set in HTML, never baked into pixels) ── */
.photo-card-quote { position: relative; }
.photo-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(75deg, rgba(0,30,48,0.74) 0%, rgba(0,30,48,0.32) 46%, rgba(0,30,48,0) 72%);
}
.photo-card-pull {
  position: absolute; left: 46px; bottom: 38px; margin: 0;
  max-width: 27em; color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 21px; font-weight: 500; line-height: 1.5;
  text-wrap: balance;
}
@media (max-width: 768px) {
  .photo-card-pull { left: 22px; right: 22px; bottom: 20px; font-size: 16px; }
  .photo-card-pull br { display: none; }
}
.split-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .split-media { grid-template-columns: 1fr; } }

/* ── Product frames (2026-07-05) — professional embedding for real platform
      screenshots. Desktop = browser chrome; mobile = phone bezel. Native product
      UI (blue) is kept inside the frame per the KEEP-BLUE rule; the frame itself
      is warm-neutral so it reads as marketing chrome, not a raw screenshot. ── */

/* Browser-chrome frame (desktop TA 3.0 shots) */
.browser-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--warm-line, #E7E0D4);
  box-shadow: 0 24px 60px rgba(13, 18, 64, 0.18);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #F5F1E9 0%, #EFE9DD 100%);
  border-bottom: 1px solid var(--warm-line, #E7E0D4);
}
.browser-dots { display: flex; gap: 7px; flex: 0 0 auto; }
.browser-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #CFC7B6; display: block;
}
.browser-dots span:nth-child(1) { background: #E8907A; }
.browser-dots span:nth-child(2) { background: #E7C46A; }
.browser-dots span:nth-child(3) { background: #8FBE96; }
.browser-url {
  flex: 1 1 auto;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  color: var(--text-light, #7A7466);
  background: #fff;
  border: 1px solid var(--warm-line, #E7E0D4);
  border-radius: 7px;
  padding: 5px 14px;
  max-width: 420px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-frame > img { width: 100%; height: auto; display: block; }

/* Click-to-enlarge affordance + lightbox (desktop app captures) */
.browser-frame.zoomable { cursor: zoom-in; position: relative; }
.browser-frame.zoomable .zoom-hint {
  position: absolute;
  bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 30, 48, 0.82);
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 12px; font-weight: 600;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.browser-frame.zoomable:hover .zoom-hint { opacity: 1; }

.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(6, 10, 20, 0.93);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 96vw; max-height: 92vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: fixed; top: 18px; right: 28px;
  background: none; border: none;
  color: #fff; font-size: 40px; line-height: 1;
  cursor: pointer; opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* Phone bezel frame (mobile sensor shots) */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(150deg, #1a1f2b 0%, #2b3242 100%);
  box-shadow: 0 26px 60px rgba(13, 18, 64, 0.30), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 22px;
  background: #12151d;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-frame > img {
  width: 100%; height: auto; display: block;
  border-radius: 30px;
}
.phone-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
.phone-item { flex: 0 1 300px; max-width: 300px; }
.phone-item .phone-cap {
  margin: 18px 0 0;
  text-align: center;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  color: var(--text-light, #7A7466);
  font-style: italic;
}
@media (max-width: 820px) {
  .phone-row { gap: 36px; }
}
