/* © Mayanktaker Computers & Web Development | https://mayanktaker.com */
/* Editorial Navy design system — tokens, shell, components, responsive */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-normal-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Cool blue paper drawn from the live site palette (slate surfaces, navy ink). */
  --paper: #eef5fd;
  --paper-2: #e0ebfa;
  --ink: #0e2a57;
  --brand: #15346f;
  --sky: #bfdbfe;
  --sky-soft: #dbeafe;
  --rule: #cddff2;
  --muted: #4e607e;
  --dark: #0b1626;
  --white: #ffffff;
  --error: #a33232;
  /* Cool white used for text and icons on navy bands. */
  --on-dark-rgb: 246 249 253;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --header-h: 76px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step-display: clamp(2.7rem, 6.4vw, 5.1rem);
  --step-h2: clamp(1.9rem, 3.6vw, 3rem);
  --step-h3: clamp(1.15rem, 1.6vw, 1.45rem);
  --step-lead: clamp(1.02rem, 1.25vw, 1.16rem);
  --step-small: 0.82rem;
  --step-label: 0.68rem;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
::selection {
  background: var(--sky);
  color: var(--ink);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(56px, 8vw, 104px);
}
.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}
.rule-top {
  border-top: 1px solid var(--rule);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: var(--white);
  font-size: var(--step-small);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: var(--step-label);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.lead {
  font-size: var(--step-lead);
  line-height: 1.62;
  color: var(--muted);
  max-width: 58ch;
}
.muted {
  color: var(--muted);
}
.italic {
  font-style: italic;
  color: var(--brand);
}
.mono {
  font-family: var(--mono);
  font-size: var(--step-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn svg {
  transition: transform 0.2s ease;
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--rule);
}
.btn--ghost:hover {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}
.btn--sm {
  padding: 0.72rem 1rem;
  font-size: 0.8rem;
}
.btn--light {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--dark);
}
.btn--light:hover {
  background: var(--paper);
  border-color: var(--paper);
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--paper);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: var(--step-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: border-color 0.2s ease;
}
.link-arrow:hover {
  border-color: var(--brand);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  width: 76px;
  height: 42px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}
.nav a {
  position: relative;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav a[aria-current="page"] {
  color: var(--brand);
}
.header-cta {
  flex: none;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  place-items: center;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: relative;
}
.nav-toggle-lines::before {
  top: -6px;
}
.nav-toggle-lines::after {
  top: 4.5px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: -1.5px;
  transform: rotate(-45deg);
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 45;
  background: var(--paper);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  border-top: 1px solid var(--rule);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
}
.mobile-nav li {
  border-bottom: 1px solid var(--rule);
}
.mobile-nav li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}
.mobile-nav li span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.mobile-nav .mobile-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.mobile-nav .mobile-contact {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}
body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(52px, 8vw, 92px) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.hero h1 {
  font-size: var(--step-display);
  margin-top: 22px;
  max-width: 15ch;
}
.hero .lead {
  margin-top: 22px;
  max-width: 48ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-panel {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 28px);
}
.hero-panel .panel-head {
  font-family: var(--mono);
  font-size: var(--step-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.hero-stat:last-of-type {
  border-bottom: 1px solid var(--rule);
}
.hero-stat b {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stat span {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
  max-width: 12ch;
  line-height: 1.3;
}
.hero-panel .panel-foot {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--sky-soft);
  padding-block: 13px;
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  animation: marquee 42s linear infinite;
  /* Hint the compositor so the loop stays on the GPU. */
  will-change: transform;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
}
.ticker-track span::after {
  content: "·";
  color: var(--brand);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.section-head h2 {
  font-size: var(--step-h2);
  margin-top: 14px;
  max-width: 22ch;
}
.section-head p {
  margin-top: 12px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.95rem;
}
.section-head .head-link {
  flex: none;
  padding-bottom: 6px;
}

/* ---------- Service rows ---------- */
.service-list {
  border-top: 1px solid var(--rule);
}
.service-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 0.9fr) minmax(0, 1.1fr) 24px;
  gap: clamp(12px, 2.5vw, 32px);
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s ease, padding 0.2s ease;
}
.service-row:hover {
  background: var(--paper-2);
  padding-inline: 16px 8px;
}
.service-row .num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.service-row h3 {
  font-size: 1.55rem;
  font-weight: 500;
}
.service-row p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.service-copy .tags {
  margin-top: 8px;
}
.service-copy .tag {
  font-size: 0.56rem;
}
.service-row .arrow {
  justify-self: end;
  color: var(--brand);
  transition: transform 0.2s ease;
}
.service-row:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Work cards ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.work-card {
  display: flex;
  flex-direction: column;
}
/* Outbound link to a live app, sits under the tag row. */
.work-link {
  align-self: flex-start;
  margin-top: 12px;
  padding-bottom: 2px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}
.work-link:hover {
  border-bottom-color: var(--brand);
}
.plate {
  aspect-ratio: 1200 / 760;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--dark);
}
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card:hover .plate img {
  transform: scale(1.025);
}
.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}
.work-meta .cat {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-card h3 {
  font-size: 1.5rem;
  margin-top: 8px;
}
.work-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px;
  max-width: 46ch;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  background: transparent;
}

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--rule);
}
.stat {
  padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 26px);
  border-right: 1px solid var(--rule);
}
.stat:last-child {
  border-right: 0;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Principles / process ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.principle {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.principle .num {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--brand);
}
.principle h3 {
  font-size: 1.25rem;
  margin-top: 10px;
}
.principle p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  counter-reset: step;
}
.step {
  border-top: 2px solid var(--brand);
  padding-top: 16px;
}
.step .num {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.step h3 {
  font-size: 1.2rem;
  margin-top: 10px;
}
.step p {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Dark band ---------- */
.dark-band {
  background: var(--dark);
  color: rgb(var(--on-dark-rgb) / 0.78);
  position: relative;
  overflow: hidden;
}
.dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(191, 219, 254, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 219, 254, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.dark-band .container {
  position: relative;
}
.dark-band .eyebrow {
  color: var(--sky);
}
.dark-band h2 {
  color: var(--paper);
  font-size: var(--step-h2);
  margin-top: 14px;
  max-width: 24ch;
}
.dark-band h2 .italic {
  color: var(--sky);
}
.dark-band p {
  color: rgb(var(--on-dark-rgb) / 0.68);
}
.dark-band .lead {
  margin-top: 18px;
  color: rgb(var(--on-dark-rgb) / 0.72);
}
.gaming-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 26px;
}
.price-line b {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--paper);
  letter-spacing: -0.04em;
}
.price-line span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}
.spec-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.spec-mini span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(191, 219, 254, 0.24);
  padding: 4px 8px;
}
.session-card {
  border: 1px solid rgba(191, 219, 254, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(18px, 2.5vw, 28px);
}
.session-card .session-head {
  font-family: var(--mono);
  font-size: var(--step-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  padding-bottom: 10px;
}
.session-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(191, 219, 254, 0.16);
  font-size: 0.84rem;
  color: rgb(var(--on-dark-rgb) / 0.65);
}
.session-row b {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--paper);
}
.session-card .session-foot {
  margin-top: 14px;
  font-size: 0.74rem;
  color: rgb(var(--on-dark-rgb) / 0.5);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}
