/*=======================================================================
    About Section 
  ====================================================================== */
/* ---- About (bubbles) ---- */
.about__stage {
  position: relative;
  min-height: 100vh;
  padding: clamp(2rem, 6vh, 4rem) var(--gutter) 6rem;
  overflow: hidden;
  /* background comes from the shared page backdrop in base.css */
}

/* 2x2 grid of cards, reserved space from the start */
.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  gap: 40px;
  justify-content: center;
  margin-top: clamp(2rem, 6vh, 4rem);
}
.about-card {
  min-height: 210px;
  padding: 28px 32px;
  border-radius: 24px;
  opacity: 0;
  visibility: hidden; /* GSAP reveals with autoAlpha */
}
.about-card.glass-card {
  background: rgba(255, 255, 255, 0.55);
}


/* Typography & Hierarchy Improvements */
.about-card .card__title {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.about-card .card__content {
  font-size: 1.05rem;
  line-height: 1.5;
}


.card__list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card__list li {
  font-size: 1rem;
}

/* Subtle badge accent for 'Open to full-time roles' */
.badge-status.badge-lavender{
  background: var(--lavender);
}
.badge-status.badge-mint {
  background: var(--mint);
}
.badge-status {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  background: var(--accent);
  color: var(--text);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
}
.about-card p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

/* Education: stacked badge lines, compact spacing */
#card-education .card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
#card-education .card__line,
#card-education .card__subtext {
  line-height: 1.3;
}
#card-education .badge-status {
  margin-top: 0;
  max-width: 100%;
  padding: 4px 12px;
  line-height: 1.35;
  overflow-wrap: anywhere; /* long text wraps inside the pill instead of overflowing */
}
#card-education .card__subtext .badge-status {
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* bubbles */
.bubble {
  position: absolute;
  z-index: 3;
  left: calc(var(--x) - var(--size) / 2); /* no CSS transform, GSAP owns it */
  top: calc(var(--y) - var(--size) * 0.48);
  width: var(--size);
  aspect-ratio: 1 / 0.96;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.bubble:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 6px;
  border-radius: 50%;
}

.bubble__img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 22px 30px rgba(244, 80, 150, 0.28));
}
.bubble__label,
.bubble__hint {
  position: absolute;
  left: 12%;
  right: 12%;
  text-align: center;
}
.bubble__label {
  top: 42%;
  font-family: var(--font-pixel);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.05;
}
.bubble__hint {
  top: 66%;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* pop burst + stars (cloned into each bubble) */
.bubble__fx {
  position: absolute;
  inset: -30%;
  pointer-events: none;
}
.fx__pop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.fx__star {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14%;
  opacity: 0;
}
/* bubble positions (desktop): --x/--y = center, as % of .about__stage */
.bubble[data-card="card-education"] { --x: 21%; --y: 52%; --size: clamp(190px, 23vw, 330px); }
.bubble[data-card="card-mission"]   { --x: 45%; --y: 78%; --size: clamp(170px, 19vw, 280px); }
.bubble[data-card="card-now"]       { --x: 68%; --y: 42%; --size: clamp(190px, 22vw, 320px); }
.bubble[data-card="card-hobbies"]   { --x: 86%; --y: 78%; --size: clamp(160px, 18vw, 270px); }

/* ==========================================================================
   About — small screens
   ========================================================================== */
@media (max-width: 700px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 1.5rem;
  }

  .about-card {
    min-height: 160px;
    padding: 20px 22px;
  }

  .about-card p {
    font-size: 1rem;
  }

  #card-education .card__content {
    gap: 6px;
  }
  #card-education .badge-status {
    font-size: 0.85rem;
    padding: 3px 10px;
  }

  /* zig-zag down the stacked cards instead of one row */
  .bubble[data-card="card-education"] { --x: 32%; --y: 28%; --size: clamp(130px, 42vw, 190px); }
  .bubble[data-card="card-mission"]   { --x: 68%; --y: 46%; --size: clamp(130px, 42vw, 190px); }
  .bubble[data-card="card-now"]       { --x: 32%; --y: 64%; --size: clamp(130px, 42vw, 190px); }
  .bubble[data-card="card-hobbies"]   { --x: 68%; --y: 82%; --size: clamp(130px, 42vw, 190px); }

  .bubble__label {
    font-size: 1.1rem;
  }
  .bubble__hint {
    font-size: 0.65rem;
  }
}
