/* =====================================================================
   A Tale of Light - /press: the fact sheet and the press kit.
   Loaded after style.css; reuses its brand tokens (:root). The list of
   files between <!-- press:files --> markers is written by
   tools/make_press_kit.py.
   ===================================================================== */

/* Room under the nav, which lies over the top of the page and takes two
   rows on a phone (as /screenshots does). */
.press {
  max-width: 1180px; margin: 0 auto;
  padding: 8rem clamp(16px, 3vw, 1.25rem) clamp(3rem, 7vw, 5rem);
}
.press__lead {
  max-width: 58ch; margin: -1.5rem auto 0; text-align: center;
  color: var(--ink-dim); font-size: 1.05rem;
}
.press__title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem); margin: 0 0 1rem;
  color: var(--sun-soft); letter-spacing: 0.06em;
}
.press section + section,
.press__top + section { margin-top: clamp(2.5rem, 6vw, 3.6rem); }
.press__kit .press__title { margin-top: clamp(2.5rem, 6vw, 3.6rem); }
.press__note { margin: -0.4rem 0 1.2rem; color: var(--ink-dim); font-size: 0.98rem; }

/* ---------- The fact sheet and the short description, side by side ---------- */
.press__top {
  display: grid; gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(2.2rem, 5vw, 3rem);
}
@media (min-width: 900px) { .press__top { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.press__facts, .press__about {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: rgba(5, 5, 28, 0.85);
  border: 1px solid rgba(253, 206, 28, 0.32); border-radius: 4px;
}
.press__top > section + section { margin-top: 0; }
.press__about p { margin: 0; color: var(--light); font-family: var(--font-fell); font-size: 1.2rem; line-height: 1.6; }

/* The labels wrap, so the values (the Steam address the longest) get the room. */
.facts { display: grid; grid-template-columns: minmax(0, 10rem) 1fr; gap: 0.55rem 1.4rem; margin: 0; }
.facts dt {
  font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-dim); padding-top: 0.25rem;
}
.facts dd { margin: 0; color: var(--light); overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 0.7rem; }
}

/* ---------- Features ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
@media (min-width: 900px) { .features { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.features li { position: relative; padding-left: 1.3rem; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 7px;
  background: var(--sun-gold); transform: rotate(45deg);
}
.features strong { color: var(--light); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; }

/* ---------- The files: one link per file, its picture, caption and size ---------- */
.kit__all { text-align: center; margin-top: clamp(2.5rem, 6vw, 3.6rem); }
.kit__zip-size { font-weight: 400; letter-spacing: 0.04em; opacity: 0.8; }
.kit__note { margin: 0.8rem 0 0; color: var(--ink-dim); font-size: 0.98rem; }

.kit__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.kit__grid--shots { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.kit__grid--logos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.kit__item {
  display: flex; flex-direction: column; gap: 0.35rem; height: 100%;
  color: var(--ink);
}
.kit__item:hover, .kit__item:focus-visible { color: var(--light); }
.kit__thumb {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9; overflow: hidden;
  background: #05051c; border: 1px solid rgba(123, 123, 224, 0.22); border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.kit__item:hover .kit__thumb, .kit__item:focus-visible .kit__thumb {
  border-color: rgba(253, 206, 28, 0.7); box-shadow: 0 0 18px rgba(253, 206, 28, 0.2);
}
.kit__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* A logo sits whole on its own ground: navy, or parchment cream for the dark ink. */
.kit__item--logo .kit__thumb { aspect-ratio: 4 / 3; padding: 8%; }
.kit__item--logo .kit__thumb img { object-fit: contain; }
.kit__item--light .kit__thumb { background: #f3ead6; }
.kit__caption { font-size: 0.98rem; line-height: 1.45; }
.kit__file {
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sun-soft);
}

.press__trailer .kit__item { max-width: 640px; }

@media (prefers-reduced-motion: reduce) {
  .kit__thumb { transition: none; }
}
.kit__zip { flex-wrap: wrap; max-width: 100%; }
