/* =========================================================
   RADIANCE HOUSE
   Main site styling inspired by the existing Radiance House identity:
   pale blue fields, black flowing lines, aqua accents, and deep red.
   ========================================================= */

:root {
  --rh-red: #a80b0b;
  --rh-red-dark: #7d0707;
  --rh-blue: #55a9cf;
  --rh-blue-deep: #197fa9;
  --rh-blue-pale: #dbeef6;
  --rh-blue-faint: #f2f9fc;
  --rh-ink: #191919;
  --rh-soft-ink: #4a4f53;
  --rh-line: #d7e5ec;
  --rh-white: #ffffff;
  --rh-black: #050505;
  --rh-shadow: 0 18px 48px rgba(19, 59, 79, .12);
  --rh-radius: 24px;
  --rh-radius-small: 15px;
  --page-width: 1180px;
  --nav-height: 74px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rh-ink);
  background: #fff;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.brand-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}

.section-shell {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 .55rem;
  color: var(--rh-blue-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #dff5ff;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

h3 {
  font-size: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--rh-red);
  box-shadow: 0 10px 24px rgba(168, 11, 11, .2);
}

.button--primary:hover {
  background: var(--rh-red-dark);
}

.button--secondary {
  color: var(--rh-blue-deep);
  background: #fff;
  border-color: #a9d4e6;
}

.button--secondary:hover,
.button--ghost:hover {
  background: var(--rh-blue-faint);
}

.button--ghost {
  color: var(--rh-ink);
  background: rgba(255,255,255,.75);
  border-color: rgba(36, 84, 106, .17);
  backdrop-filter: blur(8px);
}

.button--light {
  color: var(--rh-red-dark);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.text-link {
  color: var(--rh-blue-deep);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  height: 0;
}

.site-nav {
  width: min(calc(100% - 26px), 1280px);
  min-height: var(--nav-height);
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(45, 92, 113, .13);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(26, 62, 80, .13);
  backdrop-filter: blur(16px);
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 54px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr 1.35fr 1fr;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(180deg, #292323, #090606 45%, #241919);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24),
              0 4px 11px rgba(0,0,0,.2);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 34% -30%;
  border-top: 1px solid rgba(255,255,255,.38);
  border-bottom: 1px solid rgba(255,255,255,.38);
}

.brand-mark__top,
.brand-mark__bottom {
  z-index: 2;
  font-size: 8px;
  letter-spacing: .05em;
}

.brand-mark__glow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 20%, #bdeaff 22% 38%, #57c1ee 43% 62%, rgba(46,148,198,.15) 70%);
  box-shadow: 0 0 13px #4fc2f3;
}

.brand-name {
  display: grid;
  line-height: 1.05;
}

.brand-name strong {
  font-size: .99rem;
}

.brand-name span {
  margin-top: 4px;
  color: #6d7479;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > a:not(.linkedin-link) {
  padding: 9px 9px;
  border-radius: 12px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-menu > a:hover,
.nav-menu > a.is-active {
  background: var(--rh-blue-faint);
  color: var(--rh-blue-deep);
}

.nav-divider {
  width: 1px;
  height: 26px;
  margin: 0 6px;
  background: #d7e0e4;
}

.nav-menu .nav-games {
  color: var(--rh-red-dark);
}

.linkedin-link {
  width: 34px;
  height: 34px;
  margin-left: 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rh-blue-deep);
}

.linkedin-link svg {
  width: 16px;
  fill: #fff;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--rh-blue-faint);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--rh-ink);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 720px;
  padding-top: 178px;
  padding-bottom: 110px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) .75fr;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 70px -180px 30px;
  border-radius: 0 0 55% 45%;
  background:
    radial-gradient(circle at 72% 20%, rgba(75,172,213,.28), transparent 31%),
    linear-gradient(118deg, #fff 0 30%, #eef8fc 56%, #c6e6f2 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 500px;
  height: 500px;
  right: -150px;
  top: 80px;
  border-radius: 48% 52% 60% 40%;
  background: rgba(61,165,207,.11);
  transform: rotate(-18deg);
}

.flow-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flow-art svg {
  width: 100%;
  height: 100%;
}

.flow-path {
  fill: none;
  stroke-linecap: round;
}

.flow-path--dark {
  stroke: rgba(35, 55, 65, .38);
  stroke-width: 5;
}

.flow-path--blue {
  stroke: rgba(61,163,207,.63);
  stroke-width: 3;
}

.flow-path--pale {
  stroke: rgba(93,188,226,.3);
  stroke-width: 2;
}

.flow-path--red {
  stroke: rgba(168,11,11,.75);
  stroke-width: 7;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 770px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 500;
}

.hero-intro {
  max-width: 740px;
  margin: 0;
  color: #374148;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-orbit {
  position: relative;
  width: min(390px, 35vw);
  aspect-ratio: 1;
  justify-self: center;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(38,122,159,.25);
  border-radius: 50%;
}

.orbit-ring--1 {
  inset: 8%;
}

.orbit-ring--2 {
  inset: 24%;
}

.orbit-core {
  position: absolute;
  width: 100px;
  height: 100px;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 14%, #d8f1fb 18%, #60bee2 43%, rgba(66,161,204,.18) 66%, transparent 69%);
  box-shadow: 0 0 44px rgba(54,169,217,.44);
}

.orbit-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rh-blue-deep);
  box-shadow: 0 0 0 7px rgba(77,173,211,.12);
}

