:root {
  --ink: #15120f;
  --paper: #eee6d8;
  --paper-soft: #f8f2e8;
  --line: #cbbfac;
  --red: #b5161d;
  --muted: #63594e;
  --bone: #f7efe2;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: #ded2bf;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.front-page,
.article-page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.front-page {
  width: min(100%, 1240px);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.site-mast {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
}

.site-brand {
  font: 800 28px/1 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.front-intro {
  padding: 26px 30px 24px;
  border-bottom: 1px solid var(--line);
}

.front-intro h1 {
  max-width: 720px;
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.03;
  letter-spacing: 0;
}

.front-intro p:last-child {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.36;
}

.front-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 28px 30px 34px;
}

.main-column {
  min-width: 0;
}

.top-card,
.rail-card,
.stack-item {
  background: #f7f0e5;
  border: 1px solid var(--line);
}

.top-card {
  overflow: hidden;
}

.top-image {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--paper-soft);
}

.top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-copy {
  padding: 24px 26px 26px;
}

.top-copy h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.02;
  letter-spacing: 0;
}

.top-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.42;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--red);
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.article-stack {
  padding: 0 30px 34px;
}

.stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.stack-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.stack-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(220px, 340px);
  gap: 22px;
  padding: 18px 0;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.stack-item img {
  display: none;
}

