:root{
  --paper:#ffffff;
  --panel:#ffffff;
  --ink:#000000;
  --muted:#5b5b5b;
  --accent:#f43566;
  --border:#000000;
  --radius:6px;
  --shadow:4px 4px 0 0 var(--border);
  --shadow-sm:3px 3px 0 0 var(--border);
  --bw:2px;
  --gap:18px;
  --cell:150px;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-weight:500;
  -webkit-font-smoothing:antialiased;
  padding:40px clamp(18px,5vw,72px) 80px;
  font-size:14px;
  line-height:1.5;
}
a{color:inherit;text-decoration:none}

/* ---------- header ---------- */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:48px;
}
.wordmark{
  display:inline-flex;
  align-items:center;
  color:var(--ink);
  font-size:16px;
  font-weight:800;
  letter-spacing:-.01em;
}
header .right a{
  display:inline-flex;
  align-items:center;
  background:var(--panel);
  border:var(--bw) solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:7px 14px;
  font-size:13px;
  font-weight:700;
}
header .right a:hover{
  background:var(--accent);
  transform:translate(1px,1px);
  box-shadow:2px 2px 0 0 var(--border);
}

.intro{
  max-width:54ch;
  margin:0 0 34px;
  color:#222;
  font-size:15px;
  line-height:1.6;
}

/* ---------- labels ---------- */
.lab{
  display:inline-flex;
  align-items:center;
  gap:6px;
  align-self:flex-start;
  color:var(--ink);
  margin-bottom:16px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
.lab.empty{display:none}
.lab .count{
  color:var(--muted);
  font-weight:600;
}

/* ---------- product cards ---------- */
.products{margin-bottom:56px}
.products .item{margin-bottom:36px;display:flex;flex-direction:column}
.products .item:last-child{margin-bottom:0}
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(var(--cell),1fr));
  gap:var(--gap);
}
.card{
  display:block;
  width:100%;
  padding:0;
  background:none;
  border:0;
  text-align:left;
  font:inherit;
  color:inherit;
}
.thumb{
  width:100%;
  aspect-ratio:1/1;
  background:var(--panel);
  border:var(--bw) solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.thumb img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .3s ease;
}
.card:hover .thumb img{transform:scale(1.07)}
.card:focus-visible{outline:none}
.card:focus-visible .thumb{border-color:var(--accent)}
.card:focus-visible .thumb img{transform:scale(1.07)}
.card .cap{
  margin-top:10px;
  justify-content:space-between;
  font-weight:500;
  color:var(--ink);
}
.card .cap .play{font-size:12px;color:var(--ink);opacity:.6}

/* ---------- help links ---------- */
.grid{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  width:100%;
}
.cells{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:var(--gap);
}
.cell{
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  min-height:60px;
  background:var(--panel);
  border:var(--bw) solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:12px 16px;
  text-align:left;
  font:inherit;
  color:inherit;
  transition:transform .08s ease,box-shadow .08s ease,background .08s ease;
}
.cell:hover{
  background:var(--accent);
  transform:translate(3px,3px);
  box-shadow:1px 1px 0 0 var(--border);
}
.cell:focus-visible{
  outline:none;
  background:var(--accent);
  transform:translate(3px,3px);
  box-shadow:1px 1px 0 0 var(--border);
}
.cell .cap{
  justify-content:space-between;
  width:100%;
  font-weight:700;
}

/* ---------- caption base ---------- */
.cap{
  font-size:13px;
  color:var(--ink);
  display:flex;
  align-items:center;
  gap:8px;
}
.cap .play{font-size:12px;color:var(--ink);opacity:.6}

/* ---------- back link ---------- */
.back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:var(--panel);
  border:var(--bw) solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:6px 13px;
  font-size:13px;
  font-weight:700;
  color:var(--ink);
  margin-bottom:34px;
}
.back:hover{
  background:var(--accent);
  transform:translate(1px,1px);
  box-shadow:2px 2px 0 0 var(--border);
}

/* ---------- article ---------- */
.article-wrap{
  width:min(720px,100%);
  margin:0 auto;
}
.article-img{
  width:100%;
  max-width:180px;
  aspect-ratio:1/1;
  background:var(--panel);
  border:var(--bw) solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.article-img img{width:100%;height:100%;object-fit:cover}
.article-img .ph{color:var(--muted);font-size:13px}
.tag{
  display:inline-flex;
  background:var(--accent);
  border:var(--bw) solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:4px 11px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--ink);
  margin-bottom:20px;
}
h1{
  font-weight:800;
  font-size:34px;
  line-height:1.1;
  letter-spacing:-.02em;
  margin:0 0 18px;
}
.deck{
  font-size:16px;
  line-height:1.6;
  color:#222;
  margin:0 0 28px;
  max-width:56ch;
}
.article-body{
  color:#1a1a1a;
  font-size:15px;
  line-height:1.7;
  max-width:720px;
}
.article-body p{margin:0 0 18px}
.article-body h2,
.article-body h3{
  color:var(--ink);
  font-weight:800;
  font-size:19px;
  line-height:1.3;
  letter-spacing:-.01em;
  margin:34px 0 14px;
}
.article-body h2 strong,
.article-body h3 strong{font-weight:800}
.article-body ol,
.article-body ul{padding-left:22px;margin:0 0 20px}
.article-body li{margin:0 0 8px}
.article-body img{
  width:100%;
  height:auto;
  display:block;
  border:var(--bw) solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:var(--panel);
}
.article-body figure{margin:30px 0}
.article-body a{
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
  text-decoration-color:var(--accent);
}
.article-body a.image-link{text-decoration:none}
.article-body a.contact-btn{
  display:inline-flex;
  align-items:center;
  background:var(--panel);
  border:var(--bw) solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:12px 20px;
  font-size:16px;
  font-weight:800;
  text-decoration:none;
  margin-top:6px;
}
.article-body a.contact-btn:hover{
  background:var(--accent);
  transform:translate(1px,1px);
  box-shadow:2px 2px 0 0 var(--border);
}

/* ---------- footer ---------- */
footer{
  margin-top:72px;
  padding-top:22px;
  border-top:var(--bw) solid var(--border);
  color:var(--ink);
  font-size:13px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
footer a{color:inherit}
footer a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
footer .privacy-link{color:var(--ink)}

/* ---------- content pages: shell stays neobrutalism, article body is plain ---------- */
body.post .tag{
  background:none;border:0;box-shadow:none;padding:0;
  color:var(--muted);font-weight:400;text-transform:none;letter-spacing:0;
  margin-bottom:14px;
}
body.post .article-body img{
  border:0;box-shadow:none;border-radius:8px;
}
body.post .article-body a{
  font-weight:400;text-decoration-thickness:auto;text-decoration-color:currentColor;
}

/* ---------- responsive ---------- */
@media(max-width:900px){
  :root{--gap:16px;--cell:130px}
}
@media(max-width:560px){
  body{padding:32px 18px 72px}
  :root{--gap:14px}
  header{
    margin-bottom:36px;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .cards{grid-template-columns:repeat(2,1fr)}
  .cells{grid-template-columns:1fr}
  h1{font-size:28px}
  footer{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
}
