@font-face {
  font-family: "Helvetica Cyrillic";
  src: url("/static/assets/helvetica-cyr-oblique.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Snell Roundhand Custom";
  src: url("/static/assets/snell-roundhand.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --surface: #f2f2f2;
  --muted: #777777;
  --line: #d7d7d7;
  --display: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --sans: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --accent: "Snell Roundhand Custom", "Snell Roundhand", cursive;
  --gutter: clamp(18px, 2.8vw, 52px);
  --max-width: 1920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(100%, var(--max-width));
  min-height: 88px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--black);
}

nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 52px); }

nav a {
  position: relative;
  padding: 10px 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a::after, .read-more::after, .original-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

nav a:hover::after, .featured-story a:hover .read-more::after,
.news-card a:hover .read-more::after, .original-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main { width: min(100%, var(--max-width)); margin: 0 auto; }

.featured-story > a {
  display: grid;
  grid-template-columns: minmax(0, 1.56fr) minmax(360px, .72fr);
  color: var(--white);
  background: var(--black);
  text-decoration: none;
}

.featured-image, .card-image, .article-image { margin: 0; overflow: hidden; background: var(--surface); }
.featured-image { display: flex; align-self: stretch; align-items: center; background: var(--black); }
.featured-image img { height: 100%; object-fit: contain; }

.featured-image img, .card-image img, .article-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.2,.65,.3,1), opacity .2s ease;
}

.featured-story:hover img, .news-card:hover img { transform: scale(1.025); }
.image-placeholder { display: grid; min-height: 280px; place-items: center; color: var(--black); background: var(--surface); }
.image-placeholder span { font-family: var(--display); font-size: clamp(3rem, 9vw, 10rem); letter-spacing: -.08em; }

.featured-content {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 72px);
  border-left: 1px solid #333333;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.featured-content .story-meta { color: #bdbdbd; }
.featured-content h2 {
  margin: clamp(60px, 10vh, 130px) 0 28px;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.featured-content > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #c8c8c8;
  font-size: .9rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.story-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 42px; }
.read-more { position: relative; padding-bottom: 6px; font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.source-name { max-width: 48%; color: var(--muted); font-size: .64rem; text-align: right; }
.featured-content .source-name { color: #8f8f8f; }

.featured-loading, .empty-state, .error-state {
  display: grid;
  min-height: calc(100svh - 88px);
  margin: 0;
  padding: var(--gutter);
  place-items: center;
  color: var(--white);
  background: var(--black);
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 7rem);
  text-align: center;
}

.hero { padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(72px, 8vw, 130px); border-bottom: 1px solid var(--black); }
.hero::before, .hero::after { content: none !important; display: none !important; }
.hero-index { margin-bottom: clamp(54px, 7vw, 100px); font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero-statement { display: grid; grid-template-columns: minmax(180px, 2fr) minmax(0, 10fr); align-items: start; }
.eyebrow { margin: 11px 32px 0 0; color: var(--muted); font-size: .62rem; font-weight: 600; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }

h1 {
  max-width: 1380px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 11.5rem);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .82;
}

.title-top { display: block; }
h1 em {
  display: block;
  margin: .04em 0 0;
  font-family: var(--display);
  font-size: 1em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .9;
}
.brand-line {
  display: block;
  margin-top: .32em;
  font-family: var(--sans);
  font-size: .34em;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}
.hero-bottom { display: grid; grid-template-columns: 2fr 6fr 4fr; gap: 32px; margin-top: clamp(58px, 7vw, 110px); }
.hero-copy { grid-column: 2; max-width: 660px; margin: 0; font-family: var(--sans); font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 400; letter-spacing: 0; line-height: 1.55; }
.hero-meta { grid-column: 3; display: flex; justify-content: flex-end; gap: 24px; color: var(--muted); font-size: .62rem; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-align: right; text-transform: uppercase; }

.category-bar { padding: 0 var(--gutter); border-bottom: 1px solid var(--black); }

.feed { padding: clamp(84px, 10vw, 170px) var(--gutter) clamp(110px, 13vw, 220px); }
.section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.section-number { margin: 0 0 10px; font-size: .65rem; letter-spacing: .14em; }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(4rem, 9vw, 10rem); font-weight: 400; letter-spacing: -.07em; line-height: .78; }
.live { justify-self: end; margin-bottom: 10px; color: var(--muted); font-size: .62rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }

.category-filters { display: flex; gap: 30px; margin: 0; padding: 24px 0 12px; overflow-x: auto; scrollbar-width: thin; }
.category-filters button { flex: 0 0 auto; padding: 0 0 13px; color: var(--muted); background: transparent; border: 0; border-bottom: 1px solid transparent; cursor: pointer; font-size: .64rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.category-filters button:hover, .category-filters button.active { color: var(--black); border-bottom-color: var(--black); }

.news-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.8vw, 52px); row-gap: clamp(84px, 10vw, 170px); }
.news-card { grid-column: span 6; min-width: 0; }
.news-card-1 { grid-column: 1 / span 6; }
.news-card-2 { grid-column: 7 / span 6; padding-top: clamp(90px, 12vw, 210px); }
.news-card-3 { grid-column: 1 / -1; }
.news-card-4 { grid-column: 2 / span 10; padding: clamp(80px, 10vw, 170px) 0; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.news-card-5 { grid-column: 4 / span 8; }
.news-card > a { display: flex; min-height: 100%; flex-direction: column; text-decoration: none; }
.card-image { width: 100%; margin-bottom: 22px; }

.news-card h3 { margin: clamp(28px, 3.5vw, 56px) 0 20px; font-family: var(--display); font-size: clamp(2rem, 3.45vw, 4.8rem); font-weight: 400; letter-spacing: -.055em; line-height: .92; overflow-wrap: anywhere; }
.news-card > a > p { display: -webkit-box; max-width: 680px; margin: 0; overflow: hidden; color: var(--muted); font-size: .9rem; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }

.news-card-3 > a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); color: var(--white); background: var(--black); }
.news-card-3 .card-image { grid-column: 1 / -1; margin: 0; }
.news-card-3 .story-meta { grid-column: 1 / span 4; margin: var(--gutter); color: #bdbdbd; }
.news-card-3 h3 { grid-column: 5 / -1; margin: var(--gutter); font-size: clamp(3rem, 6.7vw, 9rem); }
.news-card-3 > a > p { grid-column: 5 / span 5; margin: 0 var(--gutter) var(--gutter); color: #c8c8c8; }
.news-card-3 .story-footer { grid-column: 10 / -1; margin: 0 var(--gutter) var(--gutter); padding: 0; }
.news-card-3 .source-name { color: #8f8f8f; }

.news-card-4 .card-image, .news-card-4 > a > p, .news-card-4 .source-name { display: none; }
.news-card-4 h3 { max-width: 1280px; margin: clamp(70px, 8vw, 130px) 0; font-size: clamp(3.8rem, 8.5vw, 10.5rem); line-height: .82; }
.news-card-4 .story-footer { margin-top: 0; padding-top: 0; }
.news-card .story-footer { padding-top: 34px; }

.loading-card { grid-column: 1 / -1; padding: 80px 0; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

footer { width: min(100%, var(--max-width)); margin: 0 auto; padding: clamp(52px, 7vw, 110px) var(--gutter) 38px; color: var(--white); background: var(--black); }
.footer-wordmark { font-family: var(--display); font-size: clamp(9rem, 28vw, 34rem); letter-spacing: -.09em; line-height: .66; }
.footer-meta { display: flex; justify-content: space-between; gap: 30px; margin-top: clamp(80px, 10vw, 160px); padding-top: 20px; border-top: 1px solid #333333; color: #a9a9a9; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-meta a { color: var(--white); text-decoration: none; }

.article-main { max-width: var(--max-width); padding: 0 var(--gutter); }
.article-page { padding: clamp(78px, 10vw, 170px) 0 clamp(110px, 12vw, 200px); }
.article-kicker { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.article-page h1 { display: block; max-width: 1600px; margin: clamp(54px, 7vw, 110px) 0 clamp(70px, 8vw, 130px); font-family: var(--display); font-size: clamp(4rem, 9.5vw, 12rem); font-weight: 400; letter-spacing: -.07em; line-height: .82; }
.article-image { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)) clamp(72px, 8vw, 130px); }
.article-image img { width: 100%; height: auto; object-fit: contain; }
.article-body { max-width: 740px; margin-left: clamp(0px, 29vw, 520px); font-family: var(--display); font-size: clamp(1.3rem, 1.7vw, 1.75rem); line-height: 1.62; }
.article-body p { margin: 0 0 1.5em; }
.original-link { position: relative; display: inline-block; margin: 46px 0 0 clamp(0px, 29vw, 520px); padding-bottom: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }

@media (max-width: 980px) {
  .featured-story > a { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); }
  .hero-statement { grid-template-columns: 1fr; }
  .eyebrow { margin-bottom: 32px; }
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-copy { grid-column: 1; }
  .hero-meta { grid-column: 2; }
  .section-heading { grid-template-columns: 1fr auto; }
  .news-card-4 { grid-column: 1 / -1; }
  .news-card-5 { grid-column: 3 / span 10; }
}

@media (max-width: 720px) {
  .site-header { min-height: 74px; }
  nav a:first-child { display: none; }
  .featured-story > a { display: block; min-height: 0; }
  .featured-image { min-height: 0; }
  .featured-image img { height: auto; }
  .featured-content { min-height: 75svh; padding: 28px var(--gutter) 36px; border-left: 0; }
  .featured-content h2 { margin: 70px 0 26px; font-size: clamp(3.3rem, 15vw, 6rem); }
  .hero { padding-top: 78px; }
  .hero-index { margin-bottom: 76px; }
  h1 { font-size: clamp(4rem, 19vw, 7rem); line-height: .84; }
  h1 br { display: none; }
  h1 em { margin: .08em 0 0; font-size: 1em; line-height: .94; }
  .brand-line { margin-top: .5em; font-size: .3em; letter-spacing: .1em; }
  .hero-bottom { grid-template-columns: 1fr; margin-top: 80px; }
  .hero-copy, .hero-meta { grid-column: 1; }
  .hero-meta { justify-content: flex-start; margin-top: 34px; text-align: left; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: clamp(4rem, 19vw, 7.5rem); }
  .live { justify-self: start; margin-top: 24px; }
  .news-grid { row-gap: 100px; }
  .news-card, .news-card-1, .news-card-2, .news-card-3, .news-card-4, .news-card-5 { grid-column: 1 / -1; padding-top: 0; }
  .news-card-3 > a { display: flex; }
  .news-card-3 .story-meta, .news-card-3 h3, .news-card-3 > a > p, .news-card-3 .story-footer { margin-right: var(--gutter); margin-left: var(--gutter); }
  .news-card-3 h3 { font-size: clamp(3rem, 14vw, 5.8rem); }
  .news-card-3 .story-meta { margin-top: 28px; }
  .news-card-3 .story-footer { margin-bottom: 34px; }
  .news-card-4 { padding: 74px 0; }
  .news-card-4 h3 { font-size: clamp(3.6rem, 17vw, 7rem); }
  .footer-meta { align-items: flex-start; flex-direction: column; }
  .article-page { padding-top: 70px; }
  .article-kicker { align-items: flex-start; flex-direction: column; }
  .article-page h1 { margin: 42px 0 62px; font-size: clamp(4rem, 18vw, 7rem); }
  .article-body, .original-link { margin-left: 0; }
  .article-body { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