.cta-grid h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  max-width: 18ch;
}
.cta-grid .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero ---------- */
.page-hero {
  padding-block: clamp(48px, 7vw, 82px) clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  margin-top: 18px;
  max-width: 20ch;
}
.page-hero .lead {
  margin-top: 20px;
  max-width: 60ch;
}
.page-hero--dark {
  background: var(--dark);
  border-bottom: 0;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-hero--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(191, 219, 254, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 219, 254, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero--dark .container {
  position: relative;
}
.page-hero--dark h1 {
  color: var(--paper);
}
.page-hero--dark .lead {
  color: rgb(var(--on-dark-rgb) / 0.7);
}
.page-hero--dark .eyebrow {
  color: var(--sky);
}
.page-hero--dark .italic {
  color: var(--sky);
}

/* ---------- Split / prose ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.prose p {
  color: var(--muted);
  max-width: 62ch;
}
.prose p + p {
  margin-top: 1em;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.side-list {
  border-top: 1px solid var(--rule);
}
.side-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
}
.side-list span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Founder card ---------- */
.founder {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: clamp(24px, 4vw, 40px);
  align-items: start;
}
.founder-mark {
  width: 112px;
  height: 112px;
  background: var(--brand);
  color: var(--sky);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 2.6rem;
  letter-spacing: -0.03em;
}
.founder h3 {
  font-size: 1.5rem;
}
.founder .role {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.founder p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 56ch;
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.filter {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 13px;
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.filter:hover {
  border-color: var(--brand);
}
.filter[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}
.work-card[hidden] {
  display: none;
}

/* ---------- Gaming ---------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.package {
  border: 1px solid rgba(191, 219, 254, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(18px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.package--featured {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--dark);
}
.package .hours {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sky);
}
.package--featured .hours {
  color: var(--brand);
}
.package .amount {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.03em;
}
.package--featured .amount {
  color: var(--dark);
}
.package .desc {
  font-size: 0.82rem;
  color: rgb(var(--on-dark-rgb) / 0.6);
}
.package--featured .desc {
  color: rgba(11, 22, 38, 0.7);
}
.package .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(191, 219, 254, 0.35);
  padding: 3px 6px;
  color: var(--sky);
}
.package--featured .badge {
  border-color: rgba(11, 22, 38, 0.25);
  color: var(--brand);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.spec-cell {
  background: var(--paper);
  padding: clamp(18px, 2.4vw, 26px);
}
.spec-cell .k {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-cell .v {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.game {
  background: var(--paper);
  padding: 16px 18px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.game::after {
  content: "▸";
  color: var(--rule);
  font-size: 0.7rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}
.feature {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.feature h3 {
  font-size: 1.15rem;
}
.feature p {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Roles ---------- */
.role-list {
  border-top: 1px solid var(--rule);
}
.role {
  border-bottom: 1px solid var(--rule);
}
.role summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
}
.role summary::-webkit-details-marker {
  display: none;
}
.role summary h3 {
  font-size: 1.4rem;
  font-weight: 500;
}
.role summary .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.role summary .meta span {
  border: 1px solid var(--rule);
  padding: 3px 7px;
}
.role summary .plus {
  justify-self: end;
  color: var(--brand);
  transition: transform 0.2s ease;
}
.role[open] summary .plus {
  transform: rotate(45deg);
}
.role-body {
  padding: 0 4px 26px;
  display: grid;
  gap: 14px;
  max-width: 70ch;
}
.role-body p {
  color: var(--muted);
  font-size: 0.92rem;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.role-body ul {
  list-style: disc;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.role-body ul li {
  margin-top: 4px;
}
.role-body .role-actions {
  margin-top: 4px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.form-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: clamp(22px, 3.5vw, 38px);
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 11px 13px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.18s ease;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
}
.field [aria-invalid="true"] {
  border-color: var(--error);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field-error {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  color: var(--error);
}
.form-note {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 14px;
}
.form-status {
  margin-top: 14px;
  font-size: 0.82rem;
  border-left: 2px solid var(--brand);
  padding-left: 10px;
  color: var(--ink);
}
.form-status[hidden] {
  display: none;
}
.contact-card {
  border-top: 1px solid var(--rule);
}
.contact-card .row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-card .k {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.contact-card .v {
  font-size: 0.95rem;
  text-align: right;
  font-weight: 500;
}
.contact-card .v small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
}
.map-wrap {
  border: 1px solid var(--rule);
  margin-top: 20px;
  overflow: hidden;
  background: var(--paper-2);
}
.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgb(var(--on-dark-rgb) / 0.7);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(191, 219, 254, 0.35);
  color: var(--sky);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.86rem;
  max-width: 34ch;
  line-height: 1.7;
}
.footer-contact {
  margin-top: 16px;
  font-size: 0.86rem;
  line-height: 1.9;
}
.footer-contact a:hover {
  color: var(--white);
}
.site-footer h3 {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 500;
}
.footer-links {
  margin-top: 14px;
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(191, 219, 254, 0.16);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.74rem;
}
.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
}
.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero-panel {
    /* Card styling holds at every width; only the grid changes. */
    padding: clamp(18px, 3vw, 24px);
  }
  .gaming-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
  .principles {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-row {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 20px 0;
  }
  .service-row p {
    grid-column: 2 / 3;
    margin-top: 4px;
  }
  .service-row .service-copy {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin-top: 4px;
  }
  .service-row .service-copy p {
    margin-top: 0;
  }
  .service-row .arrow {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .founder {
    grid-template-columns: minmax(0, 1fr);
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .role summary {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 10px;
  }
  .role summary .meta {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .role summary .plus {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-grid {
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .brand-mark {
    width: 58px;
    height: 36px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-tag {
    display: none;
  }
  .hero-stat span {
    max-width: 10ch;
  }
  .package-grid,
  .spec-grid,
  .game-grid,
  .feature-grid,
  .process {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-card .row {
    flex-direction: column;
    gap: 4px;
  }
  .contact-card .v {
    text-align: left;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker-track {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn svg,
  .plate img,
  .service-row .arrow {
    transition: none;
  }
}

/* ==========================================================================
   Expansion: services dropdown, service pages, blog, legal, widgets
   ========================================================================== */

/* ---------- Header: segmented nav rail ---------- */
.nav ul {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper-2);
}
.nav a {
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}
/* Rail replaces the underline indicator with a filled chip. */
.nav a::after {
  display: none;
}
.nav a:hover {
  background: color-mix(in srgb, var(--white) 72%, transparent);
}
.nav a[aria-current="page"] {
  background: var(--white);
  box-shadow: 0 1px 2px rgba(14, 42, 87, 0.14);
}
/* Keyboard focus stays inside the rail instead of bleeding over its border. */
.nav a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.header-cta {
  margin-left: 16px;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-item .caret {
  margin-top: 1px;
  opacity: 0.6;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 12px;
  transform: translate(-50%, 6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 2px 20px;
  min-width: 440px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  /* Softened to sit under the pill rail instead of reading as a hard box. */
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 36px rgba(14, 42, 87, 0.09);
}
.dropdown-panel a {
  padding: 8px 10px;
  font-size: 0.8rem;
  color: var(--ink);
  border-radius: var(--radius);
}
.dropdown-panel a:hover {
  background: var(--paper-2);
}
.dropdown-panel .dropdown-all {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
/* Slim single-column variant for short dropdowns (e.g. Work). */
.dropdown-panel--slim {
  grid-template-columns: 1fr;
  min-width: 230px;
}
.mobile-service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
  padding: 4px 0 14px;
}
.mobile-service-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  padding: 5px 0;
}
.mobile-service-links a:hover {
  color: var(--brand);
}
.mobile-nav li.mobile-sub {
  border-bottom: 0;
  padding-bottom: 6px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: clamp(22px, 3vw, 34px);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--brand);
}
.breadcrumb span[aria-hidden] {
  opacity: 0.45;
}

/* ---------- Service detail ---------- */
.tags--lg {
  gap: 8px;
}
.tags--lg .tag {
  font-size: 0.64rem;
  padding: 6px 10px;
}
.quote-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: clamp(24px, 4vw, 40px);
}
.quote-panel h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-top: 12px;
  max-width: 24ch;
}
.quote-panel p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 56ch;
  font-size: 0.94rem;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: clamp(20px, 2.6vw, 28px);
}
.price-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: rgb(var(--on-dark-rgb) / 0.78);
}
.price-name {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card--featured .price-name {
  color: var(--sky);
}
.price-amount {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price-card--featured .price-amount {
  color: var(--paper);
}
.price-list {
  display: grid;
  gap: 7px;
  margin: 4px 0 auto;
  font-size: 0.86rem;
}
.price-list li {
  padding-left: 16px;
  position: relative;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--brand);
}
.price-card--featured .price-list li::before {
  background: var(--sky);
}
.price-card .btn {
  margin-top: 8px;
  width: 100%;
}
.price-card--featured .btn {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--dark);
}
.price-card--featured .btn:hover {
  background: var(--paper);
  border-color: var(--paper);
}
.related-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.related-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--paper);
  padding: 18px 20px;
  font-size: 0.92rem;
}
.related-service:hover {
  background: var(--paper-2);
}

/* ---------- Blog index ---------- */
.blog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.blog-tools .filters {
  margin-bottom: 0;
}
.blog-search input {
  width: min(300px, 70vw);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 9px 13px;
  font-size: 0.86rem;
  border-radius: var(--radius);
  outline: none;
}
.blog-search input:focus {
  border-color: var(--brand);
}
.result-count {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px) clamp(16px, 2.2vw, 26px);
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Skip layout/paint for cards far below the fold; keeps scroll smooth. */
  content-visibility: auto;
  contain-intrinsic-size: auto 460px;
}
.post-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.post-card:hover .post-thumb img {
  transform: scale(1.03);
}
.post-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-meta span:first-child {
  color: var(--brand);
}
.post-card h3 {
  font-size: 1.22rem;
  line-height: 1.15;
}
.post-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-excerpt {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding-bottom: clamp(14px, 2vw, 24px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 6px;
}
.post-card--featured .post-thumb {
  aspect-ratio: 16 / 9;
}
.post-card--featured h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.post-card--featured .post-excerpt {
  -webkit-line-clamp: 4;
}
.empty-state {
  border: 1px dashed var(--rule);
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Blog article ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--brand);
  z-index: 70;
}
.article-header {
  padding-block: clamp(30px, 5vw, 56px) clamp(26px, 4vw, 40px);
  border-bottom: 1px solid var(--rule);
}
.article-container {
  max-width: 820px;
}
.article-header h1 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  margin-top: 18px;
  max-width: 22ch;
}
.article-header .lead {
  margin-top: 16px;
  color: var(--muted);
}
.byline {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-cover {
  margin-top: clamp(26px, 4vw, 44px);
  border: 1px solid var(--rule);
}
.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-body {
  padding-block: clamp(30px, 4vw, 48px);
  max-width: 68ch;
  font-size: 1.04rem;
  line-height: 1.75;
}
.article-body h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  margin-top: 1.8em;
  margin-bottom: 0.55em;
}
.article-body p {
  margin-top: 1em;
  color: #24405f;
}
.article-body strong {
  color: var(--ink);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule);
}
.share-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.share-btn {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  background: transparent;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ink);
}
.share-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.author-box {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-block: 26px;
}
.author-box .founder-mark {
  width: 56px;
  height: 56px;
  font-size: 1.3rem;
}
.author-box h3 {
  font-size: 1.1rem;
}
.author-box p {
  margin-top: 5px;
  font-size: 0.86rem;
  color: var(--muted);
}
.related-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.related-post {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.related-post img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.related-post .cat {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 6px;
}
.related-post h3 {
  font-size: 1.15rem;
}
.related-post:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Legal ---------- */
.legal-updated {
  margin-top: 18px;
  color: var(--muted);
}
.legal-body {
  max-width: 780px;
}
.legal-body h2 {
  font-size: 1.45rem;
  margin-top: 2em;
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 70ch;
}

/* ---------- Newsletter ---------- */
.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 44px);
  margin-bottom: clamp(30px, 4vw, 44px);
  border-bottom: 1px solid rgba(191, 219, 254, 0.16);
}
.footer-newsletter .eyebrow {
  color: var(--sky);
}
.footer-newsletter h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--paper);
  margin-top: 10px;
}
.footer-newsletter p {
  margin-top: 8px;
  font-size: 0.86rem;
  max-width: 46ch;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.newsletter-form input {
  flex: 1 1 220px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(191, 219, 254, 0.3);
  color: var(--paper);
  padding: 10px 13px;
  font-size: 0.88rem;
  border-radius: var(--radius);
  outline: none;
}
.newsletter-form input::placeholder {
  color: rgb(var(--on-dark-rgb) / 0.4);
}
.newsletter-form input:focus {
  border-color: var(--sky);
}
.newsletter-status {
  flex-basis: 100%;
  font-size: 0.76rem;
  color: var(--sky);
}
.newsletter-status[hidden] {
  display: none;
}

/* ---------- Floating widgets ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(14, 42, 87, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.fab:hover {
  background: var(--ink);
  transform: translateY(-2px);
}
.to-top {
  position: fixed;
  right: 23px;
  bottom: 80px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 42, 87, 0.12);
}
.to-top[hidden] {
  display: none;
}
.to-top:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- 404 ---------- */
.error-page {
  padding-block: clamp(70px, 12vw, 150px);
}
.error-page h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  margin-top: 16px;
  max-width: 20ch;
}
.error-page .lead {
  margin-top: 18px;
}
.error-page .hero-actions {
  margin-top: 28px;
}

