/* =========================================================
   05 · News & Resources (piece C) — hairline editorial rows on gunmetal
   ========================================================= */
.news { overflow: hidden; }
.news__glow { position: absolute; z-index: -1; pointer-events: none; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; left: -22vw; bottom: -40vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 102, 0, .13), rgba(184, 115, 51, .05) 50%, transparent 72%); filter: blur(10px); display: none; }
.news__head { align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.news__title { grid-column: 1 / span 9; text-shadow: 0 -1px 0 rgba(0, 0, 0, .6); }
.news__title .line { background: linear-gradient(180deg, var(--alu-50) 20%, var(--alu-400) 125%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; text-shadow: none; }
.news__aside { grid-column: 10 / span 3; padding-bottom: .5em; }
.news__aside p { max-width: 34ch; }
@media (min-width: 1100px) { .news__title .line { white-space: nowrap; } }
.news__all { margin-top: 22px; color: var(--ink-on-dark); }

/* ---------- rows ---------- */
.news__list { border-bottom: 1px solid var(--rule-dark); }
.nrow { border-top: 1px solid var(--rule-dark); position: relative; }
.nrow__link {
  position: relative; display: grid; grid-template-columns: 56px 132px minmax(0, 1fr) 40px; column-gap: 24px; align-items: start;
  padding: clamp(28px, 3vw, 40px) 0;
}
.nrow__link::before { /* orange hairline that draws across on hover */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ember-500); box-shadow: 0 0 10px var(--ember-glow);
  transform: scaleX(0); transform-origin: left; transition: transform 800ms var(--ease-out);
}
.nrow__link::after { /* faint lift of the metal under the hovered row */
  content: ""; position: absolute; inset: 0 calc(var(--side) * -1); z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .035) 30%, rgba(255, 255, 255, .035) 70%, transparent);
  opacity: 0; transition: opacity 500ms var(--ease-out);
}
.nrow__link:hover::before, .nrow__link:focus-visible::before { transform: scaleX(1); }
.nrow__link:hover::after, .nrow__link:focus-visible::after { opacity: 1; }

.nrow__idx { font-size: 11px; letter-spacing: .18em; color: var(--ember-500); padding-top: .9em; text-shadow: 0 0 10px rgba(255, 102, 0, .35); }
.nrow__date { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-dark); padding-top: 1em; white-space: nowrap; }
.nrow__title {
  display: block; font-size: clamp(28px, 3vw, 46px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.06; color: var(--ink-on-dark);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .6);
  transition: transform 700ms var(--ease-out), color var(--dur-hover);
}
.nrow__title { text-wrap: balance; }
/* the recurring 'The What and Why' suffix becomes a quiet mono series tag under the title */
.nrow__title em { display: block; margin-top: 14px; font-family: var(--font-mono); font-style: normal; font-weight: 500; font-size: 11px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--ember-500); text-shadow: none; }
.nrow__dash { display: none; }
.nrow__ex { display: block; margin-top: 14px; max-width: 60ch; font-size: 16px; line-height: 1.55; color: var(--muted-on-dark); transition: color var(--dur-hover); }
.nrow__btn {
  width: 40px; height: 40px; margin-top: .45em; display: grid; place-items: center; color: var(--ember-500);
  border: 1px solid rgba(255, 102, 0, .55);
  transition: background var(--dur-hover), color var(--dur-hover), box-shadow var(--dur-hover);
}
.nrow__btn svg { transition: transform 400ms var(--ease-out); }
.nrow__link:hover .nrow__title, .nrow__link:focus-visible .nrow__title { transform: translateX(10px); }
.nrow__link:hover .nrow__ex { color: rgba(236, 238, 240, .8); }
.nrow__link:hover .nrow__btn, .nrow__link:focus-visible .nrow__btn { background: var(--ember-500); color: var(--graphite); box-shadow: 0 0 22px var(--ember-glow); }
.nrow__link:hover .nrow__btn svg { transform: translate(2px, -2px); }
/* when the list is hovered, recede the other rows */
@media (hover: hover) {
  .news__list:hover .nrow__link:not(:hover) .nrow__title { color: rgba(236, 238, 240, .45); }
}

