/* /news/: what the trades have said, newest first. Each story opens at its publisher. */

.nw { min-height: 100vh; padding-bottom: clamp(80px, 12vw, 180px); }

/* ——— Head ——— */
.nw-head {
  display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, 30em); align-items: end;
  gap: 24px var(--i-g);
  padding: calc(var(--i-top) + clamp(24px, 6vw, 96px)) var(--i-g) clamp(36px, 5vw, 80px);
}
.nw-title {
  font-size: clamp(76px, 15.5vw, 260px); font-weight: 620; letter-spacing: -.055em; line-height: .84;
  margin-left: -.04em;
}
.nw-title__n {
  font-size: .16em; font-weight: 520; letter-spacing: -.01em; vertical-align: top;
  position: relative; top: .5em; margin-left: .35em; color: var(--i-fg-2);
}
.nw-lede { color: var(--i-fg-2); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; text-wrap: pretty; padding-bottom: .4em; }

/* ——— The lead story: its own section, so the years below follow one ——— */
.nw-latest { margin-bottom: clamp(72px, 9vw, 150px); }
/* A date, not a count: proportional figures keep the comma tight. */
.nw-latest .sec__meta { font-variant-numeric: lining-nums proportional-nums; }
.nw-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px var(--i-g); align-items: end; }
.nw-lead__pic { display: block; }
.nw-lead__media { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg, #111); }
.nw-lead__media picture, .nw-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--i-ease); }
.nw-lead:hover .nw-lead__media img { transform: scale(1.03); }
.nw-lead__text { display: grid; gap: 18px; align-content: end; padding-bottom: 4px; }
.nw-lead__title { text-wrap: balance; }
.nw-lead__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--i-cut); }
.nw-lead__title a:hover, .nw-lead__title a:focus-visible { background-size: 100% 1px; }
.nw-lead__sum { max-width: 32em; }
.nw-lead__more { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }

