/*
Theme Name: FingerNic Studio
Theme URI: https://fingernicstudio.com
Author: FingerNic
Author URI: https://fingernicstudio.com
Description: A full-cycle game and app studio theme for showcasing games, mobile apps, services, portfolio, and case studies. Built for global digital product studios.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fingernic-studio
Domain Path: /languages
Tags: custom-colors, custom-logo, full-width-template, theme-options, two-columns, three-columns, custom-menu, featured-images, sticky-post, translation-ready
*/

/* ── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:          #f7f8fc;
  --bg-2:        #eef2f8;
  --bg-card:     #ffffff;
  --border:      rgba(18, 35, 62, 0.12);
  --border-glow: rgba(22, 142, 129, 0.35);
  --primary:     #168e81;
  --primary-2:   #0b7168;
  --secondary:   #5a56cf;
  --accent:      #b17a12;
  --text:        #4a586c;
  --text-2:      #708096;
  --white:       #152238;
  --cream:       #ffffff;
  --ink:         #101a2c;
  --gradient:    linear-gradient(135deg, #168e81 0%, #5a56cf 100%);
  --gradient-h:  linear-gradient(90deg, #168e81 0%, #5a56cf 100%);
  --glow-primary:0 14px 44px rgba(22,142,129,.14);
  --glow-card:   0 16px 38px rgba(27,47,82,.10);
  --radius-sm:   12px;
  --radius:      20px;
  --radius-lg:   28px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
main, section, article, aside, header, footer,
.container,
.grid-2, .grid-3, .grid-4,
.hero-inner,
.page-hero-inner,
.services-grid,
.projects-grid,
.stats-grid,
.testimonials-grid,
.process-grid,
.contact-form-wrap,
.contact-layout,
.single-layout,
.games-grid,
.genre-grid,
.platform-cards,
.tech-stack-cards,
.features-2col,
.why-grid,
.footer-top,
.footer-links,
.portfolio-meta-inner,
.hp-hero-inner,
.hp-svc-grid,
.hp-work-grid,
.hp-why-grid,
.hp-testi-grid {
  min-width: 0;
}
h1, h2, h3, h4, h5, p, a, span, strong, li {
  overflow-wrap: anywhere;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2d4f; border-radius: 3px; }

/* ── Skip link ─────────────────────────────────────────────────────────────── */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; z-index: 999; }
.skip-link:focus { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); width: auto; height: auto; padding: 12px 24px; background: var(--primary); color: #fff; font-weight: 600; border-radius: 8px; text-decoration: none; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: "Space Grotesk", sans-serif; color: var(--white); line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 700; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p  { color: var(--text); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
}
.kicker::before { content: ""; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 56ch; color: var(--text); font-size: 17px; }
.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-header--center p { margin-left: auto; margin-right: auto; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--bg-2); }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, #060d20 100%); }
.section,
.section-sm,
.hp-section {
  position: relative;
}
.section + .section,
.hp-section + .hp-section {
  border-top: 1px solid rgba(242,239,231,0.045);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px; font-weight: 600;
  transition: var(--transition); border: none;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: rgba(255,255,255,0); transition: background var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(59,130,246,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-glow); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }
.btn-full { width: 100%; justify-content: center; }

/* ── Site Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(3, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 18px; color: var(--white);
  flex-shrink: 0;
}
.logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav a:hover { color: var(--white); background: rgba(18,35,62,0.06); }
.nav .nav-cta {
  background: var(--gradient); color: #fff;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 0 0 0 rgba(59,130,246,0);
  transition: var(--transition);
}
.nav .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,0.35); background: rgba(255,255,255,0); }
.menu-btn {
  display: none; background: transparent;
  border: 1px solid var(--border); color: var(--white);
  border-radius: 8px; padding: 8px 12px; font-size: 14px;
}

/* ── Hero Section ──────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 100px; min-height: 90vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
/* Dot grid */
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
/* Gradient orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.5;
}
.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%); top: -200px; left: -150px; animation: orb-float 12s ease-in-out infinite; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%); bottom: -100px; right: 10%; animation: orb-float 15s ease-in-out infinite reverse; }
.hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%); top: 30%; right: 30%; animation: orb-float 10s ease-in-out infinite 3s; }
@keyframes orb-float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(30px, -20px); } 66% { transform: translate(-20px, 15px); } }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(6,182,212,0.3); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: var(--accent);
  margin-bottom: 28px; background: rgba(6,182,212,0.05);
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero-title { margin-bottom: 20px; }
.hero-lead { font-size: 18px; color: var(--text); max-width: 50ch; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-platforms { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-platforms-label { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: .1em; }
.platform-chip {
  font-size: 12px; color: var(--text); font-weight: 500;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 12px; background: rgba(255,255,255,0.03);
  transition: var(--transition);
}
.platform-chip:hover { border-color: var(--border-glow); color: var(--white); }

/* Launch Card */
.launch-card {
  background: linear-gradient(145deg, rgba(15,25,55,0.9), rgba(10,16,35,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
}
.launch-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient);
}
.launch-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.launch-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(59,130,246,0.3);
  flex-shrink: 0;
}
.launch-card-icon svg { width: 24px; height: 24px; color: #fff; }
.launch-card-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; color: var(--white); }
.launch-card-sub { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.launch-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.launch-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  transition: var(--transition);
}
.launch-item:hover { background: rgba(59,130,246,0.08); border-color: var(--border-glow); transform: translateX(4px); }
.launch-item-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.launch-item-icon svg { width: 18px; height: 18px; }
.launch-item-text { font-size: 14px; font-weight: 500; color: var(--white); }
.launch-item-sub { font-size: 12px; color: var(--text-2); margin-top: 1px; }
.launch-card-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.launch-stat-val { font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; color: var(--white); }
.launch-stat-label { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* Floating chips near hero card */
.float-chips { position: relative; }
.float-chip {
  position: absolute; background: rgba(10,16,35,0.9);
  border: 1px solid var(--border-glow); border-radius: 999px;
  padding: 7px 16px; font-size: 12px; font-weight: 600; color: var(--white);
  backdrop-filter: blur(8px); white-space: nowrap;
  animation: float-gentle 4s ease-in-out infinite;
}
.float-chip--1 { top: -20px; left: -30px; animation-delay: 0s; }
.float-chip--2 { bottom: 60px; right: -20px; animation-delay: 1.5s; }
.float-chip--3 { bottom: -10px; left: 20px; animation-delay: 0.8s; }
@keyframes float-gentle { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── Marquee ───────────────────────────────────────────────────────────────── */
.marquee-section { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.01); overflow: hidden; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; }
.marquee-inner { display: flex; gap: 0; animation: marquee-scroll 25s linear infinite; flex-shrink: 0; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 40px; font-size: 14px; font-weight: 600;
  color: var(--text-2); letter-spacing: .05em;
}
.marquee-item svg { width: 18px; height: 18px; opacity: 0.5; }
.marquee-dot { width: 4px; height: 4px; background: var(--border-glow); border-radius: 50%; margin: 0 20px; }

/* ── Services ──────────────────────────────────────────────────────────────── */
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative; overflow: hidden;
  group: true;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.08), transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: var(--glow-card); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon--blue  { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05)); border: 1px solid rgba(59,130,246,0.2); color: #3b82f6; }
