/* Curriculum vitae: editorial chronology using the shared corporate palette. */
.cv-main { background: var(--ivory); padding: clamp(3rem, 7vw, 6rem) 0 5rem; }
.cv-wrap { max-width: 1120px; }
.cv-heading { padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule-dark); }
.cv-heading h1 { margin: .35rem 0 1.1rem; color: var(--forest); font-size: clamp(3.3rem, 7vw, 6.5rem); line-height: 1.05; }
.cv-role { max-width: 48rem; margin: 0 0 .5rem; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.45; }
.cv-specialism { margin: 0; max-width: 45rem; }
.cv-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 1.6rem; font-size: .92rem; font-style: normal; }
.cv-contact a, .cv-reading a, .cv-main li a, .cv-section-intro a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
.cv-reading { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1rem 0 0; font-size: .92rem; }
.cv-contents { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule-dark); font-size: .85rem; }
.cv-contents a { text-decoration: none; }
.cv-contents a:hover { text-decoration: underline; text-underline-offset: .25em; }
.cv-section { padding: 3rem 0 .5rem; scroll-margin-top: 7rem; }
.cv-section + .cv-section { margin-top: 2rem; border-top: 1px solid var(--rule-dark); }
.cv-section h2 { color: var(--forest); font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 2rem; }
.cv-section h3 { margin: 0 0 .5rem; font-size: 1.04rem; line-height: 1.5; font-weight: 600; }
.cv-entry { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); column-gap: 2.5rem; padding: 1.5rem 0; border-top: 1px solid var(--rule-faint); }
.cv-entry:first-of-type { border-top: 0; padding-top: 0; }
.cv-date { color: var(--forest); font-size: .86rem; font-weight: 500; margin: .15rem 0 0; font-variant-numeric: tabular-nums; }
.cv-place { color: var(--forest); margin: 0 0 .9rem; font-size: .94rem; }
.cv-entry-content p { margin-top: 0; }
.cv-section ul { padding-left: 1.2rem; margin: .65rem 0 1rem; }
.cv-section li { padding-left: .2rem; margin-bottom: .55rem; }
.cv-entry-content { min-width: 0; }
.cv-section p, .cv-section li { overflow-wrap: anywhere; }
.cv-entry-content > :last-child { margin-bottom: 0; }
.cv-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.cv-languages { margin-top: 1.5rem; }
.cv-section .cv-subheading { margin: 2rem 0 1rem; color: var(--forest); font-weight: 500; font-size: 1.15rem; }
.cv-section-intro { margin: -1rem 0 2rem; }
.cv-courses { border-top: 1px solid var(--rule-faint); padding-top: .65rem; }
.cv-courses summary { cursor: pointer; color: var(--forest); font-size: .9rem; font-weight: 500; width: fit-content; }
.cv-courses summary::marker { color: var(--forest); }
.cv-courses ul { margin-top: .9rem; }
.cv-main a:focus-visible, .cv-courses summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 5px; }
@media (max-width: 680px) {
  .cv-heading { padding-bottom: 2rem; }
  .cv-contact { display: grid; gap: .45rem; }
  .cv-heading h1 { font-size: clamp(2.9rem, 12vw, 4rem); overflow-wrap: break-word; }
  .cv-contents { gap: .7rem 1.15rem; }
  .cv-section { padding-top: 2rem; }
  .cv-section h2 { margin-bottom: 1.5rem; }
  .cv-entry { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .cv-date { margin-top: 0; }
  .cv-skills { grid-template-columns: 1fr; gap: 1rem; }
}
@media print {
  @page { margin: 16mm; }
  html, body { background: white; color: #111; font-size: 10pt; }
  .site-header, .global-footer, .skip, .cv-contents, .cv-reading { display: none !important; }
  .cv-main { background: white; padding: 0; }
  .cv-wrap { width: 100%; max-width: none; padding: 0; margin: 0; }
  .cv-heading { padding-bottom: 1rem; }
  .cv-heading h1 { font-size: 32pt; }
  .cv-role { font-size: 12pt; }
  .cv-contact { font-size: 9pt; margin-top: .7rem; }
  .cv-section { padding-top: 1.25rem; }
  .cv-section + .cv-section { margin-top: 1rem; }
  .cv-section h2 { font-size: 21pt; margin-bottom: 1rem; break-after: avoid; }
  .cv-section h3 { break-after: avoid; }
  .cv-entry { grid-template-columns: 30mm minmax(0, 1fr); column-gap: 7mm; padding: .7rem 0; }
  .cv-date, .cv-place, .cv-courses summary { font-size: 9pt; }
  .cv-section li { margin-bottom: .25rem; }
  .cv-entry, .cv-courses, .cv-skills > div { break-inside: avoid; }
  .cv-courses > * { display: block !important; }
  .cv-courses summary { list-style: none; }
  .cv-section-intro { margin: 0 0 1rem; }
  .cv-main a { color: inherit; text-decoration: none; }
}
