:root {
  --paper: #efe7d6;
  --paper-2: #e7ddc9;
  --ink: #2c2519;
  --ink-soft: #5a4f3a;
  --ink-faint: #8a7d68;
  --line: #b9a985;
  --rule: #3a3226;
  --hair: #c9bfab;
  --red: #8a2b1f;
  --serif: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --serif-body: 'EB Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Cormorant Garamond', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.012) 0 1px, transparent 1px 3px),
    radial-gradient(1100px 700px at 15% -10%, rgba(120,90,40,.08), transparent 60%),
    radial-gradient(900px 600px at 105% 10%, rgba(90,60,20,.07), transparent 55%);
}

.sheet { max-width: 1100px; margin: 0 auto; padding: 30px 28px 80px; }

a { color: var(--red); text-decoration: none; }

/* ===== RULES & BORDERS ===== */
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule.thick { border-top-width: 3px; }
.rule.double { border-top: 3px double var(--rule); }

/* ===== META TOP ===== */
.meta-top {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); padding: 6px 0 4px;
}
.meta-top b { color: var(--ink); }

/* ===== MASTHEAD ===== */
.masthead { text-align: center; padding: 20px 0 14px; }
.kicker {
  font-family: var(--sans); font-size: 12px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 7px 0;
}
h1.mast {
  margin: 0; font-weight: 900; line-height: .92; letter-spacing: -.018em;
  font-size: clamp(42px, 9vw, 88px); text-transform: uppercase;
  font-family: var(--serif);
  text-shadow: 1px 1px 0 rgba(255,255,255,.35);
}
h1.mast .lt { font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -.01em; }
.mast-sub {
  font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 14px;
}
.deck {
  max-width: 760px; margin: 16px auto 0; font-size: 17px; font-style: italic;
  color: var(--ink-soft); text-align: center; line-height: 1.5;
}

/* ===== BYLINE ===== */
.byline {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); padding: 10px 0 12px; border-bottom: 1px solid var(--rule);
}
.byline span:first-child { color: var(--ink); font-weight: 700; }

/* ===== HERO ARTÍCULO (MODELO DE LA SEMANA) ===== */
.hero-section {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  margin: 36px 0 20px; border-bottom: 1px solid var(--hair); padding-bottom: 30px;
}

.hero-art { text-align: center; padding: 20px 0; }
.hero-art svg { width: 100%; max-width: 280px; height: auto; }
.hero-art .art-caption {
  font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 12px; font-style: italic;
}

.hero-content { padding-top: 10px; }
.hero-label {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 8px;
  display: inline-block; border-bottom: 1px solid var(--red); padding-bottom: 2px;
}
h2.hero-title {
  font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.05; margin: 0 0 10px; letter-spacing: -.01em;
}
h2.hero-title a { color: var(--ink); border-bottom: 2px solid transparent; transition: border-color .2s; }
h2.hero-title a:hover { border-bottom-color: var(--red); }
.hero-dek {
  font-size: 18px; font-style: italic; color: var(--ink-soft); margin: 0 0 18px;
  line-height: 1.5; max-width: 60ch;
}
.hero-meta {
  font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 18px;
}
.hero-body {
  font-size: 15.5px; text-align: justify; hyphens: auto; line-height: 1.7;
  column-count: 2; column-gap: 28px; column-rule: 1px solid var(--hair);
}
.hero-body p { margin: 0 0 12px; }
.hero-body p:first-child::first-letter {
  float: left; font-size: 52px; line-height: .78; padding: 6px 10px 0 0;
  font-weight: 700; color: var(--red); font-family: var(--serif);
}

/* ===== SUMARIO / ÍNDICE ===== */
.sumario {
  border-top: 3px double var(--rule); border-bottom: 1px solid var(--hair);
  padding: 16px 0; margin: 28px 0;
}
.sumario h4 {
  margin: 0 0 12px; font-family: var(--sans); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--red); font-weight: 700;
}
.sumario ol {
  margin: 0; padding-left: 22px; font-size: 15px;
  column-count: 2; column-gap: 40px;
}
.sumario li { margin: 0 0 8px; break-inside: avoid; }
.sumario a {
  text-decoration: none; border-bottom: 1px solid var(--hair); color: var(--ink);
  transition: color .2s, border-color .2s;
}
.sumario a:hover { color: var(--red); border-bottom-color: var(--red); }
.sumario .score {
  float: right; font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint);
}

/* ===== GRID DE ARTÍCULOS ===== */
.articles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--hair); border: 1px solid var(--rule); margin: 24px 0;
}
.article-card {
  background: var(--paper); padding: 22px 20px 18px; position: relative;
  border-top: 3px solid var(--rule);
}
.article-card:hover { background: var(--paper-2); }
.article-card .flag {
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 700; color: var(--red); display: block; margin-bottom: 6px;
}
.article-card .score-badge {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint);
  border: 1px solid var(--hair); padding: 2px 8px;
}
h3.article-title {
  font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.2;
  margin: 0 0 8px; letter-spacing: -.005em; padding-right: 60px;
}
h3.article-title a { color: var(--ink); }
h3.article-title a:hover { color: var(--red); }
.article-dek {
  font-size: 14px; font-style: italic; color: var(--ink-soft); margin: 0 0 10px;
  line-height: 1.45;
}
.article-meta {
  font-family: var(--sans); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); border-top: 1px solid var(--hair); padding-top: 8px;
}
.article-link {
  font-family: var(--mono); font-size: 10.5px; color: var(--red);
  text-decoration: underline; display: inline-block; margin-top: 6px;
}

