/* =========================================================
   Matter Of Madness :: press kit
   Inherits the site palette and type from ../style.css
   ========================================================= */

.pk-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  background: rgba(12, 6, 18, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.pk-nav-inner {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.pk-nav-back {
  margin-left: auto;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-soft);
}
.pk-nav-back:hover { color: var(--green); }

.pk-head {
  padding: clamp(46px, 7vw, 86px) 0 clamp(30px, 4vw, 48px);
}
.pk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-family: 'Bungee', sans-serif;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
}
.pk-title {
  margin: 0 0 18px;
  font-family: 'Bungee', sans-serif;
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.pk-title span {
  display: block;
  margin-top: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.8rem, 1.4vw, .98rem);
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--muted);
}
.pk-lead {
  margin: 0 0 8px;
  max-width: 62ch;
  font-size: 1.03rem;
  color: var(--text-soft);
}
/* Game page hero */
.pk-hero {
  position: relative;
  padding: clamp(46px, 7vw, 84px) 0 clamp(30px, 4vw, 46px);
  margin-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 130% at 6% 0%, rgba(203, 85, 236, .16), transparent 60%);
}
.pk-hero-inner { position: relative; }
.pk-hero-copy { max-width: 62ch; }
.pk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.pk-hero-note {
  margin: 14px 0 0;
  font-size: .82rem;
  color: var(--muted);
}

.pk-body {
  margin: 0 0 16px;
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-soft);
}
.pk-body:last-child { margin-bottom: 0; }

.pk-subheading {
  margin: 30px 0 14px;
  font-family: 'Bungee', sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Key features */
.pk-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.pk-feature {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--green);
  border-radius: var(--r-md);
  background: rgba(28, 16, 40, .42);
}
.pk-feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.pk-feature p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.62;
  color: var(--text-soft);
}

.pk-video-dl { margin: 14px 0 0; }

/* ---- index: game picker ---- */

.pk-games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  padding-bottom: clamp(40px, 6vw, 70px);
}
.pk-game {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(37, 22, 52, .78), rgba(16, 7, 24, .84));
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.pk-game:hover {
  transform: translateY(-4px);
  border-color: var(--g, var(--purple-lt));
  box-shadow: 0 24px 54px rgba(0, 0, 0, .5);
}
.pk-game-cover {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.pk-game-body { padding: 22px 24px 26px; }
.pk-game-name {
  margin: 0 0 6px;
  font-family: 'Bungee', sans-serif;
  font-size: 1.3rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--g, var(--text));
}
.pk-game-sub {
  margin: 0 0 18px;
  font-size: .86rem;
  color: var(--muted);
}

/* ---- sections ---- */

.pk-section { padding-bottom: clamp(46px, 6vw, 76px); }
.pk-section-title {
  margin: 0 0 6px;
  font-family: 'Bungee', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}
.pk-section-note {
  margin: 0 0 22px;
  font-size: .86rem;
  color: var(--muted);
}

/* ---- trailer ---- */

.pk-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #05030A;
  display: block;
}
.pk-video-missing {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: rgba(10, 4, 16, .5);
  text-align: center;
}
.pk-video-missing p { margin: 0 0 6px; color: var(--text-soft); font-size: .94rem; }
.pk-video-missing small { color: var(--muted); font-size: .8rem; }

/* ---- downloads ---- */

.pk-zip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: linear-gradient(130deg, rgba(50, 28, 70, .6), rgba(16, 7, 24, .8));
}
.pk-zip-text { flex: 1 1 280px; }
.pk-zip-text h3 {
  margin: 0 0 6px;
  font-family: 'Bungee', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.pk-zip-text p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---- asset grids ---- */

.pk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.pk-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(28, 16, 40, .45);
  overflow: hidden;
}
.pk-item-frame {
  display: block;
  aspect-ratio: 16 / 9;
  background: #05030A;
  overflow: hidden;
}
.pk-item-frame:hover { cursor: var(--cursor), pointer; }
.pk-item-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.pk-item:hover .pk-item-frame img { transform: scale(1.05); }

/* Logos sit on a checkerboard so transparency is obvious */
.pk-item-frame-logo {
  display: grid;
  place-items: center;
  padding: 16px;
  background-color: #17101F;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%),
    linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
}
.pk-item-frame-logo img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.pk-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-top: 1px solid var(--line);
}
.pk-item-name {
  font-size: .76rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pk-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease);
}
.pk-dl:hover {
  background: rgba(63, 214, 43, .14);
  border-color: var(--green);
  color: var(--green-lt);
}
.pk-dl svg { width: 13px; height: 13px; }

/* ---- fact sheet ---- */

.pk-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.pk-fact {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(28, 16, 40, .4);
}
.pk-fact dt {
  margin-bottom: 5px;
  font-family: 'Bungee', sans-serif;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.pk-fact dd {
  margin: 0;
  font-size: .94rem;
  color: var(--text);
}
.pk-fact dd a { color: var(--green-lt); text-decoration: underline; text-underline-offset: 3px; }
.pk-fact .todo { color: var(--muted); font-style: italic; }

/* ---- contact ---- */

.pk-contact {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(28, 16, 40, .4);
}
.pk-contact p { margin: 0 0 10px; color: var(--text-soft); font-size: .94rem; }
.pk-contact p:last-child { margin-bottom: 0; }
.pk-contact a { color: var(--green-lt); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 620px) {
  .pk-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .pk-zip .btn { width: 100%; }
}
