/* Section 3 "detective board": Avalia look over Unlock 1 (css/unlock.css + css/glow-edge.css hold the mechanics).
   Pinned photos on a dark-green board, a gold line between them, a paper label with the stage + date on each. */

.bb {
  --unlock-line: var(--gold-light);              /* the line, spark, flash tint and border glow */
  --unlock-track: rgba(221, 191, 133, .12);      /* the empty path before the line arrives */
  --unlock-radius: 8px;                          /* photo corners (the line follows them) */
  --unlock-lead: 420px;                          /* the first line, coming down from above */
  --unlock-blur: 7px;
}

/* the board the photos are pinned to */
.bb .ul-stage { background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(70, 110, 92, .28), transparent 72%),
    linear-gradient(#132A22, #0C1C16); }
/* floor dots: they tilt with the camera, so the 3D move reads even between photos */
.bb .ul-ground { background-image: radial-gradient(circle, rgba(221, 191, 133, .11) 1.6px, transparent 2.2px); background-size: 46px 46px; }

/* a photo */
.bb-photo { background: #0B1914; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }

/* pin + paper label: dim until the photo lights up (--ul-lit is set on the board by unlock.js) */
.bb-pin, .bb-tag { position: absolute; z-index: 2; pointer-events: none; opacity: calc(.3 + .7 * var(--ul-lit, 0)); }
.bb-pin { left: 50%; top: 14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F6E6BE, var(--gold) 52%, #6B5130);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .55); }
.bb-tag { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 5px 11px 7px 9px; rotate: -1.4deg;
  display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline;
  background: var(--text); color: var(--green); border-radius: 3px; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); line-height: 1.35; }
.bb-num { grid-row: span 2; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.bb-tag b { font-size: 17px; font-weight: 600; }
.bb-meta { grid-column: 2; font-size: 12.5px; color: #6E5B39; }

/* heading bar along the bottom of the board (stays put while the camera moves). At the top the first line
   (coming down from above) would run through it; --unlock-safe-bottom makes the camera keep this strip clear. */
.bb { --unlock-safe-bottom: 96px; }
.bb-head { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: var(--unlock-safe-bottom); pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(16px, 4vw, 48px);
  background: linear-gradient(transparent, rgba(8, 20, 16, .72) 40%); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.bb-kicker { margin: 0; font-size: clamp(.8rem, 1.1vw, .95rem); letter-spacing: .08em; color: var(--gold-light); }
.bb-title { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
.bb-head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.35; color: var(--text); }
.bb-range { margin: 0; font-size: clamp(.8rem, 1vw, .92rem); color: var(--muted); }
@media (max-width: 700px) { .bb { --unlock-safe-bottom: 104px; } }
