/* ============================================================
   /bobby-featured.css — v5.17
   Featured profile showcase card + quiet pill-row for the
   "Seven full lives, in depth" section on home + people pages.

   Use case: one profile (currently Bobby) gets a large showcase
   card with portrait, badge, dates, tag, and CTA. The other six
   profiles render as a quiet pill row beneath. When a new Tier 1
   profile lands, swap the featured slug + dates + tag + portrait.
   ============================================================ */

.featured-section {
  padding: 48px 20px 56px;
  background: var(--paper-section, #F6F0E0);
  border-top: 1px solid var(--rule-soft, #E8DCBF);
  border-bottom: 1px solid var(--rule-soft, #E8DCBF);
}
.featured-section .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 8px;
}
.featured-section .eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 3.5px;
  color: var(--gold, #AE8636);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.featured-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 500;
  color: var(--ink, #1F1A14);
  margin: 0 0 8px;
  line-height: 1.15;
}
.featured-section .head-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-fade, #8C7D66);
  margin: 0 0 30px;
}
.featured-section .head-sub a {
  color: var(--maroon, #8A322A);
  border-bottom: 1px solid var(--maroon, #8A322A);
  text-decoration: none;
}

/* ===== The featured-pair wrapper (two cards side-by-side, v5.55+) ===== */
.featured-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1020px;
  margin: 0 auto 22px;
}

/* ===== The featured card ===== */
.featured-card {
  background: linear-gradient(180deg, var(--paper-light, #FFFFFF) 0%, var(--paper-section, #F6F0E0) 100%);
  border: 1px solid var(--gold, #AE8636);
  border-radius: 3px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  box-shadow: 0 3px 0 var(--gold, #AE8636), 0 12px 32px rgba(174, 134, 54, 0.13);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s ease;
}
.featured-card:hover {
  border-color: var(--maroon, #8A322A);
}
/* Inner faint hairline — letterpress feel */
.featured-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(174, 134, 54, 0.22);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}
/* Slow gold sheen passing across */
.featured-card::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%, transparent 30%,
    rgba(255, 220, 140, 0.32) 50%,
    transparent 70%, transparent 100%
  );
  animation: featured-sheen 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes featured-sheen {
  0%   { left: -60%; }
  60%  { left: 160%; }
  100% { left: 160%; }
}

.featured-portrait {
  position: relative;
  z-index: 2;
  width: 108px; height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold, #AE8636);
  box-shadow: 0 0 0 4px var(--paper, #FBF7EC), 0 6px 18px rgba(31, 26, 20, 0.18);
  background: var(--paper-section, #F6F0E0);
  flex-shrink: 0;
}
.featured-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.featured-meta {
  position: relative;
  z-index: 2;
  width: 100%;
}
.featured-eyebrow {
  display: inline-block;
  font-family: 'Cormorant SC', serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold, #AE8636);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.featured-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--ink, #1F1A14);
  line-height: 1.15;
}
.featured-he {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--ink-soft, #4F4234);
  font-style: italic;
  margin: 0 0 8px;
}
.featured-dates {
  font-family: 'Cormorant SC', serif;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  color: var(--gold, #AE8636);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.4;
}
.featured-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-soft, #4F4234);
  line-height: 1.5;
  margin: 0 0 16px;
}

.featured-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  background: var(--maroon, #8A322A);
  color: var(--paper, #FBF7EC);
  border-radius: 2px;
  font-family: 'Cormorant SC', serif;
  font-size: 12px;
  letter-spacing: 2.8px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid var(--maroon, #8A322A);
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
}
/* Periodic arrow nudge — every 3.4s, the arrow slides forward then back */
.featured-cta .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  animation: cta-arrow-nudge 3.4s ease-in-out infinite;
}
@keyframes cta-arrow-nudge {
  0%, 70%, 100% { transform: translateX(0); }
  80%           { transform: translateX(5px); }
  90%           { transform: translateX(0); }
}
/* A subtle gold shimmer that passes across the button every ~4.2s */
.featured-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%, transparent 30%,
    rgba(255, 220, 140, 0.30) 50%,
    transparent 70%, transparent 100%
  );
  animation: cta-shimmer 4.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-shimmer {
  0%   { left: -120%; }
  60%  { left: 220%; }
  100% { left: 220%; }
}
.featured-card:hover .featured-cta {
  background: var(--maroon-dark, #6B231B);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(138, 50, 42, 0.22);
}
.featured-card:hover .featured-cta .arrow {
  /* Keep the nudge animation but with a small persistent forward offset on hover */
  animation: none;
  transform: translateX(4px);
}

/* ===== Quiet row of the other six profiles ===== */
.featured-others {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 920px;
  margin: 8px auto 0;
}
.featured-others a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-light, #FFFFFF);
  border: 1px solid var(--gold-soft, #D1AB5F);
  padding: 10px 17px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink, #1F1A14);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.2s;
}
.featured-others a:hover {
  background: var(--gold-soft, #D1AB5F);
  color: var(--paper-light, #FFFFFF);
}
.featured-others a .go {
  color: var(--gold, #AE8636);
}
.featured-others a:hover .go {
  color: var(--paper-light, #FFFFFF);
}

/* ===== Tiny "Tier 1" indicator on the main 141-person grid
   ===== Two pages now have it: Bobby's card and Esther's card ===== */
.people-card[data-slug="irene-weisz"],
.people-card[data-slug="esther-weisz"] {
  position: relative;
}
.people-card[data-slug="irene-weisz"]::after,
.people-card[data-slug="esther-weisz"]::after {
  content: '';
  position: absolute;
  top: 8px; right: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold, #AE8636);
  box-shadow: 0 0 0 3px rgba(174, 134, 54, 0.28);
  animation: featured-dot 2.2s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}
/* Keep this animation defined (no badges use it anymore but the dot still does) */
@keyframes featured-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
  .featured-pair {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 14px;
  }
  .featured-card {
    padding: 24px 22px 22px;
  }
  .featured-name { font-size: 22px; }
}