/* ——— Filters ——— */
.nw-bar {
  position: sticky; top: 0; z-index: 20; padding: 14px var(--i-g) 0;
  background-color: color-mix(in oklab, var(--ground-now, var(--tint, #070707)) 100%, transparent);
  transition: top .7s var(--i-cut), background-color var(--hp-ground, 1.6s ease);
}
.nw-bar::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none;
  background-color: color-mix(in oklab, var(--ground-now, var(--tint, #070707)) 100%, transparent);
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
  transition: background-color var(--hp-ground, 1.6s ease);
}
body:has(.top:not(.is-hidden)) .nw-bar { top: calc(var(--i-top) - 4px); }
/* Stuck under a showing header, the bar's own ground reaches up behind the logo and nav, and the header's
   scrim steps aside: it would otherwise dim the filters, which sit under its tail. */
.nw-bar::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--i-top) + 24px); pointer-events: none;
  background-color: color-mix(in oklab, var(--ground-now, var(--tint, #070707)) 100%, transparent); opacity: 0; transition: opacity .4s var(--i-ease), background-color var(--hp-ground, 1.6s ease);
}
body:has(.top:not(.is-hidden)) .nw-bar.is-stuck::before { opacity: 1; }
body:has(.nw-bar.is-stuck) .top::before, body:has(.nw-bar.is-stuck) .top::after { opacity: 0; }
.nw-filters { display: flex; gap: 2px clamp(18px, 2.4vw, 40px); flex-wrap: wrap; align-items: baseline; border-bottom: 1px solid var(--i-line); }
.nw-filter {
  position: relative; min-height: 48px; padding: 6px 0 12px;
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: clamp(17px, 1.55vw, 24px); font-weight: 520; letter-spacing: -.02em;
  color: var(--i-fg-3); transition: color .35s;
}
.nw-filter::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--i-fg);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s var(--i-cut);
}
.nw-filter:hover { color: var(--i-fg-2); }
.nw-filter[aria-pressed="true"] { color: var(--i-fg); }
.nw-filter[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nw-filter__n { margin-left: .2em; vertical-align: .55em; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--i-fg-3); }

/* ——— The list, by year ——— */
.nw-body { padding: clamp(28px, 3vw, 48px) var(--i-g) 0; }
.nw-year {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 0 var(--i-g);
  padding-top: clamp(24px, 2.6vw, 40px);
}
.nw-year[hidden] { display: none; }
.nw-year__n { position: sticky; top: calc(var(--i-top) + 76px); align-self: start; padding-top: 16px; }
.nw-list { border-top: 1px solid var(--i-line); }
.nw-item {
  --pic: clamp(116px, 9.5vw, 168px);
  display: grid; grid-template-columns: 6.5ch minmax(0, 1fr) minmax(14ch, 18ch) var(--pic); gap: 8px clamp(16px, 2vw, 32px);
  align-items: baseline; padding: 18px 0 20px; border-bottom: 1px solid var(--i-line);
  transition: opacity .4s;
}
/* Every story's picture: the press photo that ran with it, else its film's still or poster, the person, or the title set in type. */
.nw-pic {
  position: relative; align-self: start; display: block; aspect-ratio: 3 / 2; overflow: hidden;
  background: var(--bg, #121110); box-shadow: inset 0 0 0 1px rgb(239 237 232 / .06); container-type: inline-size;
}
.nw-pic picture, .nw-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nw-pic img { transition: transform 1.1s var(--i-ease), opacity .5s; }
.nw-item:hover .nw-pic img { transform: scale(1.04); }
.nw-pic--tall img, .nw-pic--person img { object-position: 50% 18%; }
.nw-pic--poster { background: radial-gradient(120% 90% at 50% 40%, var(--bg, #1a1816), #0c0b0a); }
.nw-pic--poster img { object-fit: contain; padding: 4cqi 0; filter: drop-shadow(0 10px 16px rgb(0 0 0 / .55)); }
.nw-item:hover .nw-pic--poster img { transform: scale(1.06); }
.nw-card {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 8cqi 9cqi;
  background:
    radial-gradient(120% 90% at 15% 0%, hsl(var(--h, 30) 36% 28% / .55), transparent 65%),
    radial-gradient(80% 70% at 100% 100%, hsl(calc(var(--h, 30) + 40) 30% 18% / .55), transparent 70%),
    #0c0b0a;
}
.nw-card b { font-size: 11.5cqi; font-weight: 620; letter-spacing: -.035em; line-height: .98; color: var(--i-fg); text-wrap: balance; }
.nw-card--press b { font-weight: 520; font-style: italic; letter-spacing: -.02em; }
.nw-item[hidden] { display: none; }
.nw-item__date { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--i-fg-3); }
.nw-item__title { max-width: 36em; }
.nw-item__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--i-cut); }
.nw-item__title a:hover, .nw-item__title a:focus-visible { background-size: 100% 1px; }
.nw-item__count { margin-left: .3em; vertical-align: .5em; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--i-fg-3); }
.nw-item__meta { display: grid; gap: 6px; justify-items: start; font-size: 13px; color: var(--i-fg-2); }
.nw-pub i { color: var(--i-fg-3); font-style: normal; }
.nw-films { display: block; }
.nw-film { color: var(--i-fg-3); transition: color .3s; }
.nw-film + .nw-film::before { content: ", "; color: var(--i-fg-3); }
.nw-film:hover, .nw-film:focus-visible { color: var(--i-fg); }
.nw-lead .nw-film { font-size: 13px; }
.nw-body.is-pointing .nw-item:not(:hover) { opacity: .45; }

/* A film's press roundup: one story, its pieces in a run underneath. */
.nw-pieces { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 10px; font-size: 14px; color: var(--i-fg-2); max-width: 52em; }
.nw-pieces li + li::before { content: ""; display: inline-block; width: 1.1em; height: 1px; margin: 0 .7em; vertical-align: middle; background: var(--i-line); }
.nw-pieces a { transition: color .3s; }
.nw-pieces a:hover, .nw-pieces a:focus-visible { color: var(--i-fg); }

.nw-empty { padding: 48px 0; }

@media (max-width: 1000px) {
  .nw-head { grid-template-columns: 1fr; }
  .nw-year { grid-template-columns: 1fr; }
  .nw-year__n { position: static; padding: 0 0 14px; }
  .nw-item { grid-template-columns: 6.5ch minmax(0, 1fr) var(--pic); }
  .nw-item__meta { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
  .nw-pic { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  .nw-lead { grid-template-columns: 1fr; }
  .nw-lead__pic { margin: 0 calc(var(--i-g) * -1); }
  .nw-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--i-g) * -1); padding: 0 var(--i-g); }
  .nw-filters::-webkit-scrollbar { display: none; }
  .nw-filters { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
  .nw-filters.is-end { -webkit-mask-image: none; mask-image: none; }
  .nw-filter { flex: none; }
  .nw-item { --pic: 31vw; grid-template-columns: minmax(0, 1fr) var(--pic); gap: 6px 16px; }
  .nw-item__date, .nw-item__main, .nw-item__meta { grid-column: 1; }
  .nw-item__date { grid-row: 1; }
  .nw-item__main { grid-row: 2; }
  .nw-item__meta { grid-row: 3; }
  .nw-pic { grid-column: 2; grid-row: 1 / span 3; }
}
@media (prefers-reduced-motion: reduce) {
  .nw-filter::after, .nw-lead__media img, .nw-item, .nw-pic img { transition: none; }
}
