/* Six main sections, preserving the palette, mono navigation and pixel markers. */
header{height:auto;min-height:84px;flex-wrap:wrap;gap:8px 24px;padding-top:12px;padding-bottom:6px}
header nav{order:3;width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
header nav a{font-size:15px;letter-spacing:-.6px;gap:8px;min-height:60px;padding:5px 0;white-space:nowrap}
header nav .nav-marker,header nav .nav-qr{width:40px;height:40px}
header nav .nav-number{font-size:11px}
html{scroll-padding-top:var(--site-header-offset,200px)}
.main-resource-section{padding:80px 4%;border-top:1px solid var(--line);background:var(--bg)}
#alephmedia{--resource-color:#ffa07e}#manuals{--resource-color:#69d4bc}
.main-resource-section .section-label{color:var(--muted);margin-bottom:45px}
.main-resource-section h2{font:500 clamp(42px,5.5vw,85px)/1.04 Arial,Helvetica,sans-serif;letter-spacing:-.06em;margin:0 0 30px;color:var(--resource-color)}
.resource-project-layout{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}
.resource-project-text h2{max-width:650px}
.resource-lead{font:20px/1.6 Arial,sans-serif;max-width:620px;margin:0;color:var(--fg)}
.resource-meta{font:11px/1.7 'IBM Plex Mono',monospace;color:var(--muted);margin:26px 0 0}
.resource-actions{display:flex;align-items:flex-start;flex-direction:column;gap:22px;margin-top:35px}
.resource-actions a{font:12px/1.6 'IBM Plex Mono',monospace;color:var(--resource-color);border-bottom:1px solid var(--line);padding-bottom:7px;min-height:30px}
.resource-actions a.resource-primary{font-size:15px;border-color:var(--resource-color);display:flex;justify-content:space-between;gap:35px;min-height:40px}
.map-preview{display:block;max-width:460px;justify-self:center;width:100%}
.map-preview img{display:block;width:100%;height:auto}
.manuals-heading{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:start;margin-bottom:50px}
.manual-entry{display:grid;grid-template-columns:1fr 1.25fr;gap:8%;border-top:1px solid var(--line);padding-top:35px}
.manual-entry-index{margin-top:0;display:block;color:var(--resource-color)}
.manual-entry h3{font:700 clamp(44px,4.8vw,72px)/.98 Arial,sans-serif;letter-spacing:-.05em;margin:28px 0}
.manual-entry h3 span{color:var(--lime)}
.manual-entry-text>p:not(.resource-meta){font-size:17px;line-height:1.7;color:var(--muted);max-width:550px}
.manual-entry-preview{align-self:center;min-width:0}
.manual-entry-preview img{display:block;width:100%;height:auto}
.manual-entry-preview details{margin-top:24px;color:var(--muted);font-size:14px;line-height:1.7}
.manual-entry-preview summary{font:12px/1.6 'IBM Plex Mono',monospace;color:var(--resource-color)}
.manual-entry-preview ul{padding-left:18px;margin-bottom:0}.manual-entry-preview li+li{margin-top:10px}
@media(hover:hover){.resource-actions a:hover{animation:signalFault .42s steps(1,end) both}}
@media(max-width:1100px){header nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 20px}header nav a{font-size:16px;min-height:50px}.main-resource-section{padding:65px 5%}.resource-project-layout{gap:5%}.resource-lead{font-size:18px}}
@media(max-width:700px){header{padding-top:12px;padding-bottom:8px;gap:8px}header nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}header nav a{font-size:13px;letter-spacing:-.4px;gap:6px;min-height:44px}header nav .nav-marker,header nav .nav-qr{width:32px;height:32px}.resource-project-layout,.manuals-heading,.manual-entry{grid-template-columns:1fr;gap:30px}.main-resource-section .section-label{margin-bottom:30px}.main-resource-section h2{font-size:42px}.resource-lead{font-size:17px}.resource-project-layout .map-preview{max-width:340px;margin-top:12px}.manuals-heading{margin-bottom:30px;gap:0}.manual-entry h3{font-size:56px}.manual-entry-text>p:not(.resource-meta){font-size:16px}.manual-entry-preview{margin-top:10px}.resource-actions{gap:16px;margin-top:25px}}
@media(prefers-reduced-motion:reduce){.resource-actions a:hover{animation:none!important}}
@media(max-width:700px){header nav a{font-size:clamp(14px,2.5vw,16px);white-space:normal;line-height:1.25}}
/* One manual series: the entry itself carries the editorial design. */
#manuals>.section-label{margin-bottom:32px}
#manuals>.section-label h2{font:inherit;letter-spacing:inherit;line-height:inherit;margin:0;color:inherit}
.manual-series>.manual-entry{border-top:0;padding-top:0}
.manual-series>.manual-entry+.manual-entry{border-top:1px solid var(--line);padding-top:36px;margin-top:65px}

