@font-face {
  font-family: 'Denim';
  src: url('fonts/Denim-Medium.woff2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: 'Denim';
  src: url('fonts/Denim-Bold.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'CasaAxis';
  src: url('fonts/CASAAXIS-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #111;
  --paper: #fff;
  --hair: #e4e4e4;
  --muted: #8a8a8a;
  /* Interletrado para títulos Denim Bold — como en el PDF (más aire) */
  --track: 0.015em;
}
/* Glifo de marca (círculo con cruz) = carácter © de la tipografía CasaAxis */
.mark { font-family: 'CasaAxis', 'Denim', sans-serif; font-weight: 400; letter-spacing: 0;
  font-size: 1.2em; vertical-align: 0.06em; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Denim', "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  position: sticky; top: 0; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.topbar .brand { font-family: 'Denim', "Helvetica Neue", sans-serif; font-weight: 500; font-size: 15px; letter-spacing: var(--track); }
.topbar nav { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.lang {
  font: inherit; font-size: 13px; border: 1px solid var(--ink);
  background: none; padding: 2px 10px; border-radius: 99px; cursor: pointer;
}

main { max-width: 760px; margin: 0 auto; padding: 24px 22px 80px; }
.foot {
  max-width: 760px; margin: 0 auto; padding: 24px 22px 48px;
  color: var(--muted); font-size: 12px; border-top: 1px solid var(--hair);
}

/* ---------- home ---------- */
.hero { margin: 40px 0 48px; }
.hero h1 {
  font-size: clamp(34px, 8vw, 56px); font-weight: 700;
  letter-spacing: var(--track); line-height: 1.04;
}
.hero p.tag { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.camera-cta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px; padding: 16px 18px;
  background: var(--ink); color: #fff; border-radius: 8px;
}
.camera-cta .ico { font-size: 26px; line-height: 1; }
.camera-cta b { font-size: 16px; letter-spacing: var(--track); }
.camera-cta small { color: #bbb; font-size: 12px; }
.welcome { margin: 28px 0 40px; max-width: 62ch; white-space: pre-line; }
.sectionlabel {
  font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin: 40px 0 10px;
}
.catlist { border-top: 1px solid var(--ink); }
.catlist a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--hair);
  font-size: 22px; font-weight: 700; letter-spacing: var(--track);
}
.catlist a span.count { font-size: 13px; font-weight: 400; color: var(--muted); }

/* ---------- category grid ---------- */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.pagehead { margin: 12px 0 28px; }
.pagehead h1 { font-size: clamp(28px, 6vw, 44px); font-weight: 700; letter-spacing: var(--track); }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 22px 16px;
}
.card img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  background: #f3f3f3; display: block;
}
.card .num { font-size: 11px; color: var(--muted); margin-top: 8px; }
.card .t { font-weight: 700; font-size: 14px; letter-spacing: var(--track); }
.card .a { font-size: 13px; color: var(--muted); }

/* ---------- work sheet (ficha) ---------- */
.sheet .meta-top {
  display: flex; justify-content: space-between; gap: 20px;
  margin: 34px 0 22px; flex-wrap: wrap;
}
.sheet .catnum, .sheet .titleblock h1 {
  font-size: clamp(26px, 6vw, 38px); font-weight: 700;
  letter-spacing: var(--track); line-height: 1.06;
}
.sheet .catnum { white-space: pre-line; }
.sheet .titleblock .by { font-size: clamp(20px, 4.5vw, 28px); font-weight: 400; letter-spacing: 0; }
.sheet figure img { width: 100%; display: block; background: #f3f3f3; }
.sheet dl {
  margin-top: 26px; border-top: 1px solid var(--ink);
  font-size: 14px;
}
.sheet dl .row {
  display: grid; grid-template-columns: 140px 1fr; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--hair);
}
.sheet dt { font-weight: 700; }
.sheet dd { }

.actions { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.audio-cta {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--ink); padding: 14px 16px; border-radius: 4px;
}
.audio-cta .label { font-weight: 700; font-size: 14px; }
.audio-cta .sub { font-size: 12px; color: var(--muted); }
.audio-cta audio { width: 100%; height: 36px; }
.playbtn {
  font: inherit; font-weight: 700; font-size: 14px;
  background: var(--ink); color: #fff; border: 0;
  padding: 12px 18px; border-radius: 4px; cursor: pointer;
  min-width: 130px;
}
.arlink {
  display: block; text-align: center; border: 1px dashed var(--muted);
  padding: 12px 16px; border-radius: 4px; font-size: 14px; color: var(--muted);
}
.navrow {
  display: flex; justify-content: space-between; margin-top: 40px;
  font-size: 14px; color: var(--muted);
}
.disclaimer { margin-top: 14px; font-size: 11px; color: var(--muted); }
