.page-news {
  --news-line: rgba(27, 42, 68, 0.9);
  --news-line-soft: rgba(169, 184, 206, 0.18);
  --news-radius: 4px;
  color: var(--ice-white);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.page-news .page-container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

/* ---------- Hero ---------- */

.page-news .news-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(96px, 14vh, 168px) clamp(56px, 8vh, 96px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-night) 100%);
}

.page-news .news-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
}

.page-news .news-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice-blue), var(--aurora-purple), transparent);
  opacity: 0.6;
}

.page-news .news-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-news .news-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--frost-silver);
  text-transform: uppercase;
}

.page-news .news-hero .breadcrumb a {
  color: var(--frost-silver);
  text-decoration: none;
}

.page-news .news-hero .breadcrumb a:hover,
.page-news .news-hero .breadcrumb a:focus-visible {
  color: var(--ice-blue);
}

.page-news .news-hero .display-xl {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  background: linear-gradient(120deg, var(--ice-white) 32%, var(--aurora-purple) 82%, var(--ice-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-news .news-hero__lede {
  max-width: 56ch;
  color: var(--frost-silver);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.9;
}

.page-news .news-hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: clamp(20px, 4vh, 40px);
  padding-top: 26px;
  border-top: 1px solid var(--news-line-soft);
}

.page-news .news-fact {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-news .news-fact__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--neon-cyan);
  line-height: 1;
}

.page-news .news-fact__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--frost-silver);
}

/* ---------- Chapter rail ---------- */

.page-news .chapter-rail {
  display: none;
}

/* ---------- Section basics ---------- */

.page-news .chapter-section {
  position: relative;
  padding-block: clamp(64px, 10vh, 116px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-news .section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.page-news .section-head--tight {
  margin-bottom: 28px;
}

.page-news .chapter-section .heading-2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--ice-white);
}

.page-news .chapter-section .text-measure {
  max-width: 60ch;
  margin: 0;
  color: var(--frost-silver);
  line-height: 1.9;
}

.page-news .chapter-section .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice-blue);
}

/* ---------- Progress ---------- */

.page-news .news-progress {
  background: var(--bg-night);
}

.page-news .progress-track {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--news-line);
  border-radius: var(--news-radius);
  background: linear-gradient(160deg, rgba(142, 123, 242, 0.07), rgba(53, 240, 220, 0.05) 70%, transparent);
}

.page-news .progress-track__bar {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: var(--crack-blue);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-news .progress-track__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ice-blue), var(--aurora-purple) 62%, var(--neon-cyan));
}

.page-news .progress-track__marker {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--neon-cyan);
  box-shadow: 0 0 0 5px rgba(53, 240, 220, 0.16);
}

.page-news .progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-news .progress-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 22px;
  position: relative;
}

.page-news .progress-step__dot {
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--frost-silver);
  background: transparent;
}

.page-news .progress-step.is-done .progress-step__dot {
  border-color: var(--ice-blue);
  background: var(--ice-blue);
}

.page-news .progress-step.is-current .progress-step__dot {
  border-color: var(--neon-cyan);
  background: var(--neon-cyan);
  box-shadow: 0 0 0 4px rgba(53, 240, 220, 0.18);
}

.page-news .progress-step__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--ice-white);
}

.page-news .progress-step__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--frost-silver);
}

.page-news .progress-step.is-current .progress-step__note {
  color: var(--neon-cyan);
}

.page-news .news-callout {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 24px;
  border-top: 1px dashed var(--news-line-soft);
}

.page-news .news-callout p {
  margin: 0;
  max-width: 62ch;
  color: var(--frost-silver);
  line-height: 1.9;
}

/* ---------- Bulletin ---------- */

.page-news .news-bulletin {
  background: var(--bg-deep);
}

.page-news .news-bulletin__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.page-news .news-bulletin__aside {
  max-width: 420px;
}

.page-news .news-bulletin__aside .image-frame--square {
  border-radius: var(--news-radius);
  overflow: hidden;
  border: 1px solid var(--news-line);
}

.page-news .news-bulletin__aside .image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.72;
}

.page-news .news-bulletin__aside .image-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--frost-silver);
  line-height: 1.7;
}

.page-news .data-tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.page-news .data-tab {
  appearance: none;
  border: 1px solid var(--news-line);
  background: transparent;
  color: var(--frost-silver);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.page-news .data-tab:hover,
.page-news .data-tab:focus-visible {
  color: var(--ice-white);
  border-color: var(--ice-blue);
}

.page-news .data-tab.is-active {
  color: var(--bg-deep);
  background: var(--ice-blue);
  border-color: var(--ice-blue);
}

.page-news .tab-panel {
  display: none;
}

.page-news .tab-panel.is-active {
  display: block;
}

.page-news .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--news-line);
}

.page-news .timeline__item {
  position: relative;
  padding: 0 0 30px 26px;
}

.page-news .timeline__item:last-child {
  padding-bottom: 0;
}

.page-news .timeline__node {
  position: absolute;
  left: -4px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--frost-silver);
}

.page-news .timeline__item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, var(--neon-cyan), transparent);
  transition: height 260ms ease;
}

.page-news .timeline__item:hover::before,
.page-news .timeline__item:focus-within::before {
  height: 100%;
}

.page-news .timeline__item:hover .timeline__node {
  background: var(--neon-cyan);
}

.page-news .timeline__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--frost-silver);
}

