.page-news {
  background: var(--ink);
  color: var(--mist);
  font-family: var(--sans);
  padding-bottom: clamp(56px, 8vw, 120px);
  overflow-x: clip;
}

.page-news ::selection {
  background: var(--neon);
  color: var(--ink);
}

.page-news .ag-crumbs {
  padding-top: clamp(18px, 3vw, 32px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ash);
}

.page-news .ag-crumbs a {
  color: var(--ash);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.page-news .ag-crumbs a:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

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

.page-news .news-hero {
  position: relative;
  padding: clamp(26px, 5vw, 56px) 0 clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--hair);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 241, 245, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 241, 245, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 72%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 72%);
  pointer-events: none;
}

.page-news .news-hero > * {
  position: relative;
  z-index: 1;
}

.page-news .news-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--neon);
  text-transform: uppercase;
}

.page-news .news-hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}

.page-news .news-hero__title {
  margin: .22em 0 .28em;
  font-size: clamp(44px, 9.6vw, 118px);
  line-height: .94;
  font-weight: 900;
  letter-spacing: -.035em;
  color: var(--white);
}

.page-news .news-hero__lede {
  max-width: 40em;
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.78;
  color: var(--mist);
}

.page-news .news-hero__meta {
  list-style: none;
  margin: clamp(22px, 3.4vw, 36px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 13px;
  color: var(--mist);
}

.page-news .news-hero__meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--hair-2);
}

.page-news .news-hero__meta .ag-mono {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ash);
}

.page-news .news-hero__annotation {
  display: none;
}

/* ---------- Lead ---------- */

.page-news .news-lead {
  position: relative;
  margin: clamp(30px, 5vw, 64px) 0 0;
  border: 1px solid var(--hair);
  background: linear-gradient(158deg, var(--abyss), var(--ink) 68%);
  overflow: hidden;
}

.page-news .news-lead__no {
  position: absolute;
  top: -10px;
  right: 12px;
  font-family: var(--mono);
  font-size: clamp(88px, 20vw, 220px);
  line-height: 1;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair-2);
  pointer-events: none;
  z-index: 0;
}

.page-news .news-lead__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.page-news .news-lead__body {
  padding: clamp(24px, 4.4vw, 56px);
}

.page-news .news-lead__kick {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--coral);
  text-transform: uppercase;
}

.page-news .news-lead__title {
  margin: 14px 0 16px;
  font-size: clamp(26px, 5.2vw, 48px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 18em;
}

.page-news .news-lead__text {
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-news .news-lead__points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .news-lead__points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-news .news-lead__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 1px;
  background: var(--neon);
}

.page-news .news-lead__points strong {
  display: block;
  font-weight: 700;
  color: var(--white);
  font-size: 14px;
  margin-bottom: 2px;
}

.page-news .news-lead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-news .news-lead__media {
  margin: 0;
  border-top: 1px solid var(--hair);
  overflow: hidden;
}

.page-news .news-lead__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* ---------- Section shell ---------- */

.page-news .news-section {
  padding-top: clamp(44px, 7vw, 96px);
}

.page-news .news-section__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 3.6vw, 40px);
}

.page-news .news-section__title {
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-news .news-section__note {
  max-width: 46em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ash);
}

/* ---------- Timeline ---------- */

.page-news .news-timeline__figure {
  margin: 0 0 clamp(26px, 4vw, 44px);
  border: 1px solid var(--hair);
  overflow: hidden;
}

.page-news .news-timeline__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

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

.page-news .news-timeline__node {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--hair-2);
}

.page-news .news-timeline__node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mist);
  transition: background .16s var(--ease), transform .16s var(--ease);
}

.page-news .news-timeline__node:hover::before {
  background: var(--neon);
  transform: scale(1.5);
}

.page-news .news-timeline__year {
  display: block;
  font-family: var(--mono);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--neon);
  transition: color .16s var(--ease);
}

.page-news .news-timeline__label {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.page-news .news-timeline__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--ash);
}

/* ---------- Feed ---------- */

.page-news .news-feed {
  display: grid;
  gap: clamp(20px, 3.2vw, 40px);
}

.page-news .news-feed__figure {
  margin: 0;
  border: 1px solid var(--hair);
  overflow: hidden;
}

.page-news .news-feed__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .news-facet__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ash);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-news .news-facet__group {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-facet__legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-news .news-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .news-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--hair-2);
  font-size: 13px;
  color: var(--mist);
  cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}

.page-news .news-chip:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.page-news .news-chip__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ash);
}

.page-news .news-filter-input:checked + .news-chip {
  border-color: var(--neon);
  background: var(--deep);
  color: var(--white);
}

.page-news .news-filter-input:checked + .news-chip .news-chip__n {
  color: var(--neon);
}

.page-news .news-filter-input:focus-visible + .news-chip {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.page-news .news-facet__foot {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ash);
}

.page-news .news-list {
  border-top: 1px solid var(--hair-2);
}

.page-news .news-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: clamp(20px, 3vw, 30px) 0;
  border-bottom: 1px solid var(--hair);
  position: relative;
  transition: background .18s var(--ease);
}

.page-news .news-entry:hover {
  background: rgba(18, 59, 82, .28);
}

.page-news .news-entry__no {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--neon);
}

.page-news .news-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 11px;
  color: var(--ash);
}

.page-news .news-entry__meta .ag-mono {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ash);
}

.page-news .news-flag {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: .06em;
  border: 1px solid var(--hair-2);
  color: var(--mist);
}

.page-news .news-flag--notice {
  border-color: var(--coral);
  color: var(--coral);
}

