/* Load after styles.css. All rules stay within the optional depth module. */
.career-depth { width: min(1440px, calc(100% - 40px)); margin: 0 auto 100px; }
.depth-overview { max-width: 980px; padding: 0 clamp(0px, 3vw, 40px) 32px; }
.depth-public-title { margin-bottom: 16px; color: var(--deep); font-size: clamp(2rem, 3.7vw, 3.8rem); line-height: 1.07; letter-spacing: -.035em; }
.depth-section { margin: 0 0 30px; padding: clamp(28px, 4.5vw, 64px); border: 1px solid var(--line); border-radius: 36px; background: var(--white); scroll-margin-top: 130px; }
.depth-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); align-items: end; gap: 32px; margin-bottom: 30px; }
.depth-intro h2 { margin: 0; color: var(--deep); font-size: clamp(2rem, 3.4vw, 3.8rem); line-height: 1.06; letter-spacing: -.04em; overflow-wrap: anywhere; }
.depth-intro > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 1.06rem; }
.depth-section .eyebrow { margin-bottom: 14px; }
.depth-copy { max-width: 88ch; margin: 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.depth-body { display: grid; gap: 12px; }
.depth-disclosure { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.depth-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 22px; color: var(--deep); font-size: 1.05rem; font-weight: 800; list-style: none; cursor: pointer; }
.depth-disclosure > summary::-webkit-details-marker { display: none; }
.depth-disclosure > summary::after { flex: 0 0 24px; color: var(--pink-text); font-size: 1.5rem; line-height: 1; text-align: center; content: '+'; }
.depth-disclosure[open] > summary { background: var(--lilac); }
.depth-disclosure[open] > summary::after { content: '−'; }
.depth-disclosure > summary:hover { color: var(--pink-text); }
.depth-disclosure > summary:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--pink-text); outline-offset: -4px; border-radius: 16px; }
.depth-disclosure-body { padding: 22px; }
.depth-disclosure-body p { max-width: 88ch; color: var(--muted); white-space: pre-line; }
.depth-disclosure-body > :last-child, .depth-disclosure-body li > :last-child { margin-bottom: 0; }
.depth-list { display: grid; gap: 14px; margin: 0; padding-left: 1.25em; color: var(--muted); }
.depth-list li { padding-left: 4px; overflow-wrap: anywhere; }
.depth-list strong { display: block; margin-bottom: 4px; color: var(--deep); }
.depth-list p { margin: 0; }
.depth-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.depth-role-column h4 { margin-bottom: 14px; color: var(--purple); font-size: 1.12rem; }
.depth-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: depth-stage; }
.depth-timeline-item { padding: 22px; border: 1px solid var(--line); border-top: 5px solid var(--purple); border-radius: 18px; background: var(--white); counter-increment: depth-stage; }
.depth-timeline-item::before { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 18px; border-radius: 50%; color: var(--deep); background: var(--yellow); content: counter(depth-stage, decimal-leading-zero); font-weight: 900; }
.depth-timeline-item h4 { margin-bottom: 10px; color: var(--deep); font-size: 1.15rem; }
.depth-timeline-item p { margin: 0; font-size: .98rem; }
.depth-context { margin: 0 0 20px; padding: 14px 18px; border-left: 4px solid var(--purple); border-radius: 10px; color: var(--deep) !important; background: var(--lilac); font-size: .92rem; }
.depth-value-panel { margin-bottom: 8px; padding: 25px 28px; border-left: 5px solid var(--pink-text); border-radius: 18px; background: var(--lilac); }
.depth-value-panel h3 { margin-bottom: 12px; color: var(--deep); font-size: 1.35rem; }
.depth-scholarships { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; padding: 24px; border-radius: 18px; color: var(--white); background: var(--deep); }
.depth-scholarships h3 { margin: 0; font-size: 1.3rem; }
.depth-scholarships .button { max-width: 100%; text-align: center; }
.depth-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.depth-resource-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.depth-resource-preview { display: grid; place-items: center; height: 350px; padding: 20px; border-bottom: 1px solid var(--line); background: var(--lilac); }
.depth-resource-preview img { width: 100%; height: 100%; object-fit: contain; object-position: center top; filter: drop-shadow(0 8px 16px rgba(10, 42, 90, .15)); }
.depth-resource-preview:focus-visible { outline-offset: -5px; }
.depth-resource-info { padding: 24px; }
.depth-resource-info h3 { margin-bottom: 8px; color: var(--deep); font-size: 1.4rem; line-height: 1.2; }
.depth-resource-info > p { color: var(--muted); }
.depth-resource-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.depth-resource-actions .button { min-height: 48px; padding: 10px 16px; background: var(--white); }
@media (max-width: 1000px) {
  .depth-intro { grid-template-columns: 1fr; gap: 18px; }
  .depth-timeline { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .career-depth { width: calc(100% - 24px); margin-bottom: 65px; }
  .depth-section { padding: 27px 20px; border-radius: 28px; scroll-margin-top: 92px; }
  .depth-role-grid, .depth-resource-grid { grid-template-columns: 1fr; }
  .depth-disclosure > summary { padding: 17px 16px; font-size: 1rem; }
  .depth-disclosure-body { padding: 18px 16px; }
  .depth-value-panel { padding: 22px 20px; }
  .depth-resource-preview { height: 320px; }
  .depth-resource-info { padding: 22px; }
  .depth-scholarships { padding: 22px 20px; }
}
@media (max-width: 380px) {
  .depth-section { padding-inline: 16px; }
  .depth-resource-actions .button { flex: 1 1 100%; }
}