.page-news .tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.page-news .tag--version { color: var(--ice-blue); }
.page-news .tag--ratio { color: var(--aurora-purple); }
.page-news .tag--check { color: var(--frost-silver); }
.page-news .tag--topic { color: var(--neon-cyan); }

.page-news .timeline__title {
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ice-white);
}

.page-news .timeline__desc {
  margin: 0;
  max-width: 62ch;
  color: var(--frost-silver);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- Ratio ---------- */

.page-news .news-ratio {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-night));
  border-top: 1px solid var(--news-line-soft);
}

.page-news .news-ratio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.page-news .news-ratio__text .heading-2 {
  margin: 12px 0 18px;
}

.page-news .news-ratio__text .text-measure {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.page-news .news-ratio__figure {
  margin: 0;
}

.page-news .news-ratio__figure .image-frame--wide {
  border: 1px solid var(--news-line);
  border-radius: var(--news-radius);
  overflow: hidden;
}

.page-news .news-ratio__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .news-ratio__figure .image-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--frost-silver);
  line-height: 1.7;
}

.page-news .accordion {
  border-top: 1px solid var(--news-line);
}

.page-news .accordion-item {
  border-bottom: 1px solid var(--news-line);
}

.page-news .accordion-trigger {
  display: block;
  width: 100%;
  text-align: left;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 18px 0;
  color: var(--ice-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: color 200ms ease;
}

.page-news .accordion-trigger::after {
  content: "+";
  float: right;
  font-family: var(--font-mono);
  color: var(--ice-blue);
}

.page-news .accordion-item.is-open .accordion-trigger::after {
  content: "–";
}

.page-news .accordion-trigger:hover,
.page-news .accordion-trigger:focus-visible {
  color: var(--ice-blue);
}

.page-news .accordion-panel {
  display: none;
  padding-bottom: 20px;
}

.page-news .accordion-item.is-open .accordion-panel {
  display: block;
}

.page-news .accordion-panel p {
  margin: 0;
  max-width: 62ch;
  color: var(--frost-silver);
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- Topic ---------- */

.page-news .news-topic {
  position: relative;
  isolation: isolate;
  color: var(--ice-white);
  padding-block: clamp(72px, 12vh, 140px);
  background: var(--bg-night);
  overflow: hidden;
}

.page-news .news-topic__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
}

.page-news .news-topic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news .news-topic__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-news .news-topic__title {
  margin: 0;
  font-size: clamp(36px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ice-white);
}

.page-news .news-topic__lede {
  margin: 0;
  max-width: 52ch;
  color: var(--frost-silver);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.9;
}

.page-news .news-topic__seasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(28px, 5vh, 48px);
  background: var(--news-line-soft);
  border: 1px solid var(--news-line-soft);
}

.page-news .season-card {
  background: rgba(5, 11, 24, 0.82);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .season-card__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--aurora-purple);
}

.page-news .season-card .heading-3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ice-white);
}

.page-news .season-card p:last-child {
  margin: 0;
  color: var(--frost-silver);
  font-size: 15px;
  line-height: 1.85;
}

.page-news .news-topic__inner .btn {
  align-self: flex-start;
}

/* ---------- Rhythm ---------- */

.page-news .news-rhythm {
  background: var(--bg-deep);
}

.page-news .news-rhythm__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--news-line-soft);
  border: 1px solid var(--news-line-soft);
}

.page-news .news-rhythm__metrics .metric {
  background: var(--bg-deep);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-news .news-rhythm__metrics .metric-value {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 500;
  line-height: 1;
  color: var(--neon-cyan);
}

.page-news .news-rhythm__metrics .metric-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--frost-silver);
  line-height: 1.6;
}

.page-news .news-rhythm__note {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: clamp(30px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px);
  border-left: 2px solid var(--ice-blue);
  background: linear-gradient(90deg, rgba(61, 155, 240, 0.09), transparent 76%);
}

.page-news .news-rhythm__note p {
  margin: 0;
  max-width: 62ch;
  color: var(--frost-silver);
  line-height: 1.9;
}

.page-news .news-rhythm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--news-line);
}

.page-news .pager-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ice-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.page-news .pager-link:hover,
.page-news .pager-link:focus-visible {
  border-color: var(--ice-blue);
}

/* ---------- Reveal ---------- */

.page-news .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 240ms ease-out, transform 240ms ease-out;
}

.page-news .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Narrow screens guard ---------- */

.page-news img,
.page-news svg {
  max-width: 100%;
  height: auto;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
  .page-news .news-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-news .news-rhythm__metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .news-bulletin__grid {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .page-news .news-ratio__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  }

  .page-news .news-ratio__text {
    order: 1;
  }

  .page-news .news-ratio__figure {
    order: 2;
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }

  .page-news .news-topic__seasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-news .news-rhythm__note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  .page-news .chapter-rail {
    position: fixed;
    right: max(20px, calc((100vw - var(--content-max)) / 2 - 118px));
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 6;
    padding: 18px 16px;
    border-left: 1px solid var(--news-line);
  }

  .page-news .chapter-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--frost-silver);
    text-decoration: none;
    opacity: 0.62;
    transition: opacity 200ms ease, color 200ms ease;
  }

  .page-news .chapter-link:hover,
  .page-news .chapter-link:focus-visible,
  .page-news .chapter-link.is-active {
    opacity: 1;
    color: var(--neon-cyan);
  }

  .page-news .news-bulletin__grid {
    grid-template-columns: 320px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-news .timeline__item::before {
    transition: none;
  }
}
