/* Case studies share the site's fonts, palette, header, footer and buttons. */
body.project-page { background: var(--cream) !important; }
.project-page > header { background: var(--cream) !important; }
.project-page > header .lang-switch { color: var(--dark-blue) !important; }
.project-page > header .lang-switch button:not(.active) { opacity: 1 !important; }
.project-page > header .lang-switch button.active { text-decoration: underline; text-underline-offset: 4px; }
.project-page footer a:focus-visible { outline-color: var(--cream); }
.project-main { padding: 150px var(--g) 0; }
.project-heading { max-width: 1000px; margin-bottom: 48px; }
.project-back { display: inline-block; text-decoration: none; margin-bottom: 32px; }
.project-heading h1 { font: 600 clamp(42px, 6vw, 80px)/1 var(--cond); letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-tagline { font: italic 300 clamp(24px, 3vw, 38px)/1.3 var(--serif); margin: 28px 0 20px; }
.project-details, .project-credits { font-size: 15px; line-height: 1.6; }
.project-hero img, .project-images img { width: 100%; height: auto; border-radius: 18px; }
.project-section { margin-block: clamp(64px, 8vw, 120px); }
.project-section h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; margin-bottom: 28px; }
.project-copy { max-width: 70ch; min-width: 0; }
.project-copy p, .project-copy li { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.65; }
.project-copy ul { padding-left: 1.25em; margin: 0; }
.project-copy li { padding-left: .3em; margin-bottom: 22px; }
.project-copy strong { font-weight: 700; }
.project-copy blockquote { border-left: 3px solid var(--dark-blue); margin: 28px 0; padding: 8px 0 8px 24px; }
.project-copy blockquote p { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }
.project-copy blockquote p:last-child { margin-bottom: 0; }
.project-copy .project-signature { font-family: var(--body); font-size: 16px; }
.project-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.project-reverse { grid-template-columns: 1.1fr 1fr; }
.project-reverse .project-copy { grid-column: 2; grid-row: 1; }
.project-reverse .project-images { grid-column: 1; grid-row: 1; }
.project-images { display: grid; gap: 24px; align-items: start; min-width: 0; }
.project-image-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 36px; }
.project-layout-v2 > .project-media-row + .project-media-row,
.project-layout-v2 > .project-copy + .project-media-row { margin-top: clamp(32px, 4vw, 56px); }
.project-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.project-end { margin: 80px 0; max-width: 70ch; }
.project-end .project-credits { margin-bottom: 40px; }
.project-pagination { height: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; padding: 32px 0 64px; border-top: 1px solid var(--dark-blue); }
.project-pagination a { text-decoration: none; padding: 16px 0; }
.project-pagination a:last-child { text-align: right; }
.project-pagination span, .project-pagination strong { display: block; }
.project-pagination span { margin-bottom: 12px; font: 600 14px var(--cond); text-transform: uppercase; }
.project-pagination strong { font: 600 clamp(23px, 2.6vw, 34px)/1.2 var(--cond); overflow-wrap: anywhere; }
.project-end .project-actions { position: static; transform: none; display: grid; align-items: stretch; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,620px); gap: 14px; }
.project-end .project-actions .btn { width: 100%; min-width: 0; padding: 14px 20px; text-decoration: none; }
@media (max-width: 420px) {
  .project-end .project-actions { gap: 10px; }
  .project-end .project-actions .btn { padding: 14px 10px; }
}
.project-pagination a:hover, .project-back:hover { text-decoration: underline; text-underline-offset: 6px; }
.project-page a:focus-visible, .project-page button:focus-visible { outline: 3px solid var(--dark-blue); outline-offset: 5px; }
.project-skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--cream); }
.project-skip:focus { top: 12px; }
@media (max-width: 720px) {
  .project-main { padding-top: 116px; }
  .project-heading { margin-bottom: 32px; }
  .project-split, .project-image-grid, .project-pair { grid-template-columns: minmax(0,1fr); }
  .project-reverse .project-copy, .project-reverse .project-images { grid-column: auto; grid-row: auto; }
  .project-pagination { gap: 20px; }
}
