/* Samuel Waldron — The Camdalorian, 2017–2020. Per-boss art layer (BUILD-PLAN C6).
   Command Navy ground with riveted iron hairlines and one ember rivet; a three-frame filmstrip along the
   base (2018, 2019, 2020) with the middle frame in silver for the one final. Matte iron, never polished;
   ember stays under a tenth of any surface. Era treatment: a past president, played straight.
   Motifs: samuel-waldron/rivets.svg, samuel-waldron/frames.svg (hand-authored, no text, no faces, no marks). */

body[data-manager-slug="samuel-waldron"] {
  --team-field: #0C2340;
  --team-band: #9AA3AE;
  --team-accent: #9AA3AE;
  --team-accent-2: #E07A3F;
  --team-light: #EEF1F4;
  --team-ink: #050F1D;
  --boss-ground: radial-gradient(110% 80% at 70% 16%, rgba(12, 35, 64, .74) 0%, rgba(12, 35, 64, .3) 46%, rgba(12, 13, 16, 0) 76%);
  --boss-motif: url("samuel-waldron/rivets.svg");
  --boss-motif-edge: url("samuel-waldron/frames.svg");
  --boss-rule: rgba(154, 163, 174, .45);
}

/* ---------- hero ground: navy, iron hairlines on the copy side, the filmstrip at the base ---------- */
body[data-manager-slug="samuel-waldron"] .pt-b-hero { position: relative; isolation: isolate; }
body[data-manager-slug="samuel-waldron"] .pt-b-hero::before {
  content: "";
  position: absolute;
  inset: -32px -24px -24px -24px;
  z-index: -1;
  border-radius: 28px;
  background: var(--boss-motif) right 30% / 1600px auto no-repeat, var(--boss-ground);
  pointer-events: none;
}
body[data-manager-slug="samuel-waldron"] .pt-b-hero::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -26px;
  width: 180px;
  height: 28px;
  z-index: -1;
  background: var(--boss-motif-edge) right center / 180px 28px no-repeat;
  opacity: .9;
  pointer-events: none;
}

/* ---------- portrait rim: iron on navy ---------- */
body[data-manager-slug="samuel-waldron"] .pt-b-portrait {
  border-color: rgba(154, 163, 174, .45);
  box-shadow: 0 0 0 1px rgba(154, 163, 174, .14), 0 30px 60px -30px rgba(5, 15, 29, 1);
}

/* ---------- numerals in Iron; eyebrows and stamps carry the one ember note; silver for the 2019 final ---------- */
body[data-manager-slug="samuel-waldron"] .pt-b-c-n,
body[data-manager-slug="samuel-waldron"] .pt-b-now-card-n,
body[data-manager-slug="samuel-waldron"] .pt-b-fact-n,
body[data-manager-slug="samuel-waldron"] .pt-b-numeral,
body[data-manager-slug="samuel-waldron"] .pt-b-ch-fig-n { color: var(--team-accent); }
body[data-manager-slug="samuel-waldron"] .pt-eb-ac { color: var(--team-accent); }
body[data-manager-slug="samuel-waldron"] .pt-b-badge-ac { background: var(--team-accent); color: var(--team-ink); }
body[data-manager-slug="samuel-waldron"] .pt-b-ch-eyebrow,
body[data-manager-slug="samuel-waldron"] .pt-b-ch-stamp { color: var(--team-accent-2); }
body[data-manager-slug="samuel-waldron"] #ch-the-2019-final .pt-b-ch-fig-n:first-child { color: #BFC8D2; }
body[data-manager-slug="samuel-waldron"] .pt-b-ch .pt-win { color: var(--team-light); }

/* ---------- chapter rules: a double iron hairline per chapter head, riveted; iron ledger rules ---------- */
body[data-manager-slug="samuel-waldron"] .pt-sec-head,
body[data-manager-slug="samuel-waldron"] .pt-b-ch-head { border-top: 1px solid var(--boss-rule); box-shadow: inset 0 4px 0 -3px var(--boss-rule); }
body[data-manager-slug="samuel-waldron"] .pt-b-ch[data-layout="ledger"] tbody tr,
body[data-manager-slug="samuel-waldron"] .pt-b-ch[data-layout="timeline"] tbody tr { border-color: rgba(154, 163, 174, .22); }
body[data-manager-slug="samuel-waldron"] .pt-b-ch[data-layout="timeline"] tbody tr:nth-child(3) td:last-child { color: #BFC8D2; font-weight: 700; }
body[data-manager-slug="samuel-waldron"] .pt-b-ch .pt-card { border-color: rgba(154, 163, 174, .2); }

/* ---------- motion: the hairlines fade up, the filmstrip slides to the silver frame; static under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  body[data-manager-slug="samuel-waldron"] .pt-b-hero::before { animation: sw-lines 1100ms cubic-bezier(.2, .8, .2, 1) both; }
  body[data-manager-slug="samuel-waldron"] .pt-b-hero::after { animation: sw-strip 900ms cubic-bezier(.16, 1, .3, 1) 320ms both; }
  @keyframes sw-lines { from { opacity: 0; } to { opacity: 1; } }
  @keyframes sw-strip { from { opacity: 0; transform: translateX(24px); } to { opacity: .9; transform: none; } }
}

@media (max-width: 767px) {
  body[data-manager-slug="samuel-waldron"] .pt-b-hero::before { inset: -20px -16px -16px -16px; border-radius: 20px; background-size: 1100px auto, auto; background-position: right 24%, center; }
  body[data-manager-slug="samuel-waldron"] .pt-b-hero::after { right: 6px; bottom: -18px; width: 128px; height: 20px; background-size: 128px 20px; }
}
