/* SOHA LLC — v3 · Refined. Electric blue · sky · slate. Minimal, elegant, lots of air. */

:root {
  /* Surfaces */
  --bg:        #0B1220;
  --bg-2:      #0E1729;
  --panel:     #111C30;
  /* Brand */
  --blue:      #2563EB;
  --blue-2:    #3B82F6;
  --sky:       #38BDF8;
  --sky-soft:  #7DD3FC;
  /* Ink */
  --text:      #F1F5F9;
  --muted:     #94A3B8;
  --dim:       #64748B;
  /* Glass / lines */
  --glass:     rgba(255, 255, 255, 0.025);
  --glass-2:   rgba(255, 255, 255, 0.05);
  --border:    rgba(148, 163, 184, 0.14);
  --border-2:  rgba(148, 163, 184, 0.22);
  /* Globe (read by globe3d) */
  --globe-a:   #38BDF8;
  --globe-b:   #2563EB;
  --globe-c:   #1D4ED8;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(37, 99, 235, 0.16), transparent 70%),
    radial-gradient(50% 40% at 12% 30%, rgba(56, 189, 248, 0.08), transparent 70%),
    var(--bg);
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(56, 189, 248, 0.25); color: #fff; }

/* ============ SEO / A11Y HELPERS ============ */
.noscript-seo {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 28px;
  color: var(--text);
  line-height: 1.7;
}
.noscript-seo h1 { font-size: 34px; margin-bottom: 16px; }
.noscript-seo h2 { font-size: 24px; margin: 32px 0 12px; }
.noscript-seo a { color: var(--sky); }
.noscript-seo ul { padding-left: 20px; }
.noscript-seo li { margin-bottom: 8px; color: var(--muted); }
.noscript-seo address { font-style: normal; color: var(--muted); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { left: 0; }

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

/* ============ BACKGROUND ============ */
/* Layered, elegant depth: drifting glow orbs + starfield + grid + vignette */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-orbs::before, .bg-orbs::after, .bg-orbs .orb {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.bg-orbs::before {
  width: 46vw; height: 46vw;
  top: -12vw; right: -8vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.30), transparent 62%);
  animation: orbDriftA 26s ease-in-out infinite;
}
.bg-orbs::after {
  width: 38vw; height: 38vw;
  bottom: -10vw; left: -6vw;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 62%);
  animation: orbDriftB 32s ease-in-out infinite;
}
.bg-orbs .orb {
  width: 30vw; height: 30vw;
  top: 38%; left: 44%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.16), transparent 60%);
  animation: orbDriftC 38s ease-in-out infinite;
}
@keyframes orbDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-5vw, 5vh) scale(1.12); }
}
@keyframes orbDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(5vw, -4vh) scale(0.9); }
}
@keyframes orbDriftC {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50%      { transform: translate(-42%, -58%) scale(1.18); opacity: 1; }
}

.bg-stars {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 24%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 24%, black, transparent 78%);
}

/* Edge vignette for premium framing */
.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 55%, rgba(5, 9, 18, 0.55) 100%);
}

.app-root { position: relative; z-index: 1; }

