:root {
  color-scheme: dark;
  --ink: #f5f8fb;
  --blue: #4dd1ff;
  --line: #30414d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #09131a;
  color: var(--ink);
  font: 1rem/1.7 Arial, Helvetica, sans-serif;
}
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
h1, h2, h3 { color: #fff; }
h1 {
  margin: 0;
  font: normal clamp(3.2rem, 7vw, 5.8rem)/1.06 Georgia, serif;
  letter-spacing: -3px;
}
h1 em { color: #a5e7ff; font-style: normal; }

/* Shared layout and navigation. */
header, main, footer { max-width: 1280px; margin: auto; padding-inline: 5%; }
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: block;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand img { display: block; width: 255px; max-width: 100%; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 28px; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
nav a:hover, .post-body a, .back-link a { color: var(--blue); }
nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 12px;
  background: var(--blue);
  color: #09131a;
}
.skip-link:focus { top: 10px; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: #a7bbc9;
  font-size: .8rem;
}
footer a { text-decoration: none; }

/* Journal listings and articles. */
.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
}
.section-label span:last-child { color: #a7bbc9; text-align: right; }
.post {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  padding-bottom: 66px;
  scroll-margin-top: 28px;
}
.meta { color: #a7bbc9; font-size: .85rem; }
.meta span { display: block; margin-top: 8px; }
.post-body { min-width: 0; max-width: 680px; }
.post p { color: #cfdae2; font-size: 1.05rem; line-height: 1.85; }
.post h2 {
  margin: 0 0 18px;
  font: normal clamp(2rem, 4vw, 3rem)/1.16 Georgia, serif;
  letter-spacing: -1px;
}
.post h2 a { text-decoration: none; }
.post h2 a:hover { color: var(--blue); }
.read-post { color: var(--blue); font-weight: 700; }
.gaming-intro { padding: 60px 0 45px; }
.gaming-intro h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -1.5px; }
.gaming-intro .lead { max-width: 700px; margin: 26px 0 0; color: #dce6ed; font-size: 1.1rem; }
.review-cover { display: block; width: 100%; height: auto; margin: 0 0 28px; }
.entry-cover { display: block; width: 100%; height: auto; margin-bottom: 24px; border-radius: 8px; }
.article-main { padding-top: 32px; }
.back-link { margin: 0 0 40px; font-size: .9rem; }
.article-main .post { grid-template-columns: 160px minmax(0, 1fr); }
.article-main .post-body { max-width: 760px; }
.article-main .post h1 {
  margin: 0 0 28px;
  font: bold clamp(2.6rem, 5vw, 4rem)/1.15 Georgia, serif;
  letter-spacing: -1.5px;
}
.article-main .post h2 {
  margin: 2.2rem 0 1rem;
  color: #f5f8fb;
  font: normal 1.7rem/1.3 Georgia, serif;
  letter-spacing: -.3px;
}

/* Review media and PC specification table. */
.post-body figure { margin: 32px 0; }
.post-body figcaption { margin-top: 12px; color: #a7bbc9; font-size: .88rem; line-height: 1.6; }
.post-body video { display: block; width: 100%; height: auto; border-radius: 8px; background: #18202a; }
.post-body figure img { display: block; }
.post-body a { overflow-wrap: anywhere; }
.post-body h2 { scroll-margin-top: 24px; }
.crop { position: relative; overflow: hidden; border-radius: 8px; background: #18202a; }
.crop img { position: absolute; max-width: none; height: auto; }
.crop.city { aspect-ratio: 490/450; }
.crop.city img { width: 391.8367%; left: -122.449%; top: -68.8889%; }
.crop.panel { aspect-ratio: 450/345; max-width: 540px; margin: auto; }
.crop.panel img { width: 426.6667%; left: -320%; top: -4.058%; }
.post .disclosure { padding: 18px 22px; border-left: 3px solid var(--blue); background: #122633; font-size: .94rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
td, th { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
th { color: var(--blue); }
.post li { margin: 12px 0; color: #cfdae2; }

/* Homepage. */
.home-main { padding: 0; }
.home-hero {
  min-height: 440px;
  padding: 85px 5% 75px;
  background: linear-gradient(90deg, rgba(3,12,19,.64), rgba(3,12,19,.08)), url('/assets/brand/mountain-lake.webp') center/cover;
}
.home-hero .eyebrow { margin-bottom: 20px; color: #82dfff; }
.home-hero h1 {
  max-width: 790px;
  font: bold clamp(2.8rem, 5.6vw, 4.8rem)/1.06 Georgia, serif;
  letter-spacing: -1.5px;
  text-wrap: balance;
}
.home-hero .hero-copy { max-width: 575px; margin: 22px 0; color: #f0f5f9; font-size: 1.14rem; line-height: 1.6; }
.button { display: inline-block; padding: 12px 22px; border-radius: 3px; background: var(--blue); color: #07121a; font-weight: bold; text-decoration: none; }
.button:hover { background: #a5e7ff; }
.home-stories { padding: 35px 5% 50px; }
.heading-rule { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; font: bold clamp(1.6rem, 3vw, 2rem)/1.2 Georgia, serif; }
.heading-rule:before { content: ''; width: 30px; height: 3px; flex-shrink: 0; background: var(--blue); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.story-card { min-width: 0; }
.story-card img { display: block; width: 100%; height: auto; aspect-ratio: 1672/941; object-fit: cover; }
.story-card h3 { margin: 10px 0; font: bold clamp(1.5rem, 2.5vw, 2rem)/1.2 Georgia, serif; }
.story-card h3 a { text-decoration: none; }
.story-card h3 a:hover { color: var(--blue); }
.story-card .eyebrow { margin: 16px 0 8px; font-size: .73rem; }
.story-card p { margin: 10px 0; color: #cfdae2; }
.story-link { color: var(--blue); font-weight: bold; }
.story-card > a:first-child { display: block; }
.home-about {
  margin: 0 5%;
  padding: 34px 0 55px;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #09131a 15%, rgba(9,19,26,.88)), url('/assets/brand/mountain-lake.webp') right top/cover;
}
.home-about .about-copy { max-width: 780px; }
.home-about h3 { margin: 0 0 22px; font: bold 2.5rem/1.2 Georgia, serif; }
.home-about p { color: #cfdae2; line-height: 1.85; }
.error-main { padding-top: 60px; padding-bottom: 80px; }
.error-main h1 { font-size: 3rem; }

/* Phone layout. */
@media (max-width: 650px) {
  header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 80px;
    padding-top: 16px;
    padding-bottom: 18px;
  }
  .brand { margin-inline: auto; font-size: 1.35rem; }
  .brand img { width: 210px; }
  header nav { width: 100%; justify-content: center; align-items: center; gap: 22px; }
  nav a { font-size: .85rem; white-space: nowrap; }
  h1 { letter-spacing: -2px; }
  .post { grid-template-columns: 1fr; gap: 20px; padding-bottom: 44px; }
  .meta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 6px; }
  .meta > time, .meta > span { display: block; margin: 0; }
  .section-label { margin-bottom: 28px; }
  .article-main .post { grid-template-columns: 1fr; }
  .article-main .post h1 { font-size: clamp(2rem, 7.5vw, 2.8rem); }
  .crop.panel { max-width: 100%; }
  .home-hero {
    padding: 55px 6% 45px;
    background-position: 57% center;
    background-image: linear-gradient(90deg, rgba(3,12,19,.76), rgba(3,12,19,.25)), url('/assets/brand/mountain-lake.webp');
  }
  .home-hero h1 { font-size: clamp(2.65rem, 9vw, 3.5rem); letter-spacing: -1px; }
  .home-hero .hero-copy { font-size: 1.05rem; }
  .home-hero .eyebrow { font-size: .7rem; letter-spacing: 1.6px; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .home-stories { padding-top: 28px; }
  .home-about h3 { font-size: 2rem; }
}
@media (max-width: 420px) {
  .home-hero { padding-top: 42px; }
  .heading-rule { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Fiction reading layout and section spacing. */
.fiction-story .eyebrow { margin-bottom: 14px; }
.story-text .scene-break { width: 72px; margin: 48px auto; border: 0; border-top: 1px solid #658699; }
.post .story-end { margin-block: 42px; text-align: center; color: #a7bbc9; font-size: .9rem; letter-spacing: 2px; }
@media (min-width: 651px) and (max-width: 900px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
