.page-news {
  background: var(--mist-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-news img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.page-news .eyebrow {
  color: var(--lake-700);
}

.page-news .news-hero .eyebrow,
.page-news .news-legend .eyebrow {
  color: var(--amber-200);
}

.page-news .news-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-news .news-section-head h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.page-news .news-section-head p:not(.eyebrow) {
  margin: 0;
  max-width: 62ch;
  color: var(--slate-500);
  font-size: 16px;
  line-height: 1.8;
}

/* Hero */
.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 5vw, 56px) 0 clamp(48px, 7vw, 86px);
  background:
    radial-gradient(circle at 82% 12%, rgba(240, 169, 59, 0.16), transparent 34%),
    linear-gradient(152deg, var(--ink-900) 0%, var(--lake-700) 56%, var(--dusk-700) 100%);
  color: var(--mist-50);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  z-index: -1;
  width: 62%;
  height: 145%;
  background: linear-gradient(120deg, rgba(191, 224, 238, 0.16), transparent 62%);
  transform: rotate(8deg);
  border-left: 1px solid rgba(255, 215, 154, 0.22);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 169, 59, 0.7), transparent);
}

.page-news .news-hero__inner {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.page-news .news-breadcrumbs {
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(247, 245, 240, 0.7);
}

.page-news .news-breadcrumbs .breadcrumbs__link {
  color: rgba(247, 245, 240, 0.78);
  text-decoration: none;
}

.page-news .news-breadcrumbs .breadcrumbs__link:hover {
  color: var(--amber-200);
}

.page-news .news-breadcrumbs .breadcrumbs__sep {
  margin: 0 8px;
  color: rgba(240, 169, 59, 0.8);
}

.page-news .news-breadcrumbs .breadcrumbs__current {
  color: var(--mist-50);
}

.page-news .news-hero h1 {
  margin: 12px 0 18px;
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-news .news-hero__lede {
  margin: 0 0 26px;
  max-width: 56ch;
  color: rgba(247, 245, 240, 0.82);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
}

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

.page-news .news-hero__actions .btn--quiet {
  color: var(--mist-50);
  border-color: rgba(247, 245, 240, 0.36);
}

.page-news .news-hero__actions .btn--quiet:hover {
  border-color: var(--amber-200);
  color: var(--amber-200);
}

.page-news .news-hero__visual {
  position: relative;
  margin: 0;
}

.page-news .news-hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 169, 59, 0.34);
  box-shadow: 0 24px 60px rgba(3, 8, 16, 0.42);
}

.page-news .news-hero__visual figcaption {
  margin-top: 12px;
  color: rgba(247, 245, 240, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* Overview */
.page-news .news-overview {
  padding: clamp(44px, 6vw, 78px) 0;
  background: var(--mist-50);
}

.page-news .news-stats {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--hairline);
}

.page-news .news-stat {
  padding: 22px 0 20px;
  border-top: 1px solid var(--hairline);
}

.page-news .news-stat__value {
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  color: var(--lake-700);
}

.page-news .news-stat__num {
  font-size: clamp(42px, 6vw, 58px);
  font-weight: 700;
  line-height: 1;
}

.page-news .news-stat__unit {
  font-size: 15px;
  color: var(--slate-500);
}

.page-news .news-stat__label {
  margin: 0;
  max-width: 34ch;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.75;
}

/* Timeline */
.page-news .news-timeline-section {
  padding: clamp(44px, 6vw, 80px) 0 clamp(52px, 7vw, 92px);
  background: linear-gradient(180deg, #eef4f7 0%, var(--mist-50) 78%);
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.page-news .news-filter__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.page-news .news-filter__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.page-news .news-filter__chips .chip {
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.page-news .news-filter__chips .chip.is-active {
  border-color: var(--amber-500);
  color: var(--ink-900);
}

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

.page-news .news-timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--amber-500) 0%, var(--lake-500) 22%, var(--dusk-500) 74%, rgba(58, 42, 92, 0.18) 100%);
}

.page-news .news-entry {
  position: relative;
  padding: 0 0 26px 44px;
}

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

.page-news .news-entry__node {
  position: absolute;
  top: 22px;
  left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--lake-200);
  background: var(--mist-50);
  box-shadow: 0 0 0 4px rgba(247, 245, 240, 0.9);
  transition: transform 220ms var(--ease), background-color 220ms var(--ease);
}