/* ============ TYPE ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow .e-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 10px var(--sky);
}

h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.06; }

.h-display {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
.h-section {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.08;
}
.lede {
  font-size: clamp(16px, 1.15vw, 18.5px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(100deg, #FFFFFF 0%, #BFDBFE 45%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-2 {
  background: linear-gradient(100deg, #60A5FA, #38BDF8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shimmer-text {
  background: linear-gradient(100deg, #fff 0%, #fff 35%, #BFDBFE 50%, #fff 65%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-ghost {
  background: var(--glass-2);
  border: 1px solid var(--border-2);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(148, 163, 184, 0.4); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 13.5px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm svg { width: 16px; height: 16px; }

/* ============ NAV ============ */
.nav-wrap { position: fixed; top: 20px; left: 0; right: 0; z-index: 50; padding: 0 28px; }
#main-content { padding-top: 100px; }
.nav {
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 22px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(11, 18, 32, 0.85);
  border-color: var(--border-2);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.nav-logo { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.025em; font-size: 20px; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: #F1F5F9;
  padding: 5px;
  box-shadow: 0 6px 16px -6px rgba(56, 189, 248, 0.5), inset 0 0 0 1px rgba(148, 163, 184, 0.18);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-logo:hover .logo-mark { transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(56, 189, 248, 0.7), inset 0 0 0 1px rgba(148, 163, 184, 0.18); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-mark .ring { animation: spin 24s linear infinite; transform-origin: center; }
.logo-mark .ring-2 { animation: spin 16s linear infinite reverse; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav-logo .word { display: flex; align-items: baseline; gap: 4px; }
/* Flowing gradient on the nav wordmark (matches footer) */
.nav-logo .gradient-text {
  background: linear-gradient(100deg, #1D4ED8, #2563EB, #38BDF8, #7DD3FC, #38BDF8, #2563EB, #1D4ED8);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordmarkFlow 9s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .nav-logo .gradient-text { animation: none; }
}
.nav-logo .llc {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--muted); padding: 3px 6px;
  border: 1px solid var(--border-2); border-radius: 5px;
  margin-left: 3px; transform: translateY(-3px);
}
.nav-menu { display: flex; gap: 2px; }
.nav-menu a {
  padding: 9px 16px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-menu a:hover { color: var(--text); }
.nav-menu a.active { color: var(--text); background: var(--glass-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--glass-2);
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown panel */
.nav-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.96);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.nav-mobile.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.nav-mobile-links { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px;
  border-radius: 12px;
  font-size: 16px; font-weight: 600;
  color: var(--text);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.nav-mobile-links a svg { width: 16px; height: 16px; color: var(--sky); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.nav-mobile-links a:hover, .nav-mobile-links a.active { background: var(--glass-2); border-color: var(--border); }
.nav-mobile-links a.active svg { opacity: 1; transform: translateX(0); }
.nav-mobile-cta { justify-content: center; width: 100%; padding: 15px; }

@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
  .nav-desktop-cta { display: none; }
}
@media (max-width: 420px) {
  .nav-wrap { padding: 0 16px; top: 14px; }
  .nav { padding: 9px 9px 9px 14px; }
  .nav-logo { font-size: 18px; }
  .logo-mark { width: 34px; height: 34px; }
  #main-content { padding-top: 88px; }
}

/* ============ LAYOUT ============ */
.section {
  position: relative;
  padding: clamp(64px, 7vw, 104px) 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 76px;
  max-width: 720px;
}
.section-head.center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(56px, 7vw, 96px);
  min-height: 0;
}
.hero-left { display: flex; flex-direction: column; gap: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero-trust {
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  margin-top: 20px; padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13.5px;
}
.hero-trust strong { color: var(--text); font-weight: 700; }
.hero-trust .star { color: var(--sky); font-size: 13px; letter-spacing: 1px; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.hide-sm { display: inline; }
@media (max-width: 540px) { .hide-sm { display: none; } }

/* Universe */
.universe { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-left: auto; }
.universe-glow {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(56, 189, 248, 0.12) 45%, transparent 70%);
  filter: blur(36px);
  animation: glowBreath 8s ease-in-out infinite;
}
@keyframes glowBreath { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.globe3d-mount { position: absolute; inset: 0; z-index: 2; border-radius: 50%; }
.globe3d-mount canvas { display: block; border-radius: 50%; }

.globe-hint {
  position: absolute; bottom: 2%; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(11, 18, 32, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 12px; font-weight: 600; color: var(--muted);
  pointer-events: none;
  animation: hintFade 4s ease-in-out infinite;
}
.globe-hint svg { width: 15px; height: 15px; color: var(--sky); }
@keyframes hintFade { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.95; } }

/* Service bubbles */
.bubble {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: rgba(17, 28, 48, 0.72);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  z-index: 5;
  animation: floatBubble 8s ease-in-out infinite;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.bubble:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 14px 40px -10px rgba(56, 189, 248, 0.4);
}
@keyframes floatBubble {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-9px); }
}
.bubble .b-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; position: relative; flex: none;
}
.bubble .b-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(140deg, var(--sky), var(--blue));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.bubble .b-icon svg { width: 15px; height: 15px; position: relative; z-index: 1; color: #fff; }

/* ============ LOGO STRIP ============ */
.logo-strip {
  padding: 44px 28px;
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-strip-label {
  text-align: center; font-size: 11px; color: var(--dim);
  font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 26px;
}
.logo-strip-track {
  display: flex; gap: 56px; align-items: center;
  justify-content: space-around; flex-wrap: wrap;
}
.logo-strip-item {
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  color: var(--dim); display: flex; align-items: center; gap: 9px;
  transition: color .25s;
}
.logo-strip-item:hover { color: var(--text); }
.logo-strip-item svg { width: 21px; height: 21px; }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  position: relative; padding: 32px 30px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--border);
}
.stat-num {
  font-size: clamp(40px, 4.2vw, 54px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(120deg, #fff, var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--text); font-size: 14.5px; margin-top: 12px; font-weight: 600; }
.stat-sub { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--dim); }
.stat-glow { display: none; }

/* ============ STORY ============ */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.story-card {
  position: relative; padding: 38px 32px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s;
}
.story-card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--glass-2); }
.story-card .story-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--c-from, var(--blue)), var(--c-to, var(--sky)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 26px -12px var(--c-glow, rgba(37, 99, 235, 0.5));
  margin-bottom: 26px;
}
.story-card .story-icon svg { width: 26px; height: 26px; color: #fff; }
.story-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.story-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.story-stat { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; gap: 4px; align-items: baseline; }
.story-stat .v {
  font-size: 30px; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--c-from, var(--blue)), var(--c-to, var(--sky)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.story-stat .l { color: var(--muted); font-size: 13px; margin-left: 8px; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-rows: minmax(196px, auto); }
.svc-card {
  position: relative; padding: 26px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 196px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s;
  cursor: pointer;
  transform-style: preserve-3d;
}
.svc-card:hover { border-color: var(--border-2); background: var(--glass-2); }
.svc-card .glow { display: none; }
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; position: relative;
  background: linear-gradient(140deg, var(--ic-from, var(--blue)), var(--ic-to, var(--sky)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px -12px var(--ic-glow, rgba(37, 99, 235, 0.5));
  transform: translateZ(18px);
}
.svc-icon svg { width: 26px; height: 26px; color: #fff; }
.svc-card h3 { font-size: 18px; font-weight: 700; margin-top: 22px; letter-spacing: -0.015em; transform: translateZ(8px); }
.svc-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 9px; transform: translateZ(4px); }
.svc-cta {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--sky);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}
.svc-card:hover .svc-cta { opacity: 1; transform: translateX(0); }
.svc-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--border);
  transition: transform .3s, background .3s, border-color .3s;
  transform: translateZ(12px);
}
.svc-card:hover .svc-arrow { background: var(--blue); border-color: transparent; transform: translateZ(12px) translate(2px, -2px); }
.svc-arrow svg { width: 14px; height: 14px; }
.svc-card.featured {
  grid-column: span 2;
  padding: 30px;
  background: linear-gradient(150deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.06));
}
.svc-card.featured h3 { font-size: 23px; line-height: 1.15; }
.svc-card.featured p { font-size: 14px; max-width: 48ch; }
.svc-card.tall { grid-row: span 2; }
.svc-card.wide { grid-column: span 2; }

/* ============ ABOUT ============ */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 68px; align-items: center; }
.about-visual {
  position: relative; aspect-ratio: 4/4.5;
  border-radius: 22px;
  background: rgba(14, 23, 41, 0.7);
  border: 1px solid var(--border-2);
  overflow: hidden; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 70px -28px rgba(37, 99, 235, 0.3);
}
.dash-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(148, 163, 184, 0.25); }
.dash-dots span:first-child { background: #FF6157; }
.dash-dots span:nth-child(2) { background: #FFBD2E; }
.dash-dots span:nth-child(3) { background: #28C940; }
.dash-title { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; }
.dash-title .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px var(--sky); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.dash-chart { height: 200px; position: relative; background: rgba(0, 0, 0, 0.22); border-radius: 14px; padding: 18px; border: 1px solid var(--border); overflow: hidden; }
.dash-chart-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px); background-size: 34px 34px; }
.dash-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mini-card { padding: 15px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--border); }
.mini-card .l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.mini-card .v { font-size: 21px; font-weight: 700; margin-top: 6px; letter-spacing: -0.02em; }
.mini-card .v .pos { font-size: 12px; color: var(--sky); margin-left: 6px; font-weight: 600; }
.mini-card .v .neu { font-size: 12px; color: var(--sky-soft); margin-left: 6px; font-weight: 600; }
.trust-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.trust-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--border);
  transition: transform .25s, background .25s, border-color .25s;
}
.trust-item:hover { transform: translateX(4px); background: var(--glass-2); border-color: var(--border-2); }
.trust-check {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.2));
  border: 1px solid var(--border-2); display: grid; place-items: center; flex: none;
}
.trust-check svg { width: 18px; height: 18px; color: var(--sky); }
.trust-item h4 { font-size: 15px; font-weight: 700; }
.trust-item p { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.55; }

