/* /products/ — the catalogue of the 30 files.
   ------------------------------------------------------------------------------
   One stylesheet for this page only. landing.css supplies the type system, the
   container (.w: 1180 max, auto margins, 26px gutters), the section rhythm
   (.sec/.skick) and the closing bands (.cta/.endcta/.more/.faq/.limits); this file
   adds the only thing a catalogue needs that a landing page does not: the row.

   A row is the artifact on the left (the same 1200x800 marketing card the homepage
   uses, so the two pages cannot disagree about what a product looks like) and the
   decision on the right: what it is called, what it saves you, which file lands in
   your downloads folder, and where to go. */

.catjump{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 0;padding:0;list-style:none}
.catjump a{display:inline-block;background:var(--paper);border:1px solid var(--line);
  border-radius:999px;padding:9px 16px;font-size:13px;font-weight:700;color:#33463B;
  text-decoration:none;line-height:1.3}
.catjump a:hover{border-color:#C9BFA8;color:var(--green)}
.catjump a span{color:var(--mute);font-weight:600}

.catgrp{padding:56px 0 0;margin-top:48px;border-top:1px solid var(--rule)}
.catgrp h2{font-family:'Playfair Display',Georgia,'Times New Roman',serif;font-weight:900;
  font-size:34px;line-height:1.12;letter-spacing:-.025em;margin:10px 0 8px;color:var(--ink)}
.catgrp .catblurb{color:#43564A;max-width:var(--measure);margin:0 0 6px}
.catgrp .catn{font-size:11px;letter-spacing:.2em;font-weight:900;color:#8A6A28;
  text-transform:uppercase}

.catlist{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:18px}
.cat{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px;align-items:start;
  background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:16px;
  transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}
.cat:hover{border-color:#C9BFA8;box-shadow:0 18px 40px rgba(15,42,24,.10);transform:translateY(-2px)}
.catimg{display:block;border-radius:11px;overflow:hidden;background:#F1EADA;line-height:0}
.catimg img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}

.catbody{min-width:0;padding:2px 4px 2px 0}
.cathead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.cathead h3{font-family:'Playfair Display',Georgia,serif;font-size:22px;line-height:1.2;
  letter-spacing:-.01em;margin:0;color:var(--ink)}
.cathead h3 a{color:inherit;text-decoration:none}
.cathead h3 a:hover{color:var(--green)}
.catben{font-size:15.5px;line-height:1.5;color:#3C5045;margin:7px 0 0;max-width:56ch}

.chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}
.chip{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.09em;
  text-transform:uppercase;border-radius:6px;padding:4px 9px;line-height:1.4;
  background:#F1EADA;color:#5B4A26;border:1px solid #E2D6BC}
.chip.kind{background:#E7EFE6;color:#1E5B33;border-color:#CDDECC}

.catfile{font-size:13px;color:var(--mute);margin:10px 0 0;line-height:1.5}
.catfile code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;
  background:#F6F1E4;border:1px solid #E7DECB;border-radius:5px;padding:2px 6px;color:#3C5045;
  overflow-wrap:anywhere}

.catgo{display:inline-block;margin:14px 0 0;font-weight:800;font-size:14px;color:var(--green);
  text-decoration:none;border-bottom:2px solid rgba(30,91,51,.25);padding-bottom:2px}
.catgo:hover{border-bottom-color:var(--green)}

/* the format legend: six small cards, no icons — the file extension IS the icon */
.fmts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0 0}
.fmt{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px 18px}
.fmt b{display:block;font-size:13px;letter-spacing:.1em;font-weight:900;color:var(--green);
  text-transform:uppercase;margin-bottom:7px}
.fmt p{font-size:14.5px;line-height:1.55;color:#3C5045;margin:0}

@media(max-width:900px){
  .fmts{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .cat{grid-template-columns:1fr;gap:14px}
  .catimg img{aspect-ratio:16/10}
  .catgrp h2{font-size:28px}
  .fmts{grid-template-columns:1fr}
  .catlist{gap:14px}
}
