/* Gear section: same shell as the journal pages, polaroid-style item cards */
:root{
  --bg-page:#C4D1DF;--bg-module:#fff;--bg-module-header:#336699;--bg-nav:#003471;--bg-nav-hover:#0050a0;
  --text-body:#333;--text-link:#0033cc;--text-light:#666;--border-module:#b3c5d7;--border-light:#d5d5d5;
  --accent-orange:#ff6600;--bg-soft:#f0f4f8;
  --verdana:Verdana,Geneva,Tahoma,sans-serif;--trebuchet:"Trebuchet MS",Trebuchet,"Segoe UI",sans-serif;
  box-sizing:border-box;
}
*,*::before,*::after{box-sizing:inherit}
body{margin:0;font-family:var(--verdana);font-size:13px;line-height:1.6;color:var(--text-body)}
img{display:block;max-width:100%;height:auto}
a{color:var(--text-link);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible{outline:2px solid var(--accent-orange);outline-offset:2px}.container{max-width:960px;margin:0 auto;padding:12px 8px 40px}
.module{background:var(--bg-module);border:1px solid var(--border-module);border-radius:2px;margin-bottom:10px;box-shadow:0 1px 2px rgba(0,0,0,.15);overflow:hidden}
.module-header{background:var(--bg-module-header);color:#fff;font-size:11px;font-weight:bold;padding:4px 8px}
.module-body{padding:12px}
h1{font-family:var(--trebuchet);font-size:28px;margin:0 0 6px;line-height:1.15}
p{margin:0 0 .9em;max-width:40rem}
p:last-child{margin-bottom:0}
.crumbs{font-size:11px;margin:2px 2px 8px}
footer{text-align:center;font-size:10px;color:var(--text-light);padding:14px 0;border-top:1px solid var(--border-module)}



/* item cards on the index: prints on a table, like the journal */
.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:26px 22px;padding:22px 20px 28px;background:var(--bg-soft)}
.item{display:flex;flex-direction:column;background:#fbfaf6;color:#2c2c2c;padding:11px 11px 0;
  box-shadow:0 1px 2px rgba(0,0,0,.18),0 6px 14px -6px rgba(0,0,0,.28)}
.item:hover,.item:focus-visible{text-decoration:none}
.item:hover .i-name{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.i-body{padding:8px 3px 14px}
.i-name{font-family:"Caveat",var(--trebuchet);font-size:29px;font-weight:600;color:#1f2f45;line-height:1}
.i-model{font-size:11px;color:#444;margin-top:4px}
.i-role{font-size:10px;color:#888;text-transform:uppercase;letter-spacing:.08em;margin-top:2px}

/* item pages */
.item-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start}
.model{font-size:12px;color:var(--text-light);margin-top:-2px}
.specs{border-collapse:collapse;width:100%;font-size:12px;margin-top:6px}
.specs caption{text-align:left;font-weight:bold;color:var(--bg-module-header);border-bottom:1px solid var(--border-light);padding-bottom:3px;margin-bottom:2px}
.specs th{text-align:left;font-weight:bold;color:var(--text-light);padding:4px 10px 4px 0;vertical-align:top;white-space:nowrap;width:1%}
.specs td{padding:4px 0}
.specs tr+tr{border-top:1px solid var(--border-light)}
.strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.other .module-body{display:flex;flex-wrap:wrap;gap:6px 16px}

/* real photos: the print on item pages, card photos on the index, inline shots */
figure{margin:0}
.print{background:#fbfaf6;padding:11px 11px 46px;box-shadow:0 1px 2px rgba(0,0,0,.18),0 6px 14px -6px rgba(0,0,0,.3);transform:rotate(-1deg);max-width:380px}
.print img{width:100%;aspect-ratio:4/5;object-fit:cover}
.item .photo{aspect-ratio:4/5;overflow:hidden;background:#efece4}
.item .photo img{width:100%;height:100%;object-fit:cover}
.inline-shot{max-width:300px;margin:14px 0 4px;background:#fbfaf6;padding:8px 8px 30px;box-shadow:0 1px 2px rgba(0,0,0,.18),0 6px 14px -6px rgba(0,0,0,.28);transform:rotate(.8deg)}
.inline-shot img{width:100%;aspect-ratio:4/5;object-fit:cover}
.module-body h2{font-family:var(--trebuchet);font-size:17px;color:#1f2f45;margin:18px 0 6px}
.module-body .model + .specs{margin-top:10px}
.module-body > .model{font-weight:bold;color:var(--bg-module-header);font-size:12px;margin:0 0 6px}
.kit{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:24px;align-items:start}
.note{font-size:12px;color:var(--text-light);border-top:1px solid var(--border-light);padding-top:10px;margin-top:14px}

@media (max-width:768px){body{font-size:14px}}
@media (max-width:640px){
  .item-top,.kit{grid-template-columns:1fr}
  .print{margin:0 auto 6px}
  .strip{grid-template-columns:1fr 1fr}
  .items{padding:18px 14px 22px}
}
