/* ============================================================
   Beyond Beauty Academy × Glowtech — Intro / "Meet" section
   Section 7. Two media+text rows:
     1. The instructor — Inbar Parchi
     2. The venue — Beyond Beauty Academy / Glowtech
   .intro is the query container → reflows per artboard width.
   ============================================================ */

.intro {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  container-type: inline-size;
  font-family: var(--font-sans);
  direction: rtl;
  text-align: right;
  background: var(--gt-cream);
  color: var(--gt-ink);
}
.intro *, .intro *::before, .intro *::after { box-sizing: border-box; }

.intro .blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.intro .blob-1 { width: 380px; height: 380px; background: #f3d5de; top: -160px; left: -120px; opacity: .5; }
.intro .blob-2 { width: 320px; height: 320px; background: #edc9d3; bottom: 6%; right: -140px; opacity: .4; }

.intro .inner {
  position: relative; z-index: 1;
  padding: 64px 72px 70px;
  display: flex; flex-direction: column;
  gap: 64px;
}

/* ---- shared eyebrow ---- */
.intro .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 800; letter-spacing: .04em;
  color: var(--gt-burgundy); margin-bottom: 16px;
}
.intro .eyebrow .line { width: 28px; height: 2px; background: var(--gt-burgundy); border-radius: 2px; opacity: .55; }

/* ---- row layout ---- */
.intro .row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
}
.intro .row.flip .media { order: 2; }
.intro .row.flip .body { order: 1; }

.intro .body h2 {
  font-size: 38px; font-weight: 800; line-height: 1.14;
  letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance;
}
.intro .body h2 em { font-style: normal; color: var(--gt-burgundy); }
.intro .body p {
  font-size: 17.5px; line-height: 1.62; color: var(--gt-body);
  margin: 0 0 16px; max-width: 580px;
}
.intro .body p:last-of-type { margin-bottom: 0; }
.intro .body p b { color: var(--gt-burgundy-ink); font-weight: 700; }

/* ---- credential chips ---- */
.intro .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.intro .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--gt-line);
  border-radius: var(--r-pill); padding: 9px 16px;
  font-size: 14px; font-weight: 600; color: var(--gt-ink);
  box-shadow: var(--shadow-sm);
}
.intro .chip svg { width: 16px; height: 16px; color: var(--gt-burgundy); flex: none; }

/* ---- media (portrait / venue photo) ---- */
.intro .media { position: relative; }
.intro .frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(155deg, #ffedf2 0%, #f6d8e0 55%, #fff6e8 100%);
  box-shadow: 0 26px 60px rgba(184,51,106,.24), 0 4px 12px rgba(110,28,64,.10);
}
.intro .frame image-slot { display: block; width: 100%; }
.intro .frame.portrait image-slot { height: 480px; }
.intro .frame.wide image-slot { height: 430px; }

/* floating name plate on the instructor portrait */
.intro .nameplate {
  position: absolute; right: -16px; bottom: 26px;
  background: var(--gt-ink); color: var(--gt-cream);
  border-radius: var(--r-lg); padding: 14px 22px;
  box-shadow: var(--shadow-pop);
}
.intro .nameplate .nm { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.intro .nameplate .rl { font-size: 13px; font-weight: 600; color: var(--gt-pink); margin-top: 6px; }

/* divider between the two rows */
.intro .divider { height: 1px; background: var(--gt-line); border: 0; margin: 0; }

/* ============================================================
   MOBILE — ≤ 560px artboard width
   ============================================================ */
@container (max-width: 560px) {
  .intro .blob-1 { width: 240px; height: 240px; }
  .intro .blob-2 { width: 220px; height: 220px; }
  .intro .inner { padding: 40px 22px 44px; gap: 44px; }
  .intro .row { grid-template-columns: 1fr; gap: 26px; }
  /* image first on mobile for both rows */
  .intro .row .media { order: 0; }
  .intro .row .body { order: 1; }
  .intro .body h2 { font-size: 27px; line-height: 1.18; }
  .intro .body p { font-size: 16px; }
  .intro .frame.portrait image-slot { height: 380px; }
  .intro .frame.wide image-slot { height: 300px; }
  .intro .nameplate { right: 14px; bottom: 16px; padding: 11px 18px; }
  .intro .nameplate .nm { font-size: 19px; }
  .intro .chips { gap: 8px; margin-top: 20px; }
  .intro .chip { font-size: 13px; padding: 8px 13px; }
}