/* ---------- cursor-follow preview ---------- */
.npreview { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; width: 300px; opacity: 0; visibility: hidden; transition: opacity 400ms var(--ease-out), visibility 0s 400ms; will-change: transform; }
.npreview.is-on { opacity: 1; visibility: visible; transition: opacity 400ms var(--ease-out), visibility 0s; }
.npreview__inner { position: relative; aspect-ratio: 340 / 262; transform: scale(.86); transition: transform 600ms var(--ease-out); }
.npreview.is-on .npreview__inner { transform: none; }
.npreview__card {
  position: absolute; inset: 0; margin: 0; padding: 8px;
  background: var(--gunmetal-900) url("../../assets/img/tex/brushed-dark.webp") center / 1024px repeat;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(0, 0, 0, .7), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 40px -10px rgba(255, 102, 0, .35);
  clip-path: inset(0 0 100% 0); transition: clip-path 700ms var(--ease-out);
  display: flex; flex-direction: column;
}
.npreview__card.is-active { clip-path: inset(0 0 0 0); }
.npreview__img { position: relative; flex: 1; overflow: hidden; background: #2B2D31; }
.npreview__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(.7) contrast(1.12) brightness(.94); transform: scale(1.08); transition: transform 1200ms var(--ease-out); }
.npreview__card.is-active .npreview__img img { transform: scale(1); }
.npreview__img::after { /* orange edge light + vignette */
  content: ""; position: absolute; inset: 0; mix-blend-mode: screen;
  background: linear-gradient(270deg, rgba(255, 102, 0, .45), transparent 22%), linear-gradient(0deg, rgba(255, 102, 0, .3), transparent 30%);
}
.npreview__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 30% 20%, transparent 50%, rgba(14, 15, 17, .45)); }
.npreview__cap { display: flex; justify-content: space-between; padding: 10px 4px 2px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--alu-400); }
.npreview__cap span:last-child { color: var(--ember-500); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nrow__link { grid-template-columns: 44px minmax(0, 1fr) 40px; row-gap: 10px; }
  .nrow__date { grid-column: 2; grid-row: 1; padding-top: .9em; }
  .nrow__idx { grid-row: 1; }
  .nrow__main { grid-column: 2; grid-row: 2; }
  .nrow__btn { grid-column: 3; grid-row: 1; margin-top: 0; }
}
@media (max-width: 900px) {
  .news__title, .news__aside { grid-column: 1 / -1; }
  .news__aside { margin-top: 24px; }
  .npreview { display: none; }
}
@media (max-width: 640px) {
  .nrow__link { grid-template-columns: minmax(0, 1fr) 40px; column-gap: 16px; padding: 26px 0; }
  .nrow__idx { grid-column: 1; grid-row: 1; padding-top: 0; }
  .nrow__date { grid-column: 1; grid-row: 1; padding-top: 0; padding-left: 40px; }
  .nrow__main { grid-column: 1 / -1; grid-row: 2; }
  .nrow__btn { grid-column: 2; grid-row: 1; align-self: center; }
  .nrow__title { font-size: 27px; }
  .nrow__ex { font-size: 15px; }
}

/* ---------- v2.2 restraint: row buttons neutral at rest, orange on hover/focus ---------- */
.nrow__btn { border-color: rgba(236, 238, 240, .3); color: var(--ink-on-dark); }
.nrow__title em { color: var(--alu-400); }
.nrow__link:hover .nrow__title em, .nrow__link:focus-visible .nrow__title em { color: var(--ember-500); }
@media (max-width: 640px) { .nrow__btn { width: 44px; height: 44px; } }
.nrow__idx { color: var(--alu-400); text-shadow: none; transition: color var(--dur-hover); }
.nrow__link:hover .nrow__idx, .nrow__link:focus-visible .nrow__idx { color: var(--ember-500); }
