/* =========================================================================
   How to Beat Paul — site layer
   Built entirely on Lucidbloom tokens/utilities from css/system.css.
   No new colors, radii, shadows, or type sizes are introduced here —
   only layout glue and content-specific composition.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------- */
.lb-nav-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 3, 34, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--lb-shadow-line);
}

.lb-nav__toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--lb-ink);
  font-size: 1.5rem;
  line-height: 1;
  padding: var(--lb-space-2);
  cursor: pointer;
}
.lb-nav__toggle:focus-visible {
  outline: 2px solid var(--lb-citrine);
  outline-offset: 2px;
}

.lb-nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--lb-space-1);
  padding: 0 var(--lb-gutter) var(--lb-space-4);
}
.lb-nav__mobile a {
  padding: var(--lb-space-3) 0;
  font-size: var(--lb-text-sm);
  font-weight: 500;
  letter-spacing: var(--lb-tracking-wide);
  text-transform: uppercase;
  color: var(--lb-mist);
  border-bottom: 1px solid rgba(165, 123, 255, 0.12);
}
.lb-nav__mobile a:hover { color: var(--lb-ink); }
.lb-nav__mobile.is-open { display: flex; }

@media (max-width: 720px) {
  .lb-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.lb-hero__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.lb-hero__bigburst {
  position: absolute;
  top: 50%;
  left: 8%;
  width: min(60vw, 640px);
  height: min(60vw, 640px);
  color: var(--lb-iris);
  opacity: 0.07;
  transform: translateY(-50%);
}

.lb-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--lb-space-7);
  align-items: center;
}
@media (max-width: 860px) {
  .lb-hero__grid { grid-template-columns: 1fr; gap: var(--lb-space-6); }
}

.lb-hero__copy .lb-display { margin-bottom: var(--lb-space-5); }
.lb-hero__copy .lb-lead { margin-bottom: var(--lb-space-6); max-width: 40ch; }

.lb-hero__actions { flex-wrap: wrap; }

.lb-hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.lb-hero__orb {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08),
              0 40px 100px -30px rgba(126, 59, 255, 0.55);
}
.lb-hero__orb-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(255, 210, 63, 0.55) 0%, rgba(255, 138, 42, 0.18) 40%, transparent 70%),
    linear-gradient(135deg, var(--lb-iris) 0%, var(--lb-magenta) 55%, var(--lb-flare) 100%);
}

.lb-hero__record {
  position: absolute;
  bottom: var(--lb-space-4);
  right: var(--lb-space-2);
  background: rgba(14, 3, 34, 0.85);
  backdrop-filter: blur(6px);
}

@media (max-width: 860px) {
  .lb-hero__record { position: static; margin-top: var(--lb-space-4); align-self: flex-start; }
  .lb-hero__media { flex-direction: column; align-items: flex-start; }
}

/* -------------------------------------------------------------------------
   Section intros
   ------------------------------------------------------------------------- */
.lb-section__intro { margin-top: var(--lb-space-2); max-width: 60ch; }
.lb-section__grid { margin-top: var(--lb-space-7); }

/* -------------------------------------------------------------------------
   Feature grid
   ------------------------------------------------------------------------- */
.lb-feature--image { display: flex; flex-direction: column; }
.lb-feature__media {
  margin: calc(var(--lb-space-5) * -1) calc(var(--lb-space-5) * -1) var(--lb-space-4);
  width: calc(100% + var(--lb-space-5) * 2);
}
.lb-feature__media-fill {
  width: 100%;
  height: 100%;
  background: radial-gradient(120% 120% at 20% 0%, rgba(41, 229, 201, 0.55) 0%, transparent 55%),
              radial-gradient(90% 90% at 100% 100%, rgba(126, 59, 255, 0.65) 0%, transparent 60%),
              var(--lb-nebula-2);
}

.lb-feature__badge { margin-bottom: var(--lb-space-3); }

/* -------------------------------------------------------------------------
   Methods — featured (Swimming) + the rest
   ------------------------------------------------------------------------- */
.lb-method-featured {
  display: flex;
  align-items: center;
  gap: var(--lb-space-6);
  padding: var(--lb-space-6);
}
@media (max-width: 640px) {
  .lb-method-featured { flex-direction: column; align-items: flex-start; text-align: left; }
}

.lb-method-featured__icon {
  position: relative;
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  display: grid;
  place-items: center;
  color: var(--lb-ink);
  font-size: 2.5rem;
}
.lb-method-featured__icon i { position: relative; z-index: 1; }

