:root {
  --page-width: 86rem;
  --background: #05070a;
  --surface: #0a0e13;
  --surface-light: #11171e;
  --text: #f2f5f7;
  --text-muted: #aab3bc;
  --border: rgba(226, 235, 242, 0.16);
  --silver: #dce3e8;
  --focus: #9de9ff;
}

/* Foundation */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  color: var(--text);
  background: var(--background);
  font-family:
    Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 0.18rem solid var(--focus);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.65rem 0.9rem;
  color: #020609;
  background: var(--focus);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1rem;
  width: 100%;
  min-height: 5rem;
  margin: 0;
  padding: 1rem max(1rem, calc((100vw - var(--page-width)) / 2));
  background: rgba(5, 7, 10, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(0.8rem);
  -webkit-backdrop-filter: blur(0.8rem);
}

.brand {
  display: block;
  width: min(12rem, calc(100vw - 6rem));
}

.brand img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: rgba(10, 14, 19, 0.82);
  border: 1px solid var(--border);
  cursor: pointer;
}

.menu-toggle:hover {
  color: var(--focus);
  border-color: rgba(157, 233, 255, 0.55);
}

.menu-toggle[hidden] {
  display: none;
}

.menu-toggle__icon {
  position: relative;
  width: 1.25rem;
  height: 1rem;
}

.menu-toggle__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.menu-toggle__line:nth-child(1) {
  top: 0;
}

.menu-toggle__line:nth-child(2) {
  top: calc(50% - 0.5px);
}

.menu-toggle__line:nth-child(3) {
  bottom: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(0.47rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-0.47rem) rotate(-45deg);
}

.primary-navigation {
  grid-column: 1 / -1;
  width: 100%;
}

.primary-navigation[hidden] {
  display: none;
}

.primary-navigation .nav-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.site-header nav a {
  display: block;
  padding: 0.8rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 34rem;
  padding: 6rem 1rem 10rem;
  place-items: center;
  overflow: hidden;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.78)),
    radial-gradient(circle at center, rgba(181, 232, 255, 0.08), transparent 38%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.58), transparent 28% 72%, rgba(5, 7, 10, 0.58));
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  width: min(100%, 52rem);
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(2rem, 8vw, 4.25rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: 0 0.2rem 1.5rem rgba(0, 0, 0, 0.9);
}

.hero__tagline {
  margin: 1.5rem 0 0;
  color: #d4dae0;
  font-size: clamp(0.95rem, 2.7vw, 1.15rem);
  letter-spacing: 0.06em;
}

.hero__tagline span {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.92em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 2rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(235, 242, 247, 0.7);
  color: var(--text);
  background: rgba(5, 8, 11, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  color: #05070a;
  background: var(--text);
  border-color: var(--text);
}

/* Insidia network */
.network {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), var(--page-width));
  margin: -6rem auto 0;
  padding-bottom: 4rem;
}

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

.network__grid {
  display: grid;
  gap: 1rem;
}

.network-card {
  --accent: #dce3e8;
  --accent-rgb: 220, 227, 232;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 16rem;
  padding: 2rem 1.35rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(var(--accent-rgb), 0.13), transparent 48%),
    linear-gradient(160deg, rgba(17, 23, 30, 0.97), rgba(6, 9, 13, 0.99));
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.32);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.network-card > img {
  width: 4rem;
  height: 4rem;
  aspect-ratio: 1;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.network-card h3 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
}

.network-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.network-card h3 a:focus-visible {
  outline: none;
}

.network-card h3 a:focus-visible::after {
  outline: 0.18rem solid var(--focus);
  outline-offset: -0.35rem;
}

