:root {
  --color-ink: #050711;
  --color-navy: #071345;
  --color-blue: #1f3291;
  --color-blue-light: #394a9e;
  --color-cyan: #35c9ee;
  --color-gold: #ffd44f;
  --color-orange: #f08b2d;
  --color-paper: #ffffff;
  --color-muted: #aeb8df;
  --font-body: Quicksand, Helvetica, Arial, "Noto Sans SC", sans-serif;
  --font-display: "Trebuchet MS", Quicksand, Helvetica, Arial, "Noto Sans SC", sans-serif;
  --shadow-deep: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius-sm: 6px;
  --radius-md: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-ink) url("../images/bg.png") repeat;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-paper);
  background: var(--color-ink) url("../images/bg.png") repeat;
  font-family: var(--font-body);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: linear-gradient(#000000 0%, var(--color-navy) 100%);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

/* ---------- Navigation ---------- */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--color-blue);
}

.site-header__nav {
  display: flex;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  min-height: 52px;
  margin: 0 auto;
  padding: 0;
  background: var(--color-blue);
}

.site-brand {
  display: flex;
  flex: 0 0 190px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  color: var(--color-paper);
  background: #111c53;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: lowercase;
}

.site-brand__mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--color-gold);
  border: 3px solid var(--color-paper);
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.16);
}

.site-brand__mark::before,
.site-brand__mark::after {
  content: "";
  position: absolute;
  background: #111c53;
}

.site-brand__mark::before {
  width: 18px;
  height: 9px;
  border: 3px solid #111c53;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: transparent;
  bottom: 7px;
}

.site-brand__mark::after {
  width: 3px;
  height: 18px;
  top: 5px;
  right: 8px;
  transform: rotate(28deg);
}

.site-brand__noodle {
  position: absolute;
  top: 7px;
  left: 8px;
  width: 12px;
  height: 7px;
  border-top: 3px solid #111c53;
  border-radius: 50%;
}

.site-brand__word {
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0;
}

.site-header__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-header__links--primary {
  flex: 0 0 calc(52% - 98px);
}

.site-header__links--utility {
  flex: 1 1 auto;
}

.site-header__links--primary li:first-child {
  flex: 0 0 25%;
}

.site-header__links--primary li:not(:first-child) {
  flex: 1 1 18.75%;
}

.site-header__links--utility > li:not(.site-header__search) {
  flex: 0 0 20%;
}

.site-header__search {
  flex: 1 1 auto;
  min-width: 210px;
}

.site-header__link {
  display: block;
  width: 100%;
  padding: 16.8px 0;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: 16.8px;
  font-weight: 800;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-header__link:hover,
.site-header__link:focus-visible {
  color: var(--color-gold);
}

.site-header__link--active {
  background: radial-gradient(at 50% 0%, var(--color-blue-light) 0%, var(--color-blue) 49%, rgba(31, 50, 145, 0) 70%);
  color: #5466c1;
}

.site-header__links--utility .site-header__link {
  color: #7e8fe5;
}

.site-search {
  position: relative;
  height: 52px;
}

.site-search__input {
  width: 100%;
  height: 64px;
  margin-top: -12px;
  padding: 28px 48px 15px 20px;
  color: #5466c1;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-display);
  font-size: 16.8px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-search__input::placeholder {
  color: #5466c1;
  opacity: 1;
}

.site-search__submit {
  position: absolute;
  top: 0;
  right: 12px;
  width: 31px;
  height: 52px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-search__submit::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 5px;
  width: 13px;
  height: 13px;
  border: 3px solid #ffffff;
  border-radius: 50%;
}

.site-search__submit::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 20px;
  width: 10px;
  height: 3px;
  background: #ffffff;
  transform: rotate(45deg);
  transform-origin: left center;
}

/* ---------- Carousel ---------- */
.hero-carousel {
  position: relative;
  min-height: 500px;
  background: #000;
  overflow: hidden;
}

.hero-carousel__track {
  position: relative;
  height: 500px;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 52px 24px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.18) 55%, #000), var(--slide-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 550ms ease, transform 700ms ease;
  pointer-events: none;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-carousel__title {
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.9);
}

.hero-carousel__caption {
  margin-top: 10px;
  color: var(--color-paper);
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 3px 12px #000;
}