.service-icon--purple{ background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.05)); border: 1px solid rgba(139,92,246,0.2); color: #8b5cf6; }
.service-icon--cyan  { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(6,182,212,0.05)); border: 1px solid rgba(6,182,212,0.2); color: #06b6d4; }
.service-icon--green { background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.05)); border: 1px solid rgba(34,197,94,0.2); color: #22c55e; }
.service-icon--orange{ background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(249,115,22,0.05)); border: 1px solid rgba(249,115,22,0.2); color: #f97316; }
.service-icon--pink  { background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(236,72,153,0.05)); border: 1px solid rgba(236,72,153,0.2); color: #ec4899; }
.service-card h3 { color: var(--white); margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p { font-size: 14px; color: var(--text); line-height: 1.7; position: relative; z-index: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 13px; font-weight: 600;
  margin-top: 20px; transition: gap var(--transition); position: relative; z-index: 1;
}
.service-link:hover { gap: 10px; }
.service-link svg { width: 14px; height: 14px; }

/* ── Process ───────────────────────────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-grid::before {
  content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), var(--border-glow), transparent);
}
.process-step { text-align: center; padding: 0 16px; position: relative; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--bg-2); border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 700; color: var(--primary);
  position: relative; z-index: 1;
  box-shadow: 0 0 20px rgba(59,130,246,0.15);
}
.process-step h4 { color: var(--white); margin-bottom: 8px; font-size: 15px; }
.process-step p { font-size: 13px; color: var(--text-2); }

/* ── Stats ─────────────────────────────────────────────────────────────────── */
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 24px; text-align: center;
  backdrop-filter: blur(10px); transition: var(--transition);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 2px; background: var(--gradient); border-radius: 2px;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.stat-num { font-family: "Space Grotesk", sans-serif; font-size: 52px; font-weight: 800; line-height: 1; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-suffix { font-family: "Space Grotesk", sans-serif; font-size: 32px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 14px; color: var(--text-2); margin-top: 10px; font-weight: 500; }

/* ── Portfolio / Project Cards ─────────────────────────────────────────────── */
.project-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: var(--glow-card); }
.project-thumb {
  height: 200px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), #0c1635);
  display: flex; align-items: center; justify-content: center;
}
.project-thumb-graphic { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.project-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border);
}
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.trust-row span { font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }
p.chip, .chip { display: inline-block; font-size: 13px; font-weight: 600; color: var(--text); background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; margin: 4px 6px 4px 0; }
.tag--blue   { color: #3b82f6; border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.06); }
.tag--purple { color: #8b5cf6; border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.06); }
.tag--cyan   { color: #06b6d4; border-color: rgba(6,182,212,0.3); background: rgba(6,182,212,0.06); }
.tag--green  { color: #22c55e; border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.06); }
.project-body h3 { color: var(--white); margin-bottom: 8px; font-size: 18px; }
.project-body p { font-size: 14px; color: var(--text); flex: 1; }
.project-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 13px; font-weight: 600; margin-top: 20px; transition: gap var(--transition); }
.project-link:hover { gap: 10px; }
.project-link svg { width: 14px; height: 14px; }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  backdrop-filter: blur(10px); position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.testimonial-quote { font-size: 40px; line-height: 1; color: var(--primary); font-family: Georgia, serif; margin-bottom: 16px; opacity: 0.6; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 700; color: #fff;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--white); }
.testimonial-role { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.stars { display: flex; gap: 2px; margin-bottom: 16px; }
.stars svg { width: 14px; height: 14px; color: #fbbf24; fill: #fbbf24; }

/* ── CTA Band ──────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(139,92,246,0.08) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.12) 0%, transparent 70%);
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { max-width: 50ch; margin: 0 auto 36px; font-size: 18px; color: var(--text); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Card (generic) ────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.card:hover { border-color: var(--border-glow); }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand p { font-size: 14px; color: var(--text-2); margin-top: 14px; max-width: 28ch; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: var(--transition);
}
.footer-social-link:hover { border-color: var(--border-glow); color: var(--white); background: rgba(59,130,246,0.1); }
.footer-social-link svg { width: 16px; height: 16px; }
.footer-col h5 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-2); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-2); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-2); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ── Archive pages ─────────────────────────────────────────────────────────── */
.archive-header { padding: 80px 0 40px; }
.archive-filter { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; align-items: flex-end; }
.archive-filter input, .archive-filter select {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--white); border-radius: var(--radius-sm); padding: 12px 16px;
  font-family: inherit; font-size: 14px; outline: none; min-width: 180px;
  transition: border-color var(--transition);
}
.archive-filter input:focus, .archive-filter select:focus { border-color: var(--border-glow); }
.archive-filter select option { background: var(--bg-2); }
.archive-filter label { font-size: 13px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }

/* ── Single posts ──────────────────────────────────────────────────────────── */
.single-header { padding: 80px 0 40px; }
.post-thumbnail { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.post-thumbnail img { width: 100%; object-fit: cover; }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.meta-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.meta-item strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin-bottom: 4px; }
.meta-item span { font-size: 14px; color: var(--white); font-weight: 500; }
.screenshots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.screenshots-grid img { border-radius: var(--radius-sm); border: 1px solid var(--border); }
.terms-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.term-link {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(6,182,212,0.3); background: rgba(6,182,212,0.06);
  transition: var(--transition);
}
.term-link:hover { background: rgba(6,182,212,0.15); }
.post-content { max-width: 72ch; }
.post-content h2, .post-content h3 { color: var(--white); margin: 28px 0 12px; }
.post-content p { color: var(--text); margin-bottom: 16px; }
.post-content ul, .post-content ol { color: var(--text); padding-left: 1.5em; margin-bottom: 16px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--primary); text-decoration: underline; }

/* ── Contact form ──────────────────────────────────────────────────────────── */
.contact-form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; color: var(--text); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--white); border-radius: var(--radius-sm); padding: 14px 16px;
  font-family: inherit; font-size: 14px; outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--border-glow); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.form-checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); font-weight: 400; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-icon--teal { color: var(--primary); background: rgba(64,196,175,.12); border: 1px solid rgba(64,196,175,.22); }
.contact-info-icon--violet { color: var(--secondary); background: rgba(124,109,240,.12); border: 1px solid rgba(124,109,240,.22); }
.contact-info-icon--gold { color: var(--accent); background: rgba(214,168,79,.12); border: 1px solid rgba(214,168,79,.22); }
.contact-info-label { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--white); font-weight: 500; }

/* ── Search & 404 ──────────────────────────────────────────────────────────── */
.error-section { padding: 140px 0; text-align: center; }
.error-copy { max-width: 48ch; margin: 0 auto 32px; }
.error-search { margin-top: 48px; }
.actions-center { justify-content: center; }
.error-code { font-family: "Space Grotesk", sans-serif; font-size: 140px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 16px; }
.archive-hero-inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 60px; }
.archive-hero-copy { max-width: 52ch; margin-top: 16px; }
.grid-span-all { grid-column: 1 / -1; }
.search-results-grid,
.search-empty-card { margin-top: 32px; }
.search-results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.search-results-grid .card { display: flex; flex-direction: column; gap: 12px; }
.search-results-grid .card img { border-radius: var(--radius-sm); }
.search-empty-card { text-align: center; }
@media (max-width: 768px) {
  .search-results-grid { grid-template-columns: 1fr; }
}

/* ── Pagination ─────────────────────────────────────────────────────────────── */
.pagination-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.pagination-wrap .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-weight: 500; transition: var(--transition);
}
.pagination-wrap .page-numbers:hover { border-color: var(--border-glow); color: var(--white); }
.pagination-wrap .current { background: var(--gradient); color: #fff; border: none; }
.pagination-wrap .prev, .pagination-wrap .next { width: auto; padding: 0 16px; }

/* ── Search form ────────────────────────────────────────────────────────────── */
.search-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.search-form input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  border-right: none; color: var(--white); border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 14px 18px; font-family: inherit; font-size: 14px; outline: none;
  transition: border-color var(--transition);
}
.search-form input:focus { border-color: var(--border-glow); }
.search-form button {
  background: var(--gradient); color: #fff; border: none;
  padding: 14px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600; font-size: 14px;
}

