/* Page-specific additive styles for talent-stack.html
   Shared .talent-* base lives in styles.css; this file makes the stack *read* as a stack. */

/* Clear sticky header when jumping to stack anchors */
html {
  scroll-padding-top: 5.5rem;
}

#stack .section-head {
  max-width: 40rem;
}

/* Centered taper: thin top → thick foundation */
.talent-stack {
  align-items: center;
  max-width: 48rem;
  margin-inline: auto;
  position: relative;
}

/* Soft vertical spine behind the stack */
.talent-stack::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(201, 162, 39, 0.15),
    rgba(201, 162, 39, 0.45) 55%,
    rgba(201, 162, 39, 0.7)
  );
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.talent-layer {
  width: 100%;
  box-sizing: border-box;
  z-index: 1;
}

/* Progressive width (Layer 8 thinnest → Layer 1 foundation) */
.talent-stack .talent-layer:nth-child(1) { width: 72%; }
.talent-stack .talent-layer:nth-child(2) { width: 76%; }
.talent-stack .talent-layer:nth-child(3) { width: 80%; }
.talent-stack .talent-layer:nth-child(4) { width: 84%; }
.talent-stack .talent-layer:nth-child(5) { width: 88%; }
.talent-stack .talent-layer:nth-child(6) { width: 92%; }
.talent-stack .talent-layer:nth-child(7) { width: 96%; }
.talent-stack .talent-layer:nth-child(8) { width: 100%; }

.talent-layer + .talent-layer {
  margin-top: -0.85rem;
}

/* Thinnest plate: less mass */
.talent-layer--thin {
  padding: 0.85rem 1.15rem 0.95rem;
  opacity: 0.9;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* Foundation plate: more mass */
.talent-layer--base {
  padding: 1.55rem 1.6rem 1.65rem;
  border-width: 1.5px;
  border-color: rgba(201, 162, 39, 0.55);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.16), transparent 55%),
    var(--bg-card);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

.talent-layer--base .talent-layer-meta {
  color: var(--accent-strong);
}

.talent-layer--base h3 {
  font-size: 1.32rem;
}

.talent-layer--base p {
  color: var(--text);
  font-size: 1.02rem;
}

/* Subtle depth ramp on mid layers */
.talent-stack .talent-layer:nth-child(n+5):not(.talent-layer--base) {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

/* Cross-link row under stack / contact */
.talent-xlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}

.talent-xlinks a {
  color: var(--accent-strong);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  font-size: 0.95rem;
}

.talent-xlinks a:hover {
  border-bottom-color: var(--accent-strong);
}

/* Read-direction hint */
.talent-stack-hint {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .talent-stack .talent-layer:nth-child(1) { width: 86%; }
  .talent-stack .talent-layer:nth-child(2) { width: 88%; }
  .talent-stack .talent-layer:nth-child(3) { width: 90%; }
  .talent-stack .talent-layer:nth-child(4) { width: 92%; }
  .talent-stack .talent-layer:nth-child(5) { width: 94%; }
  .talent-stack .talent-layer:nth-child(6) { width: 96%; }
  .talent-stack .talent-layer:nth-child(7) { width: 98%; }
  .talent-stack .talent-layer:nth-child(8) { width: 100%; }

  .talent-stack::before {
    display: none;
  }
}


/* —— R2: foundation stats + tighter plates —— */
.talent-agency-group {
  margin: 0.85rem 0 0.9rem;
  padding: 0.95rem 1.05rem 1.05rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.08);
}

.talent-agency-label {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--accent-strong);
  line-height: 1.25;
}

.talent-agency-lead {
  margin: 0.35rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 38rem;
}

.talent-agency-group .talent-stats {
  margin: 0;
}

.talent-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin: 0.85rem 0 0.9rem;
  padding: 0;
  list-style: none;
}

.talent-stats li {
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.1);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.talent-stats strong {
  color: var(--accent-strong);
  font-weight: 700;
}

/* Number badge as left rail inside each plate */
.talent-layer {
  padding-left: 1.45rem;
}