/* ============ PROCESS (ORBIT) ============ */
.process-orbit { position: relative; margin: 0 auto; max-width: 720px; aspect-ratio: 1 / 1; }
.process-orbit-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(148, 163, 184, 0.16); }
.process-orbit-ring.outer { inset: 0%; border-color: rgba(148, 163, 184, 0.08); }
.process-center {
  position: absolute; inset: 31%; border-radius: 50%;
  background: transparent;
}
.process-orb3d { position: absolute; inset: 0; border-radius: 50%; z-index: 1; }
.process-orb3d canvas { display: block; }
.process-center-label {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center; text-align: center; pointer-events: none;
}
.process-center-label .chip {
  padding: 6px 14px; border-radius: 14px;
  background: transparent;
  border: none;
}
.process-center .label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8), 0 0 14px rgba(8, 13, 26, 0.9); }
.process-center .title { font-size: clamp(15px, 1.7vw, 19px); font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 16px rgba(8, 13, 26, 0.9); }
.process-node { position: absolute; top: 50%; left: 50%; width: 108px; transform: translate(-50%, -50%) translate(var(--x), var(--y)); text-align: center; }
.process-node .dot {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(14, 23, 41, 0.95); border: 1px solid var(--border-2);
  display: grid; place-items: center; margin: 0 auto;
  font-weight: 800; font-size: 16px; position: relative;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.process-node:hover .dot { transform: scale(1.1); border-color: var(--sky); box-shadow: 0 0 26px rgba(56, 189, 248, 0.45); }
.process-node.active .dot { background: linear-gradient(140deg, var(--blue), var(--sky)); border-color: transparent; box-shadow: 0 0 26px rgba(37, 99, 235, 0.6); }
.process-node .meta { margin-top: 13px; }
.process-node .meta .t { font-weight: 700; font-size: 14px; }
.process-node .meta .d { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.orbit-svg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.process-vertical { display: none; }
.process-vertical .pv-item { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--border); }
.process-vertical .pv-num { width: 46px; height: 46px; flex: none; border-radius: 50%; background: linear-gradient(140deg, var(--blue), var(--sky)); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.process-vertical .pv-t { font-weight: 700; font-size: 15px; }
.process-vertical .pv-d { color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 768px) { .process-orbit { display: none; } .process-vertical { display: flex; flex-direction: column; gap: 14px; } }

/* ============ CASE STUDIES ============ */
.cases { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.case-card {
  position: relative; padding: 30px;
  border-radius: 18px;
  background: var(--glass); border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 290px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s;
  cursor: pointer;
}
.case-card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--glass-2); }
.case-card .case-viz {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}
.case-card .case-viz svg { width: 26px; height: 26px; color: #fff; }
.case-card .tag {
  display: inline-flex; align-self: flex-start;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--glass-2); border: 1px solid var(--border); color: var(--muted);
}
.case-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.case-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.case-metric { display: flex; gap: 28px; margin-top: auto; flex-wrap: wrap; }
.case-metric .m { display: flex; flex-direction: column; }
.case-metric .v { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; }
.case-metric .v.grad { background: linear-gradient(120deg, var(--sky), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-metric .l { font-size: 11px; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.case-card.feat { grid-column: span 6; min-height: 330px; }
.case-card.std { grid-column: span 3; }
.case-card.med { grid-column: span 4; }
.case-card.lrg { grid-column: span 8; }

/* ============ WHY CHOOSE ============ */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card {
  padding: 34px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-5px); background: var(--glass-2); border-color: var(--border-2); }
.why-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; position: relative;
  background: linear-gradient(140deg, var(--w-from, var(--blue)), var(--w-to, var(--sky)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 28px -14px rgba(37, 99, 235, 0.5);
}
.why-icon svg { width: 27px; height: 27px; color: #fff; }
.why-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============ CTA ============ */
.cta-section { padding: clamp(56px, 6vw, 90px) 28px; }
.cta-box {
  position: relative;
  padding: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 80px);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(37, 99, 235, 0.16), rgba(56, 189, 248, 0.07));
  border: 1px solid var(--border-2);
  overflow: hidden; text-align: center;
  display: flex; flex-direction: column; gap: 26px; align-items: center;
  box-shadow: 0 40px 90px -30px rgba(37, 99, 235, 0.35);
}
.cta-box h2 { max-width: 20ch; position: relative; z-index: 1; }
.cta-box p { max-width: 54ch; color: var(--muted); font-size: 17px; line-height: 1.65; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
.cta-rings { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-rings::before, .cta-rings::after, .cta-rings .r3 {
  content: ""; position: absolute; top: 50%; left: 50%;
  border: 1px solid rgba(148, 163, 184, 0.1); border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cta-rings::before { width: 480px; height: 480px; }
.cta-rings::after { width: 760px; height: 760px; border-color: rgba(148, 163, 184, 0.06); }
.cta-rings .r3 { width: 1040px; height: 1040px; border-color: rgba(148, 163, 184, 0.04); display: block; }
.cta-quick { display: flex; gap: 26px; align-items: center; font-size: 13.5px; color: var(--muted); position: relative; z-index: 1; flex-wrap: wrap; justify-content: center; }
.cta-quick .q-item { display: flex; align-items: center; gap: 8px; }
.cta-quick svg { width: 16px; height: 16px; color: var(--sky); }

/* ============ FOOTER ============ */
#contact.section { padding-bottom: 40px; }
.footer { position: relative; padding: 56px 28px 44px; border-top: 1px solid var(--border); margin-top: 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--border); }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 18px; line-height: 1.7; max-width: 38ch; }
.footer-socials { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--border); transition: background .25s, transform .25s, border-color .25s; }
.footer-socials a:hover { background: linear-gradient(140deg, var(--blue), var(--sky)); border-color: transparent; transform: translateY(-2px); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.footer-col a { display: block; font-size: 14px; padding: 8px 0; color: var(--text); opacity: 0.82; transition: opacity .2s, transform .2s, color .2s; }
.footer-col a:hover { opacity: 1; transform: translateX(3px); color: var(--sky); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }

.footer-logo-band { display: none; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand > p { text-align: center; }

/* ===== 3D rotating logo coin ===== */
.footer-logo3d {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  perspective: 900px;
}
.logo3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: logoSpin 9s linear infinite;
  will-change: transform;
}
.footer-logo3d:hover .logo3d-inner,
.footer-brand:hover .logo3d-inner { animation-duration: 3.5s; }
@keyframes logoSpin {
  0%   { transform: rotateY(0deg) rotateX(6deg); }
  100% { transform: rotateY(360deg) rotateX(6deg); }
}
.logo3d-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #F1F5F9;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 22px 48px -16px rgba(56, 189, 248, 0.5),
    0 6px 16px -6px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.logo3d-front { transform: rotateY(0deg) translateZ(6px); }
.logo3d-back  { transform: rotateY(180deg) translateZ(6px); }
.logo3d-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-wordmark {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-bottom: 3px;
}
/* Flowing gradient synced to the logo coin's 9s rotation */
.footer-wordmark .gradient-text {
  background: linear-gradient(100deg, #1D4ED8, #2563EB, #38BDF8, #7DD3FC, #38BDF8, #2563EB, #1D4ED8);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordmarkFlow 9s linear infinite;
}
@keyframes wordmarkFlow {
  0%   { background-position: 0% 0; }
  100% { background-position: 240% 0; }
}
.footer-brand:hover .footer-wordmark .gradient-text { animation-duration: 3.5s; }
@media (prefers-reduced-motion: reduce) {
  .footer-wordmark .gradient-text { animation: none; }
}
.footer-wordmark .llc {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding: 3px 7px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .logo3d-inner { animation: none; transform: rotateY(0deg) rotateX(6deg); }
}
.footer-bottom a { color: var(--dim); transition: color .2s; }
.footer-bottom a:hover { color: var(--sky); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ PORTFOLIO ============ */
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
}
.pf-filter {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--border);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.pf-filter:hover { color: var(--text); border-color: var(--border-2); }
.pf-filter.active {
  color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--sky));
  border-color: transparent;
  box-shadow: 0 8px 22px -8px rgba(37, 99, 235, 0.6);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pf-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.pf-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.pf-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.pf-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.pf-card:hover .pf-thumb img { transform: scale(1.05); }
.pf-cat {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 18, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pf-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(11,18,32,0) 40%, rgba(11,18,32,0.55));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.pf-card:hover .pf-overlay { opacity: 1; }
.pf-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #0B1220;
  background: #F1F5F9;
  transform: translateY(8px);
  transition: transform .35s ease;
}
.pf-card:hover .pf-view { transform: translateY(0); }
.pf-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
}
.pf-meta h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.pf-meta p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pf-metric {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sky);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pf-grid { grid-template-columns: 1fr; }
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}
.contact-info {
  padding: 38px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.14), rgba(56, 189, 248, 0.05));
  border: 1px solid var(--border-2);
  display: flex;
  flex-direction: column;
}
.contact-info h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.contact-info > p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 12px; }
.info-list { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.info-row {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 15px; border-radius: 14px;
  border: 1px solid transparent;
  transition: background .25s, border-color .25s, transform .25s;
}
a.info-row:hover { background: var(--glass-2); border-color: var(--border); transform: translateX(3px); }
.info-icon {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue), var(--sky));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 20px -10px rgba(37, 99, 235, 0.6);
}
.info-icon svg { width: 19px; height: 19px; color: #fff; }
.info-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); font-weight: 600; }
.info-value { font-size: 14.5px; color: var(--text); margin-top: 3px; line-height: 1.45; }
.info-socials { display: flex; gap: 10px; margin-top: auto; padding-top: 28px; }
.info-socials a {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--border);
  transition: background .25s, transform .25s, border-color .25s;
}
.info-socials a:hover { background: linear-gradient(140deg, var(--blue), var(--sky)); border-color: transparent; transform: translateY(-2px); }
.info-socials svg { width: 16px; height: 16px; }