/* ── Scroll reveal animations ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.26s; }
.stagger-5 { transition-delay: 0.33s; }
.stagger-6 { transition-delay: 0.40s; }

/* ── Gutenberg block compatibility ─────────────────────────────────────────── */
.wp-block-columns.hero-grid { display: grid !important; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; flex-wrap: unset !important; }
.wp-block-columns.hero-grid > .wp-block-column { flex-grow: 0 !important; flex-basis: auto !important; min-width: 0; }
.wp-block-group { color: inherit; }
.wp-block-heading { color: var(--white); }
.wp-block-list { color: var(--text); padding-left: 1.4em; }
.wp-block-list li { margin-bottom: 8px; }
.wp-block-group.card, .wp-block-group.hero-card, .wp-block-group.cta-band { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(10px); }
.wp-block-group.hero-card { background: rgba(255,255,255,0.8); border-radius: var(--radius-lg); box-shadow: var(--glow-card); }
.wp-block-group.section { padding-top: 80px; padding-bottom: 80px; }
.wp-block-group.hero-section { padding-top: 90px; padding-bottom: 90px; }
.wp-block-buttons.actions { gap: 14px; }
p.kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.wp-block-button__link { border-radius: 999px !important; font-weight: 600 !important; }
.wp-element-button { transition: var(--transition) !important; }
.wp-block-button.is-style-outline .wp-block-button__link { border: 1px solid var(--border) !important; color: var(--white) !important; background: transparent !important; }

/* ── Hero Section (PHP template) ───────────────────────────────────────────── */
.hero-section {
  position: relative; overflow: hidden;
  padding: 110px 0 100px; min-height: 90vh;
  display: flex; align-items: center;
}
.hero-bg-canvas {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.hero-dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { margin: 16px 0 20px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.trust-label { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trust-logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 12px; background: rgba(255,255,255,0.03);
  transition: var(--transition);
}
.trust-logo svg { opacity: 0.6; }
.trust-logo:hover { color: var(--white); border-color: var(--border-glow); }

/* ── Launch card extras ─────────────────────────────────────────────────────── */
.badge {
  margin-left: auto; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); border: 1px solid rgba(6,182,212,0.35);
  border-radius: 999px; padding: 3px 10px;
  background: rgba(6,182,212,0.07);
}
.launch-card h3 { font-size: 18px; color: var(--white); }
.launch-icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.launch-item { color: var(--white); font-size: 14px; font-weight: 500; }
.launch-check { margin-left: auto; color: var(--accent); font-weight: 700; }
.launch-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 20px; border-top: 1px solid var(--border);
  position: relative;
}
.float-chip {
  display: inline-flex; align-items: center;
  background: rgba(10,16,35,0.9); border: 1px solid var(--border-glow);
  border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: var(--white);
  backdrop-filter: blur(8px); white-space: nowrap;
  animation: float-gentle 4s ease-in-out infinite;
  position: static;
}
@keyframes float-gentle { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ── Marquee (PHP template) ─────────────────────────────────────────────────── */
.marquee-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: marquee-half 30s linear infinite;
  will-change: transform;
}
.marquee-track span {
  display: inline-flex; align-items: center;
  padding: 0 24px; font-size: 13px; font-weight: 600;
  color: var(--text-2); letter-spacing: .06em; flex-shrink: 0;
}
.marquee-track span[aria-hidden] { padding: 0 4px; color: var(--border-glow); font-size: 8px; }
@keyframes marquee-half { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Services grid (PHP template) ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card-blue  { --card-accent: #3b82f6; }
.service-card-purple{ --card-accent: #8b5cf6; }
.service-card-cyan  { --card-accent: #06b6d4; }
.service-card-green { --card-accent: #10b981; }
.service-card-orange{ --card-accent: #f59e0b; }
.service-card-pink  { --card-accent: #ec4899; }
.service-card-blue:hover,
.service-card-purple:hover,
.service-card-cyan:hover,
.service-card-green:hover,
.service-card-orange:hover,
.service-card-pink:hover { border-color: var(--card-accent, var(--border-glow)); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; overflow: hidden; flex-shrink: 0; }
.service-icon svg { width: 56px; height: 56px; }
.service-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  list-style: none; margin-top: 16px; padding: 0;
}
.service-tags li {
  font-size: 11px; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 3px 10px; background: rgba(255,255,255,0.02);
}

/* ── Stats grid (PHP template) ──────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 52px; font-weight: 800; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 10px;
}
.stat-label { font-size: 14px; color: var(--text-2); font-weight: 500; }

/* ── Process body ───────────────────────────────────────────────────────────── */
.process-body { padding: 0 12px; }
.process-body h4 { color: var(--white); margin-bottom: 8px; font-size: 15px; }
.process-body p { font-size: 13px; color: var(--text-2); }

/* ── Projects grid ──────────────────────────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.project-thumb-placeholder svg { width: 100%; height: 100%; }
.project-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(3,6,15,0.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.project-card:hover .project-thumb-overlay { opacity: 1; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.section-cta { text-align: center; margin-top: 48px; }

/* ── Testimonials grid ──────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.t-quote { font-size: 15px; line-height: 1.8; color: var(--text); font-style: italic; margin-bottom: 24px; }
.t-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); padding-top: 20px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; color: #fff;
}
.t-name { display: block; font-size: 14px; font-weight: 600; color: var(--white); font-style: normal; }
.t-role { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* ── CTA Band (PHP template) ────────────────────────────────────────────────── */
.cta-band {
  padding: 100px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(59,130,246,0.07) 0%, rgba(139,92,246,0.07) 100%);
  border-top: 1px solid var(--border);
}
.cta-band-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%); top: -200px; left: -100px; }
.cta-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(139,92,246,0.15), transparent 70%); bottom: -150px; right: 0; }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-text h2 { margin-bottom: 16px; }
.cta-text p { max-width: 50ch; margin: 0 auto 36px; font-size: 18px; color: var(--text); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 17px 36px; font-size: 16px; }

/* ── Footer (updated) ───────────────────────────────────────────────────────── */
.footer-top { display: grid; grid-template-columns: 1.6fr 2.4fr; gap: 48px; margin-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-logo { display: inline-flex; align-items: center; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; }
.footer-logo-text { font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 700; color: var(--white); }
.footer-logo-text span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-tagline { font-size: 14px; color: var(--text-2); line-height: 1.7; max-width: 28ch; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: var(--transition);
}
.footer-social a:hover { border-color: var(--border-glow); color: var(--white); background: rgba(59,130,246,0.1); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h5 { color: var(--white); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-2); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-2); flex-wrap: wrap; gap: 12px;
}
.footer-built span { color: var(--text); }
.footer-copy { color: var(--text-2); }

/* ── Page Hero (inner pages) ────────────────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding: 80px 0 60px;
}
.page-hero-sm { padding: 70px 0 50px; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.page-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px; align-items: center;
}
.page-hero-inner--text-only {
  display: block; max-width: 900px;
}
.page-hero-text h1 { margin: 14px 0 18px; max-width: 12ch; }
.page-hero-inner--text-only .page-hero-text h1 { max-width: 14ch; }
.page-hero-text p { max-width: 56ch; font-size: 18px; line-height: 1.75; margin-bottom: 28px; }
.page-hero-visual { min-width: 0; }
.contact-hero-center {
  position: relative; z-index: 1; text-align: center;
  padding-top: 80px; padding-bottom: 60px;
}
.contact-hero-center .kicker { justify-content: center; }
.contact-hero-lead {
  max-width: 52ch; margin: 16px auto 0; font-size: 18px; line-height: 1.75;
}

/* ── Hero illustration + metrics ────────────────────────────────────────────── */
.hero-illustration { width: 100%; height: auto; display: block; }
.hero-metrics { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.hero-metric { display: flex; flex-direction: column; gap: 4px; }
.hero-metric-val {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px; font-weight: 800; color: var(--white);
}
.hero-metric > span { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }

/* ── Why / Advantage cards ───────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  backdrop-filter: blur(10px); transition: var(--transition);
  display: flex; gap: 20px; align-items: flex-start;
}
.why-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.why-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.1));
  border: 1px solid rgba(59,130,246,0.15);
}
.why-icon svg { width: 22px; height: 22px; color: var(--primary); }
.why-card h4 { color: var(--white); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text); }

/* ── Tech badges ─────────────────────────────────────────────────────────────── */
.tech-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 18px;
  font-size: 14px; font-weight: 600; color: var(--white);
  backdrop-filter: blur(8px); transition: var(--transition);
}
.tech-badge:hover { border-color: var(--border-glow); background: rgba(59,130,246,0.07); }
.tech-badge svg { width: 18px; height: 18px; opacity: 0.8; }

/* ── Tech Stack Cards ────────────────────────────────────────────────────────── */
.tech-stack-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-stack-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  backdrop-filter: blur(10px); transition: var(--transition);
}
.tech-stack-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.tech-stack-icon { width: 56px; height: 56px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.tech-stack-icon svg { width: 56px; height: 56px; }
.tech-stack-card h4 { color: var(--white); margin-bottom: 8px; }
.tech-stack-card p { font-size: 13px; color: var(--text); }

/* ── Genre cards ─────────────────────────────────────────────────────────────── */
.genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.genre-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  backdrop-filter: blur(10px); transition: var(--transition);
  display: flex; flex-direction: column; gap: 14px;
}
.genre-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.genre-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.genre-icon svg { width: 26px; height: 26px; }
.genre-card h4 { color: var(--white); }
.genre-card p { font-size: 13px; color: var(--text); }

