/* ============================================================
   FROZEN LOGIC STUDIOS — bold playful indie website
   ============================================================ */

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

:root {
  /* Palette — warm cream + brand blue + coral */
  --bg: #F2EBDD;
  --bg-2: #ECE3D0;
  --paper: #FAF6EC;
  --ink: #0F1419;
  --ink-soft: #2A2F36;
  --muted: #6B6960;
  --line: #1F2228;
  --blue: #29ABE2;
  --blue-deep: #1B7BA8;
  --blue-soft: #BFE5F5;
  --accent: #FF6B47;
  --accent-2: #FFC857;
  --green: #4FB477;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  --shadow-flat: 4px 4px 0 var(--ink);
  --shadow-flat-sm: 2px 2px 0 var(--ink);

  --container: 1320px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);

  --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Inter", "DM Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============================================================
   NAV — pill, sticky-ish
   ============================================================ */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px var(--pad);
  background: transparent;
  pointer-events: none;
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  pointer-events: auto;
  box-shadow: var(--shadow-flat-sm);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-logo svg { height: 22px; width: auto; }
.nav-logo .mark { color: var(--blue); }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all .2s ease;
}
.nav-links a:hover { color: var(--paper); background: rgba(255,255,255,0.08); }
.nav-cta {
  background: var(--blue);
  color: var(--ink) !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
  border-radius: 100px;
  font-size: 14px;
  transition: all .2s ease;
}
.nav-cta:hover { background: var(--paper); transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 40px var(--pad) 36px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: var(--container); margin: 0 auto; position: relative; }

.hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hero-meta .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(79,180,119,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(79,180,119,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(79,180,119,0.0); }
}

.hero-headline {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 9.5vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero-headline .line-2 { display: block; }
.hero-headline .swatch {
  display: inline-block;
  vertical-align: -0.05em;
  width: 0.85em; height: 0.85em;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 0.05em;
  border: 4px solid var(--ink);
}
.hero-headline em {
  font-style: italic;
  font-family: "Bricolage Grotesque", serif;
  color: var(--blue);
  font-weight: 400;
}

.hero-row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: end;
}
.hero-tagline {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.45;
}
.hero-tagline strong { font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all .2s ease;
  border: 2px solid var(--ink);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--ink); transform: translate(-2px, -2px); box-shadow: var(--shadow-flat); }
.btn-blue { background: var(--blue); color: var(--ink); }
.btn-blue:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-flat); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero strip — sliding game capsules */
.hero-strip {
  margin-top: 60px;
  padding: 16px 0;
  background: var(--ink);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
}
.hero-strip-track {
  display: flex;
  gap: 36px;
  align-items: center;
  animation: scroll 38s linear infinite;
  width: max-content;
  padding-left: 36px;
}
.hero-strip:hover .hero-strip-track { animation-play-state: paused; }
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}
.hero-strip-item .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
}
.hero-strip-item:nth-child(3n) .dot { background: var(--accent); }
.hero-strip-item:nth-child(3n+1) .dot { background: var(--accent-2); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section {
  padding: 100px var(--pad);
  position: relative;
}
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--ink);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 720px;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 380px;
  text-align: right;
}

/* ============================================================
   STEAM GAMES — bento with big art
   ============================================================ */
.steam-section { background: var(--bg); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.game-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.game-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.game-card.featured { grid-column: span 12; }
.game-card.half { grid-column: span 6; }
.game-card.third { grid-column: span 4; }

.game-card .media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink);
}
.game-card.featured .media { aspect-ratio: 21/9; }
.game-card .media iframe,
.game-card .media img,
.game-card .media .placeholder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.game-card .media .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.04) 18px 36px),
    linear-gradient(135deg, #0F1419 0%, #1B2330 100%);
}

.game-card .body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.game-card .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.tag.blue { background: var(--blue); }
.tag.accent { background: var(--accent); color: var(--paper); }
.tag.gold { background: var(--accent-2); }
.tag.dark { background: var(--ink); color: var(--paper); }