.contact-form-wrap {
  padding: 38px;
  border-radius: 20px;
  background: rgba(14, 23, 41, 0.6);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.contact-form { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.form-head { text-align: center; margin-bottom: 6px; }
.form-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
.form-head h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: flex; flex-direction: column; }
.field input, .field textarea {
  width: 100%;
  padding: 15px 17px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical;
}
.field textarea { min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}
.field.invalid input, .field.invalid textarea {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}
.field-err { color: #FCA5A5; font-size: 12px; margin-top: 6px; padding-left: 2px; }
.form-submit { justify-content: center; align-self: center; width: auto; margin-top: 8px; padding: 15px 40px; font-size: 16px; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; pointer-events: none; }
.form-note { font-size: 12px; color: var(--dim); text-align: center; line-height: 1.5; }
.h-captcha-wrap { display: flex; justify-content: center; margin: 2px 0; }
.form-error { color: #FCA5A5; font-size: 13px; text-align: center; margin-top: -4px; }

.form-success { width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 0; }
.success-check {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue), var(--sky));
  box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.success-check svg { width: 32px; height: 32px; color: #fff; }
.form-success h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.form-success p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 40ch; }
.form-success .btn { margin-top: 8px; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-info, .contact-form-wrap { padding: 26px; }
}

/* lg-rim disabled in v3 for cleanliness */
/* Screen-reader-only labels + honeypot (hidden from users, visible to bots) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lg-rim::before, .nav::after, .cta-box::after, .svc-card::after { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card.featured { grid-column: span 3; grid-row: auto; }
  .svc-card.wide { grid-column: span 3; }
  .svc-card.tall { grid-row: auto; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .universe { max-width: 440px; margin: 0 auto; }
  .stats, .story { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
  .svc-card.featured, .svc-card.wide { grid-column: span 2; }
  .about { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .cases { grid-template-columns: repeat(6, 1fr); }
  .case-card.feat, .case-card.lrg { grid-column: span 6; }
  .case-card.std, .case-card.med { grid-column: span 3; }
}

/* ===== Tablet-only footer: centered brand + 3 even link columns (641–980px) ===== */
@media (min-width: 641px) and (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
    text-align: center;
    justify-items: center;
    max-width: 660px;
  }
  .footer-brand { grid-column: 1 / -1; align-items: center; text-align: center; max-width: 460px; }
  .footer-brand > p, .footer-brand p { margin: 16px auto 0; text-align: center; }
  .footer-logo3d { margin: 0 auto 16px; }
  .footer-socials { justify-content: center; margin-top: 20px; }
  .footer-col { align-items: center; text-align: center; }
  .footer-col h5 { margin-bottom: 16px; }
  .footer-bottom { justify-content: center; text-align: center; gap: 10px 20px; }
}
@media (max-width: 640px) {
  .stats, .story, .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; justify-items: stretch; max-width: 100%; text-align: center; }
  .footer-brand { grid-column: 1 / -1; align-items: center; text-align: center; }
  .footer-col { align-items: center; text-align: center; }
  .svc-card.featured, .svc-card.wide { grid-column: span 1; }
  .cases { grid-template-columns: 1fr; }
  .case-card.feat, .case-card.lrg, .case-card.std, .case-card.med { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .h-display { font-size: 42px; }
}

/* ===== Tablet refinements ===== */
@media (max-width: 768px) {
  .section { padding: clamp(64px, 12vw, 100px) 22px; }
  .section-head { margin-bottom: 48px; }
  .hero { min-height: auto; padding-top: 40px; }
  .universe { max-width: 380px; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why { grid-template-columns: 1fr; }
  .footer { padding: 60px 22px 36px; }
  /* CTA band sits directly above the contact form — trim the doubled gap */
  .cta-section { padding-bottom: 12px; }
  #contact.section { padding-top: 56px; }
}

/* ===== Phone refinements ===== */
@media (max-width: 560px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-body { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pf-metric { text-align: left; }
}
@media (max-width: 480px) {
  .section { padding: 56px 18px; }
  #contact.section { padding-top: 44px; }
  .section-head { margin-bottom: 40px; gap: 16px; }
  .hero-left { gap: 22px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 14px 18px; font-size: 12.5px; }
  .universe { max-width: 300px; }
  .stat-card { padding: 24px 22px; }
  .story-card { padding: 28px 24px; }
  .svc-card, .svc-card.featured { padding: 24px; }
  .svc-card.featured h3 { font-size: 24px; }
  .cta-box { padding: 44px 24px; border-radius: 24px; }
  .cta-quick { flex-direction: column; gap: 12px; }
  .contact-info, .contact-form-wrap { padding: 24px; }
  .form-submit { width: 100%; }
  .footer-grid { gap: 28px; text-align: center; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-brand > p, .footer-brand p { text-align: center; }
  .footer-logo3d { margin: 0 auto 18px; }
  .footer-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-socials { justify-content: center; }
  .h-display { font-size: clamp(34px, 11vw, 44px); }
  .eyebrow { font-size: 11px; }
}
@media (max-width: 360px) {
  .h-display { font-size: 30px; }
  .universe { max-width: 250px; }
  .nav-logo .word { font-size: 16px; }
}

/* ===== Touch devices: enable tap states for hover-only effects ===== */
@media (hover: none) {
  .pf-card .pf-overlay { opacity: 1; background: linear-gradient(180deg, rgba(11,18,32,0) 55%, rgba(11,18,32,0.4)); }
  .pf-card .pf-view { opacity: 0; }
  .svc-card .svc-cta { opacity: 1; transform: none; }
}