/* ── Platform cards ──────────────────────────────────────────────────────────── */
.platform-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  backdrop-filter: blur(10px); transition: var(--transition);
  display: flex; align-items: flex-start; gap: 14px;
}
.platform-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.platform-card-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.platform-card h4 { color: var(--white); margin-bottom: 6px; }
.platform-card p { font-size: 13px; color: var(--text); }

/* ── Features 2-col list ─────────────────────────────────────────────────────── */
.features-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: var(--transition);
}
.feature-row:hover { border-color: var(--border-glow); }
.feature-check {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05));
  border: 1px solid rgba(16,185,129,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #10b981;
}
.feature-check svg { width: 14px; height: 14px; }
.feature-row h4 { color: var(--white); font-size: 14px; margin-bottom: 4px; }
.feature-row p { font-size: 13px; color: var(--text); }

/* ── Games / Apps grid ───────────────────────────────────────────────────────── */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: var(--glow-card); }
.game-card-thumb {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), #0c1635);
  display: flex; align-items: center; justify-content: center;
}
.game-card-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.game-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.game-thumb-placeholder svg { width: 100%; height: 100%; }
.game-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.game-card-body h3 { color: var(--white); margin-bottom: 8px; font-size: 17px; }
.game-card-body p { font-size: 13px; color: var(--text); flex: 1; }
.game-store-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.fingernic-logo { display:inline-flex; align-items:baseline; gap:5px; color:var(--white); font-family:"Space Grotesk",sans-serif; font-size:20px; font-weight:700; letter-spacing:-.06em; white-space:nowrap; }
.fingernic-logo > span > span { color:var(--accent); }.fingernic-logo small { color:var(--text-2); font-size:8px; letter-spacing:.15em; font-weight:700; }
.fingernic-logo img { display:block; width:164px; height:auto; max-width:100%; }
.form-notice { margin:18px 0; padding:12px 14px; border-radius:10px; font-size:14px; line-height:1.55; }
.form-notice--success { color:#11645c; border:1px solid rgba(22,142,129,.25); background:rgba(22,142,129,.10); }
.form-notice--error { color:#9b2c2c; border:1px solid rgba(190,50,50,.23); background:rgba(190,50,50,.08); }

/* Remove unverified performance claims from service-page hero areas. */
.page-template-template-service-app-store-optimization .hero-metrics,
.page-template-template-service-user-acquisition-marketing .hero-metrics {
  display:none;
}

/* Hide placeholder impact claims and testimonials until approved evidence exists. */
.home .hp-impact,
.home .hp-testi-section,
.home .hp-testimonials {
  display:none;
}

/* Light studio refinement: removes inherited dark panels across all templates. */
.site-header, .site-footer { background:rgba(255,255,255,.92); border-color:var(--border); }
.site-header.scrolled { background:rgba(255,255,255,.97); box-shadow:0 8px 26px rgba(20,34,56,.08); }
.page-hero, .page-hero-sm, .hp-hero { background:linear-gradient(145deg,#f7fbff 0%,#edf5f7 55%,#f7f8fc 100%); }
.page-hero-bg, .hp-hero-bg { opacity:.32; }
.section-alt, .section-dark, .stats-bar, .portfolio-meta-bar, .hp-impact { background:var(--bg-2); }
.section + .section, .hp-section + .hp-section { border-color:var(--border); }
.service-card, .game-card, .why-card, .contact-form-card, .contact-info-card, .single-meta-card, .single-cta-card, .case-block, .faq-list, .hp-svc, .hp-work-card, .hp-why-card, .hp-testi-card { background:var(--bg-card); box-shadow:0 10px 28px rgba(25,45,75,.06); }
.hp-ticker, .hp-hero-media-card, .hp-rank-card, .hp-stack-card, .hp-rating-card { background:rgba(255,255,255,.84); color:var(--ink); border-color:var(--border); }
.media-story-section, .games-discovery { background:var(--bg-2); }
.screenshots-gallery { background:#fff; }.screenshot-card { background:#edf2f7; }
.footer-tagline, .footer-copy, .footer-built { color:var(--text-2); }

/* ── Games page: discovery and production ─────────────────────────────────── */
.games-discovery { padding: 104px 0 88px; background: radial-gradient(circle at 80% 20%, rgba(6,182,212,.10), transparent 26%), var(--bg-2); border-bottom: 1px solid var(--border); }
.games-discovery__intro { max-width: 650px; margin-bottom: 38px; }
.games-discovery__intro h2, .games-production h2 { color: var(--white); max-width: 14ch; margin: 10px 0 16px; }
.games-discovery__intro p, .games-production__copy p { max-width: 58ch; color: var(--text); font-size: 16px; line-height: 1.75; }
.games-discovery__genres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.games-discovery__genre { position: relative; min-height: 172px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg, rgba(19,31,53,.9), rgba(9,14,28,.9)); overflow: hidden; transition: .25s ease; }
.games-discovery__genre::after { content: ""; position: absolute; right: -24px; bottom: -35px; width: 115px; height: 115px; border-radius: 50%; background: rgba(6,182,212,.1); transition: .25s ease; }
.games-discovery__genre:hover { transform: translateY(-5px); border-color: var(--accent); }
.games-discovery__genre:hover::after { transform: scale(1.45); background: rgba(6,182,212,.17); }
.games-discovery__number { position: relative; z-index: 1; color: var(--accent); font: 600 12px/1 "Space Grotesk",sans-serif; letter-spacing: .12em; }
.games-discovery__genre strong { position: relative; z-index: 1; color: var(--white); font: 600 22px/1.1 "Space Grotesk",sans-serif; }
.games-discovery__genre span:last-child { position: relative; z-index: 1; color: var(--text-2); font-size: 13px; }.games-discovery__genre b { color: var(--accent); margin-left: 8px; }
.games-production { padding: 104px 0; background: linear-gradient(120deg, rgba(19,31,53,.55), transparent 52%); }
.games-production__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.games-production__steps { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--border); }
.games-production__steps > div { display: grid; grid-template-columns: 72px 1fr 1.25fr; align-items: center; gap: 18px; padding: 25px 26px; background: var(--bg-card); }.games-production__steps span { color: var(--accent); font: 600 13px "Space Grotesk",sans-serif; }.games-production__steps h3 { color: var(--white); margin: 0; font-size: 17px; }.games-production__steps p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.6; }

/* ── Store buttons ───────────────────────────────────────────────────────────── */
.store-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  transition: var(--transition); white-space: nowrap; text-decoration: none;
}
.store-btn-play {
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: #fff; border: none;
  box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}
.store-btn-play:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,115,232,0.45); }
.store-btn-apple {
  background: linear-gradient(135deg, #1c1c2e, #2e2e45);
  color: #fff; border: 1px solid rgba(255,255,255,0.1);
}
.store-btn-apple:hover { transform: translateY(-2px); background: linear-gradient(135deg, #2e2e45, #3e3e5a); }
.store-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── No results message ──────────────────────────────────────────────────────── */
.no-results-msg { text-align: center; padding: 60px 20px; color: var(--text-2); font-size: 16px; }

/* ── Stats bar (portfolio) ───────────────────────────────────────────────────── */
.stats-bar { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; }
.stats-bar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.stats-bar-item { display: flex; flex-direction: column; align-items: center; padding: 12px 48px; text-align: center; }
.stats-bar-item .stat-number { font-size: 36px; margin-bottom: 4px; }
.stats-bar-item .stat-label { font-size: 13px; }
.stats-bar-sep { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* ── Contact layout ──────────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-form-col, .contact-info-col { display: flex; flex-direction: column; gap: 24px; }
.contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; backdrop-filter: blur(10px);
}
.contact-form-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  backdrop-filter: blur(10px); display: flex; align-items: flex-start; gap: 18px;
}
.contact-info-card .contact-info-icon { border-style: solid; }

/* ── FAQ accordion ───────────────────────────────────────────────────────────── */
.faq-list {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; background: transparent; border: none; color: var(--white);
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 600;
  text-align: left; padding: 20px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color var(--transition);
}
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] > summary.faq-question { color: var(--primary); }
.faq-title { color: var(--white); margin-bottom: 20px; }
.faq-answer { padding: 0 24px 20px; font-size: 14px; color: var(--text); line-height: 1.75; }

/* ── Single post two-column layout ──────────────────────────────────────────── */
.single-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.single-main { min-width: 0; }
.single-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 92px; }
.single-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.single-featured-img img { width: 100%; height: auto; display: block; object-fit: cover; }
.single-content { color: var(--text); line-height: 1.8; }
.single-content h2, .single-content h3, .single-content h4 { color: var(--white); margin: 28px 0 12px; }
.single-content p { color: var(--text); margin-bottom: 16px; }
.single-content ul, .single-content ol { color: var(--text); padding-left: 1.5em; margin-bottom: 16px; }
.single-content li { margin-bottom: 8px; }
.single-content a { color: var(--primary); text-decoration: underline; }
.single-content img { border-radius: var(--radius-sm); margin: 16px 0; }