.network-card p {
  max-width: 24rem;
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.network-card--gaming {
  --accent: #42d9f5;
  --accent-rgb: 66, 217, 245;
}

.network-card--paranormal {
  --accent: #b07af3;
  --accent-rgb: 176, 122, 243;
}

.network-card--history {
  --accent: #d39a43;
  --accent-rgb: 211, 154, 67;
}

.network-card--development {
  --accent: #58f58b;
  --accent-rgb: 88, 245, 139;
}

.network-card[aria-disabled="true"] {
  cursor: not-allowed;
}

.network-card[aria-disabled="true"] h3 a {
  pointer-events: none;
}

.status {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(var(--accent-rgb), 0.72);
  color: var(--accent) !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Section page structure */
body.section-page {
  --page-accent: #dce3e8;
  --page-accent-rgb: 220, 227, 232;

  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 0, rgba(var(--page-accent-rgb), 0.1), transparent 28rem),
    var(--background);
}

.section-page--gaming {
  --page-accent: #42d9f5;
  --page-accent-rgb: 66, 217, 245;
}

.section-page--ipg {
  --page-accent: #b07af3;
  --page-accent-rgb: 176, 122, 243;
}

.section-page--history {
  --page-accent: #d39a43;
  --page-accent-rgb: 211, 154, 67;
}

.section-page--development {
  --page-accent: #58f58b;
  --page-accent-rgb: 88, 245, 139;
}

.section-page--about {
  --page-accent: #c8e8f2;
  --page-accent-rgb: 200, 232, 242;
}

.section-page--inside {
  --page-accent: #9de9ff;
  --page-accent-rgb: 157, 233, 255;
}

.section-page--contact {
  --page-accent: #9de9ff;
  --page-accent-rgb: 157, 233, 255;
}

.section-page main {
  flex: 1;
  width: min(calc(100% - 2rem), var(--page-width));
  margin-inline: auto;
}

.breadcrumb {
  padding: 1.35rem 0 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb ol,
.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb ol {
  flex-wrap: wrap;
  gap: 0.45rem;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 0.45rem;
  color: rgba(220, 227, 232, 0.42);
  content: "/";
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 160ms ease;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb [aria-current="page"] {
  color: var(--page-accent);
}

.section-hero {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: clamp(2rem, 7vw, 4rem);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(var(--page-accent-rgb), 0.14), transparent 58%),
    linear-gradient(155deg, rgba(17, 23, 30, 0.97), rgba(6, 9, 13, 0.99));
  border: 1px solid rgba(var(--page-accent-rgb), 0.48);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.3);
}

.section-hero__icon {
  width: 4.75rem;
  height: 4.75rem;
  object-fit: contain;
}

.section-hero__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--page-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-hero h1 {
  margin: 0;
  color: var(--page-accent);
  font-size: clamp(1.8rem, 7vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.12;
  text-transform: uppercase;
}

.section-hero__summary {
  max-width: 44rem;
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.page-content {
  min-height: clamp(22rem, 50vh, 38rem);
  margin: 1rem 0 4rem;
  background: linear-gradient(160deg, rgba(13, 18, 24, 0.72), rgba(6, 9, 13, 0.88));
  border: 1px solid rgba(var(--page-accent-rgb), 0.2);
}

/* Insidia Development */
.development-overview {
  display: grid;
  gap: clamp(2.5rem, 7vw, 5rem);
  padding: clamp(1.25rem, 4vw, 3.5rem);
}

.development-section__header {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.development-section__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--page-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.development-section h2 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.development-section__header > p:last-child {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
}

.development-empty-state {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(5, 8, 12, 0.58);
  border: 1px dashed rgba(var(--page-accent-rgb), 0.32);
}

.development-empty-state p {
  margin: 0;
  color: var(--text-muted);
}

.development-empty-state .development-empty-state__title {
  margin-bottom: 0.3rem;
  color: var(--silver);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-feature {
  display: grid;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(10, 215, 239, 0.1), transparent 32rem),
    linear-gradient(145deg, rgba(13, 21, 30, 0.98), rgba(5, 9, 14, 0.99));
  border: 1px solid rgba(10, 215, 239, 0.42);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.32);
}

.project-feature__visual {
  display: grid;
  min-height: 15rem;
  padding: clamp(1.5rem, 6vw, 3rem);
  place-items: center;
  background:
    linear-gradient(180deg, rgba(3, 15, 28, 0.15), rgba(3, 15, 28, 0.78));
  border-bottom: 1px solid rgba(10, 215, 239, 0.2);
}

.project-feature__visual img {
  width: min(72%, 17rem);
  height: auto;
  filter: drop-shadow(0 0 1.8rem rgba(10, 215, 239, 0.14));
}

.project-feature__content {
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.project-feature__status {
  display: inline-flex;
  margin: 0;
  padding: 0.4rem 0.65rem;
  color: #42d9f5;
  border: 1px solid rgba(66, 217, 245, 0.48);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-feature h3 {
  margin: 1rem 0 0;
  color: #f0f5f8;
  font-size: clamp(1.65rem, 6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.project-feature__content > p:not(.project-feature__status) {
  max-width: 52rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.project-feature__content .project-feature__lead {
  color: #dcebf0;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
}

.project-feature__facts {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
}

.project-feature__facts div {
  padding-left: 1rem;
  border-left: 2px solid rgba(66, 217, 245, 0.55);
}

.project-feature__facts dt {
  color: #42d9f5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-feature__facts dd {
  margin: 0.3rem 0 0;
  color: var(--silver);
}

.project-feature__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.project-feature__highlights li {
  padding: 0.45rem 0.7rem;
  color: #c5d2d8;
  background: rgba(66, 217, 245, 0.06);
  border: 1px solid rgba(66, 217, 245, 0.2);
  font-size: 0.74rem;
}

/* Gaming */
.project-feature--rift {
  background:
    radial-gradient(circle at 18% 20%, rgba(66, 217, 245, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 85%, rgba(176, 122, 243, 0.1), transparent 28rem),
    linear-gradient(145deg, rgba(8, 20, 29, 0.98), rgba(6, 7, 14, 0.99));
  border-color: rgba(66, 217, 245, 0.48);
}

.project-feature--rift .project-feature__visual {
  background:
    radial-gradient(circle at 50% 42%, rgba(176, 122, 243, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(4, 25, 36, 0.2), rgba(5, 8, 16, 0.9));
}

.rift-sentinel-mark {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  width: 100%;
}

.rift-sentinel-mark img {
  width: clamp(5.25rem, 14vw, 7.5rem);
  height: auto;
  filter:
    drop-shadow(0 0 1rem rgba(66, 217, 245, 0.2))
    drop-shadow(0 0 2rem rgba(176, 122, 243, 0.12));
}

.rift-sentinel-mark p {
  margin: 0;
  color: #e9faff;
  font-size: clamp(1.35rem, 5vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 1rem rgba(66, 217, 245, 0.22);
}

.rift-sentinel-mark p span {
  display: block;
  margin-top: 0.35rem;
  color: #b07af3;
  font-size: 0.72em;
  letter-spacing: 0.28em;
}

.project-feature--rift .project-feature__facts div {
  border-left-color: rgba(176, 122, 243, 0.62);
}

.project-feature--rift .project-feature__facts dt {
  color: #b991f1;
}

/* About Insidia */
.section-hero--about {
  display: block;
  text-align: center;
}

.section-hero--about > div {
  width: 100%;
  max-width: 58rem;
  margin-inline: auto;
}

.section-hero--about .section-hero__summary {
  margin-inline: auto;
}

.about-overview {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  padding: clamp(1.5rem, 5vw, 4rem);
}

.about-introduction {
  max-width: 54rem;
}

.about-introduction__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--page-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-introduction h2 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-introduction p:not(.about-introduction__eyebrow) {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
}

.about-divisions {
  display: grid;
  gap: 0.75rem;
}

.about-division {
  --division-accent: 220, 227, 232;

  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 8.25rem;
  padding: 1.35rem;
  justify-content: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(var(--division-accent), 0.12), transparent 55%),
    rgba(8, 12, 17, 0.78);
  border: 1px solid rgba(var(--division-accent), 0.35);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.about-division > span {
  color: rgb(var(--division-accent));
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-division small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.about-division--gaming {
  --division-accent: 66, 217, 245;
}

.about-division--history {
  --division-accent: 211, 154, 67;
}

.about-division--development {
  --division-accent: 88, 245, 139;
}

.about-division--ipg {
  --division-accent: 176, 122, 243;

  cursor: not-allowed;
}

/* Step Inside */
.section-hero--inside {
  display: block;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(66, 217, 245, 0.13), transparent 34%),
    radial-gradient(circle at 80% 75%, rgba(176, 122, 243, 0.12), transparent 36%),
    linear-gradient(155deg, rgba(17, 23, 30, 0.97), rgba(6, 9, 13, 0.99));
}

.section-hero--inside > div {
  max-width: 62rem;
  margin-inline: auto;
}

.inside-overview {
  display: grid;
  gap: clamp(3rem, 8vw, 6rem);
  padding: clamp(1.5rem, 5vw, 4rem);
}

.inside-introduction,
.inside-closing {
  max-width: 58rem;
}

.inside-eyebrow {
  margin: 0 0 0.4rem;
  color: var(--page-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inside-introduction h2,
.inside-section-heading h2,
.inside-closing h2 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.55rem, 5vw, 2.45rem);
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.inside-introduction > p:not(.inside-eyebrow),
.inside-closing > p:not(.inside-eyebrow) {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
}

.inside-introduction .inside-introduction__lead {
  color: #dcebf0;
  font-size: clamp(1.08rem, 2.7vw, 1.3rem);
}

.inside-section-heading {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.inside-worlds__grid {
  display: grid;
  gap: 0.85rem;
}

.inside-world {
  --world-accent: 220, 227, 232;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 17rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 85% 5%, rgba(var(--world-accent), 0.14), transparent 56%),
    linear-gradient(150deg, rgba(14, 19, 25, 0.96), rgba(6, 9, 13, 0.99));
  border: 1px solid rgba(var(--world-accent), 0.38);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.inside-world > img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.inside-world h3 {
  margin: 1.2rem 0 0;
  color: rgb(var(--world-accent));
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inside-world p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.inside-world > span {
  margin-top: auto;
  padding-top: 1.25rem;
  color: rgb(var(--world-accent));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inside-world--gaming {
  --world-accent: 66, 217, 245;
}

.inside-world--history {
  --world-accent: 211, 154, 67;
}

.inside-world--development {
  --world-accent: 88, 245, 139;
}

.inside-world--ipg {
  --world-accent: 176, 122, 243;

  cursor: not-allowed;
}

.inside-closing {
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(var(--page-accent-rgb), 0.2);
}

.inside-closing .inside-closing__button {
  margin-top: 1.75rem;
}

/* Contact */
.section-hero--contact {
  display: block;
  text-align: center;
}

.section-hero--contact > div {
  max-width: 54rem;
  margin-inline: auto;
}

.contact-overview {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  padding: clamp(1.5rem, 5vw, 4rem);
}

.contact-introduction {
  max-width: 42rem;
}

.contact-eyebrow {
  margin: 0 0 0.4rem;
  color: var(--page-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-introduction h2 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-introduction > p:not(.contact-eyebrow) {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.contact-status {
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  background: rgba(var(--page-accent-rgb), 0.06);
  border: 1px solid rgba(var(--page-accent-rgb), 0.28);
  border-left: 0.2rem solid var(--page-accent);
}

.contact-status p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-status .contact-status__title {
  margin-bottom: 0.3rem;
  color: var(--silver);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form {
  padding: clamp(1.35rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 90% 5%, rgba(var(--page-accent-rgb), 0.09), transparent 45%),
    rgba(7, 11, 16, 0.78);
  border: 1px solid rgba(var(--page-accent-rgb), 0.3);
}

.contact-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form legend {
  margin-bottom: 1.25rem;
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form__grid {
  display: grid;
  gap: 1.1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: #cbd3d9;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  background: rgba(4, 7, 11, 0.88);
  border: 1px solid rgba(var(--page-accent-rgb), 0.28);
  border-radius: 0;
  font: inherit;
}

.form-field textarea {
  min-height: 12rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--page-accent);
  outline: 0.18rem solid rgba(var(--page-accent-rgb), 0.25);
  outline-offset: 0;
}

.contact-form fieldset:disabled input,
.contact-form fieldset:disabled select,
.contact-form fieldset:disabled textarea {
  color: rgba(220, 227, 232, 0.5);
  cursor: not-allowed;
  opacity: 0.72;
}

.contact-form__note {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-button {
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  color: var(--text-muted);
  background: rgba(8, 12, 17, 0.8);
  border: 1px solid var(--border);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-button--primary {
  color: var(--page-accent);
  border-color: rgba(var(--page-accent-rgb), 0.42);
}

.form-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}


/* History */
.history-overview {
  display: grid;
  gap: clamp(2.5rem, 7vw, 5rem);
  padding: clamp(1.25rem, 4vw, 3.5rem);
}

.history-section__header {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.history-section__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--page-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.history-section h2 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-section__header > p:last-child {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
}

.history-empty-state {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(5, 8, 12, 0.58);
  border: 1px dashed rgba(var(--page-accent-rgb), 0.32);
}

.history-empty-state p {
  margin: 0;
  color: var(--text-muted);
}

.history-empty-state .history-empty-state__title {
  margin-bottom: 0.3rem;
  color: var(--silver);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.history-social-card {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 244, 238, 0.1), transparent 18rem),
    radial-gradient(circle at 92% 85%, rgba(254, 44, 85, 0.08), transparent 18rem),
    linear-gradient(145deg, rgba(14, 19, 25, 0.98), rgba(5, 8, 12, 0.99));
  border: 1px solid rgba(var(--page-accent-rgb), 0.42);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.history-social-card__icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  background: rgba(5, 7, 10, 0.72);
  border: 1px solid rgba(var(--page-accent-rgb), 0.42);
}

.history-social-card__icon img {
  width: 2.25rem;
  height: 2.25rem;
  filter:
    drop-shadow(-0.15rem 0 0 rgba(37, 244, 238, 0.55))
    drop-shadow(0.15rem 0 0 rgba(254, 44, 85, 0.45));
}

.history-social-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.history-social-card__handle {
  color: var(--silver);
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.history-social-card__description {
  max-width: 52rem;
  margin-top: 0.7rem;
  color: var(--text-muted);
}

.history-social-card__action {
  margin-top: 1.25rem;
  color: var(--page-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  width: min(calc(100% - 2rem), var(--page-width));
  margin-inline: auto;
  padding: 2.25rem 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  text-align: center;
}

.social-nav__title,
.site-footer__copyright {
  margin: 0;
}

.social-nav {
  width: 100%;
  text-align: center;
}

.social-nav__title {
  margin-bottom: 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
}

.social-link {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  color: var(--text-muted);
  background: rgba(12, 17, 23, 0.72);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.social-link:hover {
  color: var(--focus);
  border-color: rgba(157, 233, 255, 0.58);
  box-shadow: 0 0 1.2rem rgba(157, 233, 255, 0.12);
  transform: translateY(-0.15rem);
}

.social-link img {
  width: 1.2rem;
  height: 1.2rem;
  opacity: 0.88;
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.social-link:hover img {
  filter: brightness(1.35);
  opacity: 1;
  transform: scale(1.06);
}

.site-footer__copyright {
  align-self: stretch;
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
}

/* Responsive enhancements */
@media (min-width: 48rem) {
  html {
    scroll-padding-top: 7rem;
  }

  .site-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-height: 6rem;
  }

  .brand {
    width: 15rem;
  }

  .menu-toggle {
    display: none;
  }

  .primary-navigation {
    width: auto;
  }

  .primary-navigation .nav-list {
    flex-direction: row;
    gap: 2rem;
  }

  .site-header nav a {
    padding: 0;
    border-top: 0;
  }

  .hero {
    min-height: 40rem;
    padding-inline: 2rem;
  }

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

  .section-hero {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .section-hero--centred {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .project-feature {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.7fr);
  }

  .project-feature__visual {
    min-height: 100%;
    border-right: 1px solid rgba(10, 215, 239, 0.2);
    border-bottom: 0;
  }

  .project-feature__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-social-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .about-divisions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-hero--about,
  .section-hero--inside,
  .section-hero--contact {
    display: block;
    text-align: center;
  }

  .inside-worlds__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-overview {
    grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
  }

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

  .form-field--wide {
    grid-column: 1 / -1;
  }

}

@media (min-width: 72rem) {
  .hero {
    min-height: 44rem;
  }

  .network {
    margin-top: -7rem;
  }

  .network__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .network-card {
    min-height: 19rem;
    padding: 2.4rem 1.5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .network-card:not([aria-disabled="true"]):hover {
    transform: translateY(-0.3rem);
    border-color: var(--accent);
    box-shadow:
      0 1.3rem 3rem rgba(0, 0, 0, 0.42),
      0 0 1.5rem rgba(var(--accent-rgb), 0.1);
  }

  .history-social-card:hover {
    border-color: var(--page-accent);
    box-shadow:
      0 1.3rem 3rem rgba(0, 0, 0, 0.38),
      0 0 1.5rem rgba(var(--page-accent-rgb), 0.08);
    transform: translateY(-0.2rem);
  }

  a.about-division:hover {
    border-color: rgb(var(--division-accent));
    transform: translateY(-0.18rem);
  }

  a.inside-world:hover {
    border-color: rgb(var(--world-accent));
    box-shadow:
      0 1.2rem 2.6rem rgba(0, 0, 0, 0.32),
      0 0 1.2rem rgba(var(--world-accent), 0.08);
    transform: translateY(-0.2rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