.orbit-node--1 {
  left: 17%;
  top: 36%;
}

.orbit-node--2 {
  right: 10%;
  top: 47%;
  background: var(--rh-red);
}

.orbit-node--3 {
  left: 45%;
  bottom: 8%;
}

.hero-visual {
  position: relative;
  overflow: visible;
}

.welcome-brainiacs {
  position: absolute;
  left: 55%;
  bottom: -10px;
  transform: translateX(-50%);
  width: min(420px, 78%);
  height: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 16px 18px rgba(24, 61, 82, .10));
}

/* =========================================================
   GENERIC SECTION HEADING
   ========================================================= */

.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading--center {
  justify-content: center;
  text-align: center;
}

.section-lead {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--rh-soft-ink);
}


/* =========================================================
   FEATURED / CAROUSEL
   ========================================================= */

.featured {
  padding: 90px 0 105px;
}

.featured-card {
  position: relative;
  min-height: 520px;
  padding: 44px 72px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(35px, 6vw, 80px);
  align-items: center;
  border: 1px solid #dceaf0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 14%, rgba(89,185,222,.13), transparent 30%),
    linear-gradient(135deg, #fff, #f5fbfd);
  box-shadow: var(--rh-shadow);
}

.featured-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 500px;
  height: 190px;
  right: -130px;
  bottom: -110px;
  border: 18px solid rgba(71,169,209,.08);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.featured-cover-wrap,
.featured-copy {
  position: relative;
  z-index: 2;
}

.featured-cover-wrap {
  min-height: 380px;
  display: grid;
  place-items: center;
}

.featured-cover {
  width: auto;
  max-width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 22px 36px rgba(10,36,48,.22);
}

.image-placeholder {
  width: min(260px, 100%);
  aspect-ratio: 8.5 / 11;
  padding: 24px;
  display: grid;
  align-content: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.34), transparent 20%),
    linear-gradient(145deg, var(--rh-blue), #0d6c96 70%, #073c5a);
  box-shadow: 0 22px 36px rgba(10,36,48,.22);
}