/* ---------- Hero with artwork plate ---------- */
/* Used by service pages and the About / Career / Gaming heroes. */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-plate {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--dark);
}
/* On navy bands the plate needs a quieter frame than the page hairline. */
.page-hero--dark .hero-plate {
  border-color: rgba(191, 219, 254, 0.22);
}

/* ---------- Open source repo cards ---------- */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.repo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.repo-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.repo-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.repo-head h3 {
  font-size: 1.02rem;
  line-height: 1.2;
  word-break: break-word;
}
.repo-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.repo-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.repo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.repo-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.repo-lang i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
}
.repo-home {
  color: var(--brand);
}
@media (max-width: 1000px) {
  .repo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .repo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* GitHub mark inside a button reads better a touch heavier. */
.btn svg {
  flex: none;
}

/* ---------- Analytics consent ---------- */
/* Only appears while the visitor has not answered; never blocks the page. */
.consent {
  position: fixed;
  left: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 36px rgba(14, 42, 87, 0.14);
}
.consent-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.consent-text a {
  color: var(--brand);
  border-bottom: 1px solid currentColor;
}
.consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  .consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}

/* ---------- Slight rounding on large surfaces ---------- */
.plate,
.founder,
.form-card,
.map-wrap,
.quote-panel,
.price-card,
.session-card,
.post-thumb,
.article-cover,
.article-body img {
  border-radius: var(--radius-lg);
}
/* Hairline grids need clipping so the corner rounding cuts the inner rules. */
.spec-grid,
.game-grid,
.related-services {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* ---------- Responsive additions ---------- */
/* Single source of truth for collapsing the desktop nav to the hamburger. */
@media (max-width: 1180px) {
  .nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
    margin-left: auto;
  }
}
/* Tablet: hero stats sit as a 2-up card instead of one long column. */
@media (min-width: 521px) and (max-width: 1040px) {
  .hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
  }
  .hero-panel .panel-head,
  .hero-panel .panel-foot {
    grid-column: 1 / -1;
  }
}
/* Plate heroes stack: text first, artwork underneath. */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1000px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-card--featured {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .price-grid,
  .related-services,
  .related-posts,
  .footer-newsletter {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-card--featured {
    margin-bottom: 0;
  }
  .blog-tools {
    align-items: stretch;
  }
  .blog-search input {
    width: 100%;
  }
  .article-body {
    font-size: 1rem;
  }
  .fab {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
  .to-top {
    right: 15px;
    bottom: 70px;
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 520px) {
  .related-services,
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-header h1 {
    font-size: 2rem;
  }
  .share-row {
    gap: 6px;
  }
}

/* ---------- Spacing fixes ---------- */
.article-header .post-meta--lg {
  margin-top: 14px;
}
.service-copy .tags {
  margin-top: 8px;
}

/* ---------- Mobile service sub-links (specificity fix) ---------- */
.mobile-nav .mobile-service-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.35;
  padding: 6px 0;
}
.mobile-nav li.mobile-sub {
  border-bottom: 0;
}
@media (max-width: 380px) {
  .mobile-service-links {
    grid-template-columns: minmax(0, 1fr);
  }
}
.legal-body {
  margin-inline: auto;
}

/* ---------- Gaming Zone — Neon Arcade (red) ----------
   The one page that leaves the editorial palette. Everything here is scoped
   to .page-gaming so the rest of the site keeps the navy/sky system. */
.page-gaming {
  --gz-bg: #070a10;
  --gz-ink: #eef4fb;
  --gz-dim: #93a3b8;
  --gz-faint: #8294a8;
  --gz-red: #ff3b3b;
  --gz-red-hi: #ff7a52;
  --gz-line: rgba(255, 59, 59, 0.2);
  --gz-line-soft: rgba(255, 255, 255, 0.09);
  background: var(--gz-bg);
  color: var(--gz-ink);
}
.page-gaming ::selection {
  background: var(--gz-red);
  color: #0a0e14;
}

/* Header and menu invert on this page so the dark field reads as one surface. */
.page-gaming .site-header {
  background: rgba(7, 10, 16, 0.88);
  border-bottom-color: var(--gz-line-soft);
}
.page-gaming .brand-name {
  color: var(--gz-ink);
}
.page-gaming .brand-tag {
  color: var(--gz-faint);
}
.page-gaming .brand-mark {
  /* The mark is a navy plate with sky letters; inverting it turns into a white
     block, so leave it alone and let the plate read on the dark header. */
  border-radius: 5px;
}
.page-gaming .nav a {
  color: #aebccd;
}
.page-gaming .nav a::after {
  background: var(--gz-red);
}
.page-gaming .nav a:hover,
.page-gaming .nav a[aria-current="page"] {
  color: var(--gz-red);
}
.page-gaming .nav-toggle {
  border-color: rgba(255, 255, 255, 0.2);
}
.page-gaming .nav-toggle-lines,
.page-gaming .nav-toggle-lines::before,
.page-gaming .nav-toggle-lines::after {
  background: var(--gz-ink);
}
.page-gaming .header-cta .btn {
  background: var(--gz-red);
  border-color: var(--gz-red);
  color: #0a0e14;
}
.page-gaming .header-cta .btn:hover {
  background: var(--gz-red-hi);
  border-color: var(--gz-red-hi);
}
.page-gaming .mobile-nav {
  background: var(--gz-bg);
  border-top-color: var(--gz-line-soft);
}.page-gaming .mobile-nav li {
  border-bottom-color: var(--gz-line-soft);
}
.page-gaming .mobile-nav li a,
.page-gaming .mobile-nav li span {
  color: var(--gz-ink);
}
.page-gaming .mobile-nav .mobile-service-links a,
.page-gaming .mobile-nav .mobile-contact {
  color: var(--gz-dim);
}

/* Buttons, labels and leads follow the red accent. */
.page-gaming .btn {
  background: var(--gz-red);
  border-color: var(--gz-red);
  color: #0a0e14;
}
.page-gaming .btn:hover {
  background: var(--gz-red-hi);
  border-color: var(--gz-red-hi);
  color: #0a0e14;
  box-shadow: 0 10px 30px rgba(255, 59, 59, 0.26);
}
.page-gaming .btn--ghost {
  background: transparent;
  color: var(--gz-ink);
  border-color: rgba(255, 255, 255, 0.22);
}
.page-gaming .btn--ghost:hover {
  background: transparent;
  border-color: var(--gz-red);
  color: var(--gz-red);
  box-shadow: none;
}
.page-gaming .eyebrow {
  color: var(--gz-red);
}
.page-gaming .lead {
  color: var(--gz-dim);
}
.page-gaming .section-head h2 {
  color: var(--gz-ink);
}
.page-gaming .section-head p {
  color: var(--gz-dim);
}

/* ---------- Hero ---------- */
.gz-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 84px) clamp(40px, 6vw, 70px);
}
.gz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(56% 78% at 4% 0%, rgba(255, 59, 59, 0.17), transparent 62%),
    radial-gradient(46% 64% at 98% 96%, rgba(255, 122, 82, 0.1), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(82% 92% at 36% 32%, #000 38%, transparent);
  mask-image: radial-gradient(82% 92% at 36% 32%, #000 38%, transparent);
}
.gz-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.gz-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.gz-title {
  margin-top: 14px;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.35rem, 6.4vw, 4.3rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.gz-title span {
  display: block;
  color: var(--gz-red);
  text-shadow: 0 0 46px rgba(255, 59, 59, 0.42);
}
.gz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.gz-chips span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--gz-line-soft);
  color: #b9c7d8;
  border-radius: 3px;
}
.gz-chips span.is-hot {
  border-color: rgba(255, 59, 59, 0.55);
  color: var(--gz-red);
  background: rgba(255, 59, 59, 0.07);
}

/* Rotating gradient border around the rate card. */
@property --gz-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.gz-card {
  position: relative;
  padding: 1.5px;
  border-radius: 8px;
  background: conic-gradient(
    from var(--gz-angle),
    var(--gz-red),
    var(--gz-red-hi),
    var(--gz-red)
  );
  animation: gz-spin 8s linear infinite;
  box-shadow: 0 0 44px rgba(255, 59, 59, 0.14);
}
@keyframes gz-spin {
  to {
    --gz-angle: 360deg;
  }
}
.gz-card-in {
  background: #080c13;
  border-radius: 7px;
  padding: 22px;
}
.gz-card-cap {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gz-red);
  padding-bottom: 11px;
  border-bottom: 1px solid var(--gz-line-soft);
}
.gz-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}
.gz-row:last-of-type {
  border-bottom: 0;
}
.gz-row span {
  font-size: 0.8rem;
  color: var(--gz-dim);
}
.gz-row b {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gz-ink);
}
.gz-card-foot {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--gz-faint);
  line-height: 1.6;
}
.gz-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gz-red);
  color: #0a0e14;
  padding: 3px 8px;
  border-radius: 3px;
}