.hero-carousel__control {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 72px;
  border: 0;
  color: var(--color-paper);
  background: rgba(0, 0, 0, 0.34);
  font-size: 58px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.hero-carousel__control:hover {
  background: rgba(0, 0, 0, 0.66);
}

.hero-carousel__control--prev {
  left: 16px;
}

.hero-carousel__control--next {
  right: 16px;
}

/* ---------- Content ---------- */
.home-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 36px 18px 42px;
}

.section-kicker,
.more-stories__title,
.contact-card h2 {
  color: var(--color-gold);
  font-weight: 900;
  text-transform: uppercase;
}

.top-story {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.top-story__image-wrap,
.story-card,
.publishing-cta,
.video-cta {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.top-story__image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.top-story__date {
  display: inline-flex;
  flex-direction: column;
  min-width: 76px;
  margin: 0 0 10px;
  padding: 8px 10px;
  color: #071345;
  background: var(--color-gold);
  border-radius: var(--radius-sm);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.top-story__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
}

.top-story__excerpt,
.story-card p,
.publishing-cta p,
.contact-card p,
.site-footer__about p {
  color: rgba(255, 255, 255, 0.82);
}

.button-link,
.subscribe-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--color-paper);
  background: var(--color-orange);
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.button-link:hover,
.subscribe-form__submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.button-link--small {
  min-height: 34px;
  padding: 8px 14px;
  font-size: 12px;
}

.story-card {
  margin-top: 26px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.story-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.story-card__date {
  color: var(--color-gold);
  font-weight: 900;
  text-transform: uppercase;
}

.more-stories {
  margin-top: 26px;
}

.more-stories__list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.more-stories__list a {
  display: block;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  transition: background-color 180ms ease;
}

.more-stories__list a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.home-content__side {
  display: grid;
  align-content: start;
  gap: 26px;
}

.publishing-cta {
  min-height: 280px;
  padding: 34px;
  background: linear-gradient(rgba(7, 19, 69, 0.45), rgba(0, 0, 0, 0.72)), url("../images/home-publishing_bg.jpg") center / cover;
}

.publishing-cta p {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
}

.video-cta {
  position: relative;
  display: flex;
  min-height: 250px;
  align-items: flex-end;
  padding: 24px;
  background: url("../images/bg-home_playlist.jpg") center / cover;
}

.video-cta__overlay {
  position: absolute;
  inset: 0;
  background-image: url("../images/yt_logo_white@2x.png"), url("../images/texture-scan_lines.png");
  background-position: center, center;
  background-repeat: no-repeat, repeat;
  background-size: 120px auto, auto;
  opacity: 0.78;
}

.video-cta__text {
  position: relative;
  display: grid;
  gap: 4px;
  text-shadow: 0 2px 12px #000;
}

.video-cta__text strong {
  color: var(--color-gold);
  font-size: 28px;
  text-transform: uppercase;
}

/* ---------- Subscribe ---------- */
.subscribe-section {
  padding: 46px 18px;
  background: #132576 url("../images/mail_px.png") center / cover;
  text-align: center;
}

.subscribe-section__intro {
  width: min(100%, 720px);
  margin: 0 auto 24px;
}

.subscribe-section__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  color: var(--color-gold);
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 26px;
}

.subscribe-section h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.subscribe-section p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  font-weight: 700;
}

.subscribe-form {
  display: grid;
  gap: 18px;
  width: min(100%, 760px);
  margin: 0 auto;
}

.subscribe-form__input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  color: var(--color-ink);
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.subscribe-form__fieldset {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  padding: 0;
  margin: 0;
  border: 0;
}

.subscribe-form__fieldset legend {
  width: 100%;
  margin-bottom: 6px;
  color: var(--color-gold);
  font-size: 22px;
  font-weight: 900;
}

.subscribe-form__fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.subscribe-form__fieldset .is-extra {
  display: none;
}

.subscribe-form.is-expanded .is-extra {
  display: inline-flex;
}

.subscribe-form__more {
  justify-self: center;
  padding: 0;
  color: var(--color-gold);
  background: none;
  border: 0;
  font-weight: 900;
  text-transform: lowercase;
  cursor: pointer;
}

.subscribe-form__submit {
  justify-self: center;
  min-width: 170px;
}

.privacy-link {
  display: inline-block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  text-transform: lowercase;
}