.game-card .name {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.game-card.featured .name { font-size: clamp(2rem, 4vw, 3.2rem); }
.game-card .desc { color: var(--muted); font-size: 14px; line-height: 1.5; }
.game-card .meta-row {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.game-card .meta-row a {
  color: var(--ink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.game-card .meta-row a:hover { color: var(--accent); }

/* Featured: split layout */
.game-card.featured { display: grid; grid-template-columns: 1.4fr 1fr; padding: 0; }
.game-card.featured .media { aspect-ratio: auto; min-height: 420px; height: 100%; border-right: 2px solid var(--ink); }
.game-card.featured .body { padding: 36px; gap: 18px; }
.game-card.featured .desc { font-size: 16px; }

@media (max-width: 880px) {
  .game-card.featured { grid-template-columns: 1fr; }
  .game-card.featured .media { aspect-ratio: 16/9; min-height: 0; border-right: none; border-bottom: 2px solid var(--ink); }
  .game-card.half, .game-card.third { grid-column: span 12; }
}

/* ============================================================
   STATS TAPE
   ============================================================ */
.tape {
  background: var(--blue);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  position: relative;
}
.tape-track {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 24px 0;
  animation: scroll 32s linear infinite;
  width: max-content;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tape-track span { display: flex; align-items: center; gap: 24px; }
.tape-track .star {
  width: 22px; height: 22px;
  display: inline-block;
  background: var(--ink);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ============================================================
   MOBILE CATALOG
   ============================================================ */
.mobile-section {
  background: var(--ink);
  color: var(--paper);
  padding-top: 110px;
  padding-bottom: 110px;
}
.mobile-section .section-eyebrow { color: var(--blue-soft); }
.mobile-section .section-eyebrow::before { background: var(--blue); }
.mobile-section .section-title { color: var(--paper); }
.mobile-section .section-title em { color: var(--accent-2); }
.mobile-section .section-sub { color: rgba(255,255,255,0.6); }

.mobile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .mobile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .mobile-grid { grid-template-columns: 1fr; } }

.mobile-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 18px;
  border: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.mobile-card:nth-child(4n+1) { background: var(--paper); }
.mobile-card:nth-child(4n+2) { background: var(--blue-soft); }
.mobile-card:nth-child(4n+3) { background: var(--accent-2); }
.mobile-card:nth-child(4n+4) { background: #FFD9CB; }
.mobile-card:hover {
  transform: translate(-3px, -3px) rotate(-0.5deg);
  box-shadow: 6px 6px 0 #000;
}

.mobile-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.mobile-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  background: var(--bg);
}
.mobile-icon img { width: 100%; height: 100%; object-fit: cover; }
.mobile-name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.mobile-genre {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  opacity: 0.65;
  margin-top: 4px;
}

.mobile-shot {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 2px solid var(--ink);
  background: var(--bg);
}
.mobile-shot img { width: 100%; height: 100%; object-fit: cover; }

.mobile-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.dl-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
}
.dl-badge.hidden { visibility: hidden; }
.mobile-link {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mobile-link:hover { color: var(--accent); }

/* ============================================================
   DISCORD PUSH
   ============================================================ */
.discord-section {
  padding: 100px var(--pad);
  background: var(--accent);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.discord-bg {
  position: absolute;
  inset: 0;
  font-family: var(--f-display);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(15,20,25,0.06);
  white-space: nowrap;
  display: flex;
  align-items: center;
  pointer-events: none;
  user-select: none;
  line-height: 0.85;
}
.discord-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.discord-text h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--ink);
}
.discord-text h2 .underline {
  background: linear-gradient(transparent 60%, var(--paper) 60%);
  padding: 0 2px;
}
.discord-text p {
  font-size: 1.15rem;
  max-width: 460px;
  color: var(--ink);
  margin-bottom: 28px;
}
.discord-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}
.discord-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.discord-stats .stat-num {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.discord-stats .stat-label {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  opacity: 0.7;
}

.discord-visual {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--paper);
}
.discord-visual .channel {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--blue-soft);
  margin-bottom: 18px;
}
.discord-msg {
  display: flex;
  gap: 12px;
  padding: 8px 0;
}
.discord-msg .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}
.discord-msg:nth-child(3) .av { background: var(--accent-2); }
.discord-msg:nth-child(4) .av { background: var(--accent); color: var(--paper); }
.discord-msg .who {
  font-weight: 600;
  font-size: 13px;
  color: var(--paper);
}
.discord-msg .who span {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
  margin-left: 8px;
  font-weight: 400;
}
.discord-msg .text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}

