/* Homepage hero: the orbit with a few pieces of the product around it (event ticket, Met in person badge,
   Logbook card, HUGO message, two badges on the outer ring). A still, composed layout: no parallax, no tilt,
   no pinning, nothing tied to scroll. The pieces fade in once on load; reduced motion shows them at rest. */
.hero-band { position: relative; }
/* Clip the pieces that sit a little outside the orbit so they never widen the page. */
.hero-clip { overflow: clip; }

.scene { position: relative; }
.rig { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.rig .orbit { width: 100%; }

/* Each piece sits at a fixed spot (--l, --t) on the orbit's square. --i staggers the load fade. */
.fl { position: absolute; left: var(--l); top: var(--t); z-index: 4; pointer-events: none; }
.fl-in { animation: hero-in .9s var(--ease) both; animation-delay: calc(500ms + var(--i, 0) * 140ms); }
@keyframes hero-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.f-ticket .fl-in, .f-log .fl-in, .f-hugo .fl-in {
  border-radius: 20px; background: rgba(22, 24, 28, .94); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 40px -20px rgba(0, 175, 255, .5);
}
.f-ticket .fl-in { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; width: 290px; font-size: 13px; line-height: 1.3; }
.f-ticket .date { width: 46px; height: 46px; flex: none; background: var(--bone); color: var(--night); border: 0; font-size: 18px; }
.f-ticket .date small { color: #46484e; font-weight: 600; }
.f-ticket .fl-in > div { flex: 1; min-width: 0; }
.f-ticket b { display: block; font-weight: 600; font-size: 14px; }
.f-ticket .fl-in > div span { color: var(--mist); }
.f-ticket .pill { height: 30px; padding: 0 12px; font-size: 12px; flex: none; }

.f-mip .fl-in { display: grid; justify-items: center; gap: 8px; }
.f-mip img { width: 84px; height: 84px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px rgba(0, 175, 255, .25)); }
.f-mip span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--night); white-space: nowrap; }

.f-log .fl-in { width: 236px; padding: 14px; display: grid; gap: 10px; }
.fl-top { display: flex; align-items: center; gap: 10px; }
.fl-top img { width: 36px; height: 36px; border-radius: 50%; background: var(--bone); flex: none; }
.fl-top b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.fl-top span { display: block; font-size: 12px; color: var(--accent-soft); }
.fl-proof { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ash); }
.fl-proof .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--night); display: grid; place-items: center; flex: none; }
.fl-proof .ok svg { width: 11px; height: 11px; }
.fl-level { justify-self: start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-wash); border: 1px solid rgba(0, 175, 255, .45); color: var(--accent-soft); }

.f-hugo .fl-in { display: flex; align-items: flex-start; gap: 10px; width: 250px; padding: 12px 14px 12px 10px; border-radius: 20px 20px 20px 6px; }
.f-hugo img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.f-hugo p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--bone); }

/* Badges on the outer ring, at a fixed angle (--ang) and radius (--r, in cqw of the orbit's width). */
.sat {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; pointer-events: none;
  transform: rotate(var(--ang)) translateX(calc(var(--r) * 1cqw)) rotate(calc(var(--ang) * -1));
}
.sat img { max-width: none; position: absolute; width: 46px; height: 46px; left: -23px; top: -23px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); }

/* Phones and tablets: one column, pieces pulled in to the orbit's edges. */
@media (max-width: 960px) {
  .sat.s-near { display: none; }
  .f-ticket { --l: 2% !important; --t: -2% !important; }
  .f-mip { --l: 76% !important; --t: -4% !important; }
  .f-log { --l: 50% !important; --t: 72% !important; }
  .f-hugo { --l: -2% !important; --t: 84% !important; }
}
@media (max-width: 600px) {
  .f-hugo { display: none; }
  .rig { width: calc(100% - 24px); }
  .f-ticket .fl-in { width: 230px; gap: 10px; padding: 8px 10px 8px 8px; }
  .f-ticket .date { width: 38px; height: 38px; font-size: 15px; }
  .f-ticket .pill { display: none; }
  .f-mip img { width: 60px; height: 60px; }
  .scene { margin-top: 36px; }
  .scene .caption { margin-top: 28px; }
  .f-ticket { --t: 3% !important; }
  .f-mip { --l: 72% !important; --t: 1% !important; }
  .f-log { --l: 44% !important; --t: 65% !important; }
  .f-log .fl-in { width: 176px; padding: 10px 12px; gap: 6px; }
  .f-log .fl-proof { font-size: 11px; }
  .sat img { width: 36px; height: 36px; left: -18px; top: -18px; }
}

/* Powered by HUGO, under the hero buttons. */
.powered {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 6px 8px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(22, 24, 28, .7); font-size: 14px; color: var(--ash);
  transition: border-color .3s, color .3s;
}
.powered img { width: 28px; height: 28px; border-radius: 50%; background: var(--bone); }
.powered b { color: var(--bone); font-weight: 600; }
.powered .chip { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--accent-wash); color: var(--accent-soft); }
.powered:hover { border-color: rgba(0, 175, 255, .55); color: var(--bone); }
.hero .powered + .crowd { margin-top: 28px; }

/* The stars belong to the hero: once it is behind you they fade, and the page comes into focus. */
.sky { transition: opacity 1.2s var(--ease); }
.past-hero .sky { opacity: 0; }
