.page-news {
  --note-pad: clamp(18px, 2.4vw, 28px);
  --note-line: var(--grid);
  background-color: var(--ink-900);
  color: var(--mist);
  font-family: var(--font-body);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-news .notes-masthead {
  padding: clamp(20px, 3.4vw, 40px) 0 clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--grid);
  background-color: var(--ink-800);
  background-image:
    radial-gradient(120% 95% at 6% 0%, rgba(31, 138, 76, 0.34), transparent 62%),
    repeating-linear-gradient(90deg, rgba(30, 58, 82, 0.55) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(30, 58, 82, 0.42) 0 1px, transparent 1px 96px);
}

.page-news .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--steel);
}

.page-news .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--grid);
}

.page-news .breadcrumb-link {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-news .breadcrumb-link:hover {
  color: var(--orange-soft);
  border-bottom-color: var(--orange-soft);
}

.page-news .breadcrumb-link[aria-current="page"] {
  color: var(--mist);
}

.page-news .masthead-grid {
  display: grid;
  gap: 24px;
}

.page-news .eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--green-400);
}

.page-news .masthead-lead h1 {
  margin: 0 0 16px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--mist);
}

.page-news .masthead-text {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.page-news .masthead-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 16px;
  margin: 6px 0 0;
  padding: 0;
}

.page-news .masthead-stats .stat {
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}

.page-news .masthead-stats .stat:nth-child(2) {
  border-left-color: var(--green-400);
}

.page-news .masthead-stats .stat:nth-child(3) {
  border-left-color: var(--beta);
}

.page-news .masthead-stats dt {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--steel);
}

.page-news .masthead-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--mist);
}

.page-news .notes-body {
  display: grid;
  gap: 32px;
  padding-top: clamp(28px, 5vw, 56px);
}

.page-news .rail-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.page-news .rail-nav {
  display: flex;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
}

.page-news .rail-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid var(--grid);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-news .rail-nav .mono {
  font-size: 12px;
  color: var(--steel);
}

.page-news .rail-nav a:hover,
.page-news .rail-nav a:focus-visible {
  color: var(--orange-soft);
  border-bottom-color: var(--orange);
}

.page-news .rail-note {
  padding: 16px;
  background-color: var(--ink-800);
  border: 1px solid var(--grid);
  border-left: 2px solid var(--beta);
}

.page-news .rail-note-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--beta);
}

.page-news .rail-note p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.page-news .note-section {
  margin-bottom: clamp(44px, 7vw, 88px);
}

.page-news .note-section:last-child {
  margin-bottom: 0;
}

.page-news .section-head {
  margin-bottom: clamp(18px, 2.6vw, 30px);
}

.page-news .section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.page-news .section-title {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--mist);
}

.page-news .section-lead {
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.72;
  color: var(--steel);
}

.page-news .media-frame {
  margin: 0;
  background-color: var(--ink-800);
  border: 1px solid var(--grid);
  overflow: hidden;
}

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

.page-news .media-frame__caption {
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--steel);
  border-top: 1px solid var(--grid);
}

.page-news .card {
  background-color: var(--ink-800);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  color: var(--mist);
}

.page-news .focus-grid {
  display: grid;
  gap: 16px;
}

.page-news .focus-side {
  display: grid;
  gap: 16px;
}

.page-news .focus-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-top: 2px solid var(--orange);
}

.page-news .focus-body {
  display: grid;
  gap: 12px;
  padding: var(--note-pad);
}

.page-news .focus-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.page-news .focus-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.page-news .focus-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--steel);
}

.page-news .focus-body .btn {
  justify-self: start;
}

.page-news .focus-mini {
  display: grid;
  gap: 8px;
  padding: var(--note-pad);
  border-left: 2px solid var(--green-400);
}

.page-news .focus-mini h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.page-news .focus-mini p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--steel);
}

.page-news .mini-foot {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--green-400);
}

.page-news .cat-tag {
  display: inline-block;
  padding: 1px 8px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  white-space: nowrap;
}

.page-news .cat--team {
  color: var(--green-400);
}

.page-news .cat--fix {
  color: var(--orange);
}

.page-news .cat--feature {
  color: var(--orange-soft);
}

.page-news .cat--report {
  color: var(--beta);
}

.page-news .cat--node {
  color: var(--steel);
}

.page-news .cat--scene {
  color: var(--mist);
  border-style: dashed;
}

.page-news .note-time {
  font-size: 12px;
  color: var(--steel);
}

.page-news .tablist {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--grid);
}

.page-news .tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
  background-color: transparent;
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.page-news .tab:hover {
  color: var(--mist);
  border-color: var(--steel);
}

.page-news .tab[aria-selected="true"] {
  font-weight: 600;
  color: var(--ink-900);
  background-color: var(--orange);
  border-color: var(--orange);
}

.page-news .tab:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-news .tabpanel {
  padding-top: 6px;
}