/* ---------- Footer ---------- */
.site-footer {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 44px 18px 50px;
}

.site-footer__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  padding: 24px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.contact-card__eyebrow {
  margin: 0;
  color: var(--color-muted);
  font-weight: 800;
}

.contact-card h2 {
  margin: 4px 0 12px;
  font-size: 22px;
}

.contact-card a {
  color: var(--color-cyan);
  font-weight: 900;
}

.site-footer__about {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 580px;
  margin: 36px auto 0;
  text-align: center;
}

.site-footer__about strong {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 32px;
}

/* ---------- Games Page ---------- */
.games-hero {
  min-height: 400px;
  padding: 70px 21px 58px;
  background:
    radial-gradient(circle at 18% 22%, rgba(84, 102, 193, 0.8), transparent 34%),
    linear-gradient(145deg, #111c53 0%, #1f3291 52%, #060b25 100%);
}

.games-hero__content {
  width: min(100%, 760px);
}

.games-hero__kicker {
  margin: 0 0 10px;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
}

.games-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.88;
  text-transform: uppercase;
}

.games-hero p:not(.games-hero__kicker) {
  max-width: 610px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  font-weight: 700;
}

.games-grid-section {
  padding: 10px 10px 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.game-card {
  min-height: 300px;
  padding: 7px;
}

.game-card__link {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 86px;
  height: 286px;
  color: #5466c1;
  background: rgba(255, 255, 255, 0.9) url("../images/bg.png") repeat;
  overflow: hidden;
  transition: transform 180ms ease, filter 180ms ease;
}

.game-card__link:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.game-card__image {
  min-height: 200px;
  background-position: center;
  background-size: cover;
}

.game-card__info {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px;
  background: #ffffff;
}

.game-card__info strong {
  color: #5466c1;
  font-family: var(--font-display);
  font-size: 19.6px;
  line-height: 1.12;
}

.game-card__info strong::after {
  content: "›";
  padding-left: 5px;
  color: #9e9e97;
}

.game-card__info span {
  color: #9e9e97;
  font-size: 14px;
  font-weight: 700;
}

.games-pagination {
  display: flex;
  justify-content: flex-end;
  padding: 14px 21px 21px;
}

/* ---------- Game Detail Page ---------- */
.game-detail-page {
  background:
    radial-gradient(circle at 15% 10%, rgba(84, 102, 193, 0.5), transparent 30%),
    linear-gradient(145deg, #050711 0%, #111c53 48%, #071345 100%);
}

.game-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 660px;
  gap: 0;
  padding: 42px 21px;
}

.game-detail__media,
.game-detail__body {
  min-height: 560px;
}

.game-detail__media {
  display: grid;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.game-detail__image {
  min-height: 100%;
  background-position: center;
  background-size: cover;
}

.game-detail__body {
  display: grid;
  align-content: center;
  padding: 42px;
  background: rgba(255, 255, 255, 0.94);
  color: #656565;
}

.game-detail__back,
.game-detail__kicker {
  color: var(--color-blue);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.game-detail__back {
  justify-self: start;
  margin-bottom: 24px;
  font-size: 14px;
}

.game-detail__back::before {
  content: "‹";
  padding-right: 7px;
}

.game-detail__kicker {
  margin: 0 0 10px;
}

.game-detail h1 {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.92;
  text-transform: uppercase;
}

.game-detail__developer {
  margin: 10px 0 24px;
  color: #9e9e97;
  font-size: 20px;
  font-weight: 900;
}

.game-detail__tagline {
  margin: 0 0 16px;
  color: var(--color-orange);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.game-detail__description {
  margin: 0 0 28px;
  color: #656565;
  font-size: 17px;
  font-weight: 700;
}

.game-detail__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.game-detail__meta div {
  padding: 16px;
  background: rgba(31, 50, 145, 0.08);
}

.game-detail__meta dt {
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-detail__meta dd {
  margin: 5px 0 0;
  color: #656565;
  font-weight: 800;
}

.game-detail--missing .game-detail__media {
  display: none;
}

.game-detail--missing {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

/* ---------- Publishing Page ---------- */
.page-shell--publishing {
  background-color: #012d78;
  background-image: url("../images/publishing-sky-gradient.png"), url("../images/bg-publishing.png");
  background-position: 100% 0%, 0% 0%;
  background-repeat: no-repeat, repeat;
  background-size: 740px 740px, 210px 210px;
}

.page-shell--publishing.page-shell {
  box-shadow: var(--shadow-deep);
}

.page-shell--publishing .site-header {
  background: var(--color-blue);
}

.page-shell--publishing .site-header__nav {
  background: var(--color-blue);
}

.page-shell--publishing .publishing-page {
  background-image: url("../images/page-gradient-fallback.png");
  background-position: 0% 100%;
  background-repeat: repeat-x;
  background-size: auto 15%;
  background-color: transparent;
}

/*
.page-shell--publishing {
  background:
    url("../images/publishing-sky-gradient.png") top center repeat-x,
    url("../images/bg-publishing.png") top center repeat;
}
*/

.publishing-page {
  color: #656565;
}

.publishing-hero {
  position: relative;
  min-height: 366px;
  padding: 56px 0 84px;
  overflow: hidden;
  color: var(--color-paper);
  text-align: center;
}

.publishing-hero__clouds,
.publishing-hero__hills,
.publishing-hero__trees {
  position: absolute;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.publishing-hero__clouds {
  top: 56px;
  right: 168px;
  width: 152px;
  height: 95px;
  background-image: url("../images/publishing-clouds-2.png");
  background-size: 100% 100%;
}

.publishing-hero__hills {
  left: 56px;
  bottom: 0;
  width: 257px;
  height: 225px;
  background-image: url("../images/publishing-hills-2.png");
  background-position: 50% 100%;
  background-size: 100% 100%;
}

.publishing-hero__trees {
  right: 84px;
  bottom: 0;
  width: 141px;
  height: 209px;
  background-image: url("../images/publishing-trees.png");
  background-size: 100% 100%;
}

.publishing-hero__content {
  position: relative;
  z-index: 1;
}

.publishing-hero h1 {
  margin: 47px 0 0;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  text-transform: uppercase;
}

.publishing-hero p {
  width: min(100%, 602px);
  margin: 0 auto;
  padding: 16px;
  color: var(--color-paper);
  font-size: 16.1px;
  font-weight: 700;
}

.publishing-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 24px;
  min-height: 690px;
  margin: 0 21px;
  padding: 84px;
  background: rgba(255, 255, 255, 0.92);
}

.publishing-overview__copy {
  max-width: 610px;
}

.publishing-overview h2,
.publishing-platforms h2,
.publishing-pitch h2 {
  margin: 0 0 14px;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.publishing-overview p,
.publishing-platforms p,
.publishing-pitch p,
.publishing-pitch li {
  color: #656565;
  font-size: 16.1px;
  font-weight: 700;
}

.publishing-screens {
  position: relative;
  min-height: 670px;
}

.publishing-screens__image {
  position: absolute;
  right: 0;
  width: min(100%, 590px);
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.24));
}

.publishing-screens__image--a {
  right: -30px;
  bottom: 0;
  width: min(100%, 650px);
}

.publishing-screens__image--b {
  top: 178px;
}

.publishing-screens__image--c {
  top: 132px;
}

.publishing-screens__image--d {
  top: 74px;
}

.publishing-screens__image--e {
  top: 16px;
}

.publishing-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 505px;
  margin: 0 21px;
  padding: 0;
  background: url("../images/publishing-features.png") center / cover;
}

.publishing-feature {
  min-height: 505px;
  padding: 70px 20px 40px;
  color: var(--color-paper);
  text-align: center;
}

.publishing-feature:nth-child(1) {
  background-color: rgba(255, 150, 0, 0.8);
}

.publishing-feature:nth-child(2) {
  background-color: rgba(76, 189, 0, 0.8);
}

.publishing-feature:nth-child(3) {
  background-color: rgba(248, 216, 0, 0.8);
}

.publishing-feature:nth-child(4) {
  background-color: rgba(221, 6, 36, 0.8);
}

.publishing-feature__icon {
  display: block;
  height: 36px;
  color: var(--color-paper);
  font-size: 35px;
  line-height: 1;
}

.publishing-feature h2 {
  margin: 0;
  padding: 6px 14px 0;
  color: var(--color-paper);
  font-size: 28px;
  line-height: 1.15;
  text-transform: uppercase;
}

.publishing-feature p {
  margin: 0;
  padding: 48px 18px 0;
  color: var(--color-paper);
  font-size: 16.1px;
  font-weight: 700;
}

.publishing-platforms,
.publishing-pitch {
  width: min(100% - 42px, 996px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
}

.publishing-platforms {
  padding: 56px 14px;
  text-align: center;
}

.publishing-pitch {
  padding: 42px 42px 84px;
}

.publishing-pitch__lead {
  margin-top: 0;
}

.publishing-pitch ul {
  display: grid;
  gap: 14px;
  padding: 0 0 0 22px;
  margin: 24px 0 32px;
}

/* ---------- Blog Page ---------- */
.blog-page {
  background: linear-gradient(#000000 0, #071345 230px, #10216f 100%);
}

.blog-hero {
  min-height: 162px;
  display: grid;
  align-items: end;
  padding: 0 21px 18px;
}

.blog-hero h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 106px);
  line-height: 0.8;
  text-transform: uppercase;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.94fr) minmax(320px, 1fr);
  gap: 0;
  margin: 0 21px;
  padding-bottom: 42px;
}

.blog-main {
  padding-right: 21px;
}

.blog-post,
.blog-card,
.blog-sidebar__panel,
.blog-subscribe {
  background: rgba(255, 255, 255, 0.94);
  color: #656565;
}

.blog-post {
  margin-bottom: 21px;
}

.blog-post__image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.blog-post__body {
  padding: 30px 34px 38px;
}

.blog-post__date {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-post h2,
.blog-card h2,
.blog-sidebar h2,
.blog-post h3 {
  margin: 0 0 14px;
  color: var(--color-blue);
  font-family: var(--font-display);
  line-height: 1.05;
  text-transform: uppercase;
}

.blog-post h2 {
  font-size: clamp(30px, 3.8vw, 58px);
}

.blog-post h3 {
  margin-top: 28px;
  font-size: 26px;
}

.blog-post p,
.blog-post li,
.blog-card p,
.blog-sidebar__stories a {
  color: #656565;
  font-size: 16.1px;
  font-weight: 700;
}

.blog-post ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  margin: 0 0 18px;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.blog-card {
  min-height: 425px;
  padding: 30px 28px;
  border-top: 1px solid rgba(7, 19, 69, 0.08);
}

.blog-card:nth-child(odd) {
  border-right: 1px solid rgba(7, 19, 69, 0.08);
}

.blog-card h2 {
  font-size: 28px;
}

.blog-sidebar {
  display: grid;
  align-content: start;
  gap: 21px;
}

.blog-sidebar__panel {
  padding: 30px 28px;
}

.blog-sidebar h2 {
  font-size: 30px;
}

.blog-sidebar__stories {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-sidebar__stories a {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(7, 19, 69, 0.1);
}

.blog-sidebar__stories a:hover {
  color: var(--color-blue);
}

.blog-subscribe {
  padding: 34px 28px;
  text-align: center;
}

.blog-subscribe .subscribe-section__intro {
  width: 100%;
  margin-bottom: 18px;
}

.blog-subscribe .subscribe-section__icon {
  color: var(--color-blue);
  border-color: rgba(7, 19, 69, 0.2);
}

.blog-subscribe .subscribe-section__intro h1 {
  margin: 0;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
}

.blog-subscribe .subscribe-section__intro p {
  color: #656565;
  font-size: 16.1px;
}

.blog-subscribe .subscribe-form {
  width: 100%;
}

.blog-subscribe .subscribe-form__input {
  background: #eef0f7;
}

.blog-subscribe .subscribe-form__fieldset legend {
  color: var(--color-blue);
  font-size: 18px;
}

.blog-subscribe .subscribe-form__fieldset label {
  color: #656565;
  background: rgba(7, 19, 69, 0.08);
}

.blog-subscribe .privacy-link {
  color: var(--color-blue);
}

.blog-prev {
  justify-self: start;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 10px 18px;
  color: var(--color-paper);
  background: var(--color-orange);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

/* ---------- About Page ---------- */
.about-page {
  background:
    url("../images/page-gradient-fallback.png") left bottom / auto 18% repeat-x,
    url("../images/header-about.jpg") center top / cover no-repeat,
    #071345;
}

.about-content {
  min-height: 1624px;
  margin: 0 21px;
  padding: 86px 0 120px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.44) 30%, rgba(0, 0, 0, 0.44) 70%, rgba(0, 0, 0, 0.08));
}

.about-content__inner {
  width: min(100%, 720px);
  padding: 0 42px;
  margin: 0 auto;
  text-align: center;
}

.about-content h1 {
  margin: 0 0 22px;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.72);
}

.about-content p {
  margin: 0 0 21px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 16.1px;
  font-weight: 800;
  line-height: 1.62;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.about-content__lead {
  margin-bottom: 350px;
}

/* ---------- Careers Page ---------- */
.careers-page {
  background: var(--color-navy);
}

.careers-hero {
  min-height: 675px;
  padding: 74px 21px 84px;
  background:
    linear-gradient(rgba(7, 19, 69, 0.38), rgba(7, 19, 69, 0.82)),
    url("../images/px-header-darkblue.png") center / auto repeat;
  text-align: center;
}

.careers-hero__inner {
  width: min(100%, 940px);
  margin: 0 auto;
}

.careers-hero h1 {
  margin: 0 0 28px;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 94px);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
}

.careers-hero__copy {
  display: grid;
  gap: 20px;
}

.careers-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.62;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.careers-hero strong {
  color: var(--color-paper);
}

.careers-social {
  min-height: 195px;
  padding: 34px 21px 38px;
  background: #ffffff;
  color: var(--color-blue);
  text-align: center;
}

.careers-social h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 760px);
  margin: 0 auto 22px;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
}

.careers-social h2::before,
.careers-social h2::after {
  content: "";
  flex: 1;
  height: 2px;
  background: rgba(31, 50, 145, 0.22);
}

.careers-social__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.careers-social__list a {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--color-paper);
  background: var(--color-blue);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease;
}

