/* ==========================================================================
   LP02 · UNIT 9 · EARLY ACCESS FOR PARTNERS — hanging partner pass
   --------------------------------------------------------------------------
   Navy → deep-teal field.
   • Copy: title, accreditation seal + statement, and the founding-partners
     offer sentence.
   • Visual: a warm community photo with a vertical "Founding partners"
     pass hanging over it on a lanyard. The pass (portrait, perk icons,
     decorative code strip) swings in like a pendulum from the lanyard's
     top anchor, then a light sheen passes over it; on mouse devices it
     sways gently toward the pointer.
   No figure is shown (this copy contains none); approval notes hidden.
   ========================================================================== */

.early {
  background: linear-gradient(200deg, #032356 0%, var(--c-navy) 55%, var(--c-deep-teal) 130%);
}

.early__decor {
  background:
    radial-gradient(ellipse 45% 50% at 85% 30%, rgba(0, 169, 182, 0.2), transparent 70%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(0, 169, 182, 0.08), transparent 70%);
}

[dir="rtl"] .early__decor {
  scale: -1 1;
}

.early__grid {
  display: grid;
  gap: clamp(3.5rem, 7vw, 5rem);
  align-items: center;
}

@media (min-width: 48rem) {
  .early__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------------------
   Copy
   --------------------------------------------------------------------------- */
.early__copy {
  display: grid;
  gap: var(--space-xl);
  justify-items: center;
  text-align: center;
}

@media (min-width: 48rem) {
  .early__copy {
    justify-items: start;
    text-align: start;
  }
}

.early__accredited {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-inline-size: 30rem;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--r-card);
  border: 1px solid var(--c-glass-border);
  background-color: var(--c-glass);
  text-align: start;
}

/* Hexagonal shield seal (distinct from LP01's scalloped seal) */
.early__seal {
  flex-shrink: 0;
  inline-size: 3.75rem;
  block-size: 3.75rem;
  color: var(--c-teal);
}

.early__accredited p {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--c-on-dark);
}

.early__offer {
  max-inline-size: 32rem;
  color: var(--c-on-dark-body);
}

.early__offer strong {
  color: var(--c-teal);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Visual: photo + hanging pass
   --------------------------------------------------------------------------- */
.early__visual {
  position: relative;
  inline-size: min(100%, 32rem);
  min-block-size: 27rem;          /* the absolutely-placed lanyard + pass never spill out */
  margin-inline: auto;
  padding-block-start: 1rem;
}

.early__photo {
  overflow: hidden;
  inline-size: 78%;
  aspect-ratio: 6 / 5;
  margin-inline-start: auto;
  margin-block-start: 3rem;
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-lg);
}

.early__photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

/* Pendulum: lanyard + pass rotate together around the lanyard's top */
.hang {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 8%;
  z-index: 2;
  display: grid;
  justify-items: center;
  inline-size: clamp(11rem, 9rem + 8vw, 13.5rem);
  transform-origin: 50% 0%;
}

.hang__lanyard {
  inline-size: 3rem;
  block-size: 4.5rem;
  overflow: visible;
}

.hang__strap {
  fill: none;
  stroke: var(--c-teal);
  stroke-width: 5;
  stroke-linecap: round;
}

.hang__strap--shade {
  stroke: #0A8E99;
}

.hang__clip {
  fill: #C9D3DC;
  stroke: #8A98A6;
  stroke-width: 1;
}

/* The pass itself */
.pass {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
  inline-size: 100%;
  margin-block-start: -0.25rem;
  padding: 0 var(--space-md) var(--space-md);
  overflow: hidden;
  border-radius: 18px;
  background-color: var(--c-white);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  text-align: center;
}

/* Light sheen passing over the pass (GSAP animates --sheen) */
.pass::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  translate: var(--sheen, 100%) 0;
  pointer-events: none;
}

.pass__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  inline-size: calc(100% + 2 * var(--space-md));
  padding: 0.875rem var(--space-md) 1.75rem;
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(0, 169, 182, 0.7), transparent 70%),
    var(--c-navy);
}

/* Slot punched for the lanyard clip */
.pass__slot {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-start: 50%;
  inline-size: 2.25rem;
  block-size: 0.45rem;
  margin-inline-start: -1.125rem;
  border-radius: var(--r-pill);
  background-color: rgba(255, 255, 255, 0.25);
}

.pass__mark {
  inline-size: 1.875rem;
  block-size: 1.875rem;
  padding: 0.25rem;
  border-radius: 8px;
  background-color: var(--c-white);
}

.pass__star {
  inline-size: 1.25rem;
  block-size: 1.25rem;
  color: var(--c-teal);
}

.pass__avatar {
  inline-size: 4.25rem;
  block-size: 4.25rem;
  margin-block-start: -1.5rem;
  border-radius: 50%;
  border: 4px solid var(--c-white);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.pass__title {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  font-weight: 700;
  color: var(--c-ink);
}

.pass__lines {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  inline-size: 100%;
}

.pass__lines span {
  display: block;
  block-size: 0.4rem;
  border-radius: var(--r-pill);
  background-color: var(--c-ink-a10);
}

.pass__lines span:first-child { inline-size: 60%; background-color: var(--c-ink-a20); }
.pass__lines span:last-child  { inline-size: 40%; }

.pass__perks {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-block-start: var(--space-xs);
}

.pass__perk {
  display: grid;
  place-items: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border-radius: 50%;
  background-color: var(--c-teal-a12);
  color: var(--c-deep-teal);
}

.pass__perk svg {
  inline-size: 1.05rem;
  block-size: 1.05rem;
}

/* Decorative access strip */
.pass__strip {
  display: flex;
  justify-content: center;
  gap: 2px;
  inline-size: 100%;
  block-size: 1.5rem;
  margin-block-start: var(--space-xs);
  direction: ltr;
}

.pass__strip i {
  inline-size: var(--w, 2px);
  background-color: var(--c-ink);
  opacity: 0.85;
}
