.articles-page-body { background: var(--main-darker); }
.articles-site-header { background: rgba(0, 74, 74, .92); }
.articles-site-header #site-nav a[aria-current="page"] { color: var(--link); }
.articles-site-header #site-nav a[aria-current="page"]::before,
.articles-site-header #site-nav a[aria-current="page"]::after { opacity: 1; }

.articles-hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 960px;
  overflow: hidden;
  padding: 160px var(--pad) clamp(5rem, 9vw, 8rem);
  color: white;
  background: var(--main-darker);
}
.articles-hero::after {
  content: '+';
  position: absolute;
  left: 2rem;
  bottom: 1rem;
  color: var(--link);
  font: 500 2rem var(--ui);
}
.articles-hero-grid {
  position: absolute;
  inset: 84px 0 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(135, 217, 217, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 217, 217, .065) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}
.articles-hero-grid::after {
  content: '';
  position: absolute;
  right: -7vw;
  bottom: -28vw;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border: clamp(45px, 7vw, 105px) solid rgba(19, 175, 240, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 clamp(40px, 6vw, 90px) rgba(135, 217, 217, .035);
}
.articles-hero-copy { position: relative; z-index: 2; width: min(900px, 78%); }
.articles-hero h1 {
  margin: .08em 0 .25em;
  color: white;
  font: 700 clamp(4.4rem, 10vw, 9.5rem)/.78 var(--display);
  letter-spacing: -.08em;
}
.articles-hero h1 span { color: var(--link); }
.articles-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}
.articles-hero-copy .button { margin-top: 1.6rem; }
.articles-hud {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4.5rem);
  top: 112px;
  z-index: 3;
  display: grid;
  min-width: 210px;
  padding: .8rem 1rem;
  background: rgba(0, 74, 74, .94);
  border: 1px solid var(--text);
  box-shadow: 7px 7px 0 var(--link);
}
.articles-hud span,
.articles-hud small { color: var(--footer-text); font: 500 .54rem var(--ui); text-transform: uppercase; letter-spacing: .08em; }
.articles-hud strong { color: white; font: 700 1.7rem var(--display); }
.articles-hud small { margin-top: .45rem; padding-top: .45rem; color: var(--link); border-top: 1px solid var(--line); }

.articles-index { padding: clamp(5rem, 10vw, 9rem) var(--pad); background: var(--text); }
:root[data-theme='dark'] .articles-index { background: var(--main); }
:root[data-theme='dark'] .articles-index-heading h2 { color: var(--page-title); }
:root[data-theme='dark'] .articles-index-heading > p,
:root[data-theme='dark'] .article-filter-bar > p { color: var(--text); }
:root[data-theme='dark'] .article-filter-bar { border-color: var(--line); }
:root[data-theme='dark'] .article-filters button { color: var(--text); border-color: var(--text); }
:root[data-theme='dark'] .article-filters button span { color: var(--footer-text); }
:root[data-theme='dark'] .article-filters button:hover { border-color: var(--link); }
:root[data-theme='dark'] .article-filters button[aria-pressed="true"] {
  color: var(--main-darker);
  background: var(--link);
  border-color: var(--link);
}
:root[data-theme='dark'] .article-filters button[aria-pressed="true"] span { color: var(--main-darker); }
.articles-index-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.articles-index-heading h2 {
  margin: 0;
  color: var(--main-darker);
  font: 700 clamp(3.3rem, 7vw, 7rem)/.86 var(--display);
  letter-spacing: -.07em;
}
.articles-index-heading > p { margin: 0; color: var(--main); font-size: 1.08rem; }
.article-filter-bar {
  display: flex;
  gap: 1.25rem 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-block: 1rem;
  border-block: 1px solid rgba(0, 74, 74, .24);
}
.article-filters { display: flex; flex-wrap: wrap; gap: .65rem; }
.article-filters button {
  min-height: 44px;
  padding: .65rem .8rem;
  color: var(--main-darker);
  background: transparent;
  border: 1px solid var(--main);
  cursor: pointer;
  font: 600 .58rem var(--ui);
  text-transform: uppercase;
  letter-spacing: .055em;
  transition: color .2s, background .2s, border-color .2s, translate .2s;
}
.article-filters button span { margin-left: .3rem; color: var(--main); }
.article-filters button:hover { translate: 0 -2px; border-color: var(--main-darker); }
.article-filters button[aria-pressed="true"] { color: white; background: var(--main-darker); border-color: var(--main-darker); }
.article-filters button[aria-pressed="true"] span { color: var(--link); }
.article-filters button:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.article-filter-bar > p { flex: none; margin: 0 0 .65rem; color: var(--main); font: 600 .58rem var(--ui); text-transform: uppercase; letter-spacing: .055em; }
.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-list > li { display: flex; min-width: 0; }
.article-list > li[hidden] { display: none; }
.article-entry {
  --rx: 0deg;
  --ry: 0deg;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  color: white;
  background: var(--main-darker);
  border: 2px solid var(--main-darker);
  box-shadow: 10px 10px 0 var(--main);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .16s ease-out, box-shadow .2s ease;
}
.article-entry:hover { box-shadow: 14px 14px 0 var(--link); }
.article-entry:focus-visible { outline-color: var(--main-darker); }
.article-entry figure { flex: none; min-width: 0; overflow: hidden; margin: 0; background: var(--main); }
.article-entry figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .5s ease, filter .5s ease; }
.article-entry:hover figure img { scale: 1.025; filter: saturate(1.08); }
.article-entry-copy {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 370px;
  padding: clamp(1.5rem, 3vw, 2.6rem);
}
.article-number {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: var(--link);
  font: 700 clamp(2.8rem, 5vw, 5.5rem)/1 var(--display);
  opacity: .32;
}
.article-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1rem; }
.article-meta span { padding: .4rem .55rem; color: var(--main-darker); background: var(--text); font: 600 .56rem var(--ui); text-transform: uppercase; letter-spacing: .05em; }
.article-meta span:first-child { background: var(--link); }
.article-entry h3 { max-width: 700px; margin: 0; font: 700 clamp(2rem, 3vw, 3.25rem)/.93 var(--display); letter-spacing: -.055em; }
.article-entry h3 small { display: block; margin-top: .65rem; color: var(--text); font: 600 .58rem var(--ui); text-transform: uppercase; letter-spacing: .08em; }
.article-entry-copy > p:not(.article-meta) { max-width: 620px; margin: 1rem 0 1.4rem; color: var(--text); }
.article-entry-copy > b { margin-top: auto; color: var(--link); font: 600 .68rem var(--ui); text-transform: uppercase; letter-spacing: .055em; }
.article-entry-copy > b span { display: inline-block; transition: translate .2s ease; }
.article-entry:hover .article-entry-copy > b span { translate: .35rem 0; }