.careers-social__list a:hover {
  background: var(--color-orange);
  transform: translateY(-2px);
}

.careers-subscribe {
  min-height: 755px;
  padding-top: 29px;
  padding-bottom: 58px;
}

/* ---------- Contact Page ---------- */
.contact-page {
  background: var(--color-navy);
}

.contact-hero {
  min-height: 1471px;
  padding: 84px 21px 56px;
  background:
    url("../images/page-gradient-fallback.png") left bottom / auto 16% repeat-x,
    url("../images/px-pattern.png") center / auto repeat,
    #111c53;
  text-align: center;
}

.contact-hero__intro {
  width: min(100%, 760px);
  margin: 0 auto 70px;
}

.contact-hero h1 {
  margin: 0 0 24px;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
}

.contact-hero__intro p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  font-weight: 800;
}

.contact-content {
  width: min(100%, 1398px);
  margin: 0 auto;
}

.contact-subscribe {
  padding: 29px 28px 28px;
  background: rgba(19, 37, 118, 0.88) url("../images/mail_px.png") center / cover;
}

.contact-subscribe__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.contact-subscribe h2 {
  margin: 0;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.contact-subscribe .privacy-link {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-subscribe > p {
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 800;
}

.mailing-address {
  display: grid;
  place-items: center;
  min-height: 231px;
  margin-top: 28px;
  padding: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.86)),
    url("../images/mail-stamp.jpg") center / cover;
  color: var(--color-blue);
}

