/* ============================================================================
   SYHF 2026 — "Funnel to the Main Stage" callout (2026-11-15)

   One component, used wherever something a visitor wanted is full or closed:
   a full clinical/surgical level (track-detail.html), full tracks on the
   all-tracks page (surgical-tracks.html), and full or closed closed-door
   sessions (closed-door.html). apply.html's closed gates use the older
   .notify-stage link in registration.css, which this mirrors in voice.

   It carries its own surface (deep violet, mint accent) so it reads the same
   on the paper pages and the dark ones. Locked tokens only.
   ========================================================================== */
.stage-funnel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 1.5rem;
  margin-block: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 3.5vw, 2rem);
  border-radius: var(--radius-md, 18px);
  background: var(--syhs-deep-violet); color: var(--syhs-white);
  border: 1px solid rgba(var(--syhs-tint-mint-rgb), 0.35);
}
/* A short run of the helix behind the copy: the brand's thread, not decoration for its own sake. */
.stage-funnel::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: -2rem; width: 14rem; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(var(--syhs-tint-mint-rgb), 0.22), transparent 70%) 60% 50% / 100% 100% no-repeat;
  opacity: 0.9;
}
.stage-funnel > * { position: relative; }
.stage-funnel__k {
  display: inline-block; margin: 0 0 0.45rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--syhs-ink); background: var(--syhs-tint-mint); border-radius: 999px; padding: 0.3rem 0.65rem;
}
.stage-funnel__h { margin: 0 0 0.35rem; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.2; color: var(--syhs-white); }
.stage-funnel__p { margin: 0; max-width: 46ch; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.stage-funnel__go {
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  padding: 0.8rem 1.2rem; border-radius: 999px; min-height: 44px;
  background: var(--syhs-tint-mint); color: var(--syhs-ink); font-weight: 700; text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.stage-funnel__go:hover, .stage-funnel__go:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(var(--syhs-tint-mint-rgb), 0.35); }
.stage-funnel__go:focus-visible { outline: 3px solid var(--syhs-white); outline-offset: 3px; }
[dir="rtl"] .stage-funnel__arrow { display: inline-block; transform: scaleX(-1); }

/* Compact inline form: one line under a single full item (a closed-door session). */
.stage-funnel-link {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px;
  font-weight: 700; color: var(--syhs-ground); text-decoration: underline; text-underline-offset: 3px;
}
.stage-funnel-link:hover, .stage-funnel-link:focus-visible { color: var(--syhs-deep-violet); text-decoration-thickness: 2px; }
[dir="rtl"] .stage-funnel-link .stage-funnel__arrow { display: inline-block; transform: scaleX(-1); }

/* "Full" chip on a level link (surgical-tracks.html). */
.tk__full { display: inline-block; margin-inline-start: 0.4rem; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--syhs-white); color: var(--syhs-ink); }

@media (max-width: 640px) {
  .stage-funnel { grid-template-columns: 1fr; }
  .stage-funnel__go { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-funnel__go { transition: none; }
  .stage-funnel__go:hover, .stage-funnel__go:focus-visible { transform: none; }
}
html[dir="rtl"] .stage-funnel__h { font-family: var(--font-arabic); font-weight: 700; }
