/* ============================================
   W14 — Issue-specific overrides
   Dark lead section with Richard avatar + audio player.
   No orbital animation this week.
   ============================================ */

/* Lead: avatar video above title, extra breathing room */
.lead-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-6);
  display: block;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  mix-blend-mode: normal;
  opacity: 0.9;
}

.lead .lead-content {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* Tighten the dates-to-quote rhythm for w14 */
.lead .lead-dates {
  margin-bottom: var(--space-10);
}

.lead .lead-quote {
  margin-bottom: var(--space-10);
}

/* Wider quote measure on desktop */
@media (min-width: 720px) {
  .lead .lead-quote {
    max-width: 640px;
  }
}

/* ============================================
   Richard's Take avatar with enso ring
   Wrapper holds both ring + video. Ring fills
   the wrapper (via cropped viewBox). Video sits
   inset so there's visible air between them.
   ============================================ */
.take-avatar-wrap {
  position: relative;
  float: left;
  width: 227px;
  height: 227px;
  margin: var(--space-1) var(--space-6) var(--space-2) 0;
}

/* Circular mask — overflow hidden clips whatever the video does */
.take-avatar-mask {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg);
  z-index: 0;
}

.take-avatar-mask .take-avatar {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  float: none;
  border-radius: 0;
  object-fit: cover;
  mix-blend-mode: multiply;
  transform: scale(1.15);
  transform-origin: center 45%;
}

/* Enso ring sits on top of the mask */
.take-avatar-enso {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.take-avatar-enso path {
  fill: none;
  stroke: #9a4a5a;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  .take-avatar-wrap {
    float: none;
    display: block;
    margin: 0 auto var(--space-6);
    width: 178px;
    height: 178px;
  }
  .take-avatar-mask {
    inset: 14px;
  }
}

@media (max-width: 600px) {
  .lead-avatar { width: 120px; height: 120px; }
  .lead .lead-content { padding-top: var(--space-10); padding-bottom: var(--space-10); }
}

/* ============================================
   Language switcher — pill bar in the lead
   ============================================ */
.lang-switcher {
  display: inline-flex;
  gap: 1px;
  margin-bottom: var(--space-10);
  padding: 3px;
  background: rgba(232, 226, 216, 0.06);
  border: 1px solid rgba(232, 226, 216, 0.12);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.lang-switcher a {
  padding: 6px 14px;
  border-radius: 999px;
  border-bottom: none;
  color: rgba(232, 226, 216, 0.5);
  transition: background 0.15s, color 0.15s;
}

.lang-switcher a:hover {
  color: rgba(232, 226, 216, 0.9);
  background: rgba(232, 226, 216, 0.06);
  border-bottom: none;
}

.lang-switcher a[aria-current="page"] {
  background: rgba(232, 226, 216, 0.12);
  color: rgba(232, 226, 216, 0.95);
}