.page-news .news-entry--current .news-entry__node {
  background: var(--amber-500);
  border-color: var(--amber-200);
  box-shadow: 0 0 0 6px rgba(240, 169, 59, 0.2);
  transform: scale(1.08);
}

.page-news .news-entry__body {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(11, 15, 26, 0.05);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.page-news .news-entry__body:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 169, 59, 0.55);
  box-shadow: 0 16px 38px rgba(11, 15, 26, 0.08);
}

.page-news .news-entry--current .news-entry__body {
  border-color: rgba(240, 169, 59, 0.48);
}

.page-news .news-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-news .news-entry__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate-500);
}

.page-news .news-entry__index {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lake-500);
}

.page-news .type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.page-news .type-pill--new {
  color: #1f6b5f;
  background: rgba(44, 140, 125, 0.1);
  border-color: rgba(44, 140, 125, 0.38);
}

.page-news .type-pill--merge {
  color: var(--lake-700);
  background: rgba(18, 121, 159, 0.1);
  border-color: rgba(18, 121, 159, 0.36);
}

.page-news .type-pill--sunset {
  color: var(--dusk-700);
  background: rgba(91, 65, 133, 0.1);
  border-color: rgba(91, 65, 133, 0.34);
}

.page-news .news-entry h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.page-news .news-entry p {
  margin: 0 0 16px;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.8;
}

.page-news .news-entry__facts {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px dashed var(--hairline);
  border-bottom: 1px dashed var(--hairline);
}

.page-news .news-entry__facts div {
  display: grid;
  gap: 3px;
}

.page-news .news-entry__facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.page-news .news-entry__facts dd {
  margin: 0;
  color: var(--ink-900);
  font-size: 14px;
  line-height: 1.6;
}

.page-news .news-entry__figure {
  margin: 0 0 18px;
}

.page-news .news-entry__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
}

.page-news .news-entry__more {
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}

.page-news .news-entry__more summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--lake-700);
  font-size: 14px;
  font-weight: 600;
}

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

.page-news .news-entry__more summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--amber-500);
}

.page-news .news-entry__more[open] summary::after {
  content: "−";
}

.page-news .news-entry__more-body {
  padding-top: 12px;
}

.page-news .news-entry__more-body p {
  color: var(--slate-500);
  font-size: 14px;
}

.page-news .news-entry__more-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lake-700);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 79, 108, 0.35);
  padding-bottom: 2px;
}

.page-news .news-entry__more-body a:hover {
  color: var(--lake-500);
  border-bottom-color: var(--amber-500);
}

/* Legend */
.page-news .news-legend {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0;
  background:
    radial-gradient(circle at 90% 90%, rgba(240, 169, 59, 0.14), transparent 38%),
    linear-gradient(138deg, var(--ink-900) 0%, #14233a 52%, var(--dusk-700) 100%);
  color: var(--mist-50);
}

.page-news .news-legend__inner {
  display: grid;
  gap: clamp(30px, 4vw, 52px);
  align-items: center;
}

.page-news .news-legend__copy h2 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.4vw, 44px);
  line-height: 1.14;
}

.page-news .news-legend__copy > p:not(.eyebrow) {
  margin: 0 0 26px;
  max-width: 56ch;
  color: rgba(247, 245, 240, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

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

.page-news .legend-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline-light);
}

.page-news .legend-item:last-child {
  border-bottom: 1px solid var(--hairline-light);
}

.page-news .legend-swatch {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 5px;
  border: 1px solid rgba(247, 245, 240, 0.25);
}

.page-news .legend-swatch--new {
  background: var(--jade-500);
}

.page-news .legend-swatch--merge {
  background: var(--lake-500);
}

.page-news .legend-swatch--sunset {
  background: var(--dusk-500);
}

.page-news .legend-item h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--mist-50);
}

.page-news .legend-item p {
  margin: 0;
  color: rgba(247, 245, 240, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

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

.page-news .news-legend__visual img {
  width: 100%;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 215, 154, 0.28);
}

.page-news .news-legend__visual figcaption {
  margin-top: 12px;
  color: rgba(247, 245, 240, 0.58);
  font-size: 13px;
  line-height: 1.7;
}

/* Archive */
.page-news .news-archive {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--mist-50);
}

