/*
Theme Name: HALUDOS
Theme URI: https://haludos.com/
Author: HALUDOS
Author URI: https://haludos.com/
Description: A polished, playful, and accessible classic WordPress theme for the HALUDOS game studio.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haludos
Tags: custom-logo, custom-menu, featured-images, responsive-layout, accessibility-ready
*/

/* --------------------------------------------------------------------------
   Design tokens and reset
   -------------------------------------------------------------------------- */

:root {
	--ink: #10213c;
	--ink-2: #1c304f;
	--navy: #091a35;
	--navy-soft: #122d55;
	--paper: #fffaf0;
	--paper-deep: #f7f0e3;
	--surface: #ffffff;
	--surface-blue: #eff7ff;
	--surface-green: #eff9f2;
	--muted: #5b6679;
	--muted-light: #bdc8d9;
	--line: #dce2ea;
	--line-dark: rgba(255, 255, 255, 0.18);
	--red: #df2638;
	--red-dark: #b8172c;
	--green: #16884e;
	--green-bright: #46b722;
	--blue: #1674d7;
	--blue-dark: #0e4f9a;
	--yellow: #f9c72f;
	--orange: #f17922;
	--purple: #8c29b5;
	--focus: #ffffff;
	--focus-outer: #10213c;
	--shadow-sm: 0 8px 24px rgba(16, 33, 60, 0.08);
	--shadow-md: 0 18px 50px rgba(16, 33, 60, 0.13);
	--shadow-lg: 0 30px 80px rgba(4, 17, 39, 0.2);
	--radius-sm: 12px;
	--radius-md: 22px;
	--radius-lg: 34px;
	--radius-xl: 48px;
	--shell: 1180px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section-space: clamp(4.75rem, 9vw, 8rem);
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-display: ui-rounded, "SF Pro Rounded", "Segoe UI", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 7rem;
	overflow-x: hidden;
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
}

body {
	min-width: 320px;
	margin: 0;
	overflow-wrap: break-word;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 450;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

main {
	display: block;
	min-height: 50vh;
	overflow: hidden;
}

img,
picture,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

figure {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
summary {
	cursor: pointer;
}

a {
	color: var(--blue-dark);
	text-decoration-thickness: 0.09em;
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--red-dark);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--focus-outer);
}