/* ── Single sidebar cards ────────────────────────────────────────────────────── */
.single-meta-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(10px);
}
.single-meta-card h4 { color: var(--white); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.meta-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.meta-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.meta-label { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; flex-shrink: 0; }
.meta-value { font-size: 13px; color: var(--white); font-weight: 500; text-align: right; }
.single-cta-card {
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(10px);
}
.single-cta-card h4 { color: var(--white); margin-bottom: 10px; }
.single-cta-card p { font-size: 14px; color: var(--text); margin-bottom: 20px; }

/* ── Screenshots ─────────────────────────────────────────────────────────────── */
.screenshots-gallery { margin-top: 48px; padding: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--glow-card); }
.screenshots-gallery__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.screenshots-gallery__heading .kicker { display: block; margin-bottom: 8px; }
.screenshots-gallery h3 { color: var(--white); margin: 0; }
.screenshots-gallery__heading p { margin: 0; font-size: 13px; color: var(--text-2); }
.screenshots-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.screenshot-card { position: relative; display: block; width: 100%; min-height: 190px; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #0c1324; cursor: zoom-in; isolation: isolate; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.screenshot-card img { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; transition: transform .45s ease; }
.screenshot-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3, 6, 15, .66)); opacity: .5; transition: opacity .25s ease; }
.screenshot-card__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: rgba(6, 182, 212, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .28); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.screenshot-card__zoom svg { width: 20px; height: 20px; }
.screenshot-card:hover, .screenshot-card:focus-visible { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 18px 30px rgba(0, 0, 0, .28); outline: none; }
.screenshot-card:hover img, .screenshot-card:focus-visible img { transform: scale(1.055); }
.screenshot-card:hover::after, .screenshot-card:focus-visible::after { opacity: .85; }
.screenshot-card:hover .screenshot-card__zoom, .screenshot-card:focus-visible .screenshot-card__zoom { opacity: 1; transform: translateY(0); }
.screenshot-lightbox { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 32px; }
.screenshot-lightbox[hidden] { display: none; }
.screenshot-lightbox__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(2, 6, 18, .9); backdrop-filter: blur(12px); cursor: zoom-out; }
.screenshot-lightbox__dialog { position: relative; z-index: 1; display: grid; max-width: min(1100px, 92vw); max-height: 88vh; padding: 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: #0b1220; box-shadow: 0 32px 90px rgba(0, 0, 0, .6); }
.screenshot-lightbox__dialog img { display: block; max-width: 100%; max-height: calc(88vh - 20px); border-radius: 10px; object-fit: contain; }
.screenshot-lightbox__close { position: absolute; z-index: 2; top: -15px; right: -15px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: #fff; background: #15223b; font-size: 28px; line-height: 1; cursor: pointer; }
.screenshot-lightbox__close:hover, .screenshot-lightbox__close:focus-visible { background: var(--accent); outline: none; }

/* ── Video embed ─────────────────────────────────────────────────────────────── */
.video-embed { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; aspect-ratio: 16/9; }
.video-embed iframe, .video-embed > * { width: 100%; height: 100%; border: none; display: block; }

/* ── Portfolio hero full-bleed image ─────────────────────────────────────────── */
.portfolio-hero-img { position: relative; width: 100%; height: 60vh; min-height: 380px; overflow: hidden; }
.portfolio-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,6,15,0.92) 0%, rgba(3,6,15,0.45) 55%, transparent 100%);
  display: flex; align-items: flex-end; padding-bottom: 48px;
}
.portfolio-hero-overlay .container { position: relative; z-index: 1; }

/* ── Portfolio meta bar ──────────────────────────────────────────────────────── */
.portfolio-meta-bar { background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 0; }
.portfolio-meta-inner { display: flex; align-items: stretch; flex-wrap: wrap; }
.portfolio-meta-item {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  padding: 16px 32px; border-right: 1px solid var(--border);
}
.portfolio-meta-item:last-child { border-right: none; }
.portfolio-meta-item > span { font-size: 11px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.portfolio-meta-item > strong { font-size: 14px; color: var(--white); font-weight: 600; }
.portfolio-meta-links { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── Case study blocks ───────────────────────────────────────────────────────── */
.case-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(10px); margin-bottom: 24px;
}
.case-block:last-child { margin-bottom: 0; }
.case-block-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 14px;
}
.case-block-kicker svg { flex-shrink: 0; }
.case-block p { font-size: 15px; color: var(--text); line-height: 1.8; }
.case-results {
  background: linear-gradient(135deg, rgba(16,185,129,0.07), rgba(16,185,129,0.02));
  border-color: rgba(16,185,129,0.2);
}

/* Premium media and editable content sections */
.media-story-section {
  background:
    linear-gradient(180deg, rgba(244,239,229,0.025), rgba(244,239,229,0)),
    radial-gradient(circle at 12% 0%, rgba(64,196,175,0.08), transparent 32%);
}
.media-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
}
.media-story-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(244,239,229,0.12);
  background: #11161d;
  box-shadow: 0 36px 90px rgba(0,0,0,0.42);
}
.media-story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(6,7,10,0.34));
  pointer-events: none;
}
.media-story-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.01);
}
.media-story-copy {
  padding: 8px 0;
}
.media-story-copy h2 {
  font-size: clamp(30px, 4vw, 52px);
  max-width: 12ch;
  margin: 14px 0 18px;
}
.media-story-copy p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  max-width: 58ch;
}
.media-story-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.media-story-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(244,239,229,0.09);
  border-radius: 14px;
  background: rgba(244,239,229,0.035);
  color: var(--cream);
  font-weight: 600;
}
.media-story-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(64,196,175,0.12);
}
.editable-content-section {
  padding-top: 72px;
  background: rgba(244,239,229,0.018);
}
.editable-content {
  max-width: 980px;
  margin: 0 auto;
  color: var(--text);
}
.editable-content > * + * {
  margin-top: 18px;
}
.editable-content h2,
.editable-content h3 {
  color: var(--white);
}
.editable-content img {
  border-radius: 18px;
  border: 1px solid var(--border);
}

