/* CruxJoy — field.css
   One stylesheet, one namespace (crj-). Built for the whole site: header,
   footer and cookie banner stay identical across every page; per-page
   content sections live below. Palette and geometry come from the site's
   chosen style reference (flat, high-contrast, no rounded corners, no
   shadows) adapted for a content-heavy multi-page review site. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2?v=1") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --crj-orange: #ff7a00;
  --crj-orange-deep: #e56a00;
  --crj-ink: #111111;
  --crj-paper: #ffffff;
  --crj-tint: #fff4e6;
  --crj-magenta: #d6127a;
  --crj-cobalt: #1f5fc4;
  --crj-line: rgba(17, 17, 17, 0.14);

  --crj-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --crj-fs-caption: 0.8125rem;
  --crj-fs-body: 1.0625rem;
  --crj-fs-lead: 1.1875rem;
  --crj-fs-h3: 1.375rem;
  --crj-fs-h2: clamp(1.6rem, 1.3rem + 1.4vw, 2.35rem);
  --crj-fs-h1: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --crj-fs-display: clamp(2.5rem, 1.5rem + 4.6vw, 4.6rem);

  --crj-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  --crj-container: 1180px;
  --crj-radius-photo: 0;
  --crj-cut: 16px;
  --crj-cut-sm: 9px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--crj-paper);
  color: var(--crj-ink);
  font-family: var(--crj-font);
  font-size: var(--crj-fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.6em; font-weight: 400; }
h1 { font-size: var(--crj-fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--crj-fs-h2); }
h3 { font-size: var(--crj-fs-h3); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--crj-ink); outline-offset: 2px; }

.crj-body { overflow-x: hidden; }

/* ---------- layout helpers ---------- */
.crj-section, main > .crj-page, .crj-band__inner, .crj-base__grid, .crj-base__bottom {
  width: 100%;
  max-width: var(--crj-container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.crj-section { padding-block: clamp(2.5rem, 3vw + 1rem, 4.5rem); }
.crj-section--tint { background: var(--crj-tint); max-width: none; padding-inline: 0; }
.crj-section--tint > * { max-width: var(--crj-container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.crj-section__lead { font-size: var(--crj-fs-lead); max-width: 62ch; color: #3a3a3a; }

/* ---------- reveal-on-scroll ---------- */
.crj-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.crj-reveal.crj-reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .crj-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- header ---------- */
.crj-band {
  position: sticky; top: 0; z-index: 40;
  background: var(--crj-orange);
  border-bottom: none;
}
.crj-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}
.crj-mark { display: inline-flex; align-items: baseline; text-decoration: none; font-size: 1.35rem; letter-spacing: -0.01em; }
.crj-mark__word { color: var(--crj-ink); }
.crj-mark__pop { color: var(--crj-paper); background: var(--crj-ink); padding: 0 0.3em; margin-left: 0.05em; clip-path: polygon(0 0, 100% 0, 100% 70%, 88% 100%, 0 100%); }
.crj-mark--footer { font-size: 1.5rem; margin-bottom: 0.6rem; }

.crj-wayfind { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.6rem); }
.crj-wayfind__link { text-decoration: none; font-size: 0.95rem; color: var(--crj-ink); position: relative; padding-block: 0.2rem; }
.crj-wayfind__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.crj-wayfind__link:hover { text-decoration: underline; text-underline-offset: 5px; }

.crj-burger { display: none; padding: 0.35rem; color: var(--crj-ink); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
.crj-burger:hover { background: rgba(0,0,0,.08); }

@media (max-width: 760px) {
  .crj-burger { display: inline-flex; }
  .crj-wayfind {
    position: fixed; left: 0; right: 0; top: -100vh;
    background: var(--crj-orange);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0.5rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
    transition: top .28s ease;
    border-bottom: 3px solid var(--crj-ink);
  }
  .crj-wayfind.crj-wayfind--open { top: 60px; }
  .crj-wayfind__link { padding-block: 0.7rem; width: 100%; font-size: 1.1rem; }
}

/* ---------- hero ---------- */
.crj-hero {
  background:
    linear-gradient(180deg, rgba(10,6,0,.62), rgba(10,6,0,.8)),
    url("/assets/img/site/hero-cover.webp?v=1") center 18% / cover no-repeat,
    var(--crj-ink);
  color: var(--crj-paper);
}
.crj-hero__inner {
  max-width: 48.75rem; margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.1rem, 4vw, 2rem);
}
.crj-hero__eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--crj-fs-caption); color: var(--crj-orange); margin-bottom: 1rem; }
.crj-hero__title { font-size: var(--crj-fs-display); margin-bottom: 0.7em; }
.crj-hero__lead { font-size: var(--crj-fs-lead); max-width: 58ch; color: #f4ede4; }
.crj-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

/* ---------- buttons / chips ---------- */
.crj-go {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.75em 1.3em 0.75em 1.1em;
  background: var(--crj-ink); color: var(--crj-orange);
  border: 2px solid var(--crj-ink);
  text-decoration: none; font-size: 0.98rem;
  clip-path: polygon(0 0, calc(100% - var(--crj-cut)) 0, 100% var(--crj-cut), 100% 100%, 0 100%);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.crj-go:hover { transform: translate(2px, -2px); }
.crj-go--ghost { background: transparent; color: var(--crj-ink); }
.crj-hero .crj-go--ghost { color: var(--crj-paper); border-color: var(--crj-paper); }
.crj-notice .crj-go--ghost { background: transparent; }
button.crj-go { border: 2px solid var(--crj-ink); }

.crj-chip {
  display: inline-block; font-size: var(--crj-fs-caption); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.3em 0.75em; background: var(--crj-ink); color: var(--crj-paper);
  clip-path: polygon(0 0, calc(100% - var(--crj-cut-sm)) 0, 100% var(--crj-cut-sm), 100% 100%, 0 100%);
}
.crj-chip--magenta { background: var(--crj-magenta); }
.crj-chip--cobalt { background: var(--crj-cobalt); }

/* ---------- genre showcase ---------- */
.crj-spread { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.8rem; }
@media (min-width: 720px) { .crj-spread { grid-template-columns: 1fr 1fr; } }
.crj-spread__card {
  display: block; text-decoration: none; color: var(--crj-ink);
  background: var(--crj-tint); padding: 1.6rem;
  border-left: 6px solid var(--crj-magenta);
}
.crj-spread__card--cobalt { border-left-color: var(--crj-cobalt); }
.crj-spread__card h3 { margin: 0.6em 0 0.3em; }
.crj-spread__excerpt { color: #4a4a4a; }
.crj-spread__cta { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.95rem; margin-top: 0.4rem; }

/* ---------- lineup (asymmetric) ---------- */
.crj-lineup { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.8rem; }
@media (min-width: 760px) {
  .crj-lineup { grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 1fr; }
  .crj-lineup__item--feature { grid-row: span 2; }
}
.crj-lineup__item { position: relative; display: block; text-decoration: none; color: var(--crj-paper); overflow: hidden; min-height: 220px; }
.crj-lineup__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crj-lineup__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem; margin-top: auto; background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); min-height: 100%; justify-content: flex-end; }
.crj-lineup__body strong { font-size: 1.15rem; }
.crj-lineup__tag { font-size: 0.9rem; color: var(--crj-orange); }

/* ---------- comparison tables ---------- */
.crj-ledger { overflow-x: auto; margin-top: 1.2rem; }
.crj-ledger table { min-width: 640px; }
.crj-ledger caption { text-align: left; caption-side: top; font-size: var(--crj-fs-caption); color: #555; margin-bottom: 0.5rem; }
.crj-ledger th, .crj-ledger td { text-align: left; padding: 0.75em 0.9em; font-size: 0.95rem; }
.crj-ledger thead th { border-bottom: 2px solid var(--crj-ink); text-transform: uppercase; font-size: var(--crj-fs-caption); letter-spacing: 0.04em; }
.crj-ledger tbody tr:nth-child(odd) { background: var(--crj-tint); }
.crj-ledger tbody th { font-weight: 400; }
.crj-ledger__note { color: #555; font-size: 0.92rem; max-width: 70ch; }

/* ---------- FAQ ---------- */
.crj-query-list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; }
.crj-query { background: var(--crj-tint); padding: 0.2rem 1.1rem; }
.crj-query summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; font-size: 1.05rem; }
.crj-query summary::-webkit-details-marker { display: none; }
.crj-query[open] summary .crj-glyph { transform: rotate(180deg); }
.crj-query__body { padding-bottom: 1.1rem; color: #333; max-width: 74ch; }

/* ---------- contact / signal ---------- */
.crj-signal { margin-top: 1.2rem; }
.crj-signal .crj-go { font-size: 1.05rem; }

/* ---------- footer ---------- */
.crj-base { background: var(--crj-ink); color: #f2ede6; margin-top: 3rem; }
.crj-base__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 760px) { .crj-base__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.crj-base__about p { color: #cfc7bd; max-width: 42ch; }
.crj-base__contact a { color: var(--crj-orange); text-decoration: none; }
.crj-base__col h2 { font-size: var(--crj-fs-caption); text-transform: uppercase; letter-spacing: 0.06em; color: #cfc7bd; margin-bottom: 0.8rem; }
.crj-base__col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.crj-base__col a { color: #f2ede6; text-decoration: none; }
.crj-base__col a:hover { text-decoration: underline; }
.crj-base__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.16); color: #a99f92; font-size: 0.85rem; }

.crj-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 30;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: var(--crj-ink); color: var(--crj-orange);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.crj-top.crj-top--show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- cookie notice ---------- */
.crj-notice {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  max-width: 620px; margin-inline: auto;
  background: var(--crj-ink); color: var(--crj-paper);
  padding: 1.1rem 1.3rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  transform: translateY(140%); transition: transform .3s ease;
}
.crj-notice.crj-notice--show { transform: translateY(0); }
.crj-notice[hidden] { display: none; }
.crj-notice p { margin: 0; flex: 1 1 260px; font-size: 0.92rem; color: #e9e2d8; }
.crj-notice a { color: var(--crj-orange); }
.crj-notice__actions { display: flex; gap: 0.6rem; }
.crj-notice .crj-go { padding: 0.55em 1em; font-size: 0.88rem; }

/* ---------- breadcrumbs ---------- */
.crj-trail {
  max-width: var(--crj-container); margin-inline: auto;
  padding: 1rem clamp(1.1rem, 4vw, 2rem) 0;
  font-size: 0.86rem; color: #555;
  display: flex; flex-wrap: wrap; gap: 0.35em;
}
.crj-trail a { color: #555; text-decoration: none; }
.crj-trail a:hover { text-decoration: underline; }
.crj-trail__sep { color: #b7b0a6; }
.crj-trail [aria-current="page"] { color: var(--crj-ink); }

/* ---------- generic page / article ---------- */
.crj-page { padding-block: clamp(2rem, 3vw, 3.5rem) 4rem; }
.crj-page__head { max-width: 74ch; margin-bottom: 1.6rem; }
.crj-page__dek { font-size: var(--crj-fs-lead); color: #3a3a3a; max-width: 62ch; }
.crj-page__score { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; color: var(--crj-magenta); }
.crj-page__score-tag { color: var(--crj-ink); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }
.crj-fact__rating { margin: 0; font-size: 0.95rem; color: var(--crj-ink); }
.crj-fact__rating span { color: #666; font-weight: 400; }
.crj-fact__rating--none { color: #666; }

.crj-article { max-width: 74ch; }
.crj-article__section { margin-bottom: 2.2rem; }
.crj-article__section h2 { margin-top: 0; }
.crj-inline-figure { margin: 1.4rem 0; }
.crj-inline-figure img { width: 100%; }
.crj-cover-figure { max-width: 340px; margin: 0 0 1.8rem; }

.crj-hub-nav { margin-top: 2.4rem; font-size: 1.02rem; }
.crj-hub-nav a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- fact card ---------- */
.crj-fact {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 1.6rem;
  background: var(--crj-tint); padding: 1.4rem;
  max-width: 74ch; margin: 0 0 2rem;
}
@media (max-width: 520px) { .crj-fact { grid-template-columns: 1fr; } }
.crj-fact__row dt { font-size: var(--crj-fs-caption); text-transform: uppercase; letter-spacing: 0.04em; color: #6a6a6a; margin: 0; }
.crj-fact__row dd { margin: 0.1em 0 0; font-size: 1rem; }

/* ---------- pros / cons ---------- */
.crj-verdict { display: grid; grid-template-columns: 1fr; gap: 1.6rem; max-width: 74ch; margin: 2rem 0; }
@media (min-width: 640px) { .crj-verdict { grid-template-columns: 1fr 1fr; } }
.crj-verdict__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.crj-verdict__col li { display: flex; gap: 0.6em; align-items: flex-start; }
.crj-verdict__col:first-child .crj-glyph { color: var(--crj-cobalt); flex: none; margin-top: 0.2em; }
.crj-verdict__col:last-child .crj-glyph { color: var(--crj-magenta); flex: none; margin-top: 0.2em; }

/* ---------- similar games strip ---------- */
.crj-kin { margin-top: 3rem; max-width: var(--crj-container); }
.crj-kin__list { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.4rem; }
.crj-kin__list li { flex: 0 0 150px; }
.crj-kin__list a { text-decoration: none; color: var(--crj-ink); display: block; }
.crj-kin__list img { width: 150px; height: 267px; object-fit: cover; margin-bottom: 0.5rem; }
.crj-kin__list span { font-size: 0.92rem; }

/* ---------- game card row (list, image left / text right) ---------- */
.crj-slab-list { display: flex; flex-direction: column; gap: 0; margin: 1.6rem 0 2.4rem; }
.crj-slab {
  display: flex; gap: 1.1rem; align-items: stretch;
  padding-block: 1.1rem;
}
.crj-slab:nth-child(odd) { background: var(--crj-tint); }
.crj-slab__figure { flex: 0 0 110px; display: block; }
.crj-slab__figure img { width: 110px; height: 156px; object-fit: cover; }
.crj-slab__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.3rem; justify-content: center; padding-inline: 0.4rem; }
.crj-slab__title { margin: 0.1rem 0; font-size: 1.15rem; }
.crj-slab__title a { text-decoration: none; }
.crj-slab__title a:hover { text-decoration: underline; }
.crj-slab__meta { margin: 0; color: #555; font-size: 0.9rem; }
.crj-slab__tag { margin: 0; font-size: 0.9rem; }
.crj-slab__score { margin: 0.1rem 0 0; color: var(--crj-magenta); }
@media (min-width: 640px) {
  .crj-slab__figure { flex-basis: 150px; }
  .crj-slab__figure img { width: 150px; height: 213px; }
}

/* ---------- collection / rank list ---------- */
.crj-rank { display: flex; flex-direction: column; gap: 0; margin-top: 1.8rem; }
.crj-rank__item { display: flex; gap: 1rem; align-items: flex-start; padding-block: 1.4rem; border-top: 1px solid var(--crj-line); }
.crj-rank__item:first-child { border-top: none; }
.crj-rank__num { font-size: 1.8rem; color: var(--crj-magenta); flex: 0 0 2ch; line-height: 1; }
.crj-rank__figure { flex: 0 0 96px; }
.crj-rank__figure img { width: 96px; height: 171px; object-fit: cover; }
.crj-rank__body h2 { font-size: 1.2rem; margin: 0 0 0.3em; }
.crj-rank__body h2 a { text-decoration: none; }
.crj-rank__body p { margin: 0; color: #444; max-width: 62ch; }

/* ---------- sitemap.html ---------- */
.crj-sitemap-list { display: flex; flex-direction: column; gap: 0.5rem; }
.crj-sitemap-list a { text-decoration: none; }
.crj-sitemap-list a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.crj-page--404 { text-align: center; padding-block: 5rem; }
