/* Baylor Woods — the first banner, 2017–2020. Per-boss art layer (BUILD-PLAN C6).
   Varnish Black ground with antique-gold hairlines, one warm practical light, a sixteen-mark strip
   at the base with fifteen lit (the streak) and the sixteenth dark. Era treatment: a past president,
   never a current peer. Motifs: baylor-woods/hairlines.svg, baylor-woods/marks.svg (no text, no faces). */

body[data-manager-slug="baylor-woods"] {
  --team-field: #111214;
  --team-band: #D4B67A;
  --team-accent: #D4B67A;
  --team-accent-2: #F4ECD8;
  --team-light: #F4ECD8;
  --team-ink: #050506;
  --boss-ground: radial-gradient(90% 70% at 24% 18%, rgba(212, 182, 122, .22) 0%, rgba(17, 18, 20, .7) 40%, rgba(12, 13, 16, 0) 74%);
  --boss-motif: url("baylor-woods/hairlines.svg");
  --boss-motif-edge: url("baylor-woods/marks.svg");
  --boss-rule: rgba(212, 182, 122, .5);
}

/* ---------- hero ground: varnish black, one warm light, gold hairlines; the mark strip at the base ---------- */
body[data-manager-slug="baylor-woods"] .pt-b-hero { position: relative; isolation: isolate; }
body[data-manager-slug="baylor-woods"] .pt-b-hero::before {
  content: "";
  position: absolute;
  inset: -32px -24px -24px -24px;
  z-index: -1;
  border-radius: 28px;
  background: var(--boss-motif) center / cover no-repeat, var(--boss-ground);
  pointer-events: none;
}
body[data-manager-slug="baylor-woods"] .pt-b-hero::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -14px;
  height: 14px;
  z-index: -1;
  background: var(--boss-motif-edge) left center / auto 14px no-repeat;
  opacity: .9;
  pointer-events: none;
}

/* ---------- portrait rim: old gold, a framed print ---------- */
body[data-manager-slug="baylor-woods"] .pt-b-portrait {
  border-color: rgba(212, 182, 122, .55);
  box-shadow: 0 0 0 1px rgba(212, 182, 122, .22), 0 30px 60px -30px rgba(0, 0, 0, 1);
}

/* ---------- numerals in Old Gold; secondary labels in Banner Cream ---------- */
body[data-manager-slug="baylor-woods"] .pt-b-c-n,
body[data-manager-slug="baylor-woods"] .pt-b-now-card-n,
body[data-manager-slug="baylor-woods"] .pt-b-fact-n,
body[data-manager-slug="baylor-woods"] .pt-b-numeral,
body[data-manager-slug="baylor-woods"] .pt-b-ch-fig-n { color: var(--team-accent); }
body[data-manager-slug="baylor-woods"] .pt-eb-ac { color: var(--team-accent); }
body[data-manager-slug="baylor-woods"] .pt-b-badge-ac { background: var(--team-accent); color: var(--team-ink); }
body[data-manager-slug="baylor-woods"] .pt-b-ch-eyebrow,
body[data-manager-slug="baylor-woods"] .pt-b-ch-stamp { color: var(--team-accent-2); }

/* ---------- chapter rules: a double gold hairline per chapter head, the trophy-room register ---------- */
body[data-manager-slug="baylor-woods"] .pt-sec-head,
body[data-manager-slug="baylor-woods"] .pt-b-ch-head { border-top: 1px solid var(--boss-rule); box-shadow: inset 0 3px 0 -2px var(--boss-rule); }
body[data-manager-slug="baylor-woods"] .pt-b-ch[data-layout="ledger"] tbody tr,
body[data-manager-slug="baylor-woods"] .pt-b-ch[data-layout="timeline"] tbody tr { border-color: rgba(212, 182, 122, .22); }
body[data-manager-slug="baylor-woods"] .pt-b-ch[data-layout="timeline"] tbody tr:first-child td:last-child { color: var(--team-accent); font-weight: 700; }
body[data-manager-slug="baylor-woods"] .pt-b-ch .pt-card { border-color: rgba(212, 182, 122, .2); }
body[data-manager-slug="baylor-woods"] .pt-b-ch .pt-win { color: var(--team-accent); }

/* ---------- motion: the hairlines fade up, the marks fill once; static under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  body[data-manager-slug="baylor-woods"] .pt-b-hero::before { animation: bw-lines 1200ms cubic-bezier(.2, .8, .2, 1) both; }
  body[data-manager-slug="baylor-woods"] .pt-b-hero::after { animation: bw-marks 900ms 300ms cubic-bezier(.16, 1, .3, 1) both; transform-origin: left center; }
  @keyframes bw-lines { from { opacity: 0; } to { opacity: 1; } }
  @keyframes bw-marks { from { opacity: 0; transform: scaleX(.2); } to { opacity: .9; transform: none; } }
}

@media (max-width: 767px) {
  body[data-manager-slug="baylor-woods"] .pt-b-hero::before { inset: -20px -16px -16px -16px; border-radius: 20px; }
  body[data-manager-slug="baylor-woods"] .pt-b-hero::after { left: 16px; right: 16px; bottom: -10px; height: 10px; background-size: auto 10px; }
}
