
.pl-study {
  --pl-gold: #c8a96b;
  --pl-ink: #e9edf4;
  position: relative;
  max-width: 1040px;
  margin: 2rem auto;
  color: #e9edf4;
  background:
    radial-gradient(circle at 50% 0%, rgba(78, 111, 143, .2), transparent 42%),
    linear-gradient(160deg, #111b2a 0%, #0c1320 70%);
  border: 1px solid rgba(200, 169, 107, .32);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  overflow: hidden;
}

.pl-study::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(200, 169, 107, .12);
  pointer-events: none;
}

.pl-study__header { padding: 3rem 2rem 1.4rem; text-align: center; }
.pl-study__eyebrow,
.pl-study__stage-number,
.pl-study__small-heading {
  margin: 0 0 .65rem;
  color: #ead9ad;
  font-size: .76rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.pl-study__title { margin: 0; color: #fff; font-size: clamp(2rem, 5vw, 3.35rem); font-weight: 400; line-height: 1.1; }
.pl-study__subtitle { max-width: 700px; margin: .8rem auto 0; color: #aab3c3; font-size: 1.05rem; }

/* Theme-protection rules keep headings and emphasized teaching terms legible. */
.pl-study .pl-study__title {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.pl-study .pl-study__panel h3,
.pl-study .pl-study__full h3 { color: #f7f2e8 !important; }
.pl-study .pl-study__prose strong,
.pl-study .pl-study__deeper-content strong,
.pl-study .pl-study__full-deeper strong {
  color: #ead9ad !important;
  font-weight: 600;
}

.pl-study__mode { display: flex; justify-content: center; gap: .5rem; padding: 0 1rem 2rem; }
.pl-study__mode-button,
.pl-study__primary,
.pl-study__secondary,
.pl-study__deeper-button {
  appearance: none;
  border: 1px solid rgba(200, 169, 107, .45);
  color: #e9edf4;
  background: rgba(255, 255, 255, .035);
  border-radius: 999px;
  padding: .72rem 1.2rem;
  cursor: pointer;
  font: inherit;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.pl-study__mode-button:hover,
.pl-study__mode-button:focus-visible,
.pl-study__primary:hover,
.pl-study__primary:focus-visible,
.pl-study__secondary:hover,
.pl-study__secondary:focus-visible,
.pl-study__deeper-button:hover,
.pl-study__deeper-button:focus-visible { border-color: #ead9ad; outline: none; }
.pl-study__mode-button.is-active,
.pl-study__primary { color: #15100a; background: linear-gradient(135deg, #ead9ad, #c8a96b); }
.pl-study__primary:hover { transform: translateY(-1px); }

.pl-study__progress-shell { padding: 0 2.5rem 1.4rem; }
.pl-study__progress-copy { display: none; color: #ead9ad; text-align: center; }
.pl-study__progress { display: grid; grid-template-columns: repeat(8, 1fr); position: relative; }
.pl-study__progress::before { content: ''; position: absolute; top: 8px; right: 6%; left: 6%; height: 1px; background: rgba(200, 169, 107, .28); }
.pl-study__progress-step { position: relative; z-index: 1; padding: 0 .25rem; border: 0; color: #aab3c3; background: transparent; cursor: pointer; font: inherit; }
.pl-study__progress-dot { display: block; width: 17px; height: 17px; margin: 0 auto .55rem; border: 1px solid #c8a96b; border-radius: 50%; background: #0c1320; }
.pl-study__progress-label { font-size: .7rem; line-height: 1.2; }
.pl-study__progress-step.is-active { color: #ead9ad; }
.pl-study__progress-step.is-active .pl-study__progress-dot { background: #ead9ad; box-shadow: 0 0 18px rgba(234, 217, 173, .8); }
.pl-study__progress-step.is-complete .pl-study__progress-dot { background: #7298b9; }

.pl-study__panel { animation: pl-study-fade .4s ease both; }
.pl-study__panel-inner,
.pl-study__full { max-width: 790px; margin: 0 auto; padding: 3rem clamp(1.5rem, 6vw, 5rem) 4rem; }
.pl-study__panel h3,
.pl-study__full h3 { margin: 0 0 .45rem; color: #fff; font-size: clamp(1.7rem, 4vw, 2.45rem); font-weight: 400; }
.pl-study__stage-subtitle { margin: 0 0 2rem; color: #ead9ad; font-size: 1.05rem; }
.pl-study__image { display: block; width: 100%; max-height: 390px; object-fit: cover; opacity: .82; border-top: 1px solid rgba(200, 169, 107, .22); border-bottom: 1px solid rgba(200, 169, 107, .22); }
.pl-study__prose { color: #e9edf4; font-size: 1.02rem; line-height: 1.78; }
.pl-study__prose p { margin: 0 0 1.2rem; }
.pl-study__path-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem 1.5rem; margin: 2rem 0; padding: 0; list-style: none; }
.pl-study__path-list li { color: #aab3c3; }
.pl-study__path-list span { display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; margin-right: .6rem; border: 1px solid rgba(200, 169, 107, .45); border-radius: 50%; color: #ead9ad; font-size: .75rem; }

.pl-study__reflection { margin: 2.25rem 0 1.3rem; padding: 1.4rem 1.5rem; border-left: 2px solid #7298b9; background: rgba(114, 152, 185, .08); }
.pl-study__reflection p:last-child { margin: 0; color: #f5f7fa; font-size: 1.14rem; line-height: 1.55; }
.pl-study__seed,
.pl-study__keynote { margin: 1.3rem 0; padding: 1.3rem 1.5rem; border: 1px solid rgba(200, 169, 107, .27); color: #ead9ad; background: rgba(200, 169, 107, .045); font-size: 1.14rem; font-style: italic; line-height: 1.55; }
.pl-study__seed span { display: block; margin-bottom: .35rem; color: #aab3c3; font-size: .68rem; font-style: normal; letter-spacing: .15em; text-transform: uppercase; }
.pl-study__deeper { margin-top: 1.3rem; }
.pl-study__deeper-button { width: 100%; border-radius: 3px; text-align: left; }
.pl-study__deeper-button span { float: right; color: #ead9ad; font-size: 1.2rem; }
.pl-study__deeper-content,
.pl-study__full-deeper { padding: 1.4rem 1.5rem; color: #aab3c3; background: rgba(0, 0, 0, .16); line-height: 1.65; }
.pl-study__deeper-content p:first-child,
.pl-study__full-deeper p:first-child { margin-top: 0; }
.pl-study__deeper-content p:last-child,
.pl-study__full-deeper p:last-child { margin-bottom: 0; }
.pl-study__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.6rem; }
.pl-study__closing { margin: 2.2rem 0; padding: 1.75rem; text-align: center; background: radial-gradient(circle, rgba(114, 152, 185, .16), transparent 68%); }
.pl-study__closing p { line-height: 2; }
.pl-study__keynote { text-align: center; }

.pl-study__full { padding-top: 1rem; }
.pl-study__full-section { padding: 3rem 0; border-top: 1px solid rgba(200, 169, 107, .18); }
.pl-study__full-section:first-child { border-top: 0; }

@keyframes pl-study-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .pl-study__panel { animation: none; } .pl-study * { scroll-behavior: auto !important; transition: none !important; } }

@media (max-width: 760px) {
  .pl-study { margin: 1rem 0; }
  .pl-study__header { padding-top: 2.3rem; }
  .pl-study__mode { flex-direction: column; align-items: stretch; padding-inline: 1.5rem; }
  .pl-study__progress { display: none; }
  .pl-study__progress-copy { display: block; }
  .pl-study__progress-shell { padding-bottom: 0; }
  .pl-study__panel-inner { padding-top: 2rem; }
  .pl-study__path-list { grid-template-columns: 1fr; }
  .pl-study__nav { flex-direction: column-reverse; }
  .pl-study__nav button { width: 100%; }
}