.page-news .news-flag--nav {
  border-color: var(--neon);
  color: var(--neon);
}

.page-news .news-flag--lib {
  border-color: var(--amber);
  color: var(--amber);
}

.page-news .news-flag--mobile {
  border-color: var(--mist);
  color: var(--mist);
}

.page-news .news-flag--faq {
  border-color: var(--ash);
  color: var(--mist);
}

.page-news .news-entry__title {
  margin: 6px 0 8px;
  font-size: clamp(17px, 2.8vw, 21px);
  line-height: 1.42;
  font-weight: 700;
  color: var(--white);
  transition: color .16s var(--ease);
}

.page-news .news-entry:hover .news-entry__title {
  color: var(--neon);
}

.page-news .news-entry__sum {
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
  max-width: 42em;
}

.page-news .news-entry__more {
  margin-top: 10px;
}

.page-news .news-entry__more summary {
  list-style: none;
  display: inline-block;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ash);
  border-bottom: 1px solid var(--hair-2);
  padding-bottom: 2px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.page-news .news-entry__more summary::-webkit-details-marker {
  display: none;
}

.page-news .news-entry__more summary:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.page-news .news-entry__more[open] summary {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.page-news .news-entry__more p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ash);
  max-width: 40em;
}

.page-news .news-copy {
  justify-self: start;
  margin-top: 4px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--hair-2);
  color: var(--ash);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}

.page-news .news-copy:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.page-news .news-copy[data-copied="true"] {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}

/* filter behaviour */

.page-news .news-feed:has(#nc-notice:checked) .news-entry:not([data-cat="notice"]),
.page-news .news-feed:has(#nc-nav:checked) .news-entry:not([data-cat="nav"]),
.page-news .news-feed:has(#nc-lib:checked) .news-entry:not([data-cat="lib"]),
.page-news .news-feed:has(#nc-mobile:checked) .news-entry:not([data-cat="mobile"]),
.page-news .news-feed:has(#nc-faq:checked) .news-entry:not([data-cat="faq"]) {
  display: none;
}

/* ---------- Sync ---------- */

.page-news .news-sync {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  display: grid;
  gap: clamp(22px, 3.4vw, 40px);
  padding: clamp(24px, 4vw, 52px);
  margin-top: clamp(48px, 7vw, 96px);
}

.page-news .news-sync__figure {
  margin: 0;
  overflow: hidden;
}

.page-news .news-sync__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-news .news-sync__title {
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-news .news-sync__text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--deep);
  max-width: 38em;
}

.page-news .news-sync__stats {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  border-top: 1px solid rgba(18, 59, 82, .2);
  padding-top: 20px;
}

.page-news .news-sync__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-news .news-sync__num {
  font-family: var(--mono);
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--deep);
}

.page-news .news-sync__unit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--coral);
}

.page-news .news-sync__label {
  font-size: 12px;
  color: var(--deep);
}

.page-news .news-sync__note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--deep);
  max-width: 40em;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 59, 82, .2);
}

.page-news .news-sync__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Revisit ---------- */

.page-news .news-revisit__kick {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--coral);
  text-transform: uppercase;
}

.page-news .news-revisit__title {
  margin: 12px 0 14px;
  font-size: clamp(24px, 4.6vw, 42px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 16em;
}

.page-news .news-revisit__text {
  max-width: 40em;
  font-size: 15px;
  line-height: 1.82;
  color: var(--mist);
}

.page-news .news-revisit__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 26px;
}

.page-news .news-revisit__link {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--hair-2);
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}

.page-news .news-revisit__link:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(25, 227, 209, .07);
}

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

/* ---------- Responsive ---------- */

@media (min-width: 760px) {
  .page-news .news-hero__annotation {
    display: block;
    position: absolute;
    right: 0;
    top: 96px;
    transform: rotate(90deg);
    transform-origin: right top;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .3em;
    color: var(--ash);
    z-index: 1;
  }

  .page-news .news-timeline__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--hair-2);
  }

  .page-news .news-timeline__node {
    padding: 26px 20px 0 0;
    border-left: 0;
  }

  .page-news .news-timeline__node::before {
    left: 0;
    top: -5px;
  }

  .page-news .news-timeline__node:last-child::before {
    background: var(--amber);
  }

  .page-news .news-feed__head {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
    gap: 32px;
  }

  .page-news .news-entry {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-news .news-entry__no {
    padding-top: 4px;
    font-size: 15px;
  }

  .page-news .news-copy {
    justify-self: end;
    margin-top: 2px;
  }

  .page-news .news-sync {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-news .news-lead__inner {
    grid-template-columns: 1.15fr .85fr;
    align-items: stretch;
  }

  .page-news .news-lead__media {
    border-top: 0;
    border-left: 1px solid var(--hair);
  }

  .page-news .news-lead__media img {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (min-width: 960px) {
  .page-news .news-feed {
    grid-template-columns: 232px minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(28px, 4vw, 56px);
  }

  .page-news .news-feed__head {
    grid-column: 1 / -1;
  }

  .page-news .news-facet {
    position: sticky;
    top: calc(var(--topbar-h) + 28px);
    border-top: 1px solid var(--hair-2);
    padding-top: 18px;
  }

  .page-news .news-facet__group {
    flex-direction: column;
    align-items: stretch;
  }

  .page-news .news-chip {
    justify-content: space-between;
  }

  .page-news .news-list {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-entry,
  .page-news .news-copy,
  .page-news .news-chip,
  .page-news .news-timeline__node::before,
  .page-news .news-revisit__link {
    transition: none;
  }
}
