@font-face {
  font-family: Orbitron;
  src: url("fonts/orbitron.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f7ef;
  --card: #fffef8;
  --ink: #1b3028;
  --forest: #183f32;
  --muted: #50625a;
  --rule: #ccd1bd;
  --tint: #e9ecdf;
  --lime: #d8eb98;
  --copper: #944c2a;
  font: 100%/1.6 Orbitron, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
h1,h2,h3,p,figure { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
img { display: block; max-width: 100%; }
button,input,select { font: inherit; color: inherit; }
button,select { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.wrap { width: min(78rem, calc(100% - 2 * clamp(1.05rem,4.5vw,4.25rem))); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-180%); padding: .6rem 1rem; background: white; z-index: 3; }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--rule); }
.mast > div, .foot > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mast > div { min-height: 4.9rem; }
.wordmark { font-size: clamp(1.25rem,3vw,1.55rem); font-weight: 800; letter-spacing: -.05em; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(.85rem,3vw,2.4rem); }
nav a,.foot a { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a[aria-current],nav a:hover,.foot a:hover { text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; }
.hero { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); align-items: center; gap: clamp(2rem,4.7vw,5.25rem); padding-block: clamp(2.6rem,5vw,4.85rem); }
.hero:has(figure[hidden]) { grid-template-columns: 1fr; padding-block: 2rem; }
h1 { font-size: clamp(2.65rem,5.5vw,5.3rem); line-height: 1.06; letter-spacing: -.054em; font-weight: 720; }
.hero h1 span { color: var(--copper); }
.byline,.kind { text-transform: uppercase; color: var(--copper); font-weight: 720; letter-spacing: .13em; font-size: .78rem; }
.byline { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.15rem; }
.byline::before { content: ''; width: 1.7rem; border-top: 2px solid currentColor; }
.hero-copy { margin-block: 1.25rem 1.65rem; max-width: 37rem; color: var(--muted); font-size: clamp(1rem,1.1vw,1.13rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.8rem; border-radius: .26rem; border: 1px solid var(--forest); padding: .58rem 1rem; font-weight: 680; font-size: .91rem; line-height: 1.35; text-decoration: none; background: var(--forest); color: var(--card); }
.button:hover { background: #295742; }
.text-link { font-size: .88rem; font-weight: 660; }
.hero-links,.action-set { display: flex; gap: .8rem 1.35rem; align-items: center; flex-wrap: wrap; }
.hero figure { overflow: hidden; border-radius: .3rem; background: var(--forest); color: var(--card); }
.hero figure img { width: 100%; height: auto; aspect-ratio: 1.86; object-fit: cover; object-position: 50% 48%; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem .8rem; padding: .73rem 1.1rem; font-size: .82rem; }
.capture-actions,.included-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .85rem; }
.included-actions:has(> a:first-child[hidden]) { display: none; }
figcaption a { font-size: .97rem; color: var(--lime); text-decoration: none; font-weight: 680; }
figcaption a:hover { text-decoration: underline; }
figcaption .capture-download,figcaption .install-link { color: var(--card); font-size: .79rem; text-decoration: underline; }
.install-link { font-size: .83rem; text-underline-offset: .23em; }
.collection-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin: .55rem 0 0; color: var(--copper); font-size: .91rem; }
.library { border-top: 1px solid var(--rule); padding: 2.3rem 0 4.5rem; scroll-margin-top: 1rem; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1.2rem; }
h2 { font-size: clamp(1.7rem,3.8vw,3rem); letter-spacing: -.035em; line-height: 1.16; font-weight: 670; }
.total,.meta,small { font-size: .83rem; color: var(--muted); }
.tools { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .7rem 1rem; padding-block: 1.2rem 1.5rem; }
.tools label { display: flex; flex-direction: column; gap: .25rem; font-size: .81rem; font-weight: 650; }
.search-field { flex: 1 1 15rem; }
.tools input,.tools select { padding: .62rem .75rem; width: 100%; min-width: 0; height: 2.8rem; border: 1px solid #939e8c; border-radius: .25rem; background: var(--card); font-size: .93rem; font-weight: 450; }
.tools .reset { height: 2.8rem; padding: .35rem .7rem; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .22em; font-size: .86rem; }
.projects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; padding-top: 1rem; }
.project { padding: 1.05rem; background: var(--card); border: 1px solid var(--rule); border-radius: .32rem; display: flex; flex-direction: column; gap: .95rem; min-width: 0; }
.project:hover { border-color: #839378; }
.project-top { display: grid; grid-template-columns: 3.9rem minmax(0,1fr); align-items: center; gap: .85rem; }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--tint); border-radius: .16rem; }
.project h3 { font-size: 1.02rem; line-height: 1.38; letter-spacing: -.018em; overflow-wrap: anywhere; }
.project h3 a { text-decoration: none; }
.project h3 a:hover { text-decoration: underline; }
.project p { font-size: .89rem; line-height: 1.6; color: var(--muted); }
.project .kind { font-size: .69rem; color: var(--copper); margin-bottom: .18rem; }
.card-action { margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: .5rem; align-items: center; flex-wrap: wrap; }
.card-action a { font-size: .86rem; font-weight: 690; }
.empty { padding: 1rem 0; }
.bundles { padding: 2rem 0 3.2rem; border-top: 1px solid var(--rule); }
.bundles h2 { font-size: clamp(1.45rem,2.7vw,2.15rem); }
.bundles p { margin: .8rem 0 1rem; color: var(--muted); max-width: 55rem; }
.bundles > a { margin: 0 1rem .7rem 0; }
.bundles ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; font-size: .9rem; }
.crumbs { padding-top: 1.45rem; color: var(--muted); font-size: .88rem; }
.project-head { display: flex; gap: clamp(1rem,3.2vw,2.7rem); align-items: center; padding: 2.3rem 0 2.8rem; }
.project-head > img { width: clamp(5rem,12vw,9rem); }
.project-head h1 { font-size: clamp(2.3rem,4.7vw,4.1rem); overflow-wrap: anywhere; }
.project-head .kind { margin-bottom: .42rem; }
.project-head .intro { max-width: 55rem; margin-block: .8rem; color: var(--muted); }
.files { list-style: none; margin: 0; padding: 0; }
.file { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.file h3 { font-size: 1.03rem; line-height: 1.45; overflow-wrap: anywhere; }
.file .meta { margin-top: .35rem; overflow-wrap: anywhere; }
.file .requirements { margin-top: .4rem; overflow-wrap: anywhere; }
.file details { grid-column: 1/-1; margin-top: .4rem; font-size: .82rem; }
.file summary { cursor: pointer; color: var(--muted); width: fit-content; }
.file details p { margin: .4rem 0; overflow-wrap: anywhere; }
.file .button { min-height: 2.55rem; }
.file-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.foot { border-top: 1px solid var(--rule); }
.foot > div { flex-wrap: wrap; padding-block: 1.4rem 2rem; color: var(--muted); font-size: .85rem; }
@media(max-width: 62rem) { .projects { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 47rem) {
 .mast > div { min-height: 4rem; } .hero { grid-template-columns: 1fr; gap: 1.75rem; }
 .hero figure img { aspect-ratio: 2.15; } .library { padding-top: 1.7rem; }
 .project-head { align-items: flex-start; } .tools select { max-width: 100%; }
}
@media(max-width: 35rem) {
 .projects { grid-template-columns: 1fr; } .project-head { flex-direction: column; gap: 1rem; }
 .project-head > img { width: 5.3rem; } .file { grid-template-columns: 1fr; gap: .5rem; } .file .button { justify-self: start; }
 .tools label { flex: 1 1 8rem; } .tools .search-field { flex-basis: 100%; } .hero figure img { aspect-ratio: 1.85; }
 nav a { font-size: .79rem; } figcaption { flex-wrap: wrap; gap: .1rem .7rem; }
}