.podcast-entry{margin-top:70px}.podcast-preview{max-width:440px;margin-inline:auto}.podcast-languages{display:flex;gap:12px 18px;flex-wrap:wrap;align-items:center;font:12px/1.6 "IBM Plex Mono",monospace}.podcast-languages span{width:100%;color:var(--muted)}.podcast-languages a{color:var(--lime);text-decoration:none}.podcast-languages a:hover{text-decoration:underline}

.fabrication-entry{margin-top:70px}.fabrication-preview{max-width:440px;margin-inline:auto}

.manual-series-more{border-top:1px solid #505250}.manual-series-more>summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;cursor:pointer;padding:1.5rem 0;list-style:none;color:#69d4bc;font:500 1rem/1.3 'IBM Plex Mono',monospace}.manual-series-more>summary::-webkit-details-marker{display:none}.manual-series-more>summary span{font-size:1.5rem;transition:transform .2s}.manual-series-more[open]>summary span{transform:rotate(45deg)}.manual-series-more>summary:focus-visible{outline:2px solid currentColor;outline-offset:5px}@media(prefers-reduced-motion:reduce){.manual-series-more>summary span{transition:none}}

/* Manual gallery: a browsable collection before the detailed entries. */
.manual-gallery-intro{margin-bottom:80px}.manual-gallery-heading{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:end;margin-bottom:48px}.manual-gallery-heading h2{margin:0;color:#69d4bc;font-size:clamp(54px,7vw,110px);line-height:.95}.manual-gallery-heading p{font:clamp(18px,2vw,27px)/1.4 Arial,sans-serif;max-width:600px;margin:0;color:var(--fg)}.manual-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 18px}.manual-gallery-card{padding:0;border:0;background:transparent;color:var(--fg);text-align:left;cursor:pointer;min-width:0}.manual-gallery-image{display:flex;align-items:center;justify-content:center;background:#141615;aspect-ratio:4/4.5;overflow:hidden;padding:9%}.manual-gallery-image img{display:block;max-width:100%;max-height:100%;object-fit:contain;transition:transform .3s ease}.manual-gallery-card:hover img,.manual-gallery-card:focus-visible img{transform:scale(1.045)}.manual-gallery-card:focus-visible{outline:2px solid #69d4bc;outline-offset:5px}.manual-gallery-caption{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #545755;margin-top:12px;padding-top:12px;font:500 12px/1.4 'IBM Plex Mono',monospace}.manual-gallery-caption>span:last-child{color:#69d4bc;font-size:18px}.manual-entry h3,.philosophy-library{scroll-margin-top:var(--site-header-offset,200px)}@media(max-width:700px){.manual-gallery-heading{grid-template-columns:1fr;gap:20px;margin-bottom:30px}.manual-gallery-heading h2{font-size:52px}.manual-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.manual-gallery-caption{font-size:10px}.manual-gallery-intro{margin-bottom:58px}}@media(prefers-reduced-motion:reduce){.manual-gallery-image img{transition:none}}