.image-placeholder span {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.image-placeholder strong {
  margin-top: 12px;
  font-size: 1.7rem;
}

.product-type {
  margin: 0 0 10px;
  color: var(--rh-red);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.featured-copy h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.featured-author {
  margin: 9px 0 18px;
  color: #5d666b;
  font-weight: 700;
}

.featured-description {
  max-width: 720px;
  color: #3f484d;
  font-size: 1.05rem;
}

.featured-meta {
  margin: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f5fa;
  color: #286c89;
  font-size: .78rem;
  font-weight: 800;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid #d7e6ed;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #48758a;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(30,70,90,.1);
}

.carousel-arrow:hover {
  color: var(--rh-red);
}

.carousel-arrow--prev {
  left: 16px;
}

.carousel-arrow--next {
  right: 16px;
}

.carousel-dots {
  min-height: 26px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bed7e2;
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--rh-red);
}


/* =========================================================
   EXPLORE
   ========================================================= */

.explore {
  padding: 90px 0 110px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.explore-card {
  min-height: 285px;
  padding: 25px;
  overflow: hidden;
  position: relative;
  border: 1px solid #dbeaf1;
  border-radius: 22px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(22,68,89,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.explore-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  top: -85px;
  right: -70px;
  border-radius: 50%;
  background: rgba(76,175,215,.09);
}

.explore-card:hover {
  transform: translateY(-5px);
  border-color: #acd6e7;
  box-shadow: 0 19px 42px rgba(22,68,89,.12);
}

.explore-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 16px 16px 16px 5px;
  color: #fff;
  background: linear-gradient(145deg, var(--rh-blue), var(--rh-blue-deep));
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(35,135,177,.22);
}

.explore-card h3 {
  margin: 22px 0 8px;
}

.explore-card p {
  color: var(--rh-soft-ink);
  font-size: .94rem;
}

.card-link {
  position: absolute;
  left: 25px;
  bottom: 22px;
  color: var(--rh-blue-deep);
  font-size: .88rem;
  font-weight: 900;
}

.games-imprint {
  min-height: 140px;
  margin-top: 18px;
  padding: 25px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(0,0,0,.92), rgba(33,25,25,.96)),
    #111;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}

.games-imprint__badge {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px 20px 20px 6px;
  color: #fff;
  background:
    radial-gradient(circle, rgba(91,196,237,.72), transparent 34%),
    #171212;
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: .12em;
}

.games-imprint__label {
  margin: 0;
  color: #8bd0ed;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.games-imprint h3 {
  margin: 3px 0 4px;
  font-size: 1.65rem;
}

.games-imprint p:last-child {
  margin: 0;
  color: #d9d9d9;
}

.games-imprint__arrow {
  color: #fff;
  font-size: 2rem;
}


/* =========================================================
   MARKETPLACE
   ========================================================= */

.marketplace {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(100deg, #8e0909, var(--rh-red) 55%, #bf1111);
}

.marketplace::before,
.marketplace::after {
  content: "";
  position: absolute;
  width: 580px;
  height: 150px;
  border: 2px solid rgba(255,255,255,.13);
  border-radius: 50%;
}

.marketplace::before {
  left: -190px;
  bottom: -95px;
  transform: rotate(10deg);
}

.marketplace::after {
  right: -200px;
  top: -100px;
  transform: rotate(-8deg);
}

.marketplace-inner {
  min-height: 230px;
  padding-block: 52px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 34px;
}

.marketplace-copy h2 {
  margin-bottom: 8px;
  font-size: 2.5rem;
}

.marketplace-copy p:last-child {
  max-width: 680px;
  margin: 0;
  color: #ffecec;
}

.marketplace-art {
  position: relative;
  width: 120px;
  height: 120px;
}

.marketplace-sheet {
  position: absolute;
  width: 74px;
  height: 92px;
  border: 2px solid rgba(255,255,255,.65);
  border-radius: 5px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 9px 22px rgba(0,0,0,.12);
}

.marketplace-sheet--1 {
  left: 9px;
  top: 18px;
  transform: rotate(-13deg);
}

.marketplace-sheet--2 {
  left: 27px;
  top: 10px;
  transform: rotate(3deg);
}

.marketplace-sheet--3 {
  left: 45px;
  top: 18px;
  transform: rotate(14deg);
}


/* =========================================================
   SEARCH
   ========================================================= */

.catalog-search {
  padding: 105px 0;
}

.search-panel {
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid #d8e9f0;
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 0 100%, rgba(80,175,215,.12), transparent 30%),
    radial-gradient(circle at 100% 0, rgba(80,175,215,.1), transparent 29%),
    #fbfeff;
}

.search-panel > p {
  max-width: 670px;
  margin-inline: auto;
  color: var(--rh-soft-ink);
}

.search-form {
  max-width: 760px;
  margin: 28px auto 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.search-form input {
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #b9d8e5;
  border-radius: 999px;
  outline: none;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(27,70,90,.05);
}

.search-form input:focus {
  border-color: var(--rh-blue-deep);
  box-shadow: 0 0 0 4px rgba(55,154,196,.12);
}

.keyword-row {
  margin: 14px 0 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 12px;
  color: #67757d;
  font-size: .88rem;
}

.keyword-row a {
  color: var(--rh-blue-deep);
  font-weight: 800;
  text-decoration: none;
}

.keyword-row a:hover {
  text-decoration: underline;
}


/* =========================================================
   ABOUT HOME
   ========================================================= */

.about-home {
  padding: 40px 0 115px;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.about-graphic {
  position: relative;
  min-height: 400px;
}

.about-graphic__circle {
  position: absolute;
  width: 330px;
  height: 330px;
  left: 9%;
  top: 4%;
  border-radius: 48% 52% 41% 59%;
  background:
    radial-gradient(circle at 50% 48%, #fff 0 8%, #cbeefa 10%, #52b6dc 23%, #236f91 48%, #10242f 70%);
  box-shadow: 0 30px 65px rgba(20,78,103,.18);
}

.about-graphic svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.about-graphic path {
  fill: none;
  stroke: rgba(0,0,0,.72);
  stroke-width: 5;
  stroke-linecap: round;
}

.about-graphic path + path {
  stroke: rgba(70,171,210,.7);
  stroke-width: 3;
}

.about-graphic circle {
  fill: var(--rh-red);
}

.about-copy p:not(.eyebrow) {
  color: var(--rh-soft-ink);
  font-size: 1.03rem;
}

.about-copy .button {
  margin-top: 12px;
}


/* =========================================================
   NETWORK SITES
   ========================================================= */

.network-sites {
  padding: 95px 0 105px;
  background: var(--rh-blue-faint);
  border-top: 1px solid #e1eef3;
  border-bottom: 1px solid #e1eef3;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.network-card {
  min-height: 235px;
  padding: 27px;
  border: 1px solid #d8e8ef;
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.network-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(20,68,88,.1);
}

.network-monogram {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 12%;
  color: #fff;
  background:
    radial-gradient(circle at 40% 35%, #9ee1f7, #3c9fc6 40%, #176889 80%);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.network-card h3 {
  margin: 21px 0 8px;
}

.network-card p {
  margin: 0;
  color: var(--rh-soft-ink);
  font-size: .93rem;
}


/* =========================================================
   MAILING LIST
   ========================================================= */

.mailing-list {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(118deg, #071218, #152b35 64%, #1b536a);
}

.mailing-list::after {
  content: "";
  position: absolute;
  width: 850px;
  height: 250px;
  left: -170px;
  bottom: -190px;
  border: 3px solid rgba(89,190,229,.22);
  border-radius: 50%;
  box-shadow:
    0 -25px 0 rgba(89,190,229,.06),
    0 -50px 0 rgba(89,190,229,.035);
}

.mailing-list__inner {
  position: relative;
  z-index: 2;
  min-height: 270px;
  padding-block: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.mailing-list h2 {
  max-width: 720px;
  margin-bottom: 8px;
}

.mailing-list p:last-child {
  color: #c6dce5;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 45px 0;
  color: #d6dde0;
  background: #05090b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 50px;
  align-items: center;
}

.footer-brand {
  color: #fff;
  font-size: 1.1rem;
}

.site-footer p {
  margin: 6px 0 0;
  font-size: .85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-links a {
  color: #d6dde0;
  text-decoration: none;
  font-size: .86rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}


/* =========================================================
   PRODUCT MODAL
   ========================================================= */

.product-modal {
  width: min(900px, calc(100% - 30px));
  max-height: min(86vh, 760px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  color: var(--rh-ink);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.product-modal::backdrop {
  background: rgba(3,12,17,.7);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: sticky;
  z-index: 3;
  top: 12px;
  float: right;
  width: 40px;
  height: 40px;
  margin: 12px 12px -52px 0;
  border: 0;
  border-radius: 50%;
  background: #edf6fa;
  color: #2d637a;
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-product {
  padding: 48px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 38px;
}

.modal-cover {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  box-shadow: 0 16px 30px rgba(11,45,59,.18);
}

.modal-product h2 {
  margin-bottom: 5px;
  font-size: 2rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1110px) {
  .brand-name {
    display: none;
  }

  .nav-menu > a:not(.linkedin-link) {
    padding-inline: 7px;
    font-size: .82rem;
  }

  .explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 900px) {
  .site-header {
    top: 8px;
  }

  .site-nav {
    position: relative;
    width: calc(100% - 16px);
  }

  .brand-name {
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border: 1px solid #dbe8ee;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 36px rgba(24,65,83,.17);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu > a:not(.linkedin-link) {
    padding: 11px 12px;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }

  .linkedin-link {
    margin: 5px 10px;
  }

  .hero {
    min-height: 690px;
    padding-top: 160px;
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    position: absolute;
    z-index: -1;
    width: 300px;
    right: -60px;
    bottom: 30px;
    opacity: .45;
  }

  .featured-card {
    padding: 48px 60px;
    grid-template-columns: 230px 1fr;
    gap: 35px;
  }

  .marketplace-inner {
    grid-template-columns: 90px 1fr;
  }

  .marketplace-inner > .button {
    grid-column: 2;
    justify-self: start;
  }

  .marketplace-art {
    width: 85px;
    transform: scale(.75);
    transform-origin: center;
  }

  .about-home {
    grid-template-columns: 1fr;
  }

  .about-graphic {
    min-height: 330px;
  }

  .about-graphic__circle {
    width: 280px;
    height: 280px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: 650px;
    padding-top: 145px;
    padding-bottom: 80px;
  }

  .hero::before {
    inset-inline: -260px;
  }

  .featured,
  .explore,
  .catalog-search,
  .network-sites {
    padding-block: 72px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .featured-card {
    min-height: auto;
    padding: 52px 42px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .featured-cover-wrap {
    min-height: 300px;
  }

  .featured-cover {
    max-height: 340px;
    margin-inline: auto;
  }

  .featured-meta,
  .featured-actions {
    justify-content: center;
  }

  .carousel-arrow {
    top: 300px;
  }

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

  .explore-card {
    min-height: 225px;
  }

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

  .games-imprint__arrow {
    display: none;
  }

  .marketplace-inner {
    padding-block: 45px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .marketplace-art {
    margin: 0 auto;
  }

  .marketplace-inner > .button {
    grid-column: auto;
    justify-self: center;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .about-home {
    padding-bottom: 80px;
  }

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

  .mailing-list__inner {
    min-height: 320px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .modal-product {
    padding: 48px 25px 32px;
    grid-template-columns: 1fr;
  }

  .modal-cover {
    width: min(230px, 80%);
    margin-inline: auto;
  }
}

@media (max-width: 980px) {
  .welcome-brainiacs {
    width: min(340px, 82%);
    left: 54%;
    bottom: -6px;
  }
}

@media (max-width: 760px) {
  .welcome-brainiacs {
    width: min(300px, 88%);
    left: 50%;
    bottom: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