/* ── Media queries ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-section { min-height: auto; padding: 90px 0 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { grid-template-columns: 1fr; }
  /* New components */
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-cards { grid-template-columns: repeat(2, 1fr); }
  .tech-stack-cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item { padding: 12px 28px; }
  .portfolio-meta-item { padding: 12px 20px; }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(32px, 8vw, 52px); }
  h2 { font-size: clamp(24px, 6vw, 40px); }
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .wp-block-columns.hero-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .menu-btn { display: inline-block; }
  .nav-wrap { gap: 16px; }
  .nav { display: none; position: absolute; left: 4%; right: 4%; top: 72px; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; flex-direction: column; align-items: stretch; gap: 4px; box-shadow: 0 16px 38px rgba(20,34,56,.14); }
  .nav a { width: 100%; }
  .nav.open { display: flex; }
  .hero { padding: 80px 0; min-height: auto; }
  .page-hero, .page-hero-sm { padding: 64px 0 44px; }
  .page-hero-visual { max-width: 420px; margin: 0 auto; }
  .page-hero-text { text-align: left; }
  .hero-section { padding: 80px 0 64px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 42px; }
  .stat-number { font-size: 42px; }
  .screenshots-grid { grid-template-columns: 1fr 1fr; }
  /* New components */
  .games-grid { grid-template-columns: 1fr; }
  .genre-grid { grid-template-columns: 1fr; }
  .platform-cards { grid-template-columns: 1fr; }
  .tech-stack-cards { grid-template-columns: 1fr; }
  .features-2col { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: 16px; }
  .hero-metric-val { font-size: 22px; }
  .portfolio-hero-img { height: 45vh; min-height: 280px; }
  .portfolio-meta-inner { flex-direction: column; }
  .portfolio-meta-item { border-right: none; border-bottom: 1px solid var(--border); }
  .portfolio-meta-item:last-child { border-bottom: none; }
  .portfolio-meta-links { align-items: stretch; }
  .portfolio-meta-links .store-btn { justify-content: center; }
  .stats-bar-inner { gap: 0; }
  .stats-bar-sep { display: none; }
  .stats-bar-item { padding: 16px 24px; width: 50%; }
  .screenshots-row { grid-template-columns: 1fr 1fr; }
  .contact-form-card { padding: 24px; }
  .single-cta-card { padding: 24px; }
  .single-cta-card .btn { width: 100%; justify-content: center; }
  .case-block { padding: 20px; }
}
.service-stages { background:var(--bg-2); }
.service-stages__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.service-stages__item { padding:30px; background:#fff; border:1px solid var(--border); border-radius:18px; }
.service-stages__item > span { display:block; margin-bottom:34px; color:var(--primary); font:700 12px "Space Grotesk",sans-serif; letter-spacing:.12em; }
.service-stages__item h3 { color:var(--ink); margin-bottom:12px; }.service-stages__item p { margin:0; color:var(--text); font-size:14px; }
@media (max-width:768px) { .service-stages__grid { grid-template-columns:1fr; } .service-stages__item > span { margin-bottom:20px; } }
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-col ul { display: grid; gap: 8px; }
  .launch-chips { display: flex; }
  .screenshots-row { grid-template-columns: 1fr; }
  .stats-bar-item { width: 100%; }
  .hero-metrics { flex-direction: column; gap: 12px; }
  .page-hero, .page-hero-sm { padding: 52px 0 36px; }
  .page-hero-visual { display: none; }
  .why-card,
  .platform-card,
  .contact-info-card,
  .feature-row {
    flex-direction: column;
  }
  .meta-row { flex-direction: column; gap: 4px; }
  .meta-value { text-align: left; }
  .search-form { flex-direction: column; gap: 10px; }
  .search-form input,
  .search-form button { width: 100%; border-radius: var(--radius-sm); }
}

/* Final light-scheme precedence for homepage and legacy visual components. */
.hp-hero,
.hp-section,
.hp-section--alt,
.hp-impact,
.hp-cta,
.hp-ticker,
.page-hero,
.page-hero-sm {
  background-color: var(--bg) !important;
  color: var(--ink);
}
.hp-section--alt,
.hp-impact,
.hp-ticker {
  background-color: var(--bg-2) !important;
}
.hp-hero-media-card,
.hp-svc,
.hp-work-card,
.hp-why,
.hp-testi,
.hp-rank-card,
.hp-stack-card,
.hp-rating-card,
.hp-pipeline div {
  background: #fff !important;
  border-color: var(--border) !important;
  box-shadow: 0 12px 32px rgba(28,48,78,.08);
}
.hp-title,
.hp-section h2,
.hp-svc h3,
.hp-work-body h3,
.hp-why h4,
.hp-cta h2 {
  color: var(--ink) !important;
}
.hp-lead,
.hp-svc p,
.hp-work-body p,
.hp-why p,
.hp-cta p,
.hp-testi p {
  color: var(--text) !important;
}

/* Shared component discipline */
.section, .hp-section { padding-block: clamp(72px, 8vw, 120px); }
.section-sm { padding-block: clamp(48px, 6vw, 76px); }
.service-card, .game-card, .why-card, .contact-form-card, .contact-info-card,
.single-meta-card, .single-cta-card, .faq-list, .hp-svc, .hp-work-card, .hp-why {
  border-radius: 18px;
  border: 1px solid var(--border);
}
.service-card:hover, .game-card:hover, .why-card:hover, .hp-svc:hover, .hp-work-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 18px 40px rgba(28,48,78,.12);
}
.btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(22,142,129,.35);
  outline-offset: 3px;
}
input, select, textarea {
  border-color: var(--border);
  background: #fff;
  color: var(--ink);
}
@media (max-width: 768px) {
  .fingernic-logo img { width: 142px; }
  .section-header { margin-bottom: 32px; }
}

/* ╔══════════════════════════════════════════════════════════════╗
   ║  HOMEPAGE — front-page.php specific styles                  ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ── HP Hero ──────────────────────────────────────────────────── */
.hp-hero {
  position: relative; overflow: hidden;
  padding: 112px 0 92px; min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(247,248,252,0.6), rgba(238,242,248,0.96)),
    radial-gradient(circle at 70% 18%, rgba(22,142,129,0.12), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(90,86,207,0.10), transparent 32%);
}
.hp-hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18,35,62,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,35,62,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95), transparent 86%);
}
.hp-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hp-orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(59,130,246,0.22) 0%, transparent 70%); top: -200px; left: -200px; animation: orb-float 14s ease-in-out infinite; }
.hp-orb-2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(139,92,246,0.16) 0%, transparent 70%); bottom: -120px; right: -40px; animation: orb-float 18s ease-in-out infinite reverse; }
.hp-orb-3 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(16,185,129,0.14) 0%, transparent 70%); top: 32%; right: 35%; animation: orb-float 11s ease-in-out infinite 2s; }