.talent-layer-meta {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

/* Stronger mobile taper so the metaphor still reads on phone */
@media (max-width: 720px) {
  .talent-stack .talent-layer:nth-child(1) { width: 78%; }
  .talent-stack .talent-layer:nth-child(2) { width: 81%; }
  .talent-stack .talent-layer:nth-child(3) { width: 84%; }
  .talent-stack .talent-layer:nth-child(4) { width: 87%; }
  .talent-stack .talent-layer:nth-child(5) { width: 90%; }
  .talent-stack .talent-layer:nth-child(6) { width: 93%; }
  .talent-stack .talent-layer:nth-child(7) { width: 96%; }
  .talent-stack .talent-layer:nth-child(8) { width: 100%; }

  .talent-stats {
    gap: 0.35rem;
  }

  .talent-stats li {
    font-size: 0.8rem;
    padding: 0.3rem 0.55rem;
  }
}


/* —— R3: thin vs base contrast + motion —— */
.talent-layer--thin h3 {
  font-size: 1.05rem;
}

.talent-layer--thin p {
  font-size: 0.92rem;
}

.talent-layer--thin .talent-layer-meta {
  font-size: 0.72rem;
}

@media (prefers-reduced-motion: reduce) {
  .talent-layer {
    transition: none;
  }
  .talent-layer:hover {
    transform: none;
  }
}

/* —— Expand: hero quote + named talent quals —— */
.talent-quote--hero {
  text-align: center;
  border-left: none;
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.6rem;
  max-width: 40rem;
  margin-inline: auto;
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.14), transparent 70%),
    var(--bg-card);
}

.talent-quote--hero .talent-quote-line {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}

.talent-quote--hero .talent-quote-line + .talent-quote-line {
  margin-top: 0.15rem;
}

.talent-quote--hero footer {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
}

.talent-quote-aside {
  margin: 0.75rem auto 0;
  max-width: 40rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.talent-quote-note {
  margin-inline: auto;
  text-align: left;
}

/* Named / qualified talents inside each plate */
.talent-quals {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.talent-quals li {
  margin: 0;
  padding: 0.45rem 0.7rem 0.5rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.talent-quals strong {
  color: var(--text);
  font-weight: 600;
}

.talent-quals--base li {
  border-color: rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.07);
  color: var(--text);
  font-size: 0.94rem;
}

/* Layers carry more content now — ease overlap so quals stay readable */
.talent-layer + .talent-layer {
  margin-top: -0.45rem;
}

.talent-layer {
  padding-top: 1.25rem;
  padding-bottom: 1.3rem;
}

/* Drop "thin" weakness framing — top plate matches stack weight */
.talent-layer--top {
  opacity: 1;
}

@media (max-width: 720px) {
  .talent-quote--hero {
    padding: 1.5rem 1.15rem 1.35rem;
  }

  .talent-quals li {
    font-size: 0.86rem;
    padding: 0.4rem 0.6rem;
  }
}


/* —— Unique stack / Cornerstone × Commercialize equation —— */
.talent-equation {
  max-width: 44rem;
  margin-inline: auto;
  padding: 1.35rem 1.5rem 1.45rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.12), transparent 70%),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.talent-equation h2 {
  margin: 0.2rem 0 0.75rem;
  font-size: 1.35rem;
}

.talent-equation > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 40rem;
}

.talent-equation-line {
  margin: 0 0 0.85rem !important;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 0 8px 8px 0;
  color: var(--text) !important;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.45;
}

.talent-equation-line strong {
  color: var(--accent-strong);
  font-family: var(--sans, inherit);
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0.02em;
}

.talent-equation .talent-callout-note {
  margin: 0;
}

.talent-quote-fold {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .talent-equation {
    padding: 1.15rem 1.15rem 1.25rem;
  }

  .talent-equation-line {
    font-size: 1rem;
    padding: 0.75rem 0.85rem;
  }
}


/* Human layer under unique-stack equation (communication / sales / speaking / relationships) */
.talent-equation-human-label {
  margin: 0.15rem 0 0.55rem !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.talent-equation-human {
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.talent-equation-human li {
  margin: 0;
  padding: 0.4rem 0.7rem 0.45rem;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.talent-equation-human strong {
  color: var(--text);
  font-weight: 600;
}


/* —— Summary of talents (replaces One line) —— */
.talent-summary {
  max-width: 44rem;
  padding: 1.25rem 1.45rem 1.35rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.talent-summary-lead {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.4;
  color: var(--text);
}

.talent-summary > p:not(.eyebrow):not(.talent-summary-lead) {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.5;
}

.talent-summary > p:last-child {
  margin-bottom: 0;
}

.talent-summary strong {
  color: var(--text);
}
