/* Portfolio edition of the field manual. Approved artwork stays intact; the new
   compositions use the existing inks, type, print wear and chapter illustrations. */
/* Mark selected Cut-up Manual on 30 November 2026. Keep the machine readouts' VT323. */
@font-face { font-family: "Special Elite"; src: url("fonts/special-elite.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --display: "Special Elite", "Courier New", monospace; --body: "Barlow", Arial, sans-serif; --mono: "Barlow", Arial, sans-serif; }
body { font-size: 1.125rem; }
.display { line-height: 1.1; }
.site-nav { flex-wrap: wrap; gap: .5rem 1.35rem; }
.site-nav a { font-size: 1rem; letter-spacing: .12em; padding-block: .65rem; }
.site-nav a::before, .text-link::after, .hero-caption::after { content: none; }
.portfolio-page .issue { font-size: .875rem; }
.portfolio-page .section-title::before { content: none; }
.portfolio-page .section { padding-block: clamp(3rem, 7vw, 6rem); }
.portfolio-page .section-title { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.portfolio-page .art-credit, .portfolio-page .footnote,
.portfolio-page .machine-caption, .portfolio-page .machine-tape .method,
.portfolio-page .machine-share, .portfolio-page .margin-notes,
.portfolio-page .margin-notes h4 { font-size: .875rem; }
.folio-cover { position: relative; padding: 2rem 0 2.5rem; }
.folio-masthead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--cyan); padding-bottom: .8rem; }
.folio-masthead .issue { margin: 0; }
.folio-edition { color: var(--cyan); font: .875rem var(--mono); white-space: nowrap; }
.folio-cover h1 { color: var(--paper); font-size: clamp(2.4rem, 10vw, 8.5rem); line-height: 1.1; margin: 1.4rem 0 1.5rem; letter-spacing: -.045em; text-shadow: 3px 3px 0 var(--pink); }
.folio-deck { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 3rem; max-width: 1060px; margin: 0 0 2rem; }
.folio-deck p { margin: 0; }
.folio-positioning { font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.3; color: var(--cyan); }
.cover-specimens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(1.1rem, 3vw, 2.7rem); padding: .6rem .5rem 1rem; }
.cover-specimen { display: block; min-width: 0; color: var(--paper-ink); background: var(--paper); text-decoration: none; box-shadow: 7px 8px 0 var(--pink); transform: rotate(-2deg); transition: transform .2s, box-shadow .2s; }
.cover-specimen:nth-child(2) { box-shadow: 7px 8px 0 var(--cyan); transform: translateY(1.3rem) rotate(1.5deg); }
.cover-specimen:nth-child(3) { box-shadow: 7px 8px 0 var(--green); transform: rotate(-1deg); }
.cover-image { height: clamp(230px, 29vw, 385px); padding: 1.1rem; display: block; overflow: hidden; background: var(--night); border: 1px solid var(--paper); }
.cover-image img { height: 100%; width: 100%; object-fit: contain; }
.cover-arcade .cover-image { padding: 0; }
.cover-arcade img { object-fit: cover; }
.specimen-label { display: block; padding: .85rem 1rem 1rem; font: 400 1rem/1.3 var(--display); }
.specimen-label small { display: block; margin-top: .4rem; font: 400 1rem/1.3 var(--body); }
.cover-specimen:hover, .cover-specimen:focus-visible { color: var(--paper-ink); outline: 2px solid var(--cyan); outline-offset: 5px; transform: translateY(-.4rem) rotate(0); box-shadow: 10px 13px 0 var(--pink); }
.folio-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font: .875rem/1.6 var(--mono); margin: 2rem 0 0; }
.folio-caption span { color: var(--muted); }
.folio-contents { margin: 2rem auto 1rem; padding: clamp(1.5rem, 4vw, 2.8rem); rotate: -.5deg; box-shadow: 9px 9px 0 var(--pink); }
.contents-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; padding-bottom: 1rem; }
.folio-contents h2 { margin: 0; font: clamp(2.5rem, 5vw, 4rem)/1 var(--display); text-transform: uppercase; }
.contents-heading p { font: .875rem var(--mono); margin: 0; }
.folio-contents ol { padding: 0; margin: 0; list-style: none; }
.folio-contents li { border-top: 1px dashed currentColor; }
.folio-contents a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; color: var(--paper-ink); text-decoration: none; }
.folio-contents a:hover span { text-decoration: underline; text-decoration-color: var(--paper-pink); }
.folio-contents a span { font: 400 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--display); }
.folio-contents small { font: .875rem var(--mono); align-self: center; text-align: right; }
.folio-chapter { scroll-margin-top: 2rem; }
.legacy-anchor { scroll-margin-top: 2rem; }
.folio-chapter-head { border-top: 2px solid var(--spot); padding-top: 1.4rem; margin-bottom: 3rem; }
.folio-chapter-head h2 { font-size: clamp(2.1rem, 5.8vw, 4.5rem); line-height: 1.15; margin: .5rem 0 1.5rem; }
.folio-chapter-head p:last-child { max-width: 640px; font-size: 1.2rem; margin-bottom: 0; }
.collection-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.collection-heading .chapter-art { width: 100%; max-width: 350px; grid-area: auto; }
.selected-works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem 3rem; list-style: none; margin: 0; padding: 0 .5rem; }
.folio-work { grid-column: span 7; min-width: 0; }
.folio-work:nth-child(4n+2), .folio-work:nth-child(4n+3) { grid-column: span 5; }
.folio-work:nth-child(even) { margin-top: 4rem; }
.folio-work a { color: var(--white); text-decoration: none; display: block; }
.folio-work-image { background: var(--panel); border: 2px solid var(--spot); padding: 1.2rem; box-shadow: 8px 8px 0 var(--ink2); height: clamp(290px, 37vw, 480px); display: block; rotate: -.7deg; transition: translate .2s, box-shadow .2s; }
.folio-work:nth-child(even) .folio-work-image { rotate: 1deg; }
.folio-work-image img { width: 100%; height: 100%; object-fit: contain; }
.folio-work a:hover .folio-work-image { translate: 0 -.35rem; box-shadow: 11px 13px 0 var(--ink2); }
.folio-work-caption { border-top: 1px solid var(--spot); padding-top: .85rem; margin-top: 1.75rem; }
.work-medium { font: .875rem var(--mono); color: var(--muted); text-transform: uppercase; }
.folio-work-caption h3 { font: clamp(2rem, 3.8vw, 3.3rem)/.98 var(--display); text-transform: uppercase; color: var(--spot); margin: .6rem 0 .5rem; }
.folio-work-caption p { font: 1.125rem/1.5 var(--body); margin: 0; }
.chapter-exit { display: flex; gap: 2rem; align-items: center; margin-top: 3rem; flex-wrap: wrap; }
.chapter-exit span { font: .875rem var(--mono); color: var(--muted); }
.props-spread { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prop-index { padding: 0; margin: 0; list-style: none; }
.prop-index li { border-top: 1px solid #63527b; }
.prop-index li:last-child { border-bottom: 1px solid #63527b; }
.prop-index a { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding: 1.1rem 0; text-decoration: none; align-items: center; }
.prop-index img { width: 80px; height: 90px; object-fit: contain; }
.prop-index strong { display: block; font-size: 1.2rem; line-height: 1.3; }
.prop-entry > span { display: block; color: var(--muted); font-size: 1rem; line-height: 1.5; margin-top: .4rem; }
.prop-index a:hover { background: var(--panel); }
.prop-demonstration { padding: 1.5rem; min-width: 0; border: 1px solid var(--pink); background: var(--surface-ink); box-shadow: 7px 7px 0 var(--pink); }
.prop-demonstration > a { display: inline-block; margin-top: 1rem; }
.arcade-spread { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.arcade-illustration { display: block; background: var(--panel); border-bottom: 3px solid var(--cyan); }
.arcade-illustration img { max-height: 580px; width: 100%; object-fit: contain; }
.arcade-spread h3 { font: clamp(2rem, 4vw, 3.2rem)/1.08 var(--display); text-transform: uppercase; color: var(--cyan); margin-top: 0; }
.folio-about { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 3rem; }
.practice-note { color: var(--paper-ink); background: var(--paper); padding: clamp(1.5rem, 4vw, 3rem); border-top: 8px solid var(--pink); box-shadow: 8px 8px 0 var(--cyan); rotate: -.7deg; }
.practice-note .issue { color: var(--paper-ink); }
.practice-note h2 { font: clamp(2.5rem, 5vw, 4rem)/1 var(--display); margin: 1rem 0 1.5rem; text-transform: uppercase; }
.practice-note p { font-size: 1.0625rem; line-height: 1.7; }
.practice-note .art-credit { color: var(--paper-ink); border-top: 1px dashed currentColor; padding-top: 1rem; margin-bottom: 0; }
.practice-illustration { text-align: center; }
.practice-illustration .chapter-art { width: 100%; max-width: 500px; margin: 0 auto; }
.practice-illustration p { color: var(--pink); font: 2.3rem/1 var(--display); text-transform: uppercase; }
.gift-shop-note { margin: 2rem auto 4rem; padding: 2.5rem; border: 2px dashed var(--amber); display: flex; gap: 2rem; justify-content: space-between; align-items: center; }
.gift-shop-note h2 { font: clamp(2rem, 4vw, 3.5rem)/1 var(--display); text-transform: uppercase; margin: .5rem 0 1rem; }
.gift-shop-note .button { flex-shrink: 0; background: var(--amber); }
.folio-contents h2, .folio-work-caption h3, .arcade-spread h3, .practice-note h2, .gift-shop-note h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.15; font-weight: 400; }
.product-buy h1 { font-size: clamp(2.15rem, 4.5vw, 3.4rem); line-height: 1.12; }
.collection-intro { margin: 3rem auto 0; }
.collection-intro h1 { font-size: clamp(3.5rem, 10vw, 8rem); margin: 1rem 0 2rem; }
.collection-intro > p { max-width: 740px; }
.collection-tabs { display: flex; flex-wrap: wrap; gap: 1rem 2rem; border-top: 1px solid var(--cyan); border-bottom: 1px solid var(--cyan); padding: 1rem; margin-top: 2rem; font: 1rem var(--mono); background: var(--night); position: sticky; top: 0; z-index: 10; }
.collection-tabs a { padding: .2rem 0; }
.collection-tabs ~ .chapter { scroll-margin-top: 5.5rem; }
.portfolio-page .system .plate dt, .portfolio-page .system .plate dd { font-size: .875rem; }
.work-detail .product-buy { position: static; background: none; border: none; box-shadow: none; padding-inline: 0; }
.work-detail .product-art > .printout > img { max-height: 800px; object-fit: contain; width: 100%; }
.work-detail .product-buy h1 { margin-top: 1.5rem; }
.work-detail .product-buy > .plate { display: none; }
.work-detail .product-buy > h2 { font: 1rem var(--mono); text-transform: uppercase; color: var(--muted); }
.work-shop-link { margin-top: 2rem; padding-top: 1rem; border-top: 1px dashed var(--muted); font-size: 1rem; }
.full-art-link { font: .875rem var(--mono); }
.work-context { margin: 2rem 0 0; max-width: 24rem; }
.work-context img { max-height: 26rem; margin: auto; object-fit: contain; }
.work-context figcaption { font: .875rem/1.6 var(--mono); margin-top: .7rem; }
.work-return { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--cyan); }
.work-return h2 { font: 3rem/1 var(--display); text-transform: uppercase; }
@media (min-width: 960px) { .work-detail { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }
@media (max-width: 760px) {
 .folio-cover { padding-top: 1rem; }
 .folio-masthead { flex-wrap: wrap; gap: .5rem; }
 .folio-deck { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
 .cover-specimens { grid-template-columns: 1fr; gap: 2.5rem; max-width: 30rem; margin: auto; padding-inline: .5rem; }
 .cover-specimen:nth-child(2) { transform: rotate(1.5deg); }
 .cover-image { height: clamp(250px, 83vw, 420px); }
 .folio-contents a { flex-direction: column; gap: .3rem; }
 .folio-contents small { align-self: start; text-align: left; }
 .collection-heading { grid-template-columns: 1fr; gap: 1rem; }
 .collection-heading .chapter-art { max-width: 220px; margin: 0 0 0 auto; }
 .selected-works { grid-template-columns: 1fr; gap: 3rem; }
 .folio-work, .folio-work:nth-child(4n+2), .folio-work:nth-child(4n+3) { grid-column: 1; }
 .folio-work:nth-child(even) { margin-top: 0; }
 .folio-work-image { height: clamp(280px, 90vw, 420px); }
 .props-spread, .arcade-spread, .folio-about { grid-template-columns: 1fr; }
 .prop-demonstration { padding: 1rem; }
 .gift-shop-note { flex-direction: column; align-items: start; padding: 1.5rem; }
 .work-return { flex-direction: column; align-items: start; }
 .work-detail .product-buy h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
 .practice-illustration p { font-size: 1.6rem; }
 .collection-tabs { gap: .7rem 1.25rem; padding: .8rem .5rem; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
 .cover-specimen, .folio-work-image { transition: none; }
 .cover-specimen:hover, .cover-specimen:focus-visible, .folio-work a:hover .folio-work-image { translate: none; transform: none; }
}