.articles-end { padding: clamp(5rem, 10vw, 9rem) var(--pad); color: var(--text); background: var(--main); }
.articles-end h2 { margin: 0; color: white; font: 700 clamp(3.5rem, 8vw, 8rem)/.84 var(--display); letter-spacing: -.075em; }
.articles-end > p:not(.eyebrow) { max-width: 620px; font-size: 1.1rem; }
.articles-end .button { margin-top: 1.5rem; }

@media (max-width: 900px) {
  .article-filter-bar { align-items: start; flex-direction: column; }
  .article-filter-bar > p { margin: 0; }
}

@media (max-width: 800px) {
  .articles-hero { min-height: 720px; padding: 118px 1.25rem 4rem; }
  .articles-hero::after,
  .articles-hud { display: none; }
  .articles-hero-grid { inset: 72px 0 0; }
  .articles-hero-copy { width: 100%; }
  .articles-hero h1 { font-size: clamp(3.7rem, 17vw, 6.4rem); }
  .articles-index { padding-inline: 1.25rem; }
  .articles-index-heading { grid-template-columns: 1fr; }
  .articles-index-heading > p { max-width: 580px; }
  .article-list { grid-template-columns: 1fr; margin-right: 7px; }
  .article-entry { min-height: 0; box-shadow: 7px 7px 0 var(--main); }
  .article-entry:hover { box-shadow: 7px 7px 0 var(--link); }
  .article-entry-copy { min-height: 330px; padding: 1.5rem; }
  .article-entry h3 { font-size: clamp(2.15rem, 10vw, 3.8rem); }
  .articles-end { padding-inline: 1.25rem; }
}

@media (max-width: 430px) {
  .articles-hero { min-height: 680px; }
  .articles-hero h1 { font-size: clamp(3.35rem, 16vw, 4.4rem); }
  .articles-index-heading h2 { font-size: 3.25rem; }
  .article-entry-copy { min-height: 360px; }
  .article-number { font-size: 3.2rem; }
  .article-meta { padding-right: 2.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .article-entry,
  .article-filters button,
  .article-entry figure img,
  .article-entry-copy > b span { transition: none; translate: 0; transform: none; }
}

/* Compact hero: shared height with every top-level page hero (see --hero-compact-height in styles.css). */
@media screen and (min-width: 801px) {
  .articles-hero { min-height: var(--hero-compact-height, 360px); padding: 100px var(--pad) 18px; align-items: center; }
  .articles-hero .eyebrow { margin-bottom: .5rem; }
  .articles-hero h1 { margin: .05em 0 0; font-size: clamp(2.4rem, 3.2vw, 3.1rem); line-height: .9; }
  .articles-hero-copy > p:not(.eyebrow) { max-width: 760px; margin: .55rem 0 0; font-size: 1rem; line-height: 1.45; }
  .articles-hero-copy .button { min-height: 44px; margin-top: .9rem; }
  .articles-hud { display: none; }
  .articles-hero::after { bottom: .4rem; font-size: 1.4rem; }
}
@media screen and (max-width: 800px) {
  .articles-hero { min-height: var(--hero-compact-height-mobile, 380px); padding: 86px 1.25rem 16px; align-items: end; }
  .articles-hero .eyebrow { margin-bottom: .4rem; }
  .articles-hero h1 { margin: .05em 0 0; font-size: clamp(2rem, 9vw, 2.6rem); line-height: .9; }
  .articles-hero-copy > p:not(.eyebrow) { margin: .45rem 0 0; font-size: .9rem; line-height: 1.4; }
  .articles-hero-copy .button { min-height: 42px; margin-top: .75rem; }
}
@media screen {
  .articles-hero h1 br { display: none; }
  .articles-hero h1 br + span { margin-left: .25em; }
}

/* Hero artwork (Project TargetShoot64 key art). */
.articles-hero-art {
  position: absolute;
  inset: 84px 0 0;
  overflow: hidden;
  pointer-events: none;
}
.articles-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.articles-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 28, 33, .94) 0, rgba(3, 28, 33, .72) 38%, rgba(3, 28, 33, .18) 78%, rgba(3, 28, 33, .08)),
    linear-gradient(0deg, rgba(3, 28, 33, .55), transparent 45%);
}
@media (max-width: 800px) {
  .articles-hero-art { inset: 72px 0 0; }
  .articles-hero-art::after {
    background: linear-gradient(0deg, rgba(3, 28, 33, .95) 8%, rgba(3, 28, 33, .62) 55%, rgba(3, 28, 33, .3));
  }
}
