/* Career plan: the supplied statement, a time-horizon diagram and measurable goals. */
.career-plan-page { --cp-network: #526d57; --cp-industry: #486c71; --cp-skills: #786242; }
[data-theme="dark"] .career-plan-page { --cp-network: #bad4a5; --cp-industry: #9acacd; --cp-skills: #d8be92; }
.cp-statement, .cp-plan { padding: 60px; }
.cp-page-heading { margin-bottom: 45px; }
.cp-page-heading > .label, .cp-section-heading > .label { font-size: .75rem; line-height: 1.7; letter-spacing: .1em; margin-bottom: 15px; }
.cp-page-heading h1 { font-size: clamp(4rem, 6.5vw, 6rem); line-height: 1.05; margin: 0; }
.cp-statement-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); align-items: start; gap: 80px; }
.cp-direction { position: sticky; top: 180px; }
.cp-statement-lead { font-family: var(--serif); font-size: clamp(1.75rem, 2.5vw, 2.25rem); line-height: 1.5; color: var(--ink); max-width: 470px; margin: 0 0 30px; }
.cp-direction .underlined, .cp-contact .underlined { font-size: .875rem; }
.cp-statement-copy { max-width: 660px; }
.cp-statement-copy p { font-size: 1rem; line-height: 1.9; margin: 0 0 22px; }
.cp-statement-copy p:last-child { margin-bottom: 0; }
.cp-plan { background: var(--surface, #eeeee7); }
.cp-section-heading h2 { font-size: clamp(2.75rem, 4.5vw, 4rem); margin: 0 0 32px; line-height: 1.1; }
.cp-roadmap { background: var(--paper); padding: 30px 36px; margin: 0 0 55px; border: 1px solid var(--line); }
.cp-roadmap figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; color: var(--ink); font-size: 1rem; margin-bottom: 24px; }
.cp-roadmap figcaption > span { font-size: .75rem; color: var(--muted); }
.cp-roadmap-axis { position: relative; height: 20px; margin-left: 214px; margin-right: 4px; color: var(--muted); font-size: .75rem; margin-bottom: 15px; }
.cp-roadmap-axis > span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.cp-roadmap-axis > :first-child { left: 0; transform: none; }
.cp-roadmap-axis > :nth-child(2) { left: calc(100% / 3); }
.cp-roadmap-axis > :nth-child(3) { left: calc(100% * 2 / 3); }
.cp-roadmap-axis > :last-child { right: 0; transform: none; }
.cp-roadmap-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 30px; padding: 21px 4px; }
.cp-roadmap-name { font-size: .875rem; color: var(--ink); line-height: 1.6; }
.cp-roadmap-track { position: relative; display: block; height: 18px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 3)); }
.cp-roadmap-track:before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.cp-roadmap-duration { position: relative; display: block; width: calc(var(--months) / 9 * 100%); height: 18px; color: var(--goal-accent); }
.cp-roadmap-duration:before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 4px; background: currentColor; border-radius: 2px; }
.cp-roadmap-dot { position: absolute; right: 0; top: 4px; width: 10px; height: 10px; transform: translateX(50%); border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--paper); }
.cp-roadmap-end { position: absolute; right: 0; bottom: 20px; transform: translateX(50%); font-size: .75rem; white-space: nowrap; }
.cp-tone-1 { --goal-accent: var(--cp-network); }
.cp-tone-2 { --goal-accent: var(--cp-industry); }
.cp-tone-3 { --goal-accent: var(--cp-skills); }
.cp-roadmap-row:hover .cp-roadmap-name { color: var(--goal-accent); text-decoration: underline; text-underline-offset: 4px; }
.cp-goals { display: grid; gap: 28px; }
.cp-goal { background: var(--paper); padding: 32px 36px; border: 1px solid var(--line); border-left: 3px solid var(--goal-accent); scroll-margin-top: 170px; }
.cp-goal:target { outline: 2px solid var(--goal-accent); outline-offset: 5px; }
.cp-goal-heading { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 28px; }
.cp-goal-number { font-family: var(--serif); font-size: 2.375rem; line-height: 1; color: var(--goal-accent); }
.cp-goal-heading .label { font-size: .6875rem; margin: 0 0 10px; letter-spacing: .1em; }
.cp-goal-heading h3 { font-family: var(--serif); font-size: clamp(1.75rem, 2.8vw, 2.375rem); line-height: 1.2; letter-spacing: -.02em; max-width: 700px; margin: 0; }
.cp-timeframe { font-size: .8125rem; color: var(--goal-accent); border: 1px solid var(--line); padding: 7px 12px; white-space: nowrap; line-height: 1.5; }
.cp-targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0 0 24px 70px; }
.cp-targets > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.cp-targets dt { color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.cp-targets dd { font-family: var(--serif); color: var(--goal-accent); font-size: 2.75rem; line-height: 1.1; margin: 0; }
.cp-outcome { font-size: .9375rem; line-height: 1.8; color: var(--ink); margin: 0 0 22px 70px; max-width: 780px; }
.cp-outcome > span { display: block; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.cp-goal-details { margin: 0 0 0 70px; border-top: 1px solid var(--line); }
.cp-goal-details summary { font-size: .875rem; line-height: 1.7; padding: 15px 0 0; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cp-goal-details summary:hover { color: var(--goal-accent); }
.cp-details-icon { position: relative; flex-shrink: 0; width: 24px; height: 24px; }
.cp-details-icon:before, .cp-details-icon:after { content: ''; position: absolute; background: currentColor; left: 5px; top: 11px; width: 14px; height: 1px; }
.cp-details-icon:after { transform: rotate(90deg); }
.cp-goal-details[open] .cp-details-icon { transform: none; }
.cp-goal-details[open] .cp-details-icon:after { display: none; }
.cp-goal-copy { max-width: 800px; padding-top: 22px; }
.cp-goal-copy p { font-size: 1rem; line-height: 1.9; margin: 0 0 20px; }
.cp-goal-copy p:last-child { margin-bottom: 0; }
.cp-contact { padding: 25px 60px; display: flex; justify-content: flex-end; border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) {
 .cp-statement, .cp-plan { padding-left: 35px; padding-right: 35px; }
 .cp-statement-layout { gap: 42px; }
 .cp-goal-heading { grid-template-columns: 38px minmax(0, 1fr); gap: 16px; }
 .cp-timeframe { grid-column: 2; justify-self: start; }
 .cp-targets, .cp-outcome, .cp-goal-details { margin-left: 54px; }
 .cp-contact { padding-left: 35px; padding-right: 35px; }
}
@media (max-width: 760px) {
 .cp-statement, .cp-plan { padding: 40px 22px; }
 .cp-page-heading { margin-bottom: 30px; }
 .cp-page-heading h1 { font-size: clamp(3.25rem, 12vw, 4.75rem); }
 .cp-statement-layout { grid-template-columns: 1fr; gap: 30px; }
 .cp-direction { position: static; }
 .cp-statement-lead { font-size: 1.75rem; max-width: 600px; margin-bottom: 22px; }
 .cp-roadmap { padding: 24px 20px 30px; margin-bottom: 32px; }
 .cp-roadmap figcaption { display: block; margin-bottom: 20px; }
 .cp-roadmap figcaption > span { display: block; margin-top: 6px; }
 .cp-roadmap-axis { margin-left: 4px; margin-right: 20px; margin-bottom: 0; }
 .cp-roadmap-row { grid-template-columns: 1fr; gap: 28px; padding: 18px 4px 12px; }
 .cp-roadmap-track { margin-right: 16px; }
 .cp-roadmap-name { font-size: .875rem; }
 .cp-roadmap-end { font-size: .6875rem; }
 .cp-goal { padding: 24px 20px; scroll-margin-top: 110px; }
 .cp-goal-heading { grid-template-columns: 30px minmax(0, 1fr); gap: 14px; margin-bottom: 26px; }
 .cp-goal-number { font-size: 2rem; }
 .cp-goal-heading h3 { font-size: 1.875rem; }
 .cp-targets { margin-left: 0; gap: 16px; }
 .cp-targets dd { font-size: 2.25rem; }
 .cp-targets dt { font-size: .75rem; }
 .cp-outcome, .cp-goal-details { margin-left: 0; }
 .cp-section-heading h2 { font-size: 2.75rem; }
 .cp-contact { padding: 22px; }
}
@media (max-width: 380px) {
 .cp-goal { padding: 22px 16px; }
 .cp-goal-heading h3 { font-size: 1.625rem; }
 .cp-targets { gap: 12px; }
 .cp-targets dd { font-size: 2rem; }
 .cp-timeframe { white-space: normal; }
}
