/* Cada Lunes · magazine-plain, one accent, mobile first */

:root {
  --paper: #f6f1e8;
  --paper-2: #efe8dc;
  --ink: #1c1915;
  --muted: #5e574e;
  --line: #ddd4c6;
  --accent: #b43b2a;
  --accent-ink: #8e2c1f;
  --focus: #b43b2a;
  --measure: 40rem;
  --pad: 1.25rem;
  --serif-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --serif-body: "Literata", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Figtree", "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --radius: 2px;
}

@media (min-width: 48rem) {
  :root { --pad: 2rem; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent-ink);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover { color: var(--accent); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: #f0c9c0;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: var(--pad);
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 10;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.skip:focus { top: 0.5rem; }

.wrap {
  width: min(100% - (var(--pad) * 2), var(--measure));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0 0;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.wordmark:hover { color: var(--ink); }

.week {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.week i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  display: block;
}

.week i.on { background: var(--accent); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

main {
  flex: 1;
  padding: 2.25rem 0 3.5rem;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

h1, h2, h3 {
  font-family: var(--serif-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.15rem, 7vw, 3.35rem);
  margin: 0 0 1rem;
}

h1.page-title {
  font-size: clamp(1.85rem, 5.5vw, 2.6rem);
  margin-bottom: 0.35rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2.1rem 0 0.6rem;
}

h3 {
  font-size: 1.12rem;
  margin: 1.5rem 0 0.45rem;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.rule {
  width: 3.25rem;
  height: 3px;
  background: var(--accent);
  border: 0;
  margin: 0 0 1.6rem;
}

.meta {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

p { margin: 0 0 1rem; }

p.muted, .muted { color: var(--muted); }

ul, ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }

li { margin-bottom: 0.35rem; }

blockquote {
  margin: 1.4rem 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-family: var(--serif-display);
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 500;
}

.note-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.note-list li {
  margin: 0;
  border-top: 1px solid var(--line);
}

.note-list li:last-child { border-bottom: 1px solid var(--line); }

.note-list a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 1rem 0;
  text-decoration: none;
  color: inherit;
}

.note-list a:hover .note-list-title { color: var(--accent); }

.note-list-date {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.note-list-title {
  font-family: var(--serif-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

@media (min-width: 36rem) {
  .note-list a {
    grid-template-columns: 8.5rem 1fr;
    align-items: baseline;
    gap: 1rem;
    padding: 1.1rem 0;
  }
}

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem 1.45rem;
  margin: 2rem 0 0;
}

.panel h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.price {
  font-family: var(--serif-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.35rem 0 1rem;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--sans);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.btn:hover { color: var(--paper); background: #2a2622; }

.btn[disabled],
.btn.is-soon,
a.btn[aria-disabled="true"] {
  background: #c9c1b4;
  color: #6a645c;
  cursor: not-allowed;
  pointer-events: none;
}

.article .meta + p::first-letter {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 3.05rem;
  float: left;
  line-height: 0.8;
  padding-right: 0.35rem;
  padding-top: 0.28rem;
  color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  min-width: 28rem;
}

caption {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.7rem 0.85rem;
  caption-side: top;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

th, td {
  text-align: left;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper-2);
}

tbody tr:last-child td { border-bottom: 0; }

tfoot td {
  font-weight: 600;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  border-bottom: 0;
}

.disclaimer {
  margin-top: 2.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.disclaimer strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.pager a { color: var(--muted); text-decoration: none; }
.pager a:hover { color: var(--accent); }

.site-footer {
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--muted);
}

.site-footer .legal {
  color: var(--ink);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
}

.footer-row a {
  color: var(--muted);
  text-decoration: none;
}

.footer-row a:hover { color: var(--ink); }

.error {
  padding: 2rem 0 3rem;
}

.error h1 {
  font-size: clamp(2rem, 8vw, 3.2rem);
}

@media print {
  .site-header, .site-footer, .pager, .panel .btn { display: none; }
  body { background: white; }
  a { color: inherit; text-decoration: none; }
  .article { max-width: none; }
}
