/* ═══════════════════════════════════════════════════
   SINGLE-TEACHER.CSS
   ═══════════════════════════════════════════════════ */

/* BREADCRUMB */
.breadcrumb-wrap {
  padding: clamp(6rem,10vw,9rem) clamp(2rem,5.5vw,5.5rem) 0;
  max-width: 1280px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(13,13,13,.40);
}
.breadcrumb a { color: rgba(13,13,13,.55); transition: color .2s var(--e1); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb svg { opacity: .35; }
.breadcrumb-current { color: var(--black); font-weight: 600; }

/* PROFILE LAYOUT */
.profile-section {
  padding: clamp(2rem,4vw,3rem) clamp(2rem,5.5vw,5.5rem) clamp(5rem,8vw,7rem);
}
.profile-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: start;
}

/* SIDEBAR */
.p-sidebar { position: sticky; top: 100px; }
.p-avatar-wrap {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--surf);
  border: 1px solid rgba(13,13,13,.07);
  aspect-ratio: 3/4;
  position: relative;
}
.p-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.p-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 80px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.18);
}
.p-native-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--black);
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 9999px;
  border: 1px solid rgba(245,197,24,.25);
}
.p-b2b-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 9999px;
}
.p-sidebar-name {
  font-family: var(--fd);
  font-size: clamp(28px,3vw,36px);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--black);
  line-height: .92;
  margin-bottom: 6px;
}
.p-sidebar-role {
  font-size: 13px;
  font-weight: 500;
  color: rgba(13,13,13,.55);
  margin-bottom: 16px;
  line-height: 1.4;
}
.p-origin-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.p-origin { font-size: 13px; font-weight: 600; color: rgba(13,13,13,.70); }
.p-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.p-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surf);
  border-radius: 10px;
  border: 1px solid rgba(13,13,13,.06);
}
.p-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
.p-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(13,13,13,.45);
  line-height: 1.2;
}
.p-stat-val { font-size: 13px; font-weight: 700; color: var(--black); line-height: 1.3; }
.p-sidebar-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 12px 12px 20px;
  border-radius: 9999px;
  font-family: var(--fs);
  transition: background .2s, transform .15s;
  width: 100%;
  justify-content: space-between;
  text-decoration: none;
}
.p-sidebar-cta:hover { background: var(--goldd); transform: translateY(-2px); }
.p-sidebar-cta-i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(13,13,13,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform .2s var(--e1);
  flex-shrink: 0;
}
.p-sidebar-cta:hover .p-sidebar-cta-i { transform: translate(2px,-2px) scale(1.1); }

/* MAIN CONTENT */
.p-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.p-h1 {
  font-family: var(--fd);
  font-size: clamp(44px,5.5vw,76px);
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}
.p-h1 span { color: var(--gold); }
.p-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: rgba(13,13,13,.55);
  margin-bottom: 40px;
  line-height: 1.5;
}
.p-divider {
  height: 1px;
  background: rgba(13,13,13,.07);
  margin: 36px 0;
}
.p-bio-section h3 {
  font-family: var(--fd);
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 18px;
}
.p-bio p {
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(13,13,13,.72);
  margin-bottom: 18px;
}
.p-bio p:last-child { margin-bottom: 0; }

/* QUOTE BLOCK */
.p-quote-block {
  background: var(--dark);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
}
.p-quote-block::before {
  content: '"';
  font-family: var(--fd);
  font-size: 120px;
  color: var(--gold);
  opacity: .08;
  position: absolute;
  top: -10px;
  left: 12px;
  line-height: 1;
  pointer-events: none;
}
.p-quote-text {
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  position: relative;
  z-index: 1;
}
.p-quote-attr {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

/* SPECIALTIES */
.p-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(13,13,13,.35);
  margin-bottom: 14px;
  display: block;
}
.p-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.p-tag {
  font-size: 12px;
  font-weight: 600;
  color: rgba(13,13,13,.70);
  padding: 7px 14px;
  border-radius: 9999px;
  border: 1.5px solid rgba(13,13,13,.12);
  transition: all .2s var(--e1);
}
.p-tag:hover { border-color: var(--gold); color: var(--black); }
.p-tag.gold {
  background: rgba(245,197,24,.10);
  border-color: rgba(245,197,24,.35);
  color: var(--black);
  font-weight: 700;
}

/* CREDENTIALS */
.p-cred-list { list-style: none; }
.p-cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(13,13,13,.05);
  font-size: 14px;
  color: rgba(13,13,13,.72);
  font-weight: 500;
  line-height: 1.4;
}
.p-cred-list li:last-child { border-bottom: none; }
.p-cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 5px;
}

/* COURSE LINKS */
.p-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 12px;
}
.p-course-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(13,13,13,.09);
  font-size: 13px;
  font-weight: 600;
  color: rgba(13,13,13,.75);
  transition: all .22s var(--e1);
  background: var(--white);
}
.p-course-link:hover {
  border-color: var(--gold);
  color: var(--black);
  background: rgba(245,197,24,.04);
  transform: translateY(-2px);
}
.p-course-link-arr { opacity: .30; transition: opacity .2s, transform .2s var(--e1); }
.p-course-link:hover .p-course-link-arr { opacity: .80; transform: translate(2px,-2px); }

/* CTA BAND (teacher page variant) */
.p-cta-band {
  background: var(--dark);
  border-radius: 20px;
  padding: clamp(32px,5vw,48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.p-cta-band-text h3 {
  font-family: var(--fd);
  font-size: clamp(22px,2.5vw,32px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: .95;
  margin-bottom: 8px;
}
.p-cta-band-text p {
  font-size: 13px;
  color: rgba(255,255,255,.50);
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .profile-inner { grid-template-columns: 1fr; gap: 32px; }
  .p-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
  }
  .p-avatar-wrap { margin-bottom: 0; aspect-ratio: 1/1; }
}
@media (max-width: 600px) {
  .p-sidebar { grid-template-columns: 1fr; }
  .p-h1 { font-size: clamp(36px,10vw,56px); }
  .p-cta-band { flex-direction: column; align-items: flex-start; }
}