@media (max-width: 880px) {
  .discord-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--bg);
  padding: 110px var(--pad);
}
.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-left h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.contact-left h2 em { font-style: italic; font-weight: 400; color: var(--blue); }
.contact-left p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 420px;
  margin-bottom: 32px;
}
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: all .2s ease;
}
.contact-item:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-flat-sm); }
.contact-item .ico {
  width: 40px; height: 40px;
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item:nth-child(2) .ico { background: var(--accent); }
.contact-item:nth-child(3) .ico { background: var(--accent-2); }
.contact-item .ico svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2; }
.contact-item .label {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.contact-item .value { font-weight: 600; font-size: 15px; }

.contact-form {
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 6px 6px 0 var(--blue);
}
.contact-form h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.contact-form .sub {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 14.5px;
  transition: all .2s ease;
}
.form-group select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(135deg, var(--paper) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 12px) center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(41,171,226,0.08);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--ink);
  border: 2px solid var(--blue);
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--f-body);
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.form-submit:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

@media (max-width: 880px) { .contact-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   CONSULTING
   ============================================================ */
.consulting-section { background: var(--bg-2); }
.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.consulting-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.consulting-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.consulting-num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: var(--blue);
  border: 2px solid var(--ink);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.consulting-card:nth-child(2) .consulting-num { background: var(--accent); }
.consulting-card:nth-child(3) .consulting-num { background: var(--accent-2); color: var(--ink); }
.consulting-card h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.consulting-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.consulting-cta {
  margin-top: 28px;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.consulting-cta span {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.01em;
  max-width: 30ch;
}
.consulting-cta .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.consulting-cta .btn-primary:hover { background: var(--accent); color: var(--ink); border-color: var(--ink); }

@media (max-width: 880px) {
  .consulting-grid { grid-template-columns: 1fr; }
  .consulting-cta { flex-direction: column; align-items: flex-start; }
}
body.palette-night .consulting-section { background: var(--bg-2); }
body.palette-night .consulting-card { background: var(--bg); color: var(--paper); }
body.palette-night .consulting-cta span { color: var(--bg); }
body.palette-night .consulting-cta { background: var(--paper); }
body.palette-night .consulting-cta .btn-primary { background: var(--bg); color: var(--paper); border-color: var(--bg); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px var(--pad) 30px;
  border-top: 2px solid var(--ink);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .name {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-brand .name em { color: var(--blue); font-style: normal; }
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .hero-row { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions { justify-content: flex-start; }
  .nav-links { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-sub { text-align: left; }
  .section { padding: 70px var(--pad); }
}

/* Density tweak */
body.density-compact .section { padding: 70px var(--pad); }
body.density-compact .hero { padding: 32px var(--pad) 28px; }
body.density-compact .game-card .body { padding: 16px 18px 18px; }
body.density-compact .mobile-card { padding: 14px; }

/* Palette variants — switched via JS by toggling body class */
body.palette-mono {
  --bg: #F5F5F5;
  --bg-2: #ECECEC;
  --paper: #FFFFFF;
  --accent: #29ABE2;
  --accent-2: #29ABE2;
  --blue: #29ABE2;
}
body.palette-night {
  --bg: #0F1419;
  --bg-2: #1A2028;
  --paper: #F2EBDD;
  --ink: #F2EBDD;
  --ink-soft: #D6CFC0;
  --muted: #8E8B83;
  --line: #FFFFFF;
}
body.palette-night .nav { background: var(--paper); color: var(--bg); }
body.palette-night .nav-links a { color: rgba(15,20,25,0.7); }
body.palette-night .nav-links a:hover { color: var(--bg); background: rgba(15,20,25,0.08); }
body.palette-night .game-card { background: var(--bg-2); color: var(--paper); }
body.palette-night .game-card .meta-row a { color: var(--paper); }
body.palette-night .tag { background: var(--bg); color: var(--paper); border-color: var(--paper); }
body.palette-night .mobile-section { background: var(--paper); color: var(--bg); }
body.palette-night .mobile-section .section-title { color: var(--bg); }
body.palette-night .mobile-card { color: var(--bg); }
body.palette-night .contact-section { background: var(--bg-2); }
body.palette-night .contact-item { background: var(--bg); color: var(--paper); border-color: var(--paper); }
body.palette-night .btn-primary { background: var(--paper); color: var(--bg); border-color: var(--paper); }

/* Hero variant: minimal (no strip) */
body.hero-minimal .hero-strip { display: none; }
body.hero-minimal .hero { padding-bottom: 40px; }

/* Hero variant: video-forward */
body.hero-video .hero-row { grid-template-columns: 1fr 1fr; }
body.hero-video .hero-video-slot {
  display: block !important;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-flat);
}
.hero-video-slot { display: none; }
.hero-video-slot iframe { width: 100%; height: 100%; border: 0; }
