.page-news {
  --news-card-pad: clamp(20px, 3vw, 30px);
  --news-hover: rgba(245, 243, 239, .22);
  overflow-x: clip;
}

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

/* ---------- HERO ---------- */

.page-news .news-hero {
  padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 76px);
  overflow: clip;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: -40% -25% auto -30%;
  height: 620px;
  background:
    radial-gradient(52% 58% at 22% 18%, rgba(0, 122, 255, .16), transparent 70%),
    radial-gradient(46% 52% at 72% 8%, rgba(175, 82, 222, .14), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

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

.page-news .news-hero__grid {
  align-items: start;
  gap: clamp(26px, 4vw, 52px);
}

.page-news .news-hero__title {
  margin: 14px 0 0;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.page-news .news-hero__lede {
  margin-top: 22px;
  max-width: 48ch;
}

.page-news .news-hero__note {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--stone);
}

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

.page-news .news-hero__frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .9);
}

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

/* ---------- RHYTHM STRIP ---------- */

.page-news .news-rhythm {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .news-rhythm__cell {
  background: var(--slate);
  padding: 16px 18px 18px;
  min-width: 0;
}

.page-news .news-rhythm__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--cream);
  line-height: 1.1;
}

.page-news .news-rhythm__unit {
  margin-left: 3px;
  font-size: 13px;
  font-weight: 400;
  color: var(--stone);
}

.page-news .news-rhythm__cap {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--stone);
  line-height: 1.5;
}

@media (min-width: 700px) {
  .page-news .news-rhythm {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- NOTES LIST ---------- */

.page-news .news-notes {
  padding-block: clamp(44px, 6vw, 76px);
}

.page-news .news-notes__head {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(26px, 3.5vw, 40px);
}

.page-news .news-notes__lede {
  margin-top: 18px;
  max-width: 58ch;
}

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

.page-news .news-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.page-news .news-legend__txt {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--stone);
}

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

@media (min-width: 1024px) {
  .page-news .news-notes__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    align-items: end;
  }
}

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

.page-news .note-item {
  position: relative;
  padding: var(--news-card-pad) var(--news-card-pad) calc(var(--news-card-pad) + 2px) calc(var(--news-card-pad) + 12px);
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s ease, border-color .35s ease, background-color .35s ease;
}

.page-news .note-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: calc(var(--news-card-pad) - 4px);
  bottom: calc(var(--news-card-pad) - 4px);
  width: 2px;
  border-radius: 2px;
  background: var(--rainbow);
  opacity: .16;
  transition: opacity .45s ease;
}

.page-news .note-item.is-lit::before,
.page-news .note-item:hover::before {
  opacity: 1;
}

.page-news .note-item:hover {
  transform: translateY(-3px);
  border-color: var(--news-hover);
  background: var(--ink-blue);
}

.page-news .note-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.page-news .note-item__ver {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--cream);
}

.page-news .note-item__when {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--stone);
  white-space: nowrap;
}

.page-news .note-item__title {
  margin: 14px 0 0;
  font-size: clamp(17px, 2.1vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--cream);
}

.page-news .note-item__sum {
  margin: 9px 0 0;
  max-width: 70ch;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
  transition: color .35s ease;
}

.page-news .note-item:hover .note-item__sum {
  color: #AAB4BF;
}

/* ---------- TAGS ---------- */

.page-news .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.4;
  white-space: nowrap;
}

.page-news .tag--clay {
  color: #D68A6E;
  border-color: rgba(180, 103, 74, .55);
  background: rgba(180, 103, 74, .10);
}

.page-news .tag--moss {
  color: #9CAF90;
  border-color: rgba(110, 127, 99, .55);
  background: rgba(110, 127, 99, .12);
}

.page-news .tag--stone {
  color: #AEB9C4;
  border-color: rgba(142, 154, 166, .45);
  background: rgba(142, 154, 166, .10);
}

.page-news .tag--mist {
  color: #C4B5EC;
  border-color: rgba(175, 82, 222, .40);
  background: rgba(175, 82, 222, .10);
}