.mailing-address h2 {
  margin: 0 0 16px;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.mailing-address p {
  margin: 0;
  color: #656565;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.contact-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 28px;
}

.contact-link-grid a {
  display: grid;
  min-height: 122px;
  place-items: center;
  padding: 22px;
  color: var(--color-paper);
  background: var(--color-blue);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact-link-grid a:nth-child(2) {
  background: #394a9e;
}

.contact-link-grid a:nth-child(3) {
  background: #f08b2d;
}

.contact-link-grid a:nth-child(4) {
  background: #35a9ce;
  border-right: 0;
}

.contact-link-grid a:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .site-header__nav,
  .home-content {
    grid-template-columns: 1fr;
  }

  .site-header__nav {
    display: grid;
    justify-content: stretch;
    padding-block: 6px;
  }

  .site-header__links {
    justify-content: center;
  }

  .site-header__link {
    padding: 12px 10px;
    font-size: 12px;
  }

  .home-content {
    display: grid;
  }

  .top-story {
    grid-template-columns: 1fr;
  }

  .site-footer__cards {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-detail {
    grid-template-columns: 1fr;
  }

  .game-detail__media,
  .game-detail__body {
    min-height: auto;
  }

  .game-detail__image {
    min-height: 360px;
  }

  .publishing-overview {
    grid-template-columns: 1fr;
    padding: 48px 28px;
  }

  .publishing-screens {
    min-height: 470px;
  }

  .publishing-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-main {
    padding-right: 0;
  }

  .blog-sidebar {
    margin-top: 21px;
  }

  .about-content {
    min-height: auto;
    padding: 60px 0 80px;
    background: rgba(0, 0, 0, 0.5);
  }

  .about-content__inner {
    width: min(100%, 680px);
    padding: 0 28px;
  }

  .about-content__lead {
    margin-bottom: 160px;
  }

  .careers-hero {
    min-height: auto;
    padding: 58px 24px 70px;
  }

  .contact-hero {
    min-height: auto;
    padding: 58px 21px;
  }

  .contact-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero-carousel,
  .hero-carousel__track {
    min-height: 360px;
    height: 360px;
  }

  .hero-carousel__slide {
    padding: 42px 18px;
  }

  .hero-carousel__control {
    width: 38px;
    height: 58px;
    font-size: 44px;
  }

  .top-story__image {
    min-height: 190px;
  }

  .publishing-cta p {
    font-size: 20px;
  }

  .subscribe-form__submit {
    width: 100%;
  }

  .games-hero {
    min-height: 300px;
    padding: 42px 18px;
  }

  .games-hero p:not(.games-hero__kicker) {
    font-size: 17px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-detail {
    padding: 10px;
  }

  .game-detail__image {
    min-height: 250px;
  }

  .game-detail__body {
    padding: 28px 20px;
  }

  .game-detail__meta {
    grid-template-columns: 1fr;
  }

  .publishing-hero {
    min-height: 330px;
    padding: 34px 18px 58px;
  }

  .publishing-hero__hills {
    width: 170px;
    height: 150px;
    opacity: 0.75;
  }

  .publishing-hero__trees {
    width: 96px;
    height: 145px;
    opacity: 0.75;
  }

  .publishing-hero__clouds {
    right: 12px;
    width: 112px;
    height: 70px;
  }

  .publishing-overview {
    margin: 0 10px;
    padding: 34px 18px;
  }

  .publishing-screens {
    min-height: 310px;
  }

  .publishing-screens__image {
    width: 92%;
  }

  .publishing-screens__image--a {
    right: 0;
  }

  .publishing-features {
    grid-template-columns: 1fr;
    margin: 0 10px;
  }

  .publishing-feature {
    min-height: auto;
    padding: 42px 18px;
  }

  .publishing-feature p {
    padding: 22px 10px 0;
  }

  .publishing-platforms,
  .publishing-pitch {
    width: calc(100% - 20px);
  }

  .publishing-pitch {
    padding: 34px 22px 58px;
  }

  .blog-hero {
    min-height: 120px;
    padding-inline: 10px;
  }

  .blog-layout {
    margin: 0 10px;
  }

  .blog-post__body,
  .blog-card,
  .blog-sidebar__panel,
  .blog-subscribe {
    padding: 24px 18px;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-card:nth-child(odd) {
    border-right: 0;
  }

  .blog-card {
    min-height: auto;
  }

  .about-page {
    background-position: center top, center top, center;
  }

  .about-content {
    margin: 0 10px;
    padding: 42px 0 58px;
  }

  .about-content__inner {
    padding: 0 18px;
  }

  .about-content p {
    font-size: 15.5px;
  }

  .about-content__lead {
    margin-bottom: 92px;
  }

  .careers-hero {
    padding: 42px 18px 52px;
  }

  .careers-hero p {
    font-size: 15.8px;
  }

  .careers-social h2 {
    gap: 10px;
    font-size: 20px;
  }

  .careers-social__list a {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .contact-hero {
    padding: 42px 10px;
  }

  .contact-hero__intro {
    margin-bottom: 42px;
  }

  .contact-hero__intro p,
  .contact-subscribe > p {
    font-size: 16px;
  }

  .contact-subscribe {
    padding: 24px 18px;
  }

  .contact-subscribe__header {
    display: grid;
    gap: 8px;
  }

  .mailing-address {
    padding: 28px 18px;
  }

  .contact-link-grid {
    grid-template-columns: 1fr;
  }

  .contact-link-grid a {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 18px;
  }
}
