/* Wills McAdams — COMEBACK SZN. Per-boss art layer (BUILD-PLAN C6).
   Deep Green ground lit from the portrait side and again behind the elevator (three radials, each
   fading to nothing at or inside the panel's edges; the motif carries no wash of its own), a cream hairline rope on the
   left edge only, and the record elevator on the right: a rail with rungs, the carriage parked at the top. Rescue Gold
   carries type and the badge; it never fills a surface. Every rule is scoped to this boss's body;
   layout primitives, font sizes and volt are untouched.
   Motifs: wills-mcadams/rope.svg, wills-mcadams/ladder.svg (hand-authored, no text, no faces). */

body[data-manager-slug="wills-mcadams"] {
  --team-field: #1E4B2D;
  --team-band: #F2C84B;
  --team-accent: #F2C84B;
  --team-accent-2: #F1E9D2;
  --team-light: #F1E9D2;
  --team-ink: #0C2416;
  --boss-ground: radial-gradient(21% 50% at 21% 52%, rgba(30, 75, 45, .7) 0%, rgba(30, 75, 45, .34) 44%, rgba(12, 13, 16, 0) 100%), radial-gradient(36% 50% at 40% 56%, rgba(30, 75, 45, .5) 0%, rgba(30, 75, 45, .2) 46%, rgba(12, 13, 16, 0) 100%), radial-gradient(30% 50% at 70% 50%, rgba(30, 75, 45, .58) 0%, rgba(30, 75, 45, .26) 42%, rgba(12, 13, 16, 0) 100%);
  --boss-motif: url("wills-mcadams/ladder.svg");
  --boss-motif-edge: url("wills-mcadams/rope.svg");
  --boss-rule: rgba(241, 233, 210, .26);
}

/* ---------- hero ground: green from the portrait side, the elevator on the right, the rope on the left edge ---------- */
body[data-manager-slug="wills-mcadams"] .pt-b-hero {
  position: relative;
  isolation: isolate;
}
body[data-manager-slug="wills-mcadams"] .pt-b-hero::before {
  content: "";
  position: absolute;
  inset: -32px -24px -24px -24px;
  z-index: -1;
  border-radius: 28px;
  background: var(--boss-motif) right 50% / 1600px auto no-repeat, var(--boss-ground);
  pointer-events: none;
}
body[data-manager-slug="wills-mcadams"] .pt-b-hero::after {
  content: "";
  position: absolute;
  top: -32px;
  left: -8px;
  bottom: -24px;
  width: 48px;
  z-index: -1;
  background: var(--boss-motif-edge) center / 48px auto repeat-y;
  opacity: .85;
  pointer-events: none;
}

/* ---------- portrait rim: gold on green ---------- */
body[data-manager-slug="wills-mcadams"] .pt-b-portrait {
  border-color: rgba(242, 200, 75, .4);
  box-shadow: 0 0 0 1px rgba(242, 200, 75, .16), 0 30px 60px -30px rgba(30, 75, 45, .95);
}

/* ---------- numerals in Rescue Gold; secondary in Cream; the badge is gold with Hull Ink type ---------- */
body[data-manager-slug="wills-mcadams"] .pt-b-c-n,
body[data-manager-slug="wills-mcadams"] .pt-b-now-card-n,
body[data-manager-slug="wills-mcadams"] .pt-b-fact-n,
body[data-manager-slug="wills-mcadams"] .pt-b-numeral,
body[data-manager-slug="wills-mcadams"] .pt-b-ch-fig-n { color: var(--team-accent); }
body[data-manager-slug="wills-mcadams"] .pt-eb-ac { color: var(--team-accent); }
body[data-manager-slug="wills-mcadams"] .pt-b-badge-ac { background: var(--team-accent); color: var(--team-ink); }
body[data-manager-slug="wills-mcadams"] .pt-b-ch-eyebrow,
body[data-manager-slug="wills-mcadams"] .pt-b-ch-stamp { color: var(--team-accent-2); }

/* ---------- chapter rules: a cream hairline per chapter head; Comeback Green on ledger rules and the timeline ---------- */
body[data-manager-slug="wills-mcadams"] .pt-sec-head,
body[data-manager-slug="wills-mcadams"] .pt-b-ch-head { border-top: 1px solid var(--boss-rule); }
body[data-manager-slug="wills-mcadams"] .pt-b-ch[data-layout="ledger"] tbody tr,
body[data-manager-slug="wills-mcadams"] .pt-b-ch[data-layout="versus"] tbody tr { border-color: rgba(47, 143, 85, .34); }
body[data-manager-slug="wills-mcadams"] .pt-b-ch[data-layout="numerals"] .pt-card,
body[data-manager-slug="wills-mcadams"] .pt-b-ch[data-layout="versus"] .pt-card { border-color: rgba(242, 200, 75, .2); }
body[data-manager-slug="wills-mcadams"] .pt-b-tl::before { background: rgba(47, 143, 85, .7); }
body[data-manager-slug="wills-mcadams"] .pt-b-tl-step { border-color: rgba(47, 143, 85, .3); }
body[data-manager-slug="wills-mcadams"] .pt-b-ch .pt-win { color: var(--team-accent); }

/* ---------- motion: the elevator rises once, the rope fades in; nothing moves under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  body[data-manager-slug="wills-mcadams"] .pt-b-hero::before { animation: wm-rise 1200ms cubic-bezier(.2, .8, .2, 1) both; }
  body[data-manager-slug="wills-mcadams"] .pt-b-hero::after { animation: wm-rope 900ms cubic-bezier(.16, 1, .3, 1) 180ms both; }
  @keyframes wm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes wm-rope { from { opacity: 0; transform: translateY(10px); } to { opacity: .85; transform: none; } }
}

@media (max-width: 767px) {
  /* The elevator hugs the right edge at phone widths so the carriage never sits behind the eyebrow (QA, 2026-10-24). */
  body[data-manager-slug="wills-mcadams"] .pt-b-hero::before { inset: -20px -16px -16px -16px; border-radius: 20px; background-size: 1100px auto, auto; background-position: right -56px top 12%, center; }
  body[data-manager-slug="wills-mcadams"] .pt-b-hero::after { left: -6px; width: 28px; background-size: 28px auto; }
}
