/* Version 2.4.1 presentation styles. Display controls and calendar styles remain in styles.css. */
.home-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .65fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6.5rem); border-bottom: 1px solid var(--border-subtle); }
.home-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); line-height: 1.03; max-width: 18ch; }
.home-hero .hero__intro { font-size: 1.15rem; max-width: 58ch; }
.home-work-links h2 { font-size: 1.25rem; margin-bottom: .6rem; }
.home-work-links > a { display: block; padding-block: 1.3rem; border-bottom: 1px solid var(--border-subtle); text-decoration: none; }
.home-work-links > a:first-of-type { border-top: 1px solid var(--border-subtle); }
.home-work-links strong { display: block; color: var(--heading); font-size: 1.45rem; line-height: 1.3; }
.home-work-links span { display: block; color: var(--muted); margin-top: .4rem; font-size: .95rem; }
.home-work-links a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.home-section-heading { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; justify-content: space-between; margin-bottom: 1.7rem; }
.home-section-heading h2 { margin-bottom: 0; }
.home-about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 75ch; }
.home-about-grid p { color: var(--muted); }
.home-about-grid h3 { margin-top: 0; font-size: 1.45rem; }
.home-access-note { border-left: .2rem solid var(--accent-blue); padding-left: 1.4rem; margin-top: 2rem; max-width: 75ch; }
.placement-callout { padding: clamp(1.5rem, 4vw, 2.8rem); background: var(--surface); border: 1px solid var(--border-subtle); border-left: .25rem solid var(--accent); border-radius: var(--radius); }
.placement-callout h2 { font-size: 2rem; }
.production-card { box-shadow: none; border-radius: .45rem; border-top: .2rem solid var(--accent); }
.production-card h3 { font-size: 1.55rem; line-height: 1.15; }
.production-card h3 a { color: var(--heading); text-decoration: none; }
.production-card h3 a:hover { text-decoration: underline; }
.production-card__date { color: var(--accent-blue) !important; font-size: .85rem; font-weight: 750; margin-block: 0 1rem; }
.production-card__role { color: var(--text) !important; font-weight: 750; margin-bottom: 0; }
.production-card .card__meta { margin-top: .3rem; }
.additional-credit-list { padding: 0; list-style: none; margin-top: 1.6rem; }
.additional-credit-list li { display: grid; grid-template-columns: 3.6rem minmax(0,1fr); gap: 1rem; max-width: none; padding-block: .85rem; border-top: 1px solid var(--border-subtle); }
.production-credit[hidden] { display: none; }
.credit-year { color: var(--accent-blue); font-weight: 750; }
.personal-intro { max-width: 68ch; border-top: .2rem solid var(--accent); padding-top: 2rem; margin-top: 3rem; }
.placement-copy { max-width: 75ch; }
.placement-copy > section { margin-block: 2.6rem; }
.placement-page .callout { margin-top: 3rem; }
.production-detail .project-facts { margin-top: 2rem; }
.production-detail .project-facts li { box-shadow: none; }
.production-detail .section-heading { max-width: 62rem; }
.production-detail h1 { max-width: 24ch; font-size: clamp(2.4rem, 5vw, 4.6rem); }
html:not(.js) .project-filter, html:not(.js) #project-result-count { display: none; }
.cv-main { max-width: 66rem; }
.cv-actions { margin-top: 0; }
html:not(.js) [data-action="print-cv"], html:not(.js) [data-action="print-cv-large"] { display: none; }
.cv-screen-note { font-size: .9rem; color: var(--muted); }
.cv-sheet { margin-block: 2.5rem; }
.cv-sheet + .cv-sheet { border-top: 1px solid var(--border); padding-top: 2.5rem; }
.cv-heading { border-bottom: .2rem solid var(--accent); padding-bottom: 1.1rem; }
.cv-heading h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); max-width: none; }
.cv-role { color: var(--heading); font-weight: 750; margin-bottom: .3rem; }
.cv-contact { margin-top: 0; }
.cv-section { margin-block: 2rem; }
.cv-section h2 { font-size: 1.4rem; margin-bottom: .8rem; }
.cv-list { padding-left: 1.2rem; }
.cv-list li { margin-block: .55rem; max-width: none; }
.cv-section p { max-width: none; }
.credit-table-wrap { max-width: 100%; }
.credit-table { border-collapse: collapse; width: 100%; font-size: .94rem; table-layout: fixed; }
.credit-table caption { text-align: left; font-size: .86rem; color: var(--muted); margin-bottom: .6rem; }
.credit-table th { color: var(--heading); text-align: left; }
.credit-table td, .credit-table th { border-bottom: 1px solid var(--border-subtle); padding: .55rem .6rem; vertical-align: top; overflow-wrap: anywhere; }
.credit-table th:first-child { width: 12%; }
.credit-table th:nth-child(2) { width: 40%; }
.credit-organisation { display: block; color: var(--muted); font-size: .88em; }
.cv-scheduled { font-size: .9rem; }
.cv-continuation { display: none; }
html[data-reading-mode="true"] .home-hero, html[data-reading-mode="true"] .home-about-grid { grid-template-columns: 1fr; }
html[data-font-scale="4"] .home-hero, html[data-font-scale="5"] .home-hero, html[data-font-scale="6"] .home-hero,
html[data-font-scale="4"] .home-about-grid, html[data-font-scale="5"] .home-about-grid, html[data-font-scale="6"] .home-about-grid { grid-template-columns: 1fr; }
@media (max-width: 62rem) { .home-hero { grid-template-columns: 1fr; } .home-work-links { max-width: 42rem; } }
@media (max-width: 44rem) { .home-about-grid { grid-template-columns: 1fr; } .credit-table { font-size: .86rem; } .credit-table td, .credit-table th { padding: .5rem .25rem; } .credit-table th:first-child { width: 15%; } .credit-table th:nth-child(2) { width: 37%; } }
@page { size: A4; margin: 12mm 13mm; }
@media print {
  .cv-page { font: 10pt/1.22 Arial, sans-serif; background: white; color: black; }
  .cv-page h1, .cv-page h2, .cv-page h3, .cv-page p, .cv-page a, .cv-page li, .cv-page td, .cv-page th, .cv-page caption, .cv-page strong, .cv-page .credit-organisation { color: black; }
  .cv-page .cv-main { width: auto; max-width: none; margin: 0; padding: 0; }
  .cv-page .cv-actions, .cv-page .cv-screen-note, .cv-page .page-eyebrow { display: none !important; }
  .cv-page .cv-sheet { margin: 0; padding: 0; border: 0; }
  .cv-page .cv-sheet + .cv-sheet { break-before: page; page-break-before: always; }
  .cv-page .cv-heading { padding: 0 0 2mm; border-bottom: 1.5pt solid #684fc7; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .cv-page .cv-heading h1 { font-size: 21pt; line-height: 1.1; letter-spacing: 0; }
  .cv-page .cv-role { margin: 1.5mm 0 1mm; }
  .cv-page .cv-contact { margin: 0; font-size: 9.5pt; }
  .cv-page .cv-section { margin: 2.5mm 0 0; }
  .cv-page .cv-section h2 { font-size: 11.5pt; line-height: 1.15; margin: 0 0 1.5mm; break-after: avoid; page-break-after: avoid; letter-spacing: 0; }
  .cv-page .cv-section p { margin: 0 0 1.5mm; }
  .cv-page .credit-table { font-size: 9.5pt; line-height: 1.18; width: 100%; }
  .cv-page .credit-table caption { display: none; }
  .cv-page .credit-table td, .cv-page .credit-table th { padding: 1.05mm 1.1mm; border-bottom: .4pt solid #bbb; }
  .cv-page .credit-table th:first-child { width: 9%; }
  .cv-page .credit-table th:nth-child(2) { width: 41%; }
  .cv-page .credit-table thead { display: table-header-group; }
  .cv-page .credit-table tr, .cv-page .cv-list li { break-inside: avoid; page-break-inside: avoid; }
  .cv-page .credit-organisation { font-size: 8pt; }
  .cv-page .cv-scheduled { font-size: 9pt; margin-top: 1.7mm !important; }
  .cv-page .cv-list { margin: 0; padding-left: 4mm; }
  .cv-page .cv-list li { margin: 0 0 1.2mm; }
  .cv-page .cv-continuation { display: block; font-size: 9pt; margin: 0 0 3mm; border-bottom: .5pt solid #777; padding-bottom: 1.5mm; }
}

/* A larger text print layout shares the exact same HTML content. */
@media print {
  .cv-page #industry-title, .cv-page #rcs-title { font-size: 13pt; }
  .cv-page[data-cv-print-size="large"] { font-size: 18pt; line-height: 1.45; }
  .cv-page[data-cv-print-size="large"] .cv-heading h1 { font-size: 30pt; }
  .cv-page[data-cv-print-size="large"] .cv-contact,
  .cv-page[data-cv-print-size="large"] .cv-role,
  .cv-page[data-cv-print-size="large"] .credit-table,
  .cv-page[data-cv-print-size="large"] .credit-organisation,
  .cv-page[data-cv-print-size="large"] .cv-scheduled { font-size: 18pt; line-height: 1.45; }
  .cv-page[data-cv-print-size="large"] .cv-section h2,
  .cv-page[data-cv-print-size="large"] #industry-title,
  .cv-page[data-cv-print-size="large"] #rcs-title { font-size: 22pt; margin-bottom: 3mm; }
  .cv-page[data-cv-print-size="large"] .cv-sheet + .cv-sheet { break-before: auto; page-break-before: auto; margin-top: 6mm; }
  .cv-page[data-cv-print-size="large"] .cv-continuation { display: none; }
  .cv-page[data-cv-print-size="large"] .cv-section { margin-top: 6mm; }
  .cv-page[data-cv-print-size="large"] .cv-list li { margin-bottom: 3mm; }
  .cv-page[data-cv-print-size="large"] .cv-section p { margin-bottom: 3mm; }
  .cv-page[data-cv-print-size="large"] .credit-table th:first-child { width: 12%; }
  .cv-page[data-cv-print-size="large"] .credit-table th:nth-child(2) { width: 43%; }
  .cv-page[data-cv-print-size="large"] .credit-table td,
  .cv-page[data-cv-print-size="large"] .credit-table th { padding: 2.2mm 1.5mm; }
}