/* ===== SECCIONES ===== */
h2.sec {
  margin: 44px 0 4px; font-size: clamp(24px, 3.8vw, 36px); line-height: 1.06;
  letter-spacing: -.01em; border-bottom: 1px solid var(--rule); padding-bottom: 8px;
  font-weight: 700; font-family: var(--serif);
}
h2.sec .num {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .28em; color: var(--red);
  display: block; margin-bottom: 6px; text-transform: uppercase; font-weight: 700;
}
.standfirst {
  font-style: italic; color: var(--ink-soft); font-size: 16.5px; margin: 12px 0 24px;
  max-width: 70ch;
}

/* ===== TABLAS DE ESPECIFICACIONES ===== */
table.spec {
  width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0;
}
table.spec th {
  text-align: left; width: 35%;
  font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; padding: 8px 12px 8px 0;
  border-bottom: 1px dotted var(--hair); vertical-align: top;
}
table.spec td {
  padding: 8px 0; border-bottom: 1px dotted var(--hair);
  font-family: var(--mono); font-size: 12.5px; vertical-align: top;
  font-variant-numeric: tabular-nums;
}
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }
table.spec td b { font-family: var(--serif); font-size: 14.5px; }
.tagline {
  font-family: var(--sans); font-size: 11.5px; color: var(--ink-faint); margin: 8px 0 0;
  border-top: 1px solid var(--hair); padding-top: 8px; font-style: italic;
}

/* ===== COLUMNAS DE TEXTO ===== */
.columns {
  column-count: 3; column-gap: 28px; column-rule: 1px solid var(--hair);
  margin: 14px 0 28px; font-size: 14.5px; text-align: justify; hyphens: auto;
}
.columns p { margin: 0 0 11px; }
.columns p:first-child::first-letter {
  font-size: 48px; line-height: .8; float: left; padding: 4px 8px 0 0; color: var(--red);
  font-family: var(--serif); font-weight: 700;
}
.columns h4 {
  break-after: avoid; margin: 0 0 8px; font-size: 15px; font-style: italic;
  font-family: var(--serif);
}
@media (max-width: 900px) { .columns { column-count: 2; } }
@media (max-width: 620px) { .columns { column-count: 1; } }

/* ===== VEREDICTO DEL EDITOR ===== */
.veredicto {
  border: 2px solid var(--rule); background: var(--paper-2); padding: 20px 24px; margin: 24px 0;
}
.veredicto .caption {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: 11px;
  color: var(--red); font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.veredicto .caption::before { content: '◆'; }
.veredicto p { margin: 0; font-size: 15px; font-style: italic; color: var(--ink); line-height: 1.55; }

/* ===== FOOTER ===== */
.foot {
  margin-top: 50px; border-top: 3px double var(--rule); padding-top: 16px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.foot .orn { color: var(--red); letter-spacing: .4em; text-align: center; margin-bottom: 8px; }

/* ===== SINGLE ARTICLE PAGE ===== */
.article-page { margin-top: 30px; }
.article-page .breadcrumb {
  font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 20px; display: flex; gap: 16px;
}
.article-page .breadcrumb a { color: var(--red); }
.article-page h1 {
  font-family: var(--serif); font-weight: 900; font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.02; margin: 0 0 12px; letter-spacing: -.01em;
}
.article-page .dek {
  font-size: 19px; font-style: italic; color: var(--ink-soft); margin: 0 0 20px;
  line-height: 1.5; max-width: 65ch;
}
.article-page .meta {
  font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-bottom: 28px; display: flex; gap: 24px; flex-wrap: wrap;
}
.article-page .model-link {
  display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--red);
  text-decoration: underline; border-bottom: 1px solid var(--red); padding-bottom: 1px;
}
.article-body {
  font-size: 16.5px; text-align: justify; hyphens: auto; line-height: 1.75;
  column-count: 2; column-gap: 36px; column-rule: 1px solid var(--hair);
}
.article-body p { margin: 0 0 14px; }
.article-body p:first-child::first-letter {
  float: left; font-size: 58px; line-height: .78; padding: 6px 10px 0 0;
  font-weight: 700; color: var(--red); font-family: var(--serif);
}
@media (max-width: 720px) {
  .article-body { column-count: 1; }
  .hero-section { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
}

/* ===== PRINT ===== */
@media print {
  body { background: #fff; font-size: 11.5pt; }
  .sheet { max-width: none; }
  .article-card { break-inside: avoid; }
}
