:root {
  --paper: #fbfaf7;
  --ink: #101010;
  --muted: #625d55;
  --line: #d8d0c4;
  --strong: #111111;
  --accent: #a31920;
  --accent-dark: #6c1015;
  --blue: #204d68;
  --green: #08723f;
  --red: #b02026;
  --soft: #f0ece4;
  --max: 1240px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Noto Serif JP", SimSun, serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body:not(.site-ready) {
  overflow: hidden;
}

body:not(.site-ready) #app {
  opacity: 0;
  visibility: hidden;
}

body.site-ready #app {
  opacity: 1;
  visibility: visible;
  transition: opacity 420ms ease;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.96), rgba(241, 236, 228, 0.96)),
    var(--paper);
  transition: opacity 420ms ease, visibility 420ms ease;
}

body.site-ready .loading-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-panel {
  width: min(100%, 520px);
  text-align: center;
  border-top: 3px double var(--strong);
  border-bottom: 3px double var(--strong);
  padding: 38px 24px 34px;
}

.loading-kicker {
  margin: 0;
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.loading-panel h1 {
  margin: 6px 0 8px;
  font-size: clamp(44px, 10vw, 74px);
  line-height: 1;
}

.loading-panel p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
}

.loading-bar {
  width: min(100%, 320px);
  height: 3px;
  margin: 24px auto 0;
  background: var(--line);
  overflow: hidden;
}

.loading-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left center;
  animation: loading-progress 5s linear forwards;
}

@keyframes loading-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

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

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

.headline-link,
.image-link {
  display: inline;
}

.headline-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.image-link {
  display: block;
  color: inherit;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

.site-header,
.site-footer {
  background: var(--paper);
}

.site-header {
  border-bottom: 3px double var(--strong);
}

.wrap,
main,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.utility-bar {
  min-height: 42px;
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  font-size: 13px;
}

.menu-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.edition {
  justify-self: center;
  display: flex;
  gap: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 4px 8px;
  cursor: pointer;
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  font-size: 12px;
}

.lang-switch button.active {
  background: var(--strong);
  color: #fff;
}

.account-actions {
  display: flex;
  gap: 14px;
  font-weight: 700;
}

.account-actions a:first-child {
  color: var(--accent);
}

.masthead {
  text-align: center;
  padding: 18px 0 16px;
}

.masthead-kicker,
.masthead-note {
  margin: 0;
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.brand {
  display: inline-block;
  margin: 4px 0 2px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  padding: 9px 0;
  border-top: 1px solid var(--strong);
  border-bottom: 1px solid var(--line);
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

.market-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  font-size: 12px;
}

.market-cell {
  min-width: 148px;
  padding: 8px 12px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  line-height: 1.2;
}

.market-name {
  font-weight: 800;
}

.market-value {
  justify-self: end;
}

.market-change {
  grid-column: 1 / -1;
  justify-self: end;
  font-size: 11px;
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

main {
  padding: 18px 0 36px;
}

.breaking-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--strong);
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
}

.breaking-row span {
  background: var(--accent);
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.breaking-row p {
  margin: 0;
  font-size: 14px;
}

.breaking-row a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.front-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr) minmax(280px, 0.74fr)
    minmax(260px, 0.58fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 2px solid var(--strong);
}

.front-grid > *,
.section-shell > *,
.two-column > *,
.three-column > *,
.split-layout > *,
.media-layout > * {
  min-width: 0;
}

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

.lead-story figure,
.image-card figure,
.media-story figure,
.photo-tease figure {
  margin: 0;
  background: var(--soft);
}

.lead-story img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-label,
.section-tag {
  display: inline-block;
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
}

.lead-story .story-label {
  margin-top: 15px;
}

.lead-story h1 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.05;
}

.lead-story p,
.stack-item p,
.media-story p,
.image-card p,
.analysis-block p,
.briefs p,
.opinion-card p,
.newsletter p,
.site-footer p,
.photo-tease p {
  color: var(--muted);
}

.story-meta {
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  color: var(--muted);
  font-size: 12px;
}