/* ---------- QUARTER CARD ---------- */

.page-news .news-quarter {
  padding-block: clamp(44px, 6vw, 80px);
}

.page-news .news-quarter__card {
  position: relative;
  overflow: clip;
  padding: clamp(26px, 4.5vw, 56px);
  border-radius: 26px;
  background: var(--cream);
  color: var(--void);
}

.page-news .news-quarter__card::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 149, 0, .18), transparent 68%);
  pointer-events: none;
}

.page-news .news-quarter__grid {
  position: relative;
  z-index: 1;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-news .news-quarter__card .eyebrow {
  color: #847869;
}

.page-news .news-quarter__card .section-title {
  color: var(--void);
}

.page-news .news-quarter__lede {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: #4A4741;
}

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

.page-news .quarter-points li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(8, 9, 12, .12);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #3A3833;
}

.page-news .quarter-points li span:first-child {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: #8A7F70;
}

@media (min-width: 560px) {
  .page-news .quarter-points li {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }
}

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

.page-news .news-quarter__frame {
  border-radius: 18px;
  overflow: hidden;
}

/* ---------- ARCHIVE ---------- */

.page-news .news-archive {
  padding-block: clamp(44px, 6vw, 80px);
}

.page-news .news-archive__lede {
  margin-top: 18px;
  max-width: 60ch;
}

.page-news .archive-route {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 18px;
}

.page-news .archive-route__side {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 9, 12, .45);
}

.page-news .archive-route__kicker {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--stone);
}

.page-news .archive-route__side p {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
}

.page-news .archive-route__arrow {
  align-self: center;
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 20px;
  color: transparent;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1;
}

@media (min-width: 900px) {
  .page-news .archive-route {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
  }
}

.page-news .news-archive__media {
  margin: clamp(28px, 4vw, 44px) 0 0;
  border-radius: 18px;
  overflow: hidden;
}

.page-news .news-archive__media .media-frame__cap {
  display: block;
  padding: 12px 4px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--stone);
}

/* ---------- ORDER SECTION ---------- */

.page-news .news-order {
  padding-block: clamp(44px, 6vw, 80px);
}

.page-news .news-order__grid {
  margin-top: clamp(26px, 3.5vw, 40px);
  gap: clamp(20px, 3vw, 32px);
}

.page-news .news-order__col {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.page-news .news-order__h3 {
  margin: 0;
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--cream);
}

.page-news .news-order__p {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
}

.page-news .news-order__media {
  margin: clamp(32px, 4.5vw, 52px) 0 0;
  border-radius: 18px;
  overflow: hidden;
}

/* ---------- RETURN ---------- */

.page-news .news-return {
  padding-block: clamp(44px, 6vw, 80px) clamp(56px, 8vw, 104px);
}

.page-news .news-return__card {
  position: relative;
  overflow: clip;
  padding: clamp(26px, 4.5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(90% 130% at 8% 0%, rgba(0, 122, 255, .14), transparent 62%),
    radial-gradient(80% 120% at 96% 100%, rgba(175, 82, 222, .14), transparent 60%),
    var(--slate);
}

.page-news .news-return__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
}

.page-news .news-return__lede--tight {
  margin-top: 12px;
}

.page-news .news-return__links {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.page-news .news-return__link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color .3s ease, color .3s ease;
}

.page-news .news-return__link:hover {
  color: var(--white);
  border-bottom-color: var(--clay);
}

/* ---------- RESPONSIVE TWEAKS ---------- */

@media (min-width: 1024px) {
  .page-news .news-notes__head {
    align-items: end;
  }

  .page-news .news-legend__item:last-child,
  .page-news .news-legend__item:nth-last-child(2) {
    border-bottom-color: transparent;
  }
}

@media (max-width: 520px) {
  .page-news .note-item__when {
    margin-left: 0;
  }

  .page-news .news-hero__lede,
  .page-news .news-hero__note {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .note-item,
  .page-news .note-item::before,
  .page-news .note-item__sum {
    transition: none;
  }

  .page-news .note-item:hover {
    transform: none;
  }
}
