:root {
  --ink: #0a0a0c;
  --line: rgba(255, 255, 255, 0.18);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ink);
  color: #f3f2ef;
  font-family: Manrope, Arial, sans-serif;
}
.news-nav {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  position: sticky;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(7, 7, 9, 0.78);
  backdrop-filter: blur(18px);
}
.news-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.news-brand img {
  width: 35px;
  height: 35px;
}
.news-brand span {
  font: 600 8px/1.5 "DM Mono";
  letter-spacing: 0.1em;
}
.news-nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  min-width: 0;
  flex: 1;
}
.news-nav nav a {
  color: #b9b8be;
  text-decoration: none;
  font: 600 10px "DM Mono";
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 0.2s,
    opacity 0.2s;
}
.news-nav nav a:hover,
.news-nav nav a[aria-current="page"] {
  color: #f4f3ef;
}
.back-link {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #eee;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  text-decoration: none;
  font: 700 10px "DM Mono";
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.news-hero {
  min-height: 278px;
  padding: 42px 7% 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  background:
    linear-gradient(90deg, #070708 0%, #070708e8 38%, #0707086b 100%),
    url("/assets/news-hero.png") center/cover;
}
.eyebrow {
  font: 10px "DM Mono";
  letter-spacing: 0.14em;
  color: #aaa8ae;
  margin: 0 0 22px;
}
.news-hero h1,
.gallery h2,
.reader h1 {
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: 0;
  line-height: 0.96;
  font-weight: 500;
  margin: 0;
}
.gallery h2 {
  font-size: clamp(32px, 3.5vw, 48px);
}
.news-hero em,
.gallery em {
  font-family: Parisienne;
  font-weight: 400;
}
.news-hero > div > p:last-child {
  max-width: 430px;
  line-height: 1.65;
  color: #c6c5c9;
  margin: 18px 0 0;
}
.hero-count {
  font: 10px "DM Mono";
  letter-spacing: 0.12em;
  color: #c8c7cc;
  text-align: right;
}
.hero-count span {
  font: 38px Manrope;
  letter-spacing: 0;
  display: block;
  color: #fff;
}
.gallery {
  padding: 24px 7% 46px;
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.article-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.07), transparent 42%), #161619;
  color: #f5f5f3;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.article-card:hover {
  transform: translateY(-7px);
  border-color: #fff;
}
.article-card img,
.card-fallback {
  width: 100%;
  aspect-ratio: 1.72;
  display: block;
  object-fit: cover;
  background: radial-gradient(circle at 30% 30%, #555862, #151518 65%);
}
.card-copy {
  padding: 18px;
}
.card-copy h3 {
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 18px;
}
.card-copy span {
  font: 10px "DM Mono";
  letter-spacing: 0.08em;
}
.empty-card {
  width: min(720px, 100%);
  min-height: 138px;
  margin: 0 auto;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.11), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 22px 60px rgba(0, 0, 0, 0.23);
}
.empty-card h3 {
  font-size: 24px;
  letter-spacing: 0;
  margin: 8px 0;
}
.empty-card p:last-child {
  max-width: 430px;
  color: #bab9be;
  line-height: 1.6;
  margin: 0;
}
.empty-orb {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  color: #e8e8e3;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  font: 24px Manrope;
}
.pulse {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: auto;
  background: #fff;
  box-shadow: 0 0 0 0 #ffffff66;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 18px #ffffff00;
  }
}
footer {
  padding: 35px 7%;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font: 9px "DM Mono";
  letter-spacing: 0.1em;
  color: #8c8b91;
}
.reader-backdrop {
  position: fixed;
  z-index: 5;
  inset: 0;
  background: #000c;
  display: grid;
  place-items: center;
  padding: 25px;
}
.reader {
  position: relative;
  width: min(900px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: clamp(30px, 6vw, 75px);
  background: #17171b;
  border: 1px solid #ffffff55;
  box-shadow: 0 30px 100px #000;
}
.close {
  position: absolute;
  right: 18px;
  top: 18px;
  border: 0;
  padding: 9px 13px;
  background: #f3f2ef;
  color: #101012;
  cursor: pointer;
}
.reader h1 {
  font-size: clamp(40px, 6vw, 76px);
  margin: 0 0 30px;
}
.reader > img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  margin-bottom: 35px;
}
.article-content {
  font-size: 16px;
  line-height: 1.85;
  color: #d3d2d6;
}
.article-content img {
  max-width: 100%;
  height: auto;
}
.article-content a {
  color: #fff;
}
@media (max-width: 700px) {
  .news-nav {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 22px;
  }
  .news-nav nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
  }
  .news-hero {
    min-height: 330px;
    padding: 48px 28px 38px;
    display: grid;
    align-items: end;
  }
  .hero-count {
    margin-top: 8px;
    text-align: left;
  }
  .gallery {
    padding: 38px 28px 48px;
  }
  .gallery-heading {
    display: block;
    margin-bottom: 22px;
  }
  .gallery-heading .eyebrow {
    margin-top: 28px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  footer {
    display: grid;
    gap: 10px;
  }
  .back-link {
    font-size: 8px;
  }
}
