/* Shared presentation for the collection and cooperative project pages. */
.series-section { border-bottom: 1px solid var(--line); }
.series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.series-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.series-cover { display: block; flex-shrink: 0; position: relative; overflow: hidden; aspect-ratio: 1200 / 630; }
.series-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.series-cover:hover img { transform: scale(1.025); }
.series-number { position: absolute; top: 14px; left: 16px; width: 41px; height: 41px; display: grid; place-items: center; border-radius: 50%; background: #fffaf4eb; font: italic 21px Georgia, serif; box-shadow: 0 2px 12px #49352f12; }
.series-card-body { display: flex; flex-direction: column; flex: 1; padding: 27px 30px 25px; }
.series-byline { font-size: 10px; color: #876556; letter-spacing: .3px; }
.series-byline span { color: var(--pink); }
.translation-byline { color: #98717c; font-size: 11px; margin-top: 8px; }
.series-card h3 { margin-top: 9px; font-family: var(--serif); font-size: 29px; letter-spacing: 1px; }
.series-summary { color: #806f65; font-size: 12px; line-height: 2; margin-top: 12px; max-width: 42em; }
.series-filemeta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: #8d7869; margin-top: 18px; margin-bottom: 23px; font-size: 10px; }
.series-filemeta span + span::before { content: '·'; margin-right: 15px; color: #baa28f; }
.series-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.series-download { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; background: var(--brown); color: var(--cream); border-radius: 5px; font-size: 11px; }
.series-download:hover { background: #65483f; }
.series-download:disabled { background: #eee7e0; color: #857366; cursor: default; }
.series-credit { margin-top: 22px; color: #8d786b; font-size: 10px; line-height: 2; }
.friends-section { border-top: 1px solid var(--line); margin-top: 15px; }
.friend-card { display: grid; grid-template-columns: 190px 1fr auto; gap: 34px; align-items: center; padding: 30px 34px; border: 1px solid var(--line); border-radius: 9px; background: #fffdf9; transition: border-color .2s, background .2s; }
.friend-card:hover { border-color: #cba998; background: #fff9f2; }
.friend-logo { background: #f1f7f5; border-radius: 6px; padding: 18px 14px; }
.friend-logo img { width: 100%; height: 65px; object-fit: contain; }
.friend-tag { color: #8a7365; font-size: 10px; letter-spacing: .3px; }
.friend-copy h3 { font: 600 22px/1.7 var(--serif); margin-top: 5px; }
.friend-copy p { color: var(--muted); font-size: 12px; margin-top: 8px; }
.friend-visit { color: #8c6653; font-size: 12px; white-space: nowrap; }
.friend-visit span { font-size: 20px; margin-left: 12px; }
.file-hash { padding: 18px 20px; border: 1px solid #baa18c55; border-radius: 6px; margin-top: 22px; background: #fffaf408; min-width: 0; }
.hash-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #e3cabb; font-size: 11px; }
.hash-copy { min-height: 38px; padding: 6px 12px; border: 1px solid #ceb49e70; color: #fff3e6; background: #ffffff0c; border-radius: 4px; font-size: 11px; white-space: nowrap; }
.hash-copy:hover { background: #ffffff18; }
.hash-copy:disabled { opacity: .5; cursor: default; }
.file-hash code { display: block; margin-top: 11px; font: 12px/1.9 Consolas, 'Courier New', monospace; letter-spacing: .4px; color: #fff5ea; overflow-wrap: anywhere; user-select: all; }
.hash-copy-status { min-height: 0; color: #e5c6b5; font-size: 10px; }
.hash-copy-status:not(:empty) { margin-top: 9px; }
.hash-help { color: #ceb7a6; font-size: 10px; margin-top: 14px; }
.project-page.volume-2 { --project-soft: #edf1f5; --project-accent: #7d899f; }
.project-page.volume-3 { --project-soft: #faeceb; --project-accent: #b97888; }
.project-hero-region { background: radial-gradient(ellipse at 94% 37%, var(--project-soft), transparent 60%), var(--cream); border-bottom: 1px solid var(--line); padding-bottom: 72px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px; color: #967b6a; font-size: 10px; }
.breadcrumbs a:hover { color: var(--pink); }
.project-hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 58px; padding-top: 52px; }
.project-hero-copy { min-width: 0; }
.project-hero-copy .eyebrow { color: var(--project-accent); font-size: 9px; letter-spacing: 1.4px; }
.cooperation-label { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; margin-top: 19px; color: #8c7667; }
.cooperation-label span { color: #ba9a86; }
.cooperation-label.project-credits { display: block; line-height: 1.9; }
.project-hero h1 { font: 700 clamp(40px, 4.4vw, 60px)/1.4 var(--serif); letter-spacing: 1px; margin-top: 13px; white-space: nowrap; }
.project-hero h1 > span { color: var(--pink); }
.project-hero h1 b { display: inline-grid; place-items: center; width: 38px; height: 38px; font: italic 29px Georgia, serif; border: 1px solid #cdb5a3; border-radius: 50%; vertical-align: middle; margin-left: 13px; }
.project-tagline { font: 600 28px/1.7 var(--serif); margin-top: 18px; letter-spacing: 1px; }
.project-hero-description { margin-top: 18px; color: #857369; font-size: 12px; line-height: 2.1; max-width: 35em; }
.project-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 27px; flex-wrap: wrap; }
.project-visual { position: relative; padding: 10px 10px 0; border: 1px solid #e2d3c7; background: var(--paper); box-shadow: 0 16px 38px #7352450d; transform: rotate(2deg); }
.project-visual img { width: 100%; height: auto; }
.project-visual figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; font-size: 8px; letter-spacing: 1px; padding: 13px 8px; color: #947969; }
.project-story { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 90px; }
.project-story h2 { font-size: 30px; letter-spacing: 1px; max-width: 16em; }
.project-story > div > p:not(.section-kicker) { color: #857369; font-size: 13px; line-height: 2.2; margin-top: 20px; }
.project-info { background: #f6eee6; border: 1px solid var(--line); border-radius: 7px; padding: 26px 29px; }
.project-info .section-kicker { font-size: 9px; margin-bottom: 15px; }
.project-info dl { margin: 0; }
.project-info dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid #e4d7cb; font-size: 11px; }
.project-info dt { color: #927867; }
.project-info dd { margin: 0; overflow-wrap: anywhere; }
.project-info dd a { text-decoration: underline; text-underline-offset: 4px; }
.project-info > p:last-child { color: #927e6e; font-size: 10px; line-height: 2; margin-top: 18px; }
.project-download-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 27px; margin-top: 22px; border-top: 1px solid #ffffff26; border-bottom: 1px solid #ffffff26; }
.project-download-line h3 { font: 600 23px/1.5 var(--serif); }
.project-download-line p { color: #d2bcae; font-size: 11px; margin-top: 8px; }
.button-light { background: #fff3e7; color: var(--brown); min-width: 170px; justify-content: center; }
.button-light:hover { background: #f1d6d8; }
.button-light:disabled { background: #a18b7d55; color: #d0bcaa; cursor: default; transform: none; box-shadow: none; }
.project-ownership { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-block: 25px; }
.project-ownership p { font-size: 10px; color: #947d6d; }
@media (max-width: 1150px) {
  .project-hero { gap: 30px; }
  .project-hero h1 { font-size: 43px; }
  .project-tagline { font-size: 24px; }
  .project-story { gap: 45px; }
  .friend-card { grid-template-columns: 150px 1fr auto; gap: 24px; padding: 25px; }
  .friend-copy h3 { font-size: 19px; }
}
@media (max-width: 800px) {
  .series-card-body { padding: 23px; }
  .series-card h3 { font-size: 25px; }
  .project-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 35px; }
  .project-hero-copy { max-width: 600px; }
  .project-hero h1 { font-size: 56px; }
  .project-hero-description { max-width: 44em; }
  .project-visual { transform: rotate(1deg); width: calc(100% - 12px); justify-self: center; }
  .project-hero-region { padding-bottom: 48px; }
  .project-story { grid-template-columns: 1fr; gap: 35px; }
  .friend-card { grid-template-columns: 140px 1fr; }
  .friend-visit { grid-column: 2; }
}
@media (max-width: 600px) {
  .series-grid { grid-template-columns: 1fr; gap: 25px; }
  .series-card-body { padding: 23px 21px; }
  .series-summary { font-size: 12px; }
  .series-actions { gap: 12px; }
  .series-actions .text-link { font-size: 11px; gap: 10px; }
  .series-credit { font-size: 10px; }
  .friend-card { grid-template-columns: 1fr; padding: 23px; gap: 18px; }
  .friend-logo { width: 170px; padding: 8px 14px; }
  .friend-logo img { height: 55px; }
  .friend-copy h3 { font-size: 20px; }
  .friend-copy p { font-size: 11px; }
  .friend-visit { grid-column: 1; padding-top: 4px; }
  .file-hash { padding: 14px; }
  .hash-heading { font-size: 10px; gap: 8px; flex-wrap: wrap; }
  .hash-copy { font-size: 10px; }
  .file-hash code { font-size: 11px; letter-spacing: 0; }
  .breadcrumbs { padding-top: 21px; font-size: 9px; gap: 8px; }
  .project-hero { padding-top: 30px; gap: 35px; }
  .project-hero h1 { font-size: clamp(37px, 11.8vw, 55px); }
  .project-hero h1 b { width: 31px; height: 31px; font-size: 24px; margin-left: 8px; }
  .project-hero-copy .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .cooperation-label { margin-top: 16px; font-size: 10px; }
  .project-tagline { font-size: 24px; margin-top: 15px; }
  .project-hero-description { font-size: 12px; }
  .project-hero-actions { gap: 20px; margin-top: 22px; }
  .project-hero-actions .text-link { font-size: 11px; }
  .project-visual { padding: 7px 7px 0; }
  .project-visual figcaption { font-size: 7px; letter-spacing: .6px; padding: 11px 4px; }
  .project-story h2 { font-size: 26px; }
  .project-story > div > p:not(.section-kicker) { font-size: 12px; }
  .project-info { padding: 22px; }
  .project-info dl > div { grid-template-columns: 80px minmax(0, 1fr); }
  .project-download-line h3 { font-size: 20px; }
  .project-download-line { align-items: flex-start; flex-direction: column; }
  .project-download-line .button { width: 100%; min-height: 47px; }
  .project-ownership { font-size: 10px; padding-block: 22px; }
}