.article-page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 24px 0 8px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.article-page > .section-tag {
  display: block;
  margin-bottom: 8px;
}

.article-page h1 {
  max-width: 900px;
  margin: 9px 0 12px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.03;
}

.article-deck {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 20px;
}

.article-hero {
  margin: 22px 0 20px;
}

.article-hero img {
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.article-summary {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-top: 2px solid var(--strong);
  border-bottom: 1px solid var(--line);
  background: rgba(240, 236, 228, 0.62);
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
}

.article-summary h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.article-summary ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.article-summary li {
  margin: 7px 0;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 19px;
}

.article-body p {
  margin: 0 0 20px;
}

.related-section {
  margin-top: 26px;
}

.top-stack {
  display: grid;
  gap: 0;
}

.stack-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.stack-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.stack-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

.stack-item h2 {
  margin: 6px 0 7px;
  font-size: 21px;
}

.sidebar-digest {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.sidebar-digest h2,
.watch-list h2,
.newsletter h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.sidebar-digest ol {
  margin: 0;
  padding-left: 22px;
}

.sidebar-digest li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.35;
}

.section-shell {
  padding: 24px 0;
  border-bottom: 1px solid var(--strong);
}

.section-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  font-size: 28px;
}

.section-heading a {
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.news-river {
  display: grid;
  gap: 18px;
}

.media-story {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.media-story img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-story h3,
.image-card h3,
.analysis-block h3,
.briefs h3,
.opinion-card h3,
.photo-tease h3,
.watch-list h3 {
  margin-top: 6px;
  font-size: 22px;
}

.market-board {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.market-board h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  font-size: 13px;
}

th,
td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

th:first-child,
td:first-child {
  text-align: left;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.image-card {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.image-card:nth-child(3n + 1) {
  border-right: 0;
}

.image-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 12px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.75fr);
  gap: 28px;
}

.analysis-block {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.analysis-block h3 {
  font-size: 34px;
}

.analysis-block figure {
  margin: 0 0 15px;
}

.analysis-block img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.bullet-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.briefs {
  display: grid;
  gap: 18px;
}

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

.opinion-layout {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 0.72fr));
  gap: 22px;
}

.editorial {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.opinion-card {
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
}

.byline {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 800;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.photo-tease img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 10px;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
}

.watch-list article {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.watch-list span {
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.newsletter {
  padding: 22px;
  border: 1px solid var(--strong);
  background: #fff;
}

.newsletter form {
  display: grid;
  gap: 8px;
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

input {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--strong);
  background: #fff;
}

.newsletter button {
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px 0 36px;
  border-top: 3px double var(--strong);
  font-family: Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
}

.footer-brand {
  display: inline-block;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-content: start;
  justify-content: end;
  font-size: 13px;
}

@media (max-width: 1020px) {
  .front-grid,
  .two-column,
  .split-layout,
  .media-layout {
    grid-template-columns: 1fr;
  }

  .lead-story,
  .sidebar-digest,
  .market-board,
  .analysis-block,
  .editorial,
  .image-card {
    border: 0;
    padding: 0;
  }

  .sidebar-digest,
  .market-board {
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }

  .three-column,
  .photo-strip,
  .opinion-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wrap,
  main,
  .site-footer {
    width: min(100% - 22px, var(--max));
  }

  .utility-bar {
    grid-template-columns: 34px 1fr auto;
    gap: 8px;
    padding: 8px 0;
  }

  .edition {
    display: grid;
    gap: 2px;
    justify-items: center;
    text-align: center;
  }

  .account-actions {
    display: none;
  }

  .brand {
    font-size: clamp(38px, 15vw, 58px);
  }

  .breaking-row,
  .media-story,
  .stack-item {
    grid-template-columns: 1fr;
  }

  .front-grid {
    gap: 18px;
  }

  .lead-story h1 {
    font-size: 32px;
  }

  .three-column,
  .photo-strip,
  .opinion-layout {
    grid-template-columns: 1fr;
  }

  .analysis-block h3 {
    font-size: 27px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter button {
    min-height: 44px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: start;
  }
}
