/* Brand statement, expedition layer: faint summit contours behind the words and a small red
   beacon at the peak, blinking twice like a headlamp signal. The beacon marks the goal; it is the
   only red on the scene and stays tiny. Lives inside .brand-statement, so it fades with it. */
.bs-summit { position: absolute; inset: -46% -24%; z-index: -1; pointer-events: none;
  -webkit-mask: radial-gradient(ellipse 60% 62% at 62% 40%, #000 30%, transparent 78%); mask: radial-gradient(ellipse 60% 62% at 62% 40%, #000 30%, transparent 78%); }
.bs-summit svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.bs-summit .c { stroke: #aab5ad; stroke-opacity: .085; stroke-width: 1; vector-effect: non-scaling-stroke; }
.bs-summit .c.idx { stroke-opacity: .17; stroke-width: 1.3; }

.bs-beacon { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #ff4b3e;
  box-shadow: 0 0 8px 2px #ff4b3edd, 0 0 30px 10px #ff4b3e4d; opacity: .3; }
.bs-beacon::before { /* the ring the light throws on each blink */
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid #ff4b3e66; opacity: 0; }
.bs-beacon::after { /* faint red wash on the surrounding terrain */
  content: ""; position: absolute; left: 50%; top: 50%; width: 420px; height: 260px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, #ff4b3e1f, transparent); opacity: 0; }
/* Driven by expedition.js: .is-on starts at the first blink, then repeats every 2s while visible. */
.bs-summit.is-on .bs-beacon { animation: bs-beep 2s steps(1, end) infinite; }
.bs-summit.is-on .bs-beacon::before { animation: bs-ring 2s var(--ease-out) infinite; }
.bs-summit.is-on .bs-beacon::after { animation: bs-wash 2s ease-out infinite; }
@keyframes bs-beep { 0% { opacity: 1; } 6% { opacity: .3; } 13% { opacity: 1; } 19%, 100% { opacity: .3; } }
@keyframes bs-ring { 0% { opacity: 1; transform: scale(.4); } 30% { opacity: 0; transform: scale(2.6); } 100% { opacity: 0; } }
@keyframes bs-wash { 0%, 18% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .bs-beacon, .bs-beacon::before, .bs-beacon::after { animation: none; }
  .bs-beacon { opacity: .8; }
}
@media (max-width: 800px) { .bs-summit { inset: -70% -40%; } }
/* Phones: drop the large mask over the contour layer; fade the contours with opacity instead. */
@media (max-width: 800px), (pointer: coarse) {
  .bs-summit { -webkit-mask: none; mask: none; opacity: .6; }
}