.stack-item span {
  color: var(--red);
  font: 800 11px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.stack-item strong {
  display: block;
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.06;
}

.stack-item small {
  display: block;
  max-width: 560px;
  margin-top: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.side-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rail-card {
  padding: 20px;
}

.rail-card h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.06;
}

.rail-card p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.rail-links {
  display: flex;
  flex-direction: column;
}

.rail-links a {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font: 800 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.rail-links .eyebrow + a {
  margin-top: 14px;
}

.front-hero {
  padding: 24px 32px 24px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font: 800 11px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.front-hero h1 {
  max-width: 720px;
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.front-hero > p:last-child {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.32;
}

.featured-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  min-height: 430px;
  max-height: 430px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.featured-image {
  height: 430px;
  border-right: 1px solid var(--line);
  background: var(--paper-soft);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy {
  padding: 34px 34px;
  align-self: center;
}

.featured-copy h2 {
  margin: 15px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: 0;
}

.featured-copy p:last-child {
  max-width: 500px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.market-note-strip {
  display: grid;
  grid-template-columns: 130px minmax(240px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
}

.market-note-strip h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.08;
}

.market-note-strip p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.38;
}

.desk-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  border-bottom: 1px solid var(--line);
}

.desk-main {
  padding: 26px 36px 34px;
  border-right: 1px solid var(--line);
}

.lead-story {
  padding: 30px 36px;
  border-right: 1px solid var(--line);
}

.lead-story h2 {
  max-width: 700px;
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead-story p:last-child,
.story-grid p,
.section-row p,
.article-row small,
.market-panel p,
.coverage-row small {
  color: var(--muted);
}

.lead-story p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.34;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.story-grid article {
  min-height: 170px;
  padding: 26px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-grid article:nth-child(2n) {
  border-right: 0;
}

.story-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.story-grid h3,
.section-row h3 {
  margin: 13px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.story-grid p:last-child {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.32;
}

.section-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.section-row a {
  min-height: 154px;
  padding: 28px 34px;
  border-right: 1px solid var(--line);
}

.section-row a:last-child {
  border-right: 0;
}

.section-row h3 {
  font-size: 32px;
}

.section-row p:last-child {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.35;
}

.latest-list {
  padding: 24px 32px 42px;
}

.block-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.block-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.block-head p {
  margin: 0;
  font: 800 11px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.article-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 720px);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.article-row span {
  color: var(--red);
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.article-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.06;
}

.article-row small {
  grid-column: 2;
  max-width: 620px;
  margin-top: -6px;
  font-size: 15px;
  line-height: 1.34;
}

.compact-row {
  grid-template-columns: 112px minmax(0, 0.95fr) minmax(220px, 0.9fr);
}

.compact-row strong {
  font-size: 24px;
}

.market-panel {
  padding: 26px 30px 34px;
}

.market-panel h2 {
  max-width: 380px;
  margin: 13px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.06;
}

.market-panel > p:not(.eyebrow) {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.market-lines {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.market-lines p {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.35;
}

.market-lines span,
.coverage-row span {
  color: var(--red);
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.coverage-map {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 18px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 800 12px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 22px 30px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  font-weight: 700;
}

.article-page {
  background: var(--paper-soft);
}

.article-shell {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.article-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.article-excerpt {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.36;
}

.feature-image {
  margin: 34px 0 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.feature-image img {
  width: 100%;
}

.feature-image figcaption {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.article-content {
  padding-top: 34px;
}

.article-content h2 {
  margin: 48px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.08;
}

.article-content h3 {
  margin: 34px 0 10px;
  font-size: 20px;
}

.article-content p,
.article-content li {
  color: #2a2520;
  font-size: 19px;
  line-height: 1.72;
}

.article-content p {
  margin: 0 0 22px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-content blockquote {
  margin: 34px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--red);
  background: var(--paper);
}

.article-content blockquote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.3;
}

.article-content a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content .kg-width-wide {
  width: min(1080px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-content .kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-content .kg-width-full img,
.article-content .kg-width-wide img {
  width: 100%;
}

.article-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-note p {
  margin: 0;
}

.archive-page .front-hero {
  padding-bottom: 42px;
}

.archive-list {
  min-height: 34vh;
}

@media (max-width: 940px) {
  .site-mast,
  .block-head,
  .article-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-strip,
  .front-layout,
  .market-note-strip,
  .top-stories,
  .desk-board,
  .story-grid,
  .section-row,
  .article-row,
  .coverage-row,
  .compact-row {
    grid-template-columns: 1fr;
  }

  .front-layout {
    gap: 22px;
  }

  .featured-strip {
    max-height: none;
  }

  .lead-story,
  .featured-image,
  .desk-main,
  .story-grid article,
  .section-row a {
    border-right: 0;
  }

  .story-grid article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .story-grid article:last-child,
  .section-row a:last-child {
    border-bottom: 0;
  }

  .article-row {
    gap: 8px;
  }

  .article-row small {
    grid-column: auto;
    margin-top: 0;
  }

  .coverage-row {
    gap: 8px;
  }

  .featured-copy {
    padding: 26px 28px;
  }
}

@media (max-width: 620px) {
  .front-page {
    border-left: 0;
    border-right: 0;
  }

  .site-mast,
  .front-intro,
  .front-hero,
  .lead-story,
  .featured-copy,
  .market-note-strip,
  .desk-main,
  .market-panel,
  .story-grid article,
  .section-row a,
  .coverage-map,
  .latest-list,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-mast {
    align-items: flex-start;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .site-brand {
    font-size: 31px;
  }

  .front-layout {
    padding: 20px;
  }

  .article-stack {
    padding: 0 20px 30px;
  }

  .front-intro h1 {
    font-size: 32px;
  }

  .front-intro p:last-child {
    font-size: 16px;
  }

  .top-copy {
    padding: 20px;
  }

  .top-copy h2 {
    font-size: 30px;
  }

  .top-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .stack-item {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 16px 0;
  }

  .stack-item strong {
    font-size: 25px;
  }

  .rail-card {
    padding: 18px;
  }

  .front-hero h1 {
    font-size: 32px;
  }

  .featured-image,
  .featured-image img {
    height: 250px;
    min-height: 0;
  }

  .featured-copy h2 {
    font-size: 29px;
  }

  .market-note-strip h2 {
    font-size: 24px;
  }

  .block-head p {
    display: none;
  }

  .article-header h1 {
    font-size: 40px;
  }

  .site-nav {
    gap: 14px;
  }

  .article-shell {
    width: min(100% - 32px, 860px);
    padding-top: 40px;
  }

  .article-content p,
  .article-content li {
    font-size: 18px;
    line-height: 1.65;
  }
}