::selection {
	background: var(--yellow);
	color: var(--navy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.55em;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

h1 {
	font-size: clamp(2.65rem, 7vw, 5.9rem);
}

h2 {
	font-size: clamp(2.05rem, 4vw, 3.75rem);
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

h4 {
	font-size: 1.2rem;
}

p,
ul,
ol {
	margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
	margin-bottom: 0;
}

hr {
	margin: 2.5rem 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.shell {
	width: min(100% - (2 * var(--gutter)), var(--shell));
	margin-inline: auto;
}

.section {
	position: relative;
	padding-block: var(--section-space);
}

.section--compact {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--soft {
	background: var(--paper-deep);
}

.section--catalogue {
	background: var(--paper);
}

.section--feature {
	background: linear-gradient(180deg, #eaf7ff 0%, var(--paper) 100%);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-heading > div {
	max-width: 760px;
}

.section-heading h2 {
	margin-bottom: 0;
}

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

.section-heading__note {
	max-width: 390px;
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.85rem;
	color: var(--red-dark);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 1.7rem;
	height: 0.2rem;
	border-radius: 99px;
	background: var(--red);
	content: "";
	flex: 0 0 auto;
}

.eyebrow--bright {
	color: #ffffff;
}

.eyebrow--bright::before {
	background: var(--yellow);
}

/* Accessibility helpers. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.screen-reader-text:focus,
.skip-link:focus {
	position: fixed !important;
	z-index: 10000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.8rem 1rem;
	clip: auto;
	clip-path: none;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: var(--shadow-md);
	color: var(--navy);
	font-size: 0.9rem;
	font-weight: 800;
	white-space: normal;
}

/* Content is visible by default. JavaScript progressively opts into reveals. */
.reveal {
	opacity: 1;
	transform: none;
}

.has-js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 520ms ease, transform 520ms ease;
}

.has-js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	width: 100%;
	border-bottom: 1px solid rgba(16, 33, 60, 0.08);
	background: rgba(255, 250, 240, 0.95);
	transition: box-shadow 180ms ease, background-color 180ms ease;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.site-header.is-scrolled,
.site-header.is-menu-open {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 8px 30px rgba(8, 25, 51, 0.1);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 5.5rem;
	gap: 2rem;
}

.brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	max-width: 190px;
	text-decoration: none;
}

.brand img,
.brand .custom-logo {
	width: 100%;
	height: auto;
}

.brand .custom-logo-link {
	display: inline-flex;
}

.brand--custom .custom-logo-link {
	display: block;
	width: 100%;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav .menu,
.primary-nav .sub-menu {
	display: flex;
	align-items: center;
	gap: clamp(0.8rem, 1.8vw, 1.65rem);
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-nav li {
	position: relative;
	margin: 0;
}

.primary-nav .menu > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--ink);
	font-size: 0.92rem;
	font-weight: 750;
	text-decoration: none;
}

.primary-nav .menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 0.2rem;
	left: 0;
	height: 0.18rem;
	border-radius: 99px;
	background: var(--red);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.primary-nav .menu > li > a:hover,
.primary-nav .menu > li > a[aria-current="page"],
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
	color: var(--red-dark);
}

.primary-nav .menu > li > a:hover::after,
.primary-nav .menu > li > a[aria-current="page"]::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: -1rem;
	display: grid;
	min-width: 220px;
	padding: 0.7rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	opacity: 0;
	visibility: hidden;
	background: var(--surface);
	box-shadow: var(--shadow-md);
	transform: translateY(-6px);
	transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-nav .sub-menu a {
	display: block;
	padding: 0.6rem 0.7rem;
	border-radius: 8px;
	color: var(--ink);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.primary-nav .sub-menu a:hover {
	background: var(--paper-deep);
	color: var(--red-dark);
}

.nav-toggle {
	display: none;
	width: 2.9rem;
	height: 2.9rem;
	padding: 0.65rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	color: var(--ink);
}

.nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	margin-block: 4px;
	border-radius: 99px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.admin-bar .site-header {
	top: 32px;
}

/* --------------------------------------------------------------------------
   Buttons, links, and store badges
   -------------------------------------------------------------------------- */

.button,
button.button,
input[type="submit"].button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.2rem;
	padding: 0.8rem 1.35rem;
	border: 2px solid var(--red);
	border-radius: 999px;
	background: var(--red);
	box-shadow: 0 8px 20px rgba(223, 38, 56, 0.2);
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
button.button:hover,
input[type="submit"].button:hover {
	border-color: var(--red-dark);
	background: var(--red-dark);
	box-shadow: 0 11px 24px rgba(184, 23, 44, 0.25);
	color: #ffffff;
	transform: translateY(-2px);
}

.button--small {
	min-height: 2.75rem;
	padding: 0.65rem 1.05rem;
	font-size: 0.82rem;
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.56);
	background: transparent;
	box-shadow: none;
	color: #ffffff;
}

.button--ghost:hover {
	border-color: #ffffff;
	background: #ffffff;
	color: var(--navy);
}

.button--light {
	border-color: #ffffff;
	background: #ffffff;
	box-shadow: 0 8px 25px rgba(5, 17, 37, 0.18);
	color: var(--navy);
}

.button--light:hover {
	border-color: var(--yellow);
	background: var(--yellow);
	color: var(--navy);
}

.button--ghost-light {
	border-color: rgba(255, 255, 255, 0.62);
	background: transparent;
	box-shadow: none;
	color: #ffffff;
}

.button--ghost-light:hover {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
}

.button-row--center {
	justify-content: center;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	width: fit-content;
	color: var(--blue-dark);
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
}

.text-link span {
	transition: transform 160ms ease;
}

.text-link:hover {
	color: var(--red-dark);
}

.text-link:hover span {
	transform: translateX(4px);
}

.text-link--top {
	flex: 0 0 auto;
	margin-bottom: 0.65rem;
}

.store-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-block: 1.4rem;
}

.store-link {
	display: inline-flex;
	align-items: center;
	min-height: 3.8rem;
	gap: 0.72rem;
	padding: 0.66rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 13px;
	background: var(--navy);
	box-shadow: 0 8px 20px rgba(8, 25, 50, 0.16);
	color: #ffffff;
	line-height: 1.05;
	text-decoration: none;
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.store-link:hover {
	background: var(--ink-2);
	box-shadow: 0 11px 25px rgba(8, 25, 50, 0.22);
	color: #ffffff;
	transform: translateY(-2px);
}

.store-link__icon {
	display: grid;
	width: 1.8rem;
	height: 1.8rem;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	font-size: 1rem;
	font-weight: 800;
}

.store-link small,
.store-link strong {
	display: block;
}

.store-link small {
	margin-bottom: 0.22rem;
	color: #ced8e8;
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.store-link strong {
	font-size: 0.88rem;
}

.store-links--compact {
	margin-block: 1.1rem;
}

.store-links--compact .store-link {
	min-height: 3.15rem;
	padding: 0.52rem 0.75rem;
	border-radius: 11px;
}

.store-links--compact .store-link__icon {
	width: 1.5rem;
	height: 1.5rem;
	font-size: 0.82rem;
}

.store-links--compact .store-link strong {
	font-size: 0.78rem;
}

.store-links--hero .store-link,
.store-links--light .store-link {
	border-color: rgba(255, 255, 255, 0.26);
	background: #ffffff;
	color: var(--navy);
}

.store-links--hero .store-link:hover,
.store-links--light .store-link:hover {
	background: var(--yellow);
	color: var(--navy);
}

.store-links--hero .store-link small,
.store-links--light .store-link small {
	color: var(--muted);
}

.store-links--hero .store-link__icon,
.store-links--light .store-link__icon {
	background: var(--paper-deep);
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	isolation: isolate;
}

.hero--home {
	min-height: 680px;
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 18%, rgba(22, 116, 215, 0.34), transparent 27rem),
		radial-gradient(circle at 88% 76%, rgba(140, 41, 181, 0.3), transparent 29rem),
		linear-gradient(135deg, #07172f 0%, #0d2b54 58%, #10213c 100%);
	color: #ffffff;
}

.hero--home::after {
	position: absolute;
	z-index: -1;
	right: -11rem;
	bottom: -18rem;
	width: 36rem;
	height: 36rem;
	border: 5rem solid rgba(255, 255, 255, 0.035);
	border-radius: 50%;
	content: "";
}

.hero__glow {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(2px);
	pointer-events: none;
}

.hero__glow--one {
	top: 9%;
	right: 37%;
	width: 8rem;
	height: 8rem;
	background: rgba(249, 199, 47, 0.13);
}

.hero__glow--two {
	right: -4rem;
	bottom: 2rem;
	width: 16rem;
	height: 16rem;
	background: rgba(70, 183, 34, 0.13);
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
	align-items: center;
	min-height: 700px;
	gap: clamp(2rem, 5vw, 5rem);
	padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.hero__copy {
	position: relative;
	z-index: 2;
	max-width: 670px;
}

.hero__copy h1 {
	margin-bottom: 1.3rem;
	color: #ffffff;
	font-size: clamp(3.2rem, 7vw, 6.45rem);
	letter-spacing: -0.055em;
}

.hero__copy h1 span {
	color: var(--yellow);
}

.hero__lead {
	max-width: 610px;
	margin-bottom: 1.75rem;
	color: #d8e4f4;
	font-size: clamp(1.04rem, 1.65vw, 1.26rem);
	line-height: 1.7;
}

.hero__notes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	padding: 0;
	margin: 1.75rem 0 0;
	color: #c9d5e7;
	font-size: 0.82rem;
	font-weight: 650;
	list-style: none;
}

.hero__notes li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.hero__notes span {
	color: var(--green-bright);
	font-size: 0.65rem;
}

.hero-art {
	position: relative;
	width: min(100%, 550px);
	height: 530px;
	justify-self: end;
}

.hero-art__orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(88vw, 430px);
	height: min(88vw, 430px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.hero-art__orbit::before,
.hero-art__orbit::after {
	position: absolute;
	border-radius: 50%;
	content: "";
}

.hero-art__orbit::before {
	top: 8%;
	left: 1%;
	width: 1rem;
	height: 1rem;
	background: var(--yellow);
	box-shadow: 0 0 0 8px rgba(249, 199, 47, 0.12);
}

.hero-art__orbit::after {
	right: 3%;
	bottom: 14%;
	width: 1.2rem;
	height: 1.2rem;
	background: var(--green-bright);
	box-shadow: 0 0 0 8px rgba(70, 183, 34, 0.11);
}

.hero-art__icon {
	position: absolute;
	z-index: 4;
	top: 34%;
	left: 50%;
	width: clamp(170px, 20vw, 235px);
	filter: drop-shadow(0 26px 28px rgba(2, 12, 30, 0.34));
	transform: translate(-50%, -50%) rotate(-3deg);
}

.hero-art__phone {
	position: absolute;
	z-index: 3;
	width: clamp(138px, 16vw, 188px);
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 29px;
	background: #071326;
	box-shadow: 0 30px 55px rgba(1, 11, 29, 0.44);
}

.hero-art__phone img {
	width: 100%;
	border-radius: 22px;
}

.hero-art__phone--one {
	bottom: 4%;
	left: 4%;
	transform: rotate(-8deg);
}

.hero-art__phone--two {
	right: 2%;
	bottom: 1%;
	transform: rotate(8deg);
}

.hero-art__badge {
	position: absolute;
	z-index: 6;
	right: 11%;
	bottom: 4%;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--shadow-md);
	color: var(--navy);
	font-size: 0.74rem;
	font-weight: 800;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Homepage sections and shared cards
   -------------------------------------------------------------------------- */

.feature-panel {
	display: grid;
	grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
	align-items: center;
	gap: clamp(2.25rem, 6vw, 6.5rem);
	padding: clamp(1.25rem, 3vw, 2.2rem);
	border: 1px solid rgba(16, 33, 60, 0.1);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}

.feature-panel__art {
	display: grid;
	min-height: 340px;
	place-items: center;
	padding: clamp(1.5rem, 5vw, 3rem);
	border-radius: calc(var(--radius-xl) - 10px);
	background:
		radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.7), transparent 25%),
		linear-gradient(145deg, #bde8ff 0%, #4cb8e9 45%, #51b843 100%);
}

.feature-panel__art img {
	width: min(100%, 290px);
	filter: drop-shadow(0 24px 24px rgba(8, 45, 70, 0.26));
}

.feature-panel__copy {
	max-width: 610px;
	padding: clamp(0.5rem, 2vw, 1.5rem) clamp(0.25rem, 2vw, 1rem) clamp(0.5rem, 2vw, 1.5rem) 0;
}

.feature-panel__copy h2 {
	font-size: clamp(2.3rem, 4.4vw, 4.15rem);
}

.feature-panel__copy > p:not(.eyebrow) {
	color: var(--muted);
}

.feature-panel__tagline {
	color: var(--ink) !important;
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	font-weight: 750;
	line-height: 1.45;
}

.game-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 1.8rem);
}

.game-grid--catalogue {
	align-items: stretch;
}

.game-card {
	display: flex;
	min-width: 0;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid rgba(16, 33, 60, 0.11);
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.game-card:hover {
	border-color: rgba(22, 116, 215, 0.28);
	box-shadow: var(--shadow-md);
	transform: translateY(-5px);
}

.game-card__art {
	display: grid;
	min-height: 250px;
	place-items: center;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: linear-gradient(145deg, #d8f2ff, #98d7f5);
}

.game-card:nth-child(6n + 2) .game-card__art {
	background: linear-gradient(145deg, #fff3b8, #f8cf43);
}

.game-card:nth-child(6n + 3) .game-card__art {
	background: linear-gradient(145deg, #f4d8ff, #bc72d6);
}

.game-card:nth-child(6n + 4) .game-card__art {
	background: linear-gradient(145deg, #d8f8d3, #70c45d);
}

.game-card:nth-child(6n + 5) .game-card__art {
	background: linear-gradient(145deg, #ffe0cd, #f69a57);
}

.game-card:nth-child(6n + 6) .game-card__art {
	background: linear-gradient(145deg, #dbe5ff, #7396eb);
}

.game-card__art img {
	width: min(100%, 205px);
	max-height: 205px;
	object-fit: contain;
	filter: drop-shadow(0 18px 18px rgba(18, 36, 65, 0.24));
	transition: transform 240ms ease;
}

.game-card:hover .game-card__art img {
	transform: scale(1.035) rotate(-1deg);
}

.game-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(1.35rem, 3vw, 1.85rem);
}

.game-card__body h3 {
	margin-bottom: 0.65rem;
}

.game-card__body > p:not(.eyebrow) {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.94rem;
}

.game-card__body .text-link {
	margin-top: auto;
}

.principle-grid,
.value-grid,
.support-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.section--principles {
	background: var(--paper-deep);
}

.principle-card,
.value-card,
.support-card {
	position: relative;
	min-width: 0;
	padding: clamp(1.6rem, 4vw, 2.3rem);
	border: 1px solid rgba(16, 33, 60, 0.1);
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.principle-card__number {
	display: grid;
	width: 3rem;
	height: 3rem;
	margin-bottom: 2.3rem;
	place-items: center;
	border-radius: 50%;
	background: var(--navy);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 850;
}

.principle-card:nth-child(2) .principle-card__number {
	background: var(--green);
}

.principle-card:nth-child(3) .principle-card__number {
	background: var(--purple);
}

.principle-card p,
.value-card p,
.support-card p {
	margin-bottom: 0;
	color: var(--muted);
}

.section--community {
	padding-top: 0;
}

.community-banner,
.split-cta--color,
.game-download {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 15%, rgba(249, 199, 47, 0.24), transparent 13rem),
		linear-gradient(125deg, var(--navy) 0%, #163a6b 58%, var(--purple) 140%);
	color: #ffffff;
}

.community-banner::after,
.split-cta--color::after,
.game-download::after {
	position: absolute;
	right: -4rem;
	bottom: -5rem;
	width: 12rem;
	height: 12rem;
	border: 2rem solid rgba(255, 255, 255, 0.06);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.community-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(2.1rem, 5vw, 4rem);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.community-banner > div:first-child {
	max-width: 690px;
}

.community-banner h2,
.split-cta--color h2,
.game-download h2 {
	margin-bottom: 0;
	color: #ffffff;
}

/* --------------------------------------------------------------------------
   Page heroes and calls to action
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 22%, rgba(22, 116, 215, 0.34), transparent 24rem),
		linear-gradient(130deg, #07172f 0%, #12315b 100%);
	color: #ffffff;
}

.page-hero::before,
.page-hero::after {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.page-hero::before {
	top: -7rem;
	right: 7%;
	width: 19rem;
	height: 19rem;
	border: 3rem solid rgba(255, 255, 255, 0.05);
}

.page-hero::after {
	right: -3rem;
	bottom: -5rem;
	width: 11rem;
	height: 11rem;
	background: rgba(249, 199, 47, 0.1);
}

.page-hero--games {
	background:
		radial-gradient(circle at 83% 25%, rgba(70, 183, 34, 0.25), transparent 20rem),
		linear-gradient(128deg, #081a36, #104e75);
}

.page-hero--standard {
	background:
		radial-gradient(circle at 84% 24%, rgba(22, 116, 215, 0.3), transparent 22rem),
		linear-gradient(128deg, #07172f, #173c68);
}

.page-hero--about {
	background:
		radial-gradient(circle at 82% 30%, rgba(241, 121, 34, 0.28), transparent 22rem),
		linear-gradient(128deg, #20133f, #65307e);
}

.page-hero--support {
	background:
		radial-gradient(circle at 80% 28%, rgba(249, 199, 47, 0.24), transparent 22rem),
		linear-gradient(128deg, #071a34, #165b5a);
}

.page-hero--legal {
	background:
		radial-gradient(circle at 85% 22%, rgba(140, 41, 181, 0.2), transparent 20rem),
		linear-gradient(128deg, #091a35, #263b62);
}

.page-hero__inner {
	max-width: 940px;
	padding-block: clamp(5rem, 10vw, 8rem);
}

.page-hero__inner--narrow {
	max-width: 800px;
	margin-left: max(var(--gutter), calc((100% - var(--shell)) / 2));
}

.page-hero h1 {
	max-width: 920px;
	margin-bottom: 1rem;
	color: #ffffff;
	font-size: clamp(2.8rem, 7vw, 5.65rem);
}

.page-hero__inner > p:not(.eyebrow) {
	max-width: 740px;
	margin-bottom: 0;
	color: #dbe5f3;
	font-size: clamp(1.03rem, 1.8vw, 1.25rem);
}

.page-hero__inner > .button {
	margin-top: 1.8rem;
}

.split-cta,
.contact-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.5rem, 5vw, 4rem);
	padding: clamp(2rem, 5vw, 3.5rem);
	border: 1px solid rgba(16, 33, 60, 0.1);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.split-cta > div:first-child,
.contact-strip > div:first-child {
	max-width: 720px;
}

.split-cta h2,
.contact-strip h2 {
	margin-bottom: 0.5rem;
}

.split-cta p:not(.eyebrow) {
	margin-bottom: 0;
	color: var(--muted);
}

.split-cta--color {
	border: 0;
	box-shadow: var(--shadow-lg);
}

.split-cta--color p:not(.eyebrow) {
	color: #dbe5f3;
}

/* --------------------------------------------------------------------------
   Game detail pages
   -------------------------------------------------------------------------- */

.game-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 18%, rgba(22, 116, 215, 0.33), transparent 24rem),
		linear-gradient(130deg, #07172f 0%, #153b68 100%);
	color: #ffffff;
}

.game-hero--dino {
	background:
		radial-gradient(circle at 82% 20%, rgba(70, 183, 34, 0.27), transparent 25rem),
		linear-gradient(130deg, #07172f 0%, #0d4c60 100%);
}

.game-hero__shape {
	position: absolute;
	z-index: -1;
	right: -9rem;
	bottom: -14rem;
	width: 34rem;
	height: 34rem;
	border: 5rem solid rgba(255, 255, 255, 0.045);
	border-radius: 50%;
}

.game-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
	align-items: center;
	min-height: 680px;
	gap: clamp(2rem, 6vw, 6rem);
	padding-block: clamp(4.5rem, 9vw, 7rem);
}

.game-hero__copy {
	position: relative;
	z-index: 3;
}

.game-hero__copy h1 {
	margin-bottom: 1rem;
	color: #ffffff;
	font-size: clamp(3rem, 6.5vw, 5.8rem);
}

.game-hero__tagline {
	max-width: 650px;
	margin-bottom: 1rem;
	color: var(--yellow);
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 800;
	line-height: 1.4;
}

.game-hero__intro {
	max-width: 650px;
	color: #d9e5f3;
	font-size: 1.05rem;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.55rem;
	margin-bottom: 2.2rem;
	color: #bdcbe0;
	font-size: 0.76rem;
	font-weight: 700;
}

.breadcrumbs a {
	color: #ffffff;
}

.breadcrumbs a:hover {
	color: var(--yellow);
}

.game-hero__visual {
	position: relative;
	width: min(100%, 505px);
	height: 500px;
	justify-self: end;
}

.game-hero__icon {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 25%;
	width: min(64%, 300px);
	filter: drop-shadow(0 28px 30px rgba(2, 13, 29, 0.36));
	transform: translateY(-50%) rotate(-5deg);
}

.game-hero__screen {
	position: absolute;
	z-index: 3;
	top: 50%;
	right: 1%;
	width: min(43%, 205px);
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 31px;
	background: #071326;
	box-shadow: 0 34px 60px rgba(1, 11, 29, 0.46);
	transform: translateY(-50%) rotate(5deg);
}

.game-hero__screen img {
	border-radius: 23px;
}

.game-feature-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: start;
	gap: clamp(3rem, 7vw, 7rem);
}

.game-feature-layout__intro {
	position: sticky;
	top: 8rem;
}

.feature-list {
	border-top: 1px solid var(--line);
}

.feature-list__item {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	align-items: start;
	gap: 1rem;
	padding-block: 1.65rem;
	border-bottom: 1px solid var(--line);
}

.feature-list__item > span {
	display: grid;
	width: 2.45rem;
	height: 2.45rem;
	place-items: center;
	border-radius: 50%;
	background: var(--surface-blue);
	color: var(--blue-dark);
	font-size: 0.72rem;
	font-weight: 850;
}

.feature-list__item p {
	margin: 0;
	font-size: clamp(1rem, 1.65vw, 1.18rem);
	font-weight: 650;
}

.section--screens {
	background: #e9f5fb;
}

.screenshot-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: clamp(0.85rem, 2.5vw, 1.75rem);
}

.screenshot-card {
	min-width: 0;
	padding: 0.55rem;
	border: 1px solid rgba(16, 33, 60, 0.11);
	border-radius: 27px;
	background: var(--surface);
	box-shadow: var(--shadow-md);
}

.screenshot-card--offset {
	margin-top: 2.5rem;
}

.screenshot-card img {
	width: 100%;
	border-radius: 20px;
}

.screenshot-card figcaption {
	padding: 0.85rem 0.45rem 0.45rem;
	color: var(--ink);
	font-size: 0.78rem;
	font-weight: 750;
	text-align: center;
}

.game-download {
	display: grid;
	grid-template-columns: 165px minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 5vw, 3.5rem);
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.game-download__art img {
	width: 100%;
	filter: drop-shadow(0 17px 18px rgba(2, 14, 31, 0.35));
}

.game-download p:not(.eyebrow) {
	margin-bottom: 0;
	color: #dbe5f3;
}

.game-download .store-links {
	margin-bottom: 0;
}

.support-note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.35rem 1.6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
}

.support-note p {
	margin: 0;
	font-weight: 750;
}

/* --------------------------------------------------------------------------
   About and support pages
   -------------------------------------------------------------------------- */

.about-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
	align-items: start;
	gap: clamp(3rem, 8vw, 8rem);
}

.about-intro__statement h2 {
	font-size: clamp(2.3rem, 4.5vw, 4.2rem);
}

.about-intro__copy {
	padding-top: 2.1rem;
	color: var(--muted);
	font-size: 1.05rem;
}

.about-intro__copy p + p {
	margin-top: 1.35rem;
}

.value-card {
	overflow: hidden;
	padding-top: 3rem;
}

.value-card__mark {
	position: absolute;
	top: -2.15rem;
	right: -1.3rem;
	width: 6.5rem;
	height: 6.5rem;
	border: 1.3rem solid currentColor;
	border-radius: 50%;
	opacity: 0.18;
}

.value-card__mark--red {
	color: var(--red);
}

.value-card__mark--green {
	color: var(--green);
}

.value-card__mark--blue {
	color: var(--blue);
}

.support-card__icon {
	display: grid;
	width: 3.1rem;
	height: 3.1rem;
	margin-bottom: 1.8rem;
	place-items: center;
	border-radius: 15px;
	background: var(--red);
	box-shadow: 0 9px 20px rgba(223, 38, 56, 0.2);
	color: #ffffff;
	font-family: var(--font-display);
	font-weight: 850;
}

.support-card:nth-child(2) .support-card__icon {
	background: var(--green);
	box-shadow: 0 9px 20px rgba(22, 136, 78, 0.2);
}

.support-card:nth-child(3) .support-card__icon {
	background: var(--blue);
	box-shadow: 0 9px 20px rgba(22, 116, 215, 0.2);
}

.faq-layout {
	display: grid;
	grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
	align-items: start;
	gap: clamp(3rem, 8vw, 7rem);
}

.faq-layout__intro {
	position: sticky;
	top: 8rem;
}

.faq-layout__intro p:not(.eyebrow) {
	color: var(--muted);
}

.faq-list {
	display: grid;
	gap: 0.8rem;
}

.faq-list details {
	border: 1px solid rgba(16, 33, 60, 0.12);
	border-radius: var(--radius-sm);
	background: var(--surface);
	box-shadow: 0 5px 16px rgba(16, 33, 60, 0.05);
}

.faq-list details[open] {
	border-color: rgba(22, 116, 215, 0.3);
	box-shadow: var(--shadow-sm);
}

.faq-list summary {
	position: relative;
	padding: 1.2rem 3.2rem 1.2rem 1.3rem;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.4;
	list-style: none;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	position: absolute;
	top: 50%;
	right: 1.25rem;
	display: grid;
	width: 1.7rem;
	height: 1.7rem;
	place-items: center;
	border-radius: 50%;
	background: var(--surface-blue);
	color: var(--blue-dark);
	content: "+";
	font-size: 1.1rem;
	line-height: 1;
	transform: translateY(-50%);
}

.faq-list details[open] summary::after {
	content: "−";
}

.faq-list details > div {
	padding: 0 1.3rem 1.3rem;
	color: var(--muted);
}

.faq-list details > div p {
	margin: 0;
}

.contact-strip h2 {
	font-size: clamp(1.8rem, 3.4vw, 3rem);
}

/* --------------------------------------------------------------------------
   Legal, privacy, data deletion, and generic editor content
   -------------------------------------------------------------------------- */

.request-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 4rem);
}

.request-card,
.request-aside__card,
.prose-page {
	border: 1px solid rgba(16, 33, 60, 0.1);
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.request-card {
	padding: clamp(1.6rem, 5vw, 3.4rem);
}

.request-aside {
	display: grid;
	gap: 1rem;
}

.request-aside__card {
	padding: 1.5rem;
}

.request-aside__card h2 {
	font-size: 1.35rem;
}

.request-aside__card p {
	color: var(--muted);
	font-size: 0.92rem;
}

.check-list {
	display: grid;
	gap: 0.7rem;
	padding: 0;
	margin-block: 1.6rem;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 2rem;
}

.check-list li::before {
	position: absolute;
	top: 0.18em;
	left: 0;
	display: grid;
	width: 1.35rem;
	height: 1.35rem;
	place-items: center;
	border-radius: 50%;
	background: var(--surface-green);
	color: var(--green);
	content: "✓";
	font-size: 0.75rem;
	font-weight: 900;
}

.notice {
	margin-block: 1.75rem;
	padding: 1.25rem 1.35rem;
	border-left: 5px solid var(--blue);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--surface-blue);
}

.notice--warning {
	border-color: var(--orange);
	background: #fff4e9;
}

.notice h3 {
	margin-bottom: 0.45rem;
	font-size: 1.06rem;
}

.notice p {
	margin: 0;
	font-size: 0.92rem;
}

.section--legal {
	background: var(--paper-deep);
}

.legal-layout {
	display: grid;
	grid-template-columns: 255px minmax(0, 1fr);
	align-items: start;
	gap: clamp(2rem, 6vw, 5.5rem);
}

.legal-nav {
	position: sticky;
	top: 7.5rem;
	padding: 1.3rem;
	border: 1px solid rgba(16, 33, 60, 0.1);
	border-radius: var(--radius-sm);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.legal-nav > p {
	margin-bottom: 0.8rem;
	color: var(--ink);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.legal-nav ol {
	display: grid;
	gap: 0.2rem;
	padding: 0;
	margin: 0;
	list-style-position: inside;
}

.legal-nav li {
	color: var(--muted);
	font-size: 0.85rem;
}

.legal-nav a {
	display: inline-block;
	padding: 0.28rem;
	color: var(--ink-2);
	font-weight: 650;
	text-decoration: none;
}

.legal-nav a:hover {
	color: var(--red-dark);
}

.legal-content {
	padding: clamp(1.6rem, 5vw, 3.8rem);
	border: 1px solid rgba(16, 33, 60, 0.1);
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.legal-content > section {
	scroll-margin-top: 7.5rem;
}

.legal-content > section + section {
	padding-top: 2.3rem;
	margin-top: 2.3rem;
	border-top: 1px solid var(--line);
}

.legal-content h2 {
	font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.page-content-section {
	background: var(--paper-deep);
}

.prose-page {
	max-width: 920px;
	padding: clamp(1.6rem, 5vw, 4rem);
}

.prose-page--contact {
	max-width: 980px;
}

.single-post__meta {
	margin: 0;
	color: var(--muted-light);
	font-size: 0.9rem;
	font-weight: 700;
}

.single-post__image {
	margin: 0 0 clamp(1.8rem, 4vw, 3rem);
}

.single-post__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}

.single-post__content .post-navigation {
	padding-top: 2rem;
	margin-top: 3rem;
	border-top: 1px solid var(--line);
}

.single-post__content .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.single-post__content .nav-next {
	text-align: right;
}

.single-post__content .post-navigation a {
	display: block;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	text-decoration: none;
}

.single-post__content .post-navigation span {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--muted);
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.single-post__content .post-navigation strong {
	display: block;
	color: var(--ink);
}

.contact-guidance {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.35rem;
	margin-bottom: 2rem;
	border: 1px solid #b7d8f3;
	border-radius: var(--radius-sm);
	background: var(--surface-blue);
}

.contact-guidance h2 {
	margin-bottom: 0.35rem;
	font-size: 1.25rem;
}

.contact-guidance p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.entry-content {
	color: #34445d;
}

.entry-content::after {
	display: table;
	clear: both;
	content: "";
}

.entry-content > * {
	max-width: 100%;
}

.entry-content > * + * {
	margin-top: 1.25rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	padding-top: 0.35rem;
	color: var(--ink);
}

.entry-content h2 {
	font-size: clamp(1.75rem, 3.3vw, 2.55rem);
}

.entry-content h3 {
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35rem;
}

.entry-content li + li {
	margin-top: 0.45rem;
}

.entry-content a:not(.button):not(.store-link) {
	font-weight: 700;
}

.entry-content blockquote,
.wp-block-quote {
	padding: 1.2rem 1.4rem;
	margin-inline: 0;
	border-left: 5px solid var(--purple);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: #f8effc;
	color: var(--ink-2);
	font-size: 1.08rem;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--muted);
	font-size: 0.8rem;
	font-style: normal;
}

.entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-spacing: 0;
	border-collapse: collapse;
	-webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--surface-blue);
	color: var(--ink);
	font-size: 0.86rem;
}

.entry-content code,
.entry-content pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.entry-content code {
	padding: 0.16em 0.35em;
	border-radius: 5px;
	background: var(--paper-deep);
	font-size: 0.88em;
}

.entry-content pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 1.2rem;
	border-radius: var(--radius-sm);
	background: var(--navy);
	color: #ffffff;
	font-size: 0.86rem;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.entry-content .wp-block-image,
.entry-content .wp-block-gallery,
.entry-content .wp-block-embed {
	margin-block: 2rem;
}

.entry-content .wp-block-image img,
.entry-content .wp-block-gallery img {
	border-radius: var(--radius-sm);
}

.entry-content figcaption,
.wp-caption-text,
.gallery-caption {
	margin-top: 0.55rem;
	color: var(--muted);
	font-size: 0.78rem;
	text-align: center;
}

.alignleft {
	float: left;
	margin: 0.4rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.4rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide {
	width: min(1100px, calc(100vw - (2 * var(--gutter))));
	max-width: none !important;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	width: 100vw;
	max-width: none !important;
	margin-left: 50%;
	transform: translateX(-50%);
}

.wp-caption {
	max-width: 100%;
}

.sticky {
	border-color: rgba(249, 199, 47, 0.65);
}

.bypostauthor {
	display: block;
}

/* --------------------------------------------------------------------------
   Forms and WPForms
   -------------------------------------------------------------------------- */

.entry-content label,
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel {
	color: var(--ink);
	font-size: 0.88rem;
	font-weight: 750;
}

.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="url"],
.entry-content input[type="tel"],
.entry-content input[type="number"],
.entry-content input[type="password"],
.entry-content input[type="search"],
.entry-content input[type="date"],
.entry-content select,
.entry-content textarea,
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="url"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container input[type="password"],
.wpforms-container select,
.wpforms-container textarea {
	width: 100%;
	max-width: 100%;
	min-height: 3.15rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid #b9c4d2;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(16, 33, 60, 0.04) inset;
	color: var(--ink);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.entry-content textarea,
.wpforms-container textarea {
	min-height: 150px;
	resize: vertical;
}

.entry-content select,
.wpforms-container select {
	appearance: auto;
}

.entry-content input:focus,
.entry-content select:focus,
.entry-content textarea:focus,
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(22, 116, 215, 0.13);
	outline: 0;
}

.wpforms-container {
	width: 100%;
	padding: clamp(1.2rem, 4vw, 2rem);
	margin-block: 2rem !important;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: #fbfdff;
}

.wpforms-container .wpforms-field {
	padding-block: 0.65rem !important;
}

.wpforms-container .wpforms-field-label {
	margin-bottom: 0.45rem !important;
}

.wpforms-container .wpforms-required-label {
	color: var(--red-dark);
}

.wpforms-container .wpforms-field-description {
	margin-top: 0.45rem;
	color: var(--muted);
	font-size: 0.78rem;
}

.wpforms-container ul,
.wpforms-container .wpforms-field-checkbox ul,
.wpforms-container .wpforms-field-radio ul {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.wpforms-container .wpforms-field-checkbox li,
.wpforms-container .wpforms-field-radio li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0.5rem 0 !important;
}

.wpforms-container input[type="checkbox"],
.wpforms-container input[type="radio"] {
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.18rem;
	accent-color: var(--blue);
	flex: 0 0 auto;
}

.wpforms-container .wpforms-error,
.wpforms-container label.wpforms-error {
	color: var(--red-dark) !important;
	font-size: 0.78rem !important;
	font-weight: 700;
}

.wpforms-container input.wpforms-error,
.wpforms-container select.wpforms-error,
.wpforms-container textarea.wpforms-error {
	border-color: var(--red) !important;
}

.wpforms-container .wpforms-confirmation-container-full,
.wpforms-confirmation-container-full {
	padding: 1rem 1.2rem;
	border: 1px solid #8fcba9;
	border-radius: var(--radius-sm);
	background: var(--surface-green);
	color: #145c38;
}

body .wpforms-container .wpforms-submit-container {
	padding-top: 1rem;
}

body .wpforms-container button[type="submit"],
body div.wpforms-container-full .wpforms-form button[type="submit"] {
	min-height: 3.2rem !important;
	padding: 0.8rem 1.5rem !important;
	border: 2px solid var(--red) !important;
	border-radius: 999px !important;
	background: var(--red) !important;
	box-shadow: 0 8px 20px rgba(223, 38, 56, 0.2) !important;
	color: #ffffff !important;
	font-size: 0.9rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
}

body .wpforms-container button[type="submit"]:hover,
body div.wpforms-container-full .wpforms-form button[type="submit"]:hover {
	border-color: var(--red-dark) !important;
	background: var(--red-dark) !important;
	transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Posts, pagination, and empty states
   -------------------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.post-card {
	overflow: hidden;
	border: 1px solid rgba(16, 33, 60, 0.1);
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.post-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.post-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface-blue);
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.post-card:hover .post-card__image img {
	transform: scale(1.035);
}

.post-card__body {
	padding: 1.55rem;
}

.post-card__body h2 {
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.post-card__body h2 a {
	color: var(--ink);
	text-decoration: none;
}

.post-card__body h2 a:hover {
	color: var(--red-dark);
}

.post-card__body > p:not(.eyebrow) {
	color: var(--muted);
	font-size: 0.92rem;
}

.pagination {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
}

.pagination .page-numbers {
	display: grid;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.5rem;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--surface);
	color: var(--ink);
	font-size: 0.85rem;
	font-weight: 750;
	text-decoration: none;
}

.pagination a.page-numbers:hover,
.pagination .page-numbers.current {
	border-color: var(--navy);
	background: var(--navy);
	color: #ffffff;
}

.empty-state {
	max-width: 720px;
	padding: clamp(2rem, 6vw, 4rem);
	margin-inline: auto;
	border: 1px solid rgba(16, 33, 60, 0.1);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	text-align: center;
}

.empty-state .eyebrow {
	justify-content: center;
}

.empty-state p:not(.eyebrow) {
	color: var(--muted);
}

.empty-state .button {
	margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.not-found {
	position: relative;
	isolation: isolate;
	display: grid;
	min-height: 720px;
	overflow: hidden;
	place-items: center;
	background:
		radial-gradient(circle at 22% 20%, rgba(22, 116, 215, 0.28), transparent 23rem),
		linear-gradient(135deg, #07172f 0%, #173d67 62%, #3c2260 125%);
	color: #ffffff;
}

.not-found__shape {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
}

.not-found__shape--one {
	top: -6rem;
	right: 8%;
	width: 15rem;
	height: 15rem;
	border: 2.6rem solid rgba(249, 199, 47, 0.09);
}

.not-found__shape--two {
	bottom: -7rem;
	left: 5%;
	width: 20rem;
	height: 20rem;
	background: rgba(70, 183, 34, 0.08);
}

.not-found__inner {
	padding-block: 5rem;
	text-align: center;
}

.not-found__code {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.25rem, 2vw, 1rem);
	margin-bottom: 1.25rem;
	color: #ffffff;
	font-family: var(--font-display);
	font-size: clamp(5rem, 16vw, 10rem);
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 0.8;
}

.not-found__code img {
	width: clamp(95px, 17vw, 185px);
	filter: drop-shadow(0 20px 25px rgba(2, 12, 28, 0.35));
}

.not-found__inner .eyebrow {
	justify-content: center;
}

.not-found h1 {
	margin-bottom: 1rem;
	color: #ffffff;
	font-size: clamp(2.5rem, 6vw, 5rem);
}

.not-found__inner > p:not(.eyebrow) {
	max-width: 650px;
	margin: 0 auto 1.8rem;
	color: #d9e4f2;
	font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	position: relative;
	overflow: hidden;
	padding-top: clamp(4rem, 8vw, 6.5rem);
	background: #06142b;
	color: #c4cfdf;
}

.site-footer::after {
	position: absolute;
	right: -8rem;
	bottom: -10rem;
	width: 25rem;
	height: 25rem;
	border: 4rem solid rgba(255, 255, 255, 0.025);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.footer-main {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(140px, 0.7fr));
	gap: clamp(2rem, 5vw, 4rem);
	padding-bottom: clamp(3rem, 7vw, 5rem);
}

.brand--footer {
	max-width: 190px;
	margin-bottom: 1.35rem;
}

.footer-brand p {
	max-width: 340px;
	color: #aebbcf;
	font-size: 0.92rem;
}

.footer-column h2 {
	margin-bottom: 1rem;
	color: #ffffff;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-column ul {
	display: grid;
	gap: 0.58rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-column a {
	color: #b9c5d7;
	font-size: 0.88rem;
	text-decoration: none;
}

.footer-column a:hover {
	color: var(--yellow);
}

.social-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.social-links span {
	color: var(--yellow);
}

.footer-bottom {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #8f9db2;
	font-size: 0.78rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom a {
	color: #c8d2e1;
	font-weight: 700;
	text-decoration: none;
}

.footer-bottom a:hover {
	color: var(--yellow);
}

/* --------------------------------------------------------------------------
   Responsive layout
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.hero__grid,
	.game-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
		gap: 2rem;
	}

	.hero-art {
		height: 500px;
	}

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

	.footer-main {
		grid-template-columns: 1.3fr repeat(3, 0.7fr);
		gap: 2rem;
	}
}

@media (max-width: 900px) {
	:root {
		--section-space: clamp(4.25rem, 9vw, 6rem);
	}

	.site-header__inner {
		min-height: 4.9rem;
		flex-wrap: wrap;
	}

	.brand {
		max-width: 165px;
	}

	.has-js .nav-toggle {
		display: block;
		flex: 0 0 auto;
	}

	.primary-nav {
		position: static;
		display: grid;
		width: 100%;
		flex: 1 0 100%;
		gap: 0.8rem;
		padding: 0 0 1rem;
	}

	.has-js .primary-nav {
		position: absolute;
		top: calc(100% + 0.55rem);
		right: var(--gutter);
		left: var(--gutter);
		display: grid;
		max-height: calc(100vh - 7rem);
		overflow-y: auto;
		gap: 0.8rem;
		padding: 1rem;
		border: 1px solid var(--line);
		border-radius: 18px;
		opacity: 0;
		visibility: hidden;
		background: #ffffff;
		box-shadow: var(--shadow-lg);
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
	}

	.has-js .site-header.is-menu-open .primary-nav,
	.has-js .nav-toggle[aria-expanded="true"] + .primary-nav,
	.has-js .primary-nav.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	.primary-nav .menu,
	.primary-nav .sub-menu {
		display: grid;
		gap: 0.2rem;
		align-items: stretch;
	}

	.primary-nav .menu > li > a {
		display: flex;
		width: 100%;
		min-height: 2.9rem;
		padding: 0.55rem 0.7rem;
		border-radius: 9px;
	}

	.primary-nav .menu > li > a::after {
		display: none;
	}

	.primary-nav .menu > li > a:hover,
	.primary-nav .menu > li > a[aria-current="page"],
	.primary-nav .current-menu-item > a {
		background: var(--paper-deep);
	}

	.primary-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 1rem;
		border: 0;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		transform: none;
	}

	.primary-nav .nav-cta {
		width: 100%;
	}

	.admin-bar .primary-nav {
		max-height: calc(100vh - 9rem);
	}

	.hero__grid,
	.game-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		gap: 2.5rem;
	}

	.hero__copy,
	.game-hero__copy {
		max-width: 760px;
	}

	.hero-art,
	.game-hero__visual {
		width: min(100%, 580px);
		justify-self: center;
	}

	.hero-art {
		height: 520px;
	}

	.game-hero__visual {
		height: 470px;
	}

	.feature-panel {
		grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
		gap: 2rem;
	}

	.feature-panel__art {
		min-height: 300px;
	}

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

	.principle-card:last-child,
	.value-card:last-child,
	.support-card:last-child {
		grid-column: 1 / -1;
	}

	.screenshot-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 650px;
		margin-inline: auto;
	}

	.screenshot-card--offset {
		margin-top: 0;
	}

	.about-intro,
	.faq-layout,
	.game-feature-layout,
	.request-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
	}

	.about-intro__copy {
		max-width: 720px;
		padding-top: 0;
	}

	.faq-layout__intro,
	.game-feature-layout__intro {
		position: static;
		max-width: 720px;
	}

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

	.legal-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.legal-nav {
		position: static;
	}

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

	.footer-main {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {
	:root {
		--gutter: 1.15rem;
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.section-heading,
	.community-banner,
	.split-cta,
	.contact-strip {
		align-items: flex-start;
		flex-direction: column;
	}

	.section-heading__note {
		max-width: 600px;
	}

	.text-link--top {
		margin-bottom: 0;
	}

	.hero__grid {
		padding-top: 4.5rem;
		padding-bottom: 3.5rem;
	}

	.hero-art {
		height: 470px;
	}

	.hero-art__phone {
		width: 155px;
	}

	.hero-art__phone--one {
		left: 8%;
	}

	.hero-art__phone--two {
		right: 8%;
	}

	.feature-panel {
		grid-template-columns: minmax(0, 1fr);
		padding: 0.85rem;
		border-radius: 30px;
	}

	.feature-panel__art {
		min-height: 300px;
		border-radius: 23px;
	}

	.feature-panel__copy {
		padding: 1rem 0.75rem 1.35rem;
	}

	.game-grid,
	.post-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.game-card__art {
		min-height: 230px;
	}

	.principle-grid,
	.value-grid,
	.support-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.principle-card:last-child,
	.value-card:last-child,
	.support-card:last-child {
		grid-column: auto;
	}

	.page-hero__inner--narrow {
		margin-left: auto;
	}

	.game-hero__grid {
		padding-top: 4rem;
		padding-bottom: 3.5rem;
	}

	.game-hero__visual {
		height: 420px;
	}

	.game-hero__icon {
		left: 27%;
		width: min(63%, 260px);
	}

	.game-hero__screen {
		right: 6%;
		width: min(42%, 180px);
	}

	.game-download {
		grid-template-columns: 115px minmax(0, 1fr);
	}

	.request-aside,
	.legal-nav ol {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact-guidance {
		align-items: flex-start;
		flex-direction: column;
	}

	.single-post__content .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-post__content .nav-next {
		text-align: left;
	}

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

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.site-header__inner {
		min-height: 4.6rem;
	}

	.brand {
		max-width: 145px;
	}

	.primary-nav {
		right: 0.75rem;
		left: 0.75rem;
	}

	.button-row,
	.store-links {
		width: 100%;
	}

	.button-row .button {
		width: 100%;
	}

	.store-link {
		flex: 1 1 145px;
	}

	.hero__copy h1 {
		font-size: clamp(2.8rem, 15vw, 4.2rem);
	}

	.hero-art {
		height: 405px;
	}

	.hero-art__orbit {
		width: 325px;
		height: 325px;
	}

	.hero-art__icon {
		top: 31%;
		width: 165px;
	}

	.hero-art__phone {
		width: 130px;
		padding: 5px;
		border-radius: 23px;
	}

	.hero-art__phone img {
		border-radius: 18px;
	}

	.hero-art__phone--one {
		left: 4%;
	}

	.hero-art__phone--two {
		right: 4%;
	}

	.hero-art__badge {
		right: 50%;
		bottom: 1%;
		transform: translateX(50%);
	}

	.feature-panel__art {
		min-height: 245px;
	}

	.feature-panel__art img {
		width: min(100%, 220px);
	}

	.game-card__art {
		min-height: 210px;
	}

	.community-banner,
	.split-cta,
	.contact-strip,
	.game-download {
		border-radius: 24px;
	}

	.screenshot-row {
		grid-template-columns: minmax(0, 1fr);
		max-width: 285px;
	}

	.game-hero__visual {
		height: 355px;
	}

	.game-hero__icon {
		left: 23%;
		width: 58%;
	}

	.game-hero__screen {
		right: 4%;
		width: 43%;
		padding: 5px;
		border-radius: 24px;
	}

	.game-hero__screen img {
		border-radius: 18px;
	}

	.game-download {
		grid-template-columns: minmax(0, 1fr);
		text-align: left;
	}

	.game-download__art {
		width: 105px;
	}

	.support-note,
	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 1rem auto;
	}

	.footer-main {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-brand {
		grid-column: auto;
	}

	.not-found {
		min-height: 640px;
	}
}

@media (max-width: 380px) {
	:root {
		--gutter: 0.95rem;
	}

	body {
		font-size: 0.96rem;
	}

	.brand {
		max-width: 132px;
	}

	.nav-toggle {
		width: 2.7rem;
		height: 2.7rem;
	}

	.hero__copy h1,
	.page-hero h1,
	.game-hero__copy h1 {
		font-size: 2.65rem;
	}

	.hero-art {
		height: 370px;
	}

	.hero-art__orbit {
		width: 290px;
		height: 290px;
	}

	.hero-art__icon {
		width: 145px;
	}

	.hero-art__phone {
		width: 114px;
	}

	.hero-art__badge {
		font-size: 0.68rem;
	}

	.feature-panel,
	.game-card,
	.principle-card,
	.value-card,
	.support-card,
	.request-card,
	.prose-page,
	.legal-content {
		border-radius: 18px;
	}

	.game-hero__visual {
		height: 320px;
	}

	.not-found__code {
		font-size: 4.7rem;
	}

	.not-found__code img {
		width: 86px;
	}
}

/* Motion is never required to understand or use the site. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.has-js .reveal,
	.has-js .reveal.is-visible {
		opacity: 1;
		transform: none;
	}

	.button:hover,
	.store-link:hover,
	.game-card:hover,
	.post-card:hover,
	.game-card:hover .game-card__art img,
	.post-card:hover .post-card__image img {
		transform: none;
	}
}

/* Improve legibility when the operating system requests stronger contrast. */
@media (prefers-contrast: more) {
	:root {
		--muted: #3d485a;
		--line: #9da8b7;
	}

	.button,
	.store-link,
	.game-card,
	.post-card,
	.principle-card,
	.value-card,
	.support-card {
		box-shadow: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.button,
	.store-links,
	.legal-nav,
	.contact-guidance {
		display: none !important;
	}

	body,
	.page-content-section,
	.section--legal {
		background: #ffffff !important;
		color: #000000 !important;
	}

	.page-hero {
		background: #ffffff !important;
		color: #000000 !important;
	}

	.page-hero h1,
	.page-hero p,
	.page-hero .eyebrow,
	.legal-content,
	.entry-content {
		color: #000000 !important;
	}

	.page-hero__inner,
	.section {
		padding-block: 1.5rem;
	}

	.legal-layout {
		display: block;
	}

	.legal-content,
	.prose-page {
		max-width: none;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	a {
		color: #000000 !important;
		text-decoration: underline;
	}
}