.page-news .news-archive__scale {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 26px;
  border-top: 2px solid var(--lake-200);
}

.page-news .news-archive__tick {
  position: relative;
  padding: 16px 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--lake-700);
}

.page-news .news-archive__tick::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 2px;
  height: 8px;
  background: var(--lake-500);
}

.page-news .news-archive__tick:first-child::before {
  background: var(--amber-500);
  width: 3px;
  height: 12px;
  top: -13px;
}

.page-news .news-archive__list {
  display: grid;
  gap: 12px;
}

.page-news .archive-item {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
}

.page-news .archive-item summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 16px 18px;
  align-items: center;
}

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

.page-news .archive-item__q {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lake-500);
}

.page-news .archive-item__t {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.page-news .archive-item__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-500);
}

.page-news .archive-item[open] {
  border-color: rgba(240, 169, 59, 0.5);
}

.page-news .archive-item__body {
  padding: 0 18px 18px;
}

.page-news .archive-item__body p {
  margin: 0 0 12px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.8;
}

.page-news .archive-item__body a {
  color: var(--lake-700);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 79, 108, 0.35);
}

.page-news .archive-item__body a:hover {
  border-bottom-color: var(--amber-500);
}

.page-news .news-reminder {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(11, 79, 108, 0.08), rgba(58, 42, 92, 0.08));
  border: 1px solid rgba(18, 121, 159, 0.2);
}

.page-news .news-reminder h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.35;
}

.page-news .news-reminder p {
  margin: 0;
  max-width: 66ch;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.8;
}

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

.page-news .news-archive__figure {
  margin: 30px 0 0;
}

.page-news .news-archive__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
}

.page-news .news-archive__figure figcaption {
  margin-top: 10px;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.7;
}

/* Links */
.page-news .news-links {
  padding: clamp(48px, 7vw, 88px) 0;
  background:
    linear-gradient(160deg, var(--ink-900) 0%, #101a2b 62%, var(--dusk-700) 100%);
  color: var(--mist-50);
}

.page-news .news-links h2 {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.14;
}

.page-news .news-links__grid {
  display: grid;
  gap: 14px;
}

.page-news .news-link {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(191, 224, 238, 0.22);
  background: rgba(247, 245, 240, 0.04);
  color: var(--mist-50);
  text-decoration: none;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.page-news .news-link:hover {
  transform: translateY(-2px);
  border-color: var(--amber-500);
  background: rgba(247, 245, 240, 0.08);
}

.page-news .news-link__mark {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber-200);
}

.page-news .news-link strong {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.35;
}

.page-news .news-link span:last-child {
  color: rgba(247, 245, 240, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

/* Reveal */
.page-news [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

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

@media (min-width: 640px) {
  .page-news .news-filter__chips {
    width: auto;
    flex-wrap: wrap;
    overflow: visible;
  }

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

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

  .page-news .archive-item summary {
    grid-template-columns: 76px 1fr auto;
    padding: 18px 22px;
  }

  .page-news .archive-item__t {
    grid-column: auto;
  }

  .page-news .news-reminder {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__inner {
    grid-template-columns: 1.06fr 0.94fr;
    gap: clamp(36px, 4vw, 64px);
  }

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

  .page-news .news-stat {
    padding: 24px 0;
  }

  .page-news .news-timeline::before {
    left: 140px;
  }

  .page-news .news-entry {
    padding-left: 180px;
  }

  .page-news .news-entry__node {
    left: 132px;
    top: 26px;
  }

  .page-news .news-entry__body {
    padding: 26px 30px;
  }

  .page-news .news-legend__inner {
    grid-template-columns: 1.02fr 0.98fr;
  }

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

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

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

@media (min-width: 1120px) {
  .page-news .news-timeline::before {
    left: 160px;
  }

  .page-news .news-entry {
    padding-left: 204px;
  }

  .page-news .news-entry__node {
    left: 152px;
  }

  .page-news .news-entry__body {
    padding: 28px 34px;
  }

  .page-news .news-archive__figure img {
    aspect-ratio: 16 / 8;
  }
}

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

  .page-news .news-entry__body,
  .page-news .news-link,
  .page-news .news-entry__node {
    transition: none;
  }
}