/* ---------- Ticker ---------- */
.gz-ticker {
  border-block: 1px solid var(--gz-line-soft);
  background: rgba(255, 59, 59, 0.035);
  overflow: hidden;
  padding-block: 10px;
}
.gz-tick {
  display: flex;
  width: max-content;
  gap: 38px;
  animation: gz-slide 38s linear infinite;
}
.gz-ticker:hover .gz-tick {
  animation-play-state: paused;
}
.gz-tick span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gz-dim);
  white-space: nowrap;
}
.gz-tick span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gz-red);
  rotate: 45deg;
}
@keyframes gz-slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Rates ---------- */
.gz-rates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.gz-rate {
  border: 1px solid var(--gz-line-soft);
  border-radius: 6px;
  padding: clamp(16px, 2vw, 22px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 72%);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.gz-rate:hover {
  border-color: var(--gz-line);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 59, 59, 0.1);
}
.gz-rate .h {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gz-faint);
}
.gz-rate b {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}
.gz-rate small {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--gz-faint);
  line-height: 1.5;
}
.gz-rate.is-hot {
  border-color: rgba(255, 59, 59, 0.45);
  background: linear-gradient(180deg, rgba(255, 59, 59, 0.12), transparent 72%);
}
.gz-rate.is-hot b {
  color: var(--gz-red);
}

