/* Work contents v3: Paper's index/preview at >=1000px; accordion below. */
.contents-page { width: 100%; padding: 41px 0 120px; }
.contents-header { padding-bottom: 32px; }
.contents-header h1 { width: fit-content; margin: 0; font: 400 58px/70px Georgia, serif; letter-spacing: -2.5px; }
.work-word { position: relative; display: inline-block; }
.work-word::after { content: ''; position: absolute; left: -2%; bottom: -.035em; width: 106%; height: .246em; background: url('/images/red-brushstroke.png') center / 100% auto no-repeat; transform: rotate(-1.2deg); transform-origin: left center; pointer-events: none; }
.contents-intro { max-width: 1080px; margin: 32px 0 47px; font: 400 22px/32px Georgia, serif; }
.contents-cv { font: 400 16px/24px 'Satoshi', sans-serif; color: var(--graphite); }
.contents-lead { margin: 0; padding: 60px 0 52px; border-top: 1px solid var(--rule); text-align: center; font: normal 400 36px/44px Georgia, serif; letter-spacing: -.022em; }
.contents-browser { container-type: inline-size; }
.case-index { min-width: 0; border-bottom: 1px solid var(--rule); }
.case-row { border-top: 1px solid var(--rule); }
.case-heading { display: flex; align-items: center; gap: 0; padding: 30px 0; }
.case-number { flex: 0 0 48px; color: var(--graphite); font: 400 13px/40px 'Satoshi', sans-serif; letter-spacing: .1em; }
.case-heading h3 { flex: 1; min-width: 0; margin: 0; font-weight: 400; }
.case-select { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; color: var(--graphite); font: 400 clamp(18px, 2.58cqw, 32px)/1.25 Georgia, serif; letter-spacing: -.031em; }
.case-title { min-width: 0; }
.case-select:focus-visible { outline: 2px solid var(--pencil); outline-offset: 5px; border-radius: 2px; }
.case-select[aria-disabled="true"] { cursor: default; }
.case-explore { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; height: 34px; padding: 0 9px; border: 1px solid var(--pencil); border-radius: 4px; color: var(--pencil); font: italic 400 18px/18px Georgia, serif; text-decoration: none; white-space: nowrap; }
.case-explore span { position: relative; top: -1px; }
.case-explore:hover { background: var(--pencil); color: white; }
.row-explore { margin-left: 12px; transform: translateY(1.5px); }
.case-toggle { display: none; }
.case-panel[hidden], .desktop-preview[hidden] { display: none; }
.case-panel { padding: 4px 0 34px 48px; }
.case-content { min-width: 0; }
.preview-mat { background: #f1efea; padding: 36px; }
.case-image { width: 100%; aspect-ratio: 2700 / 1560; display: flex; align-items: center; justify-content: center; }
.case-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.case-image.playbook, .case-image.research { background: white; }
.case-image.playbook img { filter: brightness(1.04); }
.case-image.research img { width: 70%; height: auto; }
.case-description { padding-top: 24px; font: 400 18px/26px Georgia, serif; }
.case-description p { margin: 0; }
.case-description p + p { margin-top: 12px; }
.case-description a { color: var(--pencil); text-decoration: underline; text-decoration-color: currentColor; }
.case-description a:hover { text-decoration-thickness: 2px; }
.case-result { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 0; font: 400 18px/26px 'Satoshi', sans-serif; }
.result-label { color: var(--pencil); letter-spacing: .1em; }
.result-dot { color: var(--graphite); }
.panel-explore { display: none; }
.coming-soon { color: var(--graphite); font-style: italic; }
.desktop-preview { position: relative; min-width: 0; display: grid; align-self: start; }
.desktop-preview > .case-content { grid-area: 1 / 1; }
.desktop-preview > .is-leaving { pointer-events: none; }
.desktop-preview .coming-soon { min-height: 200px; background: #f1efea; display: flex; align-items: center; justify-content: center; padding: 36px; }
.desktop-preview .case-description:first-child { padding-top: 0; }
@media (min-width: 1000px) {
  .enhanced .contents-browser { display: grid; grid-template-columns: minmax(0, 733fr) minmax(0, 515fr); gap: 32px; }
  .enhanced .case-panel { display: none; }
  .case-title { white-space: nowrap; }
  .case-select[aria-pressed="true"] { color: var(--ink); }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .enhanced .contents-browser { gap: 24px; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
  .case-number { flex-basis: 36px; }
  .preview-mat { padding: 24px; }
  .case-description, .case-result { font-size: 16px; line-height: 24px; }
  .case-result { flex-wrap: wrap; gap: 4px 8px; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .contents-page { padding-top: 32px; }
  .contents-header { padding-bottom: 28px; }
  .contents-header h1 { font-size: 48px; line-height: 58px; letter-spacing: -2px; }
  .contents-intro { font-size: 20px; line-height: 29px; margin-bottom: 32px; }
  .contents-lead { padding: 48px 0 40px; font-size: 31px; line-height: 39px; letter-spacing: -.02em; }
  .case-heading { padding-block: 24px; }
  .case-select { color: var(--ink); font-size: clamp(21px, 4.2cqw, 28px); line-height: 36px; letter-spacing: -.029em; }
  .case-title { white-space: nowrap; }
  .row-explore { transform: translateY(1px); }
  .case-panel .preview-mat { padding: 0; background: none; }
  .case-description { padding-top: 22px; }
  .case-result { margin-top: 16px; }
}
@media (max-width: 599px) {
  .contents-page { padding: 20px 0 72px; }
  .contents-header { padding-bottom: 24px; }
  .contents-header h1 { font-size: 33px; line-height: 40px; letter-spacing: -1.3px; }
  .contents-intro { margin: 18px 0 22px; font-size: 17px; line-height: 25px; }
  .contents-lead { padding: 36px 0 30px; font-size: 25px; line-height: 32px; letter-spacing: -.016em; }
  .case-heading { padding: 20px 0; }
  .case-number, .row-explore { display: none; }
  .case-select { color: var(--ink); font-size: 18px; line-height: 23px; letter-spacing: -.025em; align-items: flex-start; }
  .case-toggle { display: block; width: 28px; height: 30px; flex: 0 0 28px; position: relative; margin-top: -3px; }
  .case-toggle::before, .case-toggle::after { content: ''; position: absolute; background: var(--pencil); }
  .case-toggle::before { left: 7px; top: 15px; width: 14px; height: 1px; }
  .case-toggle::after { left: 14px; top: 8px; width: 1px; height: 14px; }
  .case-select[aria-expanded="true"] .case-toggle::after { display: none; }
  .case-panel { padding: 0 0 28px; }
  .case-panel .preview-mat { padding: 0; background: none; }
  .case-description { padding-top: 18px; font-size: 16px; line-height: 24px; }
  .case-result { margin-top: 18px; font-size: 16px; line-height: 24px; gap: 7px; flex-wrap: wrap; }
  .panel-explore { display: inline-flex; margin-top: 18px; height: 31px; font-size: 16px; line-height: 16px; padding-inline: 8px; }
}
@media print {
  .desktop-preview { display: none !important; }
  .enhanced .contents-browser { display: block; }
  .enhanced .case-panel, .case-panel[hidden] { display: block; }
  .case-select { color: var(--ink); font-size: 20px; }
  .case-panel { padding: 0 0 24px; }
  .case-row { break-inside: avoid; }
}

/* Funding uses the same image proportions and frame spacing as other previews. */
.case-image.funding { background: #000; }
.case-image.funding img { width: 64%; height: auto; }

@media (max-width: 359px) { .contents-header h1 { font-size: 27px; letter-spacing: -1.2px; } }

.contents-header h1 { font-size:clamp(33px, calc(11.571429px + 3.571429vw), 60px);line-height:1.2;letter-spacing:-.043em; }

@media (min-width:600px) and (max-width:768px) { .contents-header h1 { font-size:calc(11.571429px + 3.571429vw); } }
@media (min-width:768px) and (max-width:834px) { .contents-header h1 { font-size:calc(15.727273px + 3.030303vw); } }
@media (min-width:834px) and (max-width:1024px) { .contents-header h1 { font-size:calc(14.663158px + 3.157895vw); } }
@media (min-width:1024px) and (max-width:1280px) { .contents-header h1 { font-size:calc(15.000000px + 3.125000vw); } }
@media (min-width:1280px) and (max-width:1440px) { .contents-header h1 { font-size:calc(15.000000px + 3.125000vw); } }

@media (max-width: 359px) { .contents-header h1 { font-size: 27px; letter-spacing: -1.2px; } }

/* Work top, approved October 2026 */
.contents-intro a { color: var(--ink); text-decoration: underline 1px var(--ink); text-underline-offset: 3px; }
.contents-intro a:hover { color: var(--pencil); text-decoration-color: var(--pencil); }
.contents-intro { margin-bottom: 0; }
.contents-lead { border-top: 0; text-align: left; padding-top: 24px; }
@media (min-width: 600px) and (max-width: 999px) {
  .contents-intro { margin-bottom: 0; }
  .contents-lead { padding-top: 16px; }
}
@media (max-width: 599px) {
  .contents-intro { margin-bottom: 0; }
  .contents-lead { padding-top: 12px; }
}

/* Two-paragraph Work introduction. */
.contents-intro.contents-summary { margin-top: 24px; }
.contents-header { padding-bottom: 64px; }
@media (min-width: 600px) and (max-width: 999px) { .contents-header { padding-bottom: 48px; } }
@media (max-width: 599px) { .contents-intro.contents-summary { margin-top: 20px; } .contents-header { padding-bottom: 36px; } }