/* Halo glow — the exact formula from the design system's `gradients.halo` token */
.lb-method-featured__halo {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(255, 210, 63, 0.55) 0%, rgba(255, 138, 42, 0.18) 40%, transparent 70%);
}

.lb-method-featured__copy { min-width: 0; }
.lb-method-featured__title { margin-top: var(--lb-space-3); margin-bottom: var(--lb-space-2); }
.lb-method-featured__lead { margin: 0; max-width: 62ch; }

.lb-method-grid { margin-top: var(--lb-space-5); }

/* -------------------------------------------------------------------------
   Editorial split
   ------------------------------------------------------------------------- */
.lb-editorial__lead { color: var(--lb-ink); }

.lb-dossier-card { padding: var(--lb-space-5); }
.lb-dossier-card__media {
  background: radial-gradient(100% 100% at 0% 0%, rgba(255, 43, 177, 0.5) 0%, transparent 60%),
              radial-gradient(100% 100% at 100% 100%, rgba(255, 210, 63, 0.45) 0%, transparent 55%),
              var(--lb-nebula-2);
}
.lb-dossier-card--alt .lb-dossier-card__media {
  background: radial-gradient(100% 100% at 100% 0%, rgba(126, 59, 255, 0.55) 0%, transparent 60%),
              radial-gradient(100% 100% at 0% 100%, rgba(41, 229, 201, 0.4) 0%, transparent 55%),
              var(--lb-nebula-2);
}
.lb-dossier-card .lb-meta { display: block; margin-bottom: var(--lb-space-2); }
.lb-dossier-card .lb-card__title { margin-bottom: var(--lb-space-2); }
.lb-dossier-card .lb-body-sm { margin: 0; }

/* -------------------------------------------------------------------------
   Showcase gallery — Hall of Attempts
   ------------------------------------------------------------------------- */
.lb-hall__card .lb-badge { margin-bottom: var(--lb-space-3); }
.lb-hall__card .lb-card__title { margin-bottom: var(--lb-space-2); }
.lb-hall__card .lb-body-sm { margin: 0; }

.lb-hall__media--1 {
  background: radial-gradient(100% 100% at 0% 0%, rgba(255, 43, 177, 0.55) 0%, transparent 60%), var(--lb-nebula-2);
}
.lb-hall__media--2 {
  background: radial-gradient(100% 100% at 100% 0%, rgba(41, 229, 201, 0.5) 0%, transparent 60%), var(--lb-nebula-2);
}
.lb-hall__media--3 {
  background: radial-gradient(100% 100% at 0% 100%, rgba(255, 138, 42, 0.55) 0%, transparent 60%), var(--lb-nebula-2);
}

.lb-hall__quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--lb-space-3);
}
.lb-hall__quote-mark {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.85;
}
.lb-hall__quote .lb-quote { padding: 0 0 0 var(--lb-space-4); }
.lb-hall__quote .lb-meta { margin: 0; }

/* -------------------------------------------------------------------------
   Form panel
   ------------------------------------------------------------------------- */
.lb-form-panel__intro { margin-bottom: var(--lb-space-6); }

.lb-form-panel {
  display: flex;
  flex-direction: column;
  gap: var(--lb-space-5);
  padding: var(--lb-space-6);
}

.lb-form-panel__submit { align-self: flex-start; margin-top: var(--lb-space-2); }

@media (max-width: 560px) {
  .lb-form-panel { padding: var(--lb-space-5); }
  .lb-form-panel__submit { align-self: stretch; }
}

/* -------------------------------------------------------------------------
   CTA band
   ------------------------------------------------------------------------- */
.lb-cta-band {
  position: relative;
  background: var(--lb-nebula);
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, var(--lb-space-9));
}
.lb-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 20% 0%, rgba(126, 59, 255, 0.45) 0%, transparent 55%),
              radial-gradient(80% 70% at 100% 100%, rgba(255, 43, 177, 0.35) 0%, transparent 60%);
  z-index: 0;
}
.lb-cta-band__inner { position: relative; z-index: 1; }
.lb-cta-band__headline { margin-bottom: var(--lb-space-6); }

.lb-row--center { justify-content: center; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.lb-footer { padding-block: var(--lb-space-6) var(--lb-space-7); }
.lb-footer__brand { font-size: var(--lb-text-lg); }
.lb-footer__meta { margin: 0; }

@media (max-width: 560px) {
  .lb-footer__row { flex-direction: column; align-items: flex-start; gap: var(--lb-space-3); }
}