/* ---------- No-discount note ---------- */
.gz-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(255, 59, 59, 0.28);
  border-left: 3px solid var(--gz-red);
  background: rgba(255, 59, 59, 0.05);
  border-radius: 6px;
}
.gz-note .mark {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.8;
  color: var(--gz-red);
}
.gz-note h3 {
  font-size: 1.05rem;
  color: var(--gz-ink);
}
.gz-note p {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--gz-dim);
  max-width: 66ch;
}

/* ---------- Games grid ---------- */
.gz-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.gz-game {
  display: grid;
  grid-template-columns: 24px 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--gz-line-soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease,
    box-shadow 0.25s ease;
}
.gz-game:hover {
  border-color: var(--gz-line);
  background: rgba(255, 59, 59, 0.055);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 59, 59, 0.09);
}
.gz-game .rk {
  font-family: var(--mono);
  font-size: 0.56rem;
  color: var(--gz-faint);
}
.gz-game .ic {
  display: flex;
  color: #8fa3ba;
  transition: color 0.18s ease;
}
.gz-game .ic svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gz-game:hover .ic {
  color: var(--gz-red);
}
.gz-game .nm {
  font-size: 0.83rem;
  color: #dbe7f4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gz-game .gn {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gz-faint);
  white-space: nowrap;
}
.gz-new {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gz-red);
  color: #0a0e14;
  padding: 1.5px 4px;
  border-radius: 2px;
  flex: none;
}
.gz-games-foot {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gz-faint);
}