.page-news .tabpanel[hidden] {
  display: none;
}

.page-news .note-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .note-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  border-bottom: 1px solid var(--grid);
}

.page-news .note-no {
  padding-top: 19px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-news .note-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.page-news .note-trigger {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--mist);
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.18s ease;
}

.page-news .note-title {
  flex: 1 1 240px;
}

.page-news .note-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.page-news .note-trigger:hover .note-title,
.page-news .note-trigger:focus-visible .note-title {
  color: var(--orange-soft);
}

.page-news .note-trigger:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-news .note-panel {
  grid-column: 2 / -1;
  padding: 0 0 18px;
}

.page-news .note-panel p {
  margin: 0;
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--steel);
}

.page-news .series-grid {
  display: grid;
  gap: 20px;
}

.page-news .series-tabs {
  min-width: 0;
}

.page-news .timeline {
  margin: 0;
  padding: 4px 0 0 22px;
  list-style: none;
  border-left: 1px solid var(--grid);
  display: grid;
  gap: 20px;
}

.page-news .timeline-step {
  position: relative;
}

.page-news .timeline-step::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -27px;
  width: 9px;
  height: 9px;
  background-color: var(--green-400);
  border: 1px solid var(--ink-900);
}

.page-news .timeline-step:nth-child(2)::before {
  background-color: var(--orange);
}

.page-news .timeline-step:nth-child(3)::before {
  background-color: var(--beta);
}

.page-news .timeline-time {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange-soft);
}

.page-news .timeline-step h3 {
  margin: 4px 0 6px;
  font-size: 17px;
  line-height: 1.4;
}

.page-news .timeline-step p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--steel);
}

.page-news .report-card {
  display: grid;
  gap: 0;
  margin-top: 20px;
  padding: 0;
  overflow: hidden;
  border-left: 2px solid var(--beta);
}

.page-news .report-media {
  border: 0;
  border-bottom: 1px solid var(--grid);
}

.page-news .report-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: var(--note-pad);
}

.page-news .report-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
}

.page-news .report-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--steel);
}

.page-news .changes-media {
  margin-bottom: 20px;
}

.page-news .change-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: var(--grid);
  border: 1px solid var(--grid);
}

.page-news .change-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 20px var(--note-pad);
  background-color: var(--ink-900);
}

.page-news .change-no {
  font-size: 20px;
  font-weight: 600;
  color: var(--orange);
}

.page-news .change-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.page-news .change-item p {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--steel);
}

.page-news .change-item a {
  font-size: 14px;
  color: var(--green-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-news .change-item a:hover {
  color: var(--orange-soft);
}

.page-news .rhythm-grid {
  display: grid;
  gap: 20px;
}

.page-news .rhythm-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .rhythm-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--mist);
  border-top: 1px solid var(--grid);
}

.page-news .rhythm-list li:last-child {
  border-bottom: 1px solid var(--grid);
}

.page-news .rhythm-list .mono {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--beta);
}

.page-news .rhythm-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: var(--note-pad);
  border-top: 2px solid var(--orange);
}

.page-news .rhythm-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.3;
}

.page-news .rhythm-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--steel);
}

.page-news .rhythm-card .btn {
  justify-self: start;
}

.page-news .more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.page-news .more-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: var(--note-pad);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.page-news .more-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.page-news .more-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-news .more-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--mist);
}

.page-news .more-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--steel);
}

.page-news .more-no {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-news .more-go {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--green-400);
}

@media (min-width: 720px) {
  .page-news .report-card {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
  }

  .page-news .report-media {
    border-bottom: 0;
    border-right: 1px solid var(--grid);
    height: 100%;
  }

  .page-news .report-media .media-frame__img {
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 960px) {
  .page-news .masthead-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 40px;
    align-items: end;
  }

  .page-news .masthead-stats {
    margin-top: 0;
  }

  .page-news .notes-body {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-news .notes-rail {
    position: sticky;
    top: 96px;
  }

  .page-news .rail-nav {
    display: grid;
    gap: 2px;
    padding: 0;
    overflow: visible;
  }

  .page-news .rail-nav a {
    padding: 9px 12px 9px 10px;
    white-space: normal;
    border-bottom: 0;
    border-left: 2px solid var(--grid);
  }

  .page-news .rail-nav a:hover,
  .page-news .rail-nav a:focus-visible {
    border-bottom-color: transparent;
    border-left-color: var(--orange);
    background-color: var(--ink-800);
  }

  .page-news .focus-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-news .series-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 24px;
  }

  .page-news .rhythm-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 28px;
  }
}

@media (min-width: 1200px) {
  .page-news .note-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .page-news .note-trigger {
    padding: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .tab,
  .page-news .note-trigger,
  .page-news .more-card,
  .page-news .rail-nav a {
    transition: none;
  }

  .page-news .more-card:hover {
    transform: none;
  }
}
