:root {
  --paper: #f6f1e7;
  --paper-2: #ece4d3;
  --ink: #1d1a16;
  --muted: #5f574b;
  --line: #d6cbb5;
  --accent: #d9480f;
  --accent-2: #1f6f5c;
  --wrap: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}

h1, h2, h3, .masthead, .nav, .kicker, .btn, .meta {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Masthead */
.top { border-bottom: 3px double var(--ink); background: var(--paper); }
.top .wrap { padding-top: 20px; padding-bottom: 12px; text-align: center; }
.masthead {
  display: inline-block; color: var(--ink); text-decoration: none;
  font-size: clamp(30px, 6vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1;
}
.masthead b { color: var(--accent); font-weight: 800; }
.tagline { color: var(--muted); font-style: italic; margin: 6px 0 12px; }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

main.wrap { padding-top: 32px; padding-bottom: 56px; }
section + section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.01em; }
h2 { font-size: 26px; margin: 0 0 12px; }
h3 { font-size: 20px; margin: 0 0 6px; line-height: 1.25; }
h3 a { color: var(--ink); text-decoration: none; }
h3 a:hover { color: var(--accent); }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.meta { font-size: 13px; color: var(--muted); }
.dek { font-size: 20px; color: var(--muted); margin: 0 0 20px; max-width: 760px; }

/* Lead story */
.lead-story { display: grid; gap: 28px; grid-template-columns: 1.6fr 1fr; align-items: start; }
.lead-story .art {
  aspect-ratio: 16 / 10; border-radius: 4px;
  background:
    linear-gradient(160deg, rgba(217, 72, 15, .85), rgba(31, 111, 92, .85)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 24px);
  display: flex; align-items: flex-end; padding: 20px; color: #fff;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: clamp(22px, 4vw, 34px); line-height: 1.1;
}
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.side-list li:first-child { padding-top: 0; }

/* Cards */
.cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.story p { margin: 6px 0 8px; color: var(--muted); }

.review { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.score {
  width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font: 800 24px/1 "Avenir Next", "Helvetica Neue", Arial, sans-serif; color: var(--accent-2);
}
.review p { margin: 6px 0; }

.callout { background: var(--paper-2); border-left: 4px solid var(--accent); padding: 18px 20px; border-radius: 0 4px 4px 0; }
.callout p { margin: 6px 0 0; }

.btn {
  display: inline-block; padding: 9px 16px; border: 2px solid var(--ink); color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: 14px; margin: 4px 8px 4px 0;
}
.btn:hover { background: var(--ink); color: var(--paper); }

table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-wrap { overflow-x: auto; }

footer { border-top: 3px double var(--ink); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .lead-story { grid-template-columns: 1fr; }
  .review { grid-template-columns: 56px 1fr; gap: 14px; }
  .score { width: 56px; height: 56px; font-size: 19px; }
}