/* ---------- Spec strip ---------- */
.gz-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--gz-line-soft);
  background: var(--gz-line-soft);
  border-radius: 6px;
  overflow: hidden;
}
.gz-spec {
  background: #080d14;
  padding: clamp(16px, 2.2vw, 24px);
}
.gz-spec .k {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gz-faint);
}
.gz-spec .v {
  margin-top: 7px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #dbe7f4;
}
.gz-spec .bar {
  margin-top: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.gz-spec .bar i {
  display: block;
  height: 2px;
  width: var(--w, 80%);
  background: linear-gradient(90deg, var(--gz-red), var(--gz-red-hi));
}

/* ---------- Closing band ---------- */
.gz-cta {
  border-top: 1px solid var(--gz-line-soft);
  text-align: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.gz-cta h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.gz-cta .gz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.page-gaming .site-footer {
  border-top: 1px solid var(--gz-line-soft);
}

@media (max-width: 1000px) {
  .gz-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gz-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .gz-rates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gz-specs {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .gz-games,
  .gz-rates {
    grid-template-columns: minmax(0, 1fr);
  }
  .gz-note {
    flex-direction: column;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gz-card,
  .gz-tick {
    animation: none;
  }
}

/* Dark header rail and dropdowns for the Gaming Zone page. */
.page-gaming .nav ul {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}
.page-gaming .nav a:hover {
  background: rgba(255, 255, 255, 0.09);
}
.page-gaming .nav a[aria-current="page"] {
  background: rgba(255, 59, 59, 0.16);
  color: var(--gz-red);
  box-shadow: none;
}
.page-gaming .nav a:focus-visible {
  outline-color: var(--gz-red);
}
.page-gaming .dropdown-panel {
  background: #0b111a;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}
.page-gaming .dropdown-panel a {
  color: #cfdae8;
}
.page-gaming .dropdown-panel a:hover {
  background: rgba(255, 255, 255, 0.07);
}
.page-gaming .dropdown-panel .dropdown-all {
  color: var(--gz-red);
  border-top-color: rgba(255, 255, 255, 0.12);
}
.page-gaming .mobile-nav a:focus-visible {
  outline-color: var(--gz-red);
}
/* Tighter section rhythm: the arcade page reads better denser than the
   editorial pages, which use the wider default. */
.page-gaming .section {
  padding-block: clamp(44px, 5.5vw, 72px);
}

/* ---------- Gaming Zone: info strip ---------- */
.gz-strip {
  border-bottom: 1px solid var(--gz-line-soft);
  background: rgba(255, 255, 255, 0.015);
}
.gz-strip-in {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.gz-strip-in > div {
  padding: 16px 22px;
  border-left: 1px solid var(--gz-line-soft);
}
.gz-strip-in > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.gz-strip .k {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gz-red);
}
.gz-strip .v {
  margin-top: 5px;
  font-size: 0.88rem;
  color: #dbe7f4;
}

/* ---------- Gaming Zone: footer and widgets ---------- */
.page-gaming .site-footer {
  background: #080c13;
  color: rgba(238, 244, 251, 0.62);
  border-top: 1px solid var(--gz-line-soft);
}
.page-gaming .footer-newsletter {
  border-bottom-color: var(--gz-line-soft);
}
.page-gaming .footer-newsletter .eyebrow {
  color: var(--gz-red);
}
.page-gaming .footer-newsletter h2 {
  color: var(--gz-ink);
}
.page-gaming .footer-mark {
  border-color: rgba(255, 59, 59, 0.45);
  background: rgba(255, 59, 59, 0.08);
  color: var(--gz-red);
}
.page-gaming .site-footer h3 {
  color: var(--gz-red);
}
.page-gaming .footer-links a:hover,
.page-gaming .footer-contact a:hover,
.page-gaming .footer-bottom a:hover {
  color: var(--gz-red);
}
.page-gaming .footer-bottom {
  border-top-color: var(--gz-line-soft);
}
.page-gaming .newsletter-form input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--gz-ink);
}
.page-gaming .newsletter-form input::placeholder {
  color: var(--gz-faint);
}
.page-gaming .newsletter-form input:focus {
  border-color: var(--gz-red);
}
.page-gaming .newsletter-form .btn {
  background: var(--gz-red);
  border-color: var(--gz-red);
  color: #0a0e14;
}
.page-gaming .newsletter-form .btn:hover {
  background: var(--gz-red-hi);
  border-color: var(--gz-red-hi);
}
.page-gaming .newsletter-status {
  color: var(--gz-red);
}
.page-gaming .fab {
  background: var(--gz-red);
  color: #0a0e14;
  box-shadow: 0 10px 26px rgba(255, 59, 59, 0.28);
}
.page-gaming .fab:hover {
  background: var(--gz-red-hi);
}
.page-gaming .to-top {
  background: #0b111a;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--gz-ink);
}
.page-gaming .to-top:hover {
  border-color: var(--gz-red);
  color: var(--gz-red);
}
.page-gaming .brand-mark--gz {
  filter: drop-shadow(0 0 10px rgba(255, 59, 59, 0.35));
}

@media (max-width: 760px) {
  .gz-strip-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .gz-strip-in > div {
    padding: 13px 0;
    border-left: 0;
    border-top: 1px solid var(--gz-line-soft);
  }
  .gz-strip-in > div:first-child {
    border-top: 0;
  }
}

/* Visit line under the closing band: address, hours, directions. */
.gz-visit {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--gz-faint);
}
.gz-visit a {
  color: var(--gz-red);
  border-bottom: 1px solid rgba(255, 59, 59, 0.35);
  padding-bottom: 1px;
}
.gz-visit a:hover {
  border-bottom-color: var(--gz-red);
}
