/* Project 06 only. No changes to the site's scrolling or animation clocks. */
.between-cover, .between-art {
    position: relative;
    background: #151515;
    color: #e9e9e5;
    overflow: hidden;
}
.between-cover { height: 100%; }
.between-presences { display: block; width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; }
.between-echo { opacity: .22; stroke-width: .75; }
.between-thread { opacity: .38; stroke-width: .75; }
.between-cover-note, .between-cover-bottom {
    position: absolute;
    inset-inline: 28px;
    font-family: var(--label-font, monospace);
    font-size: 9px;
    letter-spacing: .14em;
    line-height: 1.7;
}
.between-cover-note { top: 28px; color: #bdbdb9; }
.between-cover-bottom { bottom: 24px; display: flex; justify-content: space-between; gap: 16px; color: #a6a6a2; }
.project-card[data-project="project6"] .project-number { left: auto; right: 22px; color: #bdbdb9; }
.between-cover .between-presences { transition: transform .6s ease; }
.project-card[data-project="project6"]:hover .between-presences { transform: scale(1.035); }
.between-details[hidden] { display: none; }
.portfolio-fancy .is-between .modal-window { background: #f8f8f5; }
.is-between .modal-close { background: #e9e9e5; color: #111; border: 1px solid #b8b8b0; }
.is-between .modal-close:hover { background: #d9d9d3; }
.is-between .modal-hero { padding: 84px 70px 48px; }
.portfolio-fancy .is-between .modal-hero h2 { font-size: clamp(48px, 9vw, 112px); letter-spacing: -.065em; line-height: .95; }
.is-between .modal-hero span { color: #62625e; font-family: var(--label-font, monospace); }
.is-between .modal-hero p { font-size: 17px; line-height: 1.6; max-width: 520px; color: #62625e; margin-top: 24px; }
.between-details { --between-muted: #62625e; color: #20201f; -webkit-tap-highlight-color: rgba(100, 100, 95, .16); }
.between-details ::selection { background: #d6d6d0; color: #111; }
.between-opening { padding: 0 70px; }
.between-label { font-family: var(--label-font, monospace); font-size: 10px; font-weight: 400; letter-spacing: .1em; line-height: 1.7; color: var(--between-muted); }
.between-opening > .between-label { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; border-top: 1px solid #d6d6d0; }
.between-art { aspect-ratio: 2 / 1; margin: 0; }
.between-art figcaption { position: absolute; bottom: 24px; width: 100%; text-align: center; font: 9px var(--label-font, monospace); letter-spacing: .14em; color: #bdbdb9; }
.between-organic, .between-geometric { transform-box: fill-box; transform-origin: center; }
.between-art .between-organic { transform: translate(var(--between-x, 0px), var(--between-y, 0px)); }
.between-art .between-geometric { transform: translate(calc(var(--between-x, 0px) * -.6), calc(var(--between-y, 0px) * -.6)); }
.between-art .between-thread { opacity: var(--between-connection, .38); transition: opacity .25s; }
.between-intro { padding: 70px 0 64px; }
.between-statement { font-size: clamp(28px, 4.5vw, 48px); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; }
.between-statement span { color: var(--between-muted); }
.between-intro > p + p { max-width: 570px; margin-top: 28px; font-size: 18px; line-height: 1.75; color: #484845; }
.between-contents { margin: 0 70px; padding-block: 16px; border-block: 1px solid #d6d6d0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.between-contents button { padding: 8px 0; min-height: 44px; text-align: left; font: 12px var(--display-font, sans-serif); color: #484845; background: none; border: none; cursor: pointer; }
.between-contents button span { display: block; margin-bottom: 6px; font: 9px var(--label-font, monospace); color: var(--between-muted); }
.between-contents button:hover { color: #111; text-decoration: underline; text-underline-offset: 5px; }
.between-details button:focus-visible { outline: 2px solid #62625e; outline-offset: 4px; }
.between-chapter { padding: 90px 70px; }
.portfolio-fancy .between-chapter { scroll-margin-top: 24px; }
.between-chapter:focus { outline: none; }
.between-chapter:focus-visible { outline: 2px solid #62625e; outline-offset: -8px; }
.between-chapter-heading h3 { margin-top: 22px; font-size: clamp(34px, 5.5vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -.055em; }
.between-copy { max-width: 590px; margin: 36px 0 0 auto; font-size: 18px; line-height: 1.8; color: #484845; }
.between-copy p + p { margin-top: 22px; }
.between-question { margin: 64px 0 32px; padding: 36px 0 0; border-top: 1px solid #d6d6d0; }
.between-question p { max-width: 790px; font-size: clamp(28px, 4.5vw, 48px); font-weight: 400; line-height: 1.2; letter-spacing: -.04em; text-wrap: pretty; }
.between-afterthought { max-width: 490px; margin-left: auto; font-size: 15px; color: var(--between-muted); line-height: 1.8; }
.between-dark { background: #181818; color: #f2f2ee; --between-muted: #b2b2ad; }
.between-dark .between-copy { color: #c3c3be; }
.between-distinctions { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border-top: 1px solid #51514c; gap: 30px; padding-top: 28px; }
.between-distinctions dt { font-size: 21px; letter-spacing: -.03em; }
.between-distinctions dd { margin-top: 16px; font-size: 14px; line-height: 1.8; color: #b2b2ad; }
.between-dark-note { margin-top: 40px; font-size: 15px; line-height: 1.7; color: #b2b2ad; }
.between-memory { background: #edede7; margin-top: 44px; padding: 24px 28px; }
.between-memory-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.between-memory-top button { background: none; border: 1px solid #b8b8b0; border-radius: 999px; padding: 10px 16px; min-height: 44px; font: 12px var(--display-font, sans-serif); color: #30302d; cursor: pointer; }
.between-memory-top button:hover { background: #dfdfd7; }
.between-memory-top button span { margin-left: 8px; }
.between-memory-diagram { display: flex; align-items: center; justify-content: center; height: 130px; padding-inline: 16%; }
.between-memory-person { width: 50px; height: 54px; flex-shrink: 0; border: 1px solid #5e5e58; border-radius: 47% 53% 59% 41% / 43% 58% 42% 57%; }
.between-memory-system { width: 50px; height: 50px; flex-shrink: 0; border: 1px solid #5e5e58; }
.between-memory-line { flex: 1; border-top: 1px solid #86867e; }
.between-memory.is-forgotten .between-memory-line { border-top-style: dashed; border-top-color: #99998f; }
.between-memory-history { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; min-height: 38px; transition: opacity .35s; font-size: 12px; color: #62625e; line-height: 1.7; }
.between-memory-history[hidden] { display: flex; visibility: hidden; }
.between-memory-status { text-align: center; font-size: 13px; line-height: 1.7; color: #484845; }
.between-memory-caption { max-width: 430px; margin: 20px auto 0; text-align: center; font-size: 11px; line-height: 1.8; color: #62625e; }
.between-belief { border-top: 1px solid #d6d6d0; }
.between-ending { border-top: 1px solid #d6d6d0; margin-top: 72px; padding-top: 48px; }
.between-ending > .between-label { margin-top: 36px; }
.between-reveal { transition: opacity .65s ease, transform .65s ease; }
.between-reveal.is-pending { opacity: 0; transform: translateY(12px); }
@media (max-width: 700px) {
    .is-between .modal-hero { padding: 76px 24px 36px; }
    .between-opening { padding-inline: 24px; }
    .between-opening > .between-label { font-size: 8px; }
    .between-art { aspect-ratio: 1.65; }
    .between-art figcaption { font-size: 8px; bottom: 18px; }
    .between-intro { padding-block: 44px; }
    .between-intro > p + p, .between-copy { font-size: 16px; }
    .between-contents { margin-inline: 24px; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .between-contents button { font-size: 11px; }
    .between-chapter { padding: 60px 24px; }
    .between-question { margin-top: 40px; }
    .between-distinctions { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
    .between-distinctions dd { margin-top: 8px; }
    .between-memory { padding: 20px 16px; }
    .between-memory-top { align-items: flex-start; flex-direction: column; }
    .between-memory-history { gap: 4px 12px; }
    .between-cover-note, .between-cover-bottom { inset-inline: 18px; font-size: 8px; }
    .between-cover-note { top: 20px; }
    .between-cover-bottom { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .between-reveal.is-pending { opacity: 1; transform: none; }
    .between-art .between-organic, .between-art .between-geometric,
    .project-card[data-project="project6"]:hover .between-presences { transform: none; }
}
