:root {
  --bg: #f6f4ef;
  --paper: #fffdf8;
  --ink: #111;
  --muted: #666;
  --rule: #d9d3c7;
  --accent: #8e1b1b;
  --soft: #f2ede2;
  --max: 1320px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.site-shell {
  max-width: var(--max);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.035);
}

.top-strip {
  display: grid;
  grid-template-columns: minmax(170px, auto) 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 9px 28px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.market-ticker {
  display: flex;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  white-space: nowrap;
}

.market-ticker span {
  display: inline-flex;
  gap: 5px;
}

.masthead {
  padding: 28px 28px 16px;
  border-bottom: 1px solid var(--rule);
}

.brand-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
}

.brand-meta,
.brand-tools {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
}

.brand-tools {
  text-align: right;
}

.logo {
  display: grid;
  gap: 8px;
  line-height: 1;
  text-align: center;
}

.logo-mark {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.logo-tag {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.nav a:hover {
  border-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  align-items: stretch;
  gap: 34px;
  padding: 32px 28px 26px;
  border-bottom: 1px solid var(--rule);
}

.hero-visual {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr;
}

.thumb {
  background:
    linear-gradient(rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.22)),
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #494f55 0%, #20252b 34%, #776e5a 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-media {
  position: relative;
  display: block;
  width: 100%;
  align-self: start;
  background:
    linear-gradient(rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.22)),
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #494f55 0%, #20252b 34%, #776e5a 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-media.has-image {
  aspect-ratio: auto;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  background: transparent !important;
  overflow: visible;
}

.hero-image-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  line-height: 0;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 70%, rgba(0, 0, 0, 0.28)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 68px);
  mix-blend-mode: screen;
}

.hero-media.has-image::before {
  content: none;
}

.hero-media-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-under {
  display: grid;
  gap: 14px;
  padding: 18px 0 0;
}

.hero-under > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #222;
  font-size: 18px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
}

.hero-under-links article {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.hero-under-links article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-under-links h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-under-links p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #333;
  font-size: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(transparent 62%, rgba(0, 0, 0, 0.45)),
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero-image-frame .hero-media-label {
  line-height: 1.2;
}

.kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-headline {
  margin: 0;
  font-size: clamp(32px, 3.45vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-standfirst {
  display: -webkit-box;
  overflow: hidden;
  max-width: none;
  margin: 18px 0 18px;
  color: #222;
  font-size: 19px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 13;
}

.byline,
.meta-line {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-ad {
  display: grid;
  place-content: center;
  width: min(100%, 300px);
  min-height: 250px;
  margin-top: 24px;
  border: 1px solid var(--rule);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(17, 17, 17, 0.035) 0,
      rgba(17, 17, 17, 0.035) 1px,
      transparent 1px,
      transparent 12px
    ),
    var(--soft);
  color: var(--muted);
  font-family: var(--sans);
  text-align: center;
}

.hero-ad span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-ad strong {
  margin-top: 5px;
  color: #444;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.hero-links {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.hero-links article,
.lead-story,
.persona-item,
.quick-item,
.column article {
  border-bottom: 1px solid var(--rule);
}

.hero-links article {
  padding-bottom: 14px;
}

.hero-links h3,
.persona-item h3,
.column h3 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero-links p,
.lead-story p,
.persona-item p,
.column p,
.data-note {
  margin: 0;
  color: #333;
  font-size: 16px;
}

.hero-links p,
.column p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.lead-story p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.main-grid {
  display: grid;
  grid-template-columns: 1.38fr 0.9fr;
  gap: 34px;
  padding: 28px;
}

.section-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead-list {
  display: grid;
  gap: 22px;
}

.lead-story {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding-bottom: 22px;
}

.thumb {
  min-height: 148px;
}

.lead-story h2 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 28px;
}

.sidebar-block {
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}

.persona-item {
  padding: 14px 0;
}

.persona-name {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-card {
  background: var(--soft);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  padding: 16px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 14px;
}

.data-note {
  margin-top: 12px;
  font-size: 13px;
}

.columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 28px 34px;
}

.column {
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}

.column h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.column article {
  padding: 14px 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px 34px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-page {
  padding: 32px 28px 44px;
}

.category-header {
  max-width: 860px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 22px;
}

.category-header h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.category-header p {
  max-width: 58ch;
  margin: 0;
  color: #333;
  font-size: 20px;
}

.category-lead {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 28px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 28px;
}

.category-lead h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.category-lead p {
  margin: 0 0 16px;
  color: #222;
  font-size: 20px;
  line-height: 1.48;
}

.category-list {
  display: grid;
  gap: 22px;
  max-width: 980px;
}

.article-masthead {
  border-bottom: 1px solid var(--rule);
  padding: 18px 28px 14px;
  text-align: center;
}

.article-brand {
  display: inline-block;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-page {
  padding: 42px 28px 72px;
}

.article-header {
  max-width: 920px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 28px;
  text-align: center;
}

.article-header h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.article-deck {
  max-width: 760px;
  margin: 22px auto 0;
  color: #363636;
  font-size: clamp(19px, 2.5vw, 24px);
  line-height: 1.42;
}

.article-deck {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.article-hero {
  max-width: 980px;
  margin: 34px auto 30px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--soft);
}

.article-hero figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body p {
  margin: 0 0 1.05em;
  font-size: 20px;
  line-height: 1.72;
}

.article-body p:first-child::first-letter {
  float: left;
  padding: 8px 9px 0 0;
  font-size: 4.8em;
  font-weight: 700;
  line-height: 0.82;
}

.endmark {
  margin-top: 28px;
  color: var(--muted);
  font: 18px/1 var(--serif);
  text-align: center;
}

@media (max-width: 1100px) {
  .top-strip,
  .hero,
  .category-lead,
  .main-grid,
  .columns,
  .brand-row {
    grid-template-columns: 1fr;
  }

  .brand-meta,
  .brand-tools,
  .top-strip {
    text-align: center;
  }

  .market-ticker {
    justify-content: start;
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .top-strip,
  .masthead,
  .hero,
  .category-page,
  .article-masthead,
  .article-page,
  .main-grid,
  .columns,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero-media {
    aspect-ratio: 16 / 9;
  }
}