.hp-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr); gap: 76px; align-items: center;
}
.hp-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(16,185,129,0.36); border-radius: 999px;
  padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--accent);
  background: rgba(16,185,129,0.08); margin-bottom: 28px; width: fit-content;
}
.hp-badge-dot {
  width: 8px; height: 8px; background: #10b981; border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.hp-title {
  font-size: clamp(44px, 5.8vw, 82px); font-weight: 800;
  line-height: 0.98; letter-spacing: 0; margin-bottom: 26px;
  max-width: 11ch;
}
.hp-title-grad {
  background: linear-gradient(90deg, #38bdf8, #8b5cf6 48%, #10b981);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-lead { font-size: 18px; color: #b5c0d2; line-height: 1.75; max-width: 54ch; margin-bottom: 34px; }
.hp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hp-hero-stats {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.75); padding: 16px 0;
  backdrop-filter: blur(12px);
  box-shadow: var(--glow-card);
}
.hp-hs { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; padding: 0 16px; }
.hp-hs-val {
  font-family: "Space Grotesk", sans-serif; font-size: 24px; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-hs-lbl { font-size: 11px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.hp-hs-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

.hp-hero-visual { display: flex; align-items: center; justify-content: center; min-width: 0; }
.hp-hero-media {
  position: relative;
  width: min(100%, 620px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(244,239,229,0.13);
  background: #11161d;
  box-shadow: 0 42px 110px rgba(0,0,0,0.48);
}
.hp-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,7,10,0.02), rgba(6,7,10,0.42));
  z-index: 1;
  pointer-events: none;
}
.hp-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.hp-hero-media-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(244,239,229,0.16);
  background: rgba(6,7,10,0.72);
  backdrop-filter: blur(16px);
}
.hp-hero-media-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hp-hero-media-card strong {
  color: var(--cream);
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
}
.hp-studio-board {
  position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.04;
  border: 1px solid rgba(255,255,255,0.11); border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(13,23,49,0.94), rgba(5,10,24,0.98)),
    radial-gradient(circle at 25% 20%, rgba(59,130,246,0.16), transparent 34%);
  box-shadow: 0 42px 110px rgba(0,0,0,0.48), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden; isolation: isolate;
}
.hp-studio-board::before {
  content: ""; position: absolute; inset: 16px; border-radius: 22px;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.55; z-index: -1;
}
.hp-board-top {
  position: absolute; top: 24px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hp-board-top strong {
  color: #10b981; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.32);
  border-radius: 999px; padding: 5px 10px; font-size: 11px;
}
.hp-device {
  position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%) rotate(-3deg);
  width: 210px; aspect-ratio: 0.62; border-radius: 30px; padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 30px 90px rgba(0,0,0,0.42);
}
.hp-device-screen {
  height: 100%; border-radius: 22px; background: #071024; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); padding: 14px;
}
.hp-game-preview {
  position: relative; height: 56%; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 52%, #111827 53%, #1f2937 100%);
}
.hp-game-sun { position: absolute; width: 34px; height: 34px; border-radius: 50%; right: 18px; top: 18px; background: #facc15; box-shadow: 0 0 28px rgba(250,204,21,0.55); }
.hp-game-block { position: absolute; bottom: 22px; border-radius: 5px; background: rgba(255,255,255,0.88); }
.hp-game-block-1 { left: 24px; width: 26px; height: 44px; background: #10b981; }
.hp-game-block-2 { left: 58px; width: 34px; height: 70px; background: #8b5cf6; }
.hp-game-block-3 { left: 102px; width: 24px; height: 52px; background: #f97316; }
.hp-device-lines { display: grid; gap: 10px; margin-top: 18px; }
.hp-device-lines span { display: block; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.09); }
.hp-device-lines span:nth-child(1) { width: 78%; }
.hp-device-lines span:nth-child(2) { width: 58%; }
.hp-device-lines span:nth-child(3) { width: 88%; background: linear-gradient(90deg, rgba(59,130,246,0.7), rgba(16,185,129,0.7)); }
.hp-pipeline {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.hp-pipeline div {
  min-width: 0; padding: 12px 8px; border-radius: 12px;
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.08);
  color: var(--white); text-align: center; font-size: 12px; font-weight: 700;
}
.hp-pipeline span { display: block; color: var(--text-2); font-size: 10px; margin-bottom: 2px; }
.hp-rank-card, .hp-stack-card, .hp-rating-card {
  position: absolute; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px;
  background: rgba(5,10,24,0.9); box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
}
.hp-rank-card { left: 22px; top: 104px; padding: 16px 18px; }
.hp-rank-card span, .hp-rating-card span { display: block; color: var(--text-2); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hp-rank-card strong { display: block; color: var(--white); font-size: 34px; line-height: 1.05; margin-top: 4px; }
.hp-stack-card { right: 20px; top: 128px; display: grid; gap: 8px; padding: 12px; }
.hp-stack-card span { color: var(--white); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 6px 10px; background: rgba(59,130,246,0.14); }
.hp-rating-card { right: 42px; bottom: 116px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.hp-rating-card strong { color: #fbbf24; font-size: 28px; line-height: 1; }

/* floating animation for SVG badge groups */
.hp-float-1 { animation: float-gentle 5s ease-in-out infinite; }
.hp-float-2 { animation: float-gentle 6s ease-in-out infinite 1.5s; }
.hp-float-3 { animation: float-gentle 4.5s ease-in-out infinite 0.8s; }

/* ── HP Ticker ────────────────────────────────────────────────── */
.hp-ticker {
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.hp-ticker-track {
  display: flex; white-space: nowrap; gap: 0;
  animation: marquee-half 35s linear infinite;
  will-change: transform;
}
.hp-ticker-track span {
  display: inline-flex; align-items: center;
  padding: 0 20px; font-size: 13px; font-weight: 600;
  color: var(--text-2); letter-spacing: .04em; flex-shrink: 0;
}
.hp-dot { color: var(--primary) !important; font-size: 10px !important; padding: 0 4px !important; opacity: 0.5; }

/* ── HP generic section ───────────────────────────────────────── */
.hp-section { padding: 100px 0; }
.hp-section--alt { background: var(--bg-2); }

.hp-sh { margin-bottom: 56px; }
.hp-sh h2 { margin-top: 12px; margin-bottom: 16px; }
.hp-sh p { max-width: 56ch; color: var(--text); font-size: 17px; }
.hp-sh--center { text-align: center; }
.hp-sh--center p { margin: 0 auto; }
.hp-sh--between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hp-sh--between > div h2 { margin-top: 10px; margin-bottom: 0; }

/* ── HP Services grid ─────────────────────────────────────────── */
.hp-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp-svc {
  position: relative; padding: 32px 28px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); backdrop-filter: blur(12px);
  transition: var(--transition); overflow: hidden;
}
.hp-svc::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--radius) var(--radius) 0 0; opacity: 0.8;
}
.hp-svc--blue::before  { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.hp-svc--purple::before{ background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.hp-svc--cyan::before  { background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.hp-svc--green::before { background: linear-gradient(90deg, #10b981, #06b6d4); }
.hp-svc--orange::before{ background: linear-gradient(90deg, #f59e0b, #ef4444); }
.hp-svc--pink::before  { background: linear-gradient(90deg, #ec4899, #8b5cf6); }
.hp-svc:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: 0 24px 48px rgba(0,0,0,0.4), var(--glow-card); }
.hp-svc-icon { width: 72px; height: 72px; margin-bottom: 20px; }
.hp-svc-icon svg { width: 72px; height: 72px; border-radius: 20px; display: block; }
.hp-svc-num {
  font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--text-2);
  margin-bottom: 10px;
}
.hp-svc h3 { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.hp-svc p { font-size: 14px; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.hp-svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.hp-svc-tags span {
  font-size: 11px; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 10px; background: rgba(255,255,255,0.02);
}
.hp-svc-link { font-size: 13px; font-weight: 600; color: var(--primary); transition: gap var(--transition); display: inline-flex; gap: 4px; }
.hp-svc-link:hover { gap: 8px; }

/* ── HP Impact band ───────────────────────────────────────────── */
.hp-impact {
  position: relative; overflow: hidden; padding: 72px 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(139,92,246,0.08) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.hp-impact-bg { position: absolute; inset: 0; pointer-events: none; }
.hp-impact-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hp-impact-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%); top: -200px; left: -100px; }
.hp-impact-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(139,92,246,0.15), transparent 70%); bottom: -150px; right: 0; }
.hp-impact-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.hp-impact-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 56px; text-align: center; }
.hp-impact-val {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(48px, 6vw, 80px);
  font-weight: 900; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-impact-lbl { font-size: 14px; color: var(--text-2); font-weight: 500; max-width: 16ch; text-align: center; }
.hp-impact-div { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }

/* ── HP Work grid ─────────────────────────────────────────────── */
.hp-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hp-work-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.hp-work-card:hover { transform: translateY(-8px); border-color: var(--border-glow); box-shadow: 0 32px 64px rgba(0,0,0,0.5), var(--glow-card); }
.hp-work-thumb {
  height: 220px; position: relative; overflow: hidden;
  background: var(--bg-2);
}
.hp-work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hp-work-card:hover .hp-work-thumb img { transform: scale(1.06); }
.hp-work-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hp-work-placeholder--atlas { background: linear-gradient(135deg, rgba(64,196,175,0.14), rgba(124,109,240,0.08)); }
.hp-work-placeholder--pulse { background: linear-gradient(135deg, rgba(124,109,240,0.12), rgba(214,168,79,0.08)); }
.hp-work-placeholder--neon { background: linear-gradient(135deg, rgba(64,196,175,0.12), rgba(214,168,79,0.08)); }
.hp-work-placeholder svg { width: 100%; height: 100%; }
.hp-work-overlay {
  position: absolute; inset: 0;
  background: rgba(3,6,15,0.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.hp-work-card:hover .hp-work-overlay { opacity: 1; }
.hp-work-body { padding: 24px 28px; flex: 1; display: flex; flex-direction: column; }
.hp-work-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.hp-work-type {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); border: 1px solid rgba(59,130,246,0.3);
  border-radius: 999px; padding: 4px 10px; background: rgba(59,130,246,0.06);
}
.hp-work-plat {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 10px;
}
.hp-work-body h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.hp-work-body h3 a { color: inherit; }
.hp-work-body h3 a:hover { color: var(--primary); }
.hp-work-body p { font-size: 14px; color: var(--text); line-height: 1.75; flex: 1; }
.hp-work-link { display: inline-flex; gap: 6px; color: var(--primary); font-size: 13px; font-weight: 600; margin-top: 20px; transition: gap var(--transition); }
.hp-work-link:hover { gap: 10px; }

/* ── HP Why grid ──────────────────────────────────────────────── */
.hp-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hp-why {
  padding: 32px 24px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg-card);
  backdrop-filter: blur(10px); transition: var(--transition); text-align: center;
}
.hp-why:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.hp-why-icon {
  width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.hp-why-icon--blue   { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05)); border: 1px solid rgba(59,130,246,0.25); color: #3b82f6; }
.hp-why-icon--purple { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.05)); border: 1px solid rgba(139,92,246,0.25); color: #8b5cf6; }
.hp-why-icon--cyan   { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(6,182,212,0.05)); border: 1px solid rgba(6,182,212,0.25); color: #06b6d4; }
.hp-why-icon--green  { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); border: 1px solid rgba(16,185,129,0.25); color: #10b981; }
.hp-why h4 { color: var(--white); font-size: 16px; margin-bottom: 10px; }
.hp-why p { font-size: 14px; color: var(--text); line-height: 1.7; }

/* ── HP Testimonials ──────────────────────────────────────────── */
.hp-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp-testi {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
  backdrop-filter: blur(12px); transition: var(--transition);
  display: flex; flex-direction: column; gap: 0;
}
.hp-testi:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.hp-testi-quote {
  font-size: 52px; line-height: 1; margin-bottom: 16px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-testi p { font-size: 15px; color: var(--text); line-height: 1.8; font-style: italic; flex: 1; margin-bottom: 28px; }
.hp-testi footer {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border); padding-top: 20px;
}
.hp-testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 700; color: #fff;
}
.hp-testi-avatar--teal { background: linear-gradient(135deg, #40c4af, #1f9d8c); }
.hp-testi-avatar--violet { background: linear-gradient(135deg, #7c6df0, #4f46b5); }
.hp-testi-avatar--gold { background: linear-gradient(135deg, #d6a84f, #8a6930); }
.hp-testi-name { display: block; font-size: 14px; font-weight: 600; color: var(--white); font-style: normal; }
.hp-testi-role { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.hp-testi-stars { margin-left: auto; color: #fbbf24; font-size: 14px; letter-spacing: 1px; flex-shrink: 0; }

/* ── HP CTA band ──────────────────────────────────────────────── */
.hp-cta {
  position: relative; overflow: hidden; padding: 120px 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(139,92,246,0.1) 50%, rgba(6,182,212,0.06) 100%);
  border-top: 1px solid var(--border);
}
.hp-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.hp-cta-orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.hp-cta-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%); top: -250px; left: -150px; }
.hp-cta-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%); bottom: -200px; right: -100px; }
.hp-grid--cta { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 36px 36px; }
.hp-cta-inner { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }
.hp-cta-inner .kicker { margin-bottom: 16px; display: block; }
.hp-cta-inner h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 20px; }
.hp-cta-inner p { font-size: 18px; color: var(--text); max-width: 50ch; margin: 0 auto 40px; line-height: 1.7; }
.hp-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hp-cta-trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.hp-cta-trust span { font-size: 13px; color: var(--text-2); font-weight: 500; }
.hp-cta-trust span::first-letter { color: var(--accent); }

/* ── HP Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hp-hero { min-height: auto; padding: 100px 0 80px; }
  .hp-title { max-width: 12ch; }
  .hp-studio-board { max-width: 560px; }
  .media-story { grid-template-columns: 1fr; gap: 34px; }
  .media-story-copy h2 { max-width: 16ch; }
  .hp-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-work-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-testi-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-impact-stat { padding: 0 32px; }
}
@media (max-width: 768px) {
  .hp-hero { padding: 80px 0 64px; }
  .hp-title { font-size: clamp(34px, 9vw, 52px); max-width: 100%; }
  .hp-hero-media-card { position: static; margin: 0; border-radius: 0; }
  .hp-hero-stats { flex-wrap: wrap; }
  .hp-hs { min-width: 45%; }
  .hp-hs-sep { display: none; }
  .hp-studio-board { aspect-ratio: 1 / 1.12; border-radius: 22px; }
  .hp-device { width: 168px; }
  .hp-pipeline { grid-template-columns: repeat(2, 1fr); }
  .hp-rank-card { left: 14px; top: 86px; padding: 12px 14px; }
  .hp-rank-card strong { font-size: 26px; }
  .hp-stack-card { right: 12px; top: 106px; }
  .hp-rating-card { right: 16px; bottom: 128px; }
  .hp-svc-grid { grid-template-columns: 1fr; }
  .hp-work-grid { grid-template-columns: 1fr; }
  .hp-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-testi-grid { grid-template-columns: 1fr; }
  .hp-impact-inner { flex-direction: column; gap: 28px; }
  .hp-impact-div { display: none; }
  .hp-impact-stat { padding: 0; }
  .hp-sh--between { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hp-cta { padding: 80px 0; }
  .hp-cta-trust { flex-direction: column; align-items: center; gap: 12px; }
}
@media (max-width: 480px) {
  .media-story-image { border-radius: 18px; }
  .media-story-copy h2 { max-width: 100%; }
  .media-story-list li { padding-right: 14px; }
  .hp-cta-row .btn { width: 100%; justify-content: center; }
  .hp-studio-board { aspect-ratio: 0.9 / 1; }
  .hp-board-top { left: 16px; right: 16px; top: 16px; }
  .hp-device { width: 142px; top: 50%; }
  .hp-rank-card,
  .hp-stack-card,
  .hp-rating-card { display: none; }
  .hp-pipeline { left: 16px; right: 16px; bottom: 16px; gap: 8px; }
  .hp-pipeline div { padding: 9px 6px; font-size: 11px; }
  .hp-why-grid { grid-template-columns: 1fr; }
  .hp-cta-btns { flex-direction: column; align-items: center; }
  .hp-cta-btns .btn { width: 100%; justify-content: center; }
  .hp-impact-val { font-size: clamp(44px, 15vw, 64px); }
}
