/* ═══════════════════════════════════════════════════════════════
   AccelerData — Main Stylesheet
   Theme: White BG · Black Text · Yellow Accent · Grey Tones
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  color-scheme: light;
  --white:       #FFFFFF;
  --black:       #0A0A0A;
  --grey-900:    #111827;
  --grey-800:    #1F2937;
  --grey-700:    #374151;
  --grey-600:    #4B5563;
  --grey-500:    #6B7280;
  --grey-400:    #9CA3AF;
  --grey-300:    #D1D5DB;
  --grey-200:    #E5E7EB;
  --grey-100:    #F3F4F6;
  --grey-50:     #F9FAFB;

  --yellow:      #F5C518;
  --yellow-dark: #D4A017;
  --yellow-light:#FEF3C7;
  --yellow-pale: #FFFBEB;

  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:   0 24px 64px rgba(0,0,0,.14);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h:       72px;
  --max-w:       1200px;
  --section-py:  96px;
}

/* ─── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey-500); }
p  { color: var(--grey-600); line-height: 1.75; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: 2px solid var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--grey-300);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--black);
  background: var(--grey-50);
  transform: translateY(-2px);
}

.btn-large { padding: 18px 40px; font-size: 1.05rem; }
.btn-full  { width: 100%; justify-content: center; }

/* ─── SECTION SHARED ──────────────────────────────────────── */
.section { padding: var(--section-py) 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 { margin: 12px 0 18px; }
.section-header p  { font-size: 1.1rem; color: var(--grey-500); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  background: var(--yellow-pale);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--yellow-light);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow 0.3s;
}
#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.logo-accel { color: var(--black); }
.logo-data  { color: var(--grey-600); }
.logo-dot   { color: var(--yellow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: color 0.2s;
}
.nav-links li a:hover { color: var(--black); }

.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--yellow) !important; color: var(--black) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  overflow: hidden;
  background: #FFFFFF;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--grey-700);
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.8); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 28px;
}
.hero-title .line-1, .hero-title .line-3 { color: var(--black); }
.hero-title .line-2 { color: var(--yellow); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--grey-500);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 40px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-num-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  height: 3rem;          /* fixed row height — same for all stats */
  line-height: 1;
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--black);
  font-family: var(--font-sans);
}
.stat-suffix {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--grey-500);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--grey-200);
  flex-shrink: 0;
}

/* scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--grey-400);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--grey-400), transparent);
  animation: scroll-drop 2s infinite;
}
@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════════════ */
.marquee-strip {
  background: var(--black);
  padding: 16px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-300);
  text-transform: uppercase;
  flex-shrink: 0;
}
.marquee-track .sep { color: var(--yellow); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════════ */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--grey-100);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px; height: 52px;
  color: var(--yellow-dark);
  margin-bottom: 20px;
}
.service-icon-wrap svg { width: 100%; height: 100%; }

.service-number {
  position: absolute;
  top: 32px; right: 28px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--grey-300);
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--black);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--grey-500);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--grey-700);
  background: var(--grey-100);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════════════ */
.process-section { background: var(--grey-50); }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: box-shadow 0.3s, transform 0.3s;
}
.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--yellow);
  margin-bottom: 20px;
  line-height: 1;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.88rem;
  color: var(--grey-500);
  line-height: 1.7;
}

.process-connector {
  width: 40px;
  height: 2px;
  background: var(--grey-300);
  flex-shrink: 0;
  margin-top: 56px;
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--grey-300);
}

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════════════════ */
.portfolio-section { background: var(--white); }

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--grey-200);
  color: var(--grey-600);
  background: var(--white);
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.filter-btn:hover    { border-color: var(--black); color: var(--black); }
.filter-btn.active   { background: var(--black); color: var(--white); border-color: var(--black); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.portfolio-card.featured { border: 2px solid var(--yellow); }

.portfolio-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.portfolio-bg {
  position: absolute;
  inset: 0;
}
.bg-1 { background: linear-gradient(135deg, #1F2937 0%, #374151 100%); }
.bg-2 { background: linear-gradient(135deg, #0A0A0A 0%, #1F2937 50%, #F5C518 100%); }
.bg-3 { background: linear-gradient(135deg, #374151 0%, #6B7280 100%); }
.bg-4 { background: linear-gradient(135deg, #1F2937 0%, #4B5563 100%); }
.bg-5 { background: linear-gradient(135deg, #111827 0%, #374151 100%); }
.bg-6 { background: linear-gradient(135deg, #1F2937 0%, #9CA3AF 100%); }

/* subtle grid pattern overlay */
.portfolio-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.portfolio-overlay {
  position: absolute;
  top: 16px; left: 16px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.featured-tag { background: var(--yellow); color: var(--black); }

.portfolio-body { padding: 28px; }

.industry-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 10px;
}

.portfolio-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.portfolio-body p {
  font-size: 0.86rem;
  color: var(--grey-500);
  margin-bottom: 20px;
  line-height: 1.65;
}

.portfolio-metrics {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-100);
}
.metric { display: flex; flex-direction: column; }
.metric-val {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
}
.metric-lbl {
  font-size: 0.7rem;
  color: var(--grey-400);
  font-weight: 500;
  white-space: nowrap;
}

.portfolio-card.hidden { display: none; }

/* ═══════════════════════════════════════════════════════════════
   TECHNOLOGY STACK
═══════════════════════════════════════════════════════════════ */
.tech-section {
  background: var(--grey-900);
  color: var(--white);
}
.tech-section .section-header h2 { color: var(--white); }
.tech-section .section-header p  { color: var(--grey-400); }
.tech-section .section-label     {
  background: rgba(245,197,24,.15);
  border-color: rgba(245,197,24,.3);
  color: var(--yellow);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tech-category h4 {
  color: var(--grey-400);
  margin-bottom: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: var(--grey-300);
  border: 1px solid rgba(255,255,255,.1);
  transition: all 0.2s;
  cursor: default;
}
.tech-pill:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.2);
}
.tech-pill.highlight {
  background: rgba(245,197,24,.15);
  color: var(--yellow);
  border-color: rgba(245,197,24,.3);
}

/* ═══════════════════════════════════════════════════════════════
   INDUSTRIES
═══════════════════════════════════════════════════════════════ */
.industries-section { background: var(--grey-50); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
  cursor: default;
}
.industry-item:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px var(--yellow-pale);
  transform: translateY(-4px);
}
.industry-item:hover .industry-icon { color: var(--yellow-dark); }

.industry-icon {
  width: 44px; height: 44px;
  color: var(--grey-500);
  margin-bottom: 14px;
  transition: color 0.3s;
}
.industry-icon svg { width: 100%; height: 100%; }

.industry-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey-700);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about-section { background: var(--white); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-left .section-label { margin-bottom: 16px; }
.about-left h2 { margin-bottom: 24px; }

.about-lead {
  font-size: 1.1rem;
  color: var(--grey-700);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.7;
}
.about-left p { margin-bottom: 16px; font-size: 0.95rem; }

.about-pillars {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pillar-icon {
  font-size: 0.7rem;
  color: var(--yellow);
  margin-top: 4px;
  flex-shrink: 0;
}
.pillar strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}
.pillar span { font-size: 0.86rem; color: var(--grey-500); }

/* about visual grid */
.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vg-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vg-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.vg-text { font-size: 0.82rem; font-weight: 500; line-height: 1.4; }

.vg-yellow { background: var(--yellow); }
.vg-yellow .vg-num, .vg-yellow .vg-text { color: var(--black); }

.vg-dark { background: var(--grey-900); }
.vg-dark .vg-num { color: var(--yellow); }
.vg-dark .vg-text { color: var(--grey-400); }

.vg-grey { background: var(--grey-100); }
.vg-grey .vg-num { color: var(--black); }
.vg-grey .vg-text { color: var(--grey-600); }

.vg-outline {
  background: var(--white);
  border: 2px solid var(--grey-200);
}
.vg-outline .vg-num { color: var(--black); }
.vg-outline .vg-text { color: var(--grey-500); }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--grey-50); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.testimonial-card.featured-testimonial {
  background: var(--black);
  border-color: var(--black);
}
.testimonial-card.featured-testimonial p { color: var(--grey-300); }
.testimonial-card.featured-testimonial .testimonial-author strong { color: var(--white); }
.testimonial-card.featured-testimonial .testimonial-author span   { color: var(--grey-500); }
.testimonial-card.featured-testimonial .quote-mark                { color: var(--yellow); }

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--yellow);
  opacity: .6;
  margin-bottom: 8px;
  display: block;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--grey-600);
  line-height: 1.75;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.av1 { background: linear-gradient(135deg, #374151, #6B7280); }
.av2 { background: linear-gradient(135deg, #F5C518, #D4A017); }
.av3 { background: linear-gradient(135deg, #1F2937, #374151); }

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--grey-500);
}

/* ═══════════════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--yellow);
  padding: 80px 24px;
  text-align: center;
}
.cta-band h2 { color: var(--black); margin-bottom: 16px; }
.cta-band p  { color: var(--grey-800); font-size: 1.05rem; margin-bottom: 36px; }
.cta-band .btn-primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.cta-band .btn-primary:hover {
  background: var(--grey-900);
  border-color: var(--grey-900);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
.contact-section { background: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-left .section-label { margin-bottom: 16px; }
.contact-left h2 { margin-bottom: 20px; }
.contact-left > p { font-size: 0.95rem; color: var(--grey-500); margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--grey-600);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--black); }
.contact-item span   { font-size: 0.88rem; color: var(--grey-500); }

/* Form */
.contact-form {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 24px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--grey-700);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-400); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,.2);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group textarea { resize: vertical; min-height: 96px; }

/* form success */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--yellow-pale);
  border: 1px solid var(--yellow-light);
  border-radius: var(--radius-md);
}
.form-success h3 { color: var(--black); margin-bottom: 8px; }
.form-success p  { color: var(--grey-600); font-size: 0.9rem; }
.form-success.visible { display: block; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--grey-900);
  color: var(--grey-400);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.footer-brand .logo-accel { color: var(--white); }
.footer-brand .logo-data  { color: var(--grey-500); }
.footer-brand p {
  font-size: 0.86rem;
  color: var(--grey-500);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
  font-size: 0.86rem;
  color: var(--grey-500);
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--grey-600);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--grey-600); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--yellow); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* staggered delays */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid      { grid-template-columns: repeat(2, 1fr); }
  .tech-categories     { grid-template-columns: repeat(2, 1fr); }
  .industries-grid     { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid   { grid-template-columns: 1fr 1fr; }
  .about-layout        { gap: 48px; }
  .contact-layout      { gap: 48px; }
  .footer-top          { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps       { flex-direction: column; gap: 0; }
  .process-connector   { display: none; }
  .process-step        { width: 100%; margin-bottom: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--grey-200);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 12px 24px;
    font-size: 1rem;
  }
  .nav-cta {
    margin: 8px 24px 0;
    text-align: center;
    display: block;
  }

  /* Hero */
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .stat-divider { display: none; }

  /* Grids → single col */
  .services-grid     { grid-template-columns: 1fr; }
  .portfolio-grid    { grid-template-columns: 1fr; }
  .tech-categories   { grid-template-columns: 1fr; }
  .industries-grid   { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-layout      { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout    { grid-template-columns: 1fr; gap: 40px; }
  .footer-top        { grid-template-columns: 1fr; gap: 32px; }
  .form-row          { grid-template-columns: 1fr; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .visual-grid       { grid-template-columns: 1fr 1fr; }
  .contact-form      { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO CARD — clickable affordance
═══════════════════════════════════════════════════════════════ */
.portfolio-card { cursor: pointer; }

.portfolio-card .portfolio-body::after {
  content: 'Read case study →';
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--yellow-dark, #D4A017);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.portfolio-card:hover .portfolio-body::after {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT MODAL
═══════════════════════════════════════════════════════════════ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease;
}
.project-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 25, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.project-modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 1080px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(.97);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.9,.3,1), opacity .35s ease;
  display: flex;
  flex-direction: column;
}
.project-modal.open .project-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(15, 17, 25, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  backdrop-filter: blur(8px);
}
.project-modal-close:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: rotate(90deg);
}
.project-modal-close svg { width: 18px; height: 18px; }

.project-modal-content {
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ─── Modal hero band ─────────────────────────────────────── */
.pm-hero {
  position: relative;
  padding: 44px 56px 36px;
  background: linear-gradient(135deg, #0F1119 0%, #1A1D2A 100%);
  color: #fff;
  overflow: hidden;
}
.pm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(245,197,24,0.22), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(245,197,24,0.12), transparent 50%);
  pointer-events: none;
}
.pm-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.pm-hero-text { min-width: 0; }
.pm-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pm-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
}
.pm-tag.warm {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.pm-industry {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}
.pm-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #fff;
}
.pm-summary {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 22px;
}
.pm-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.pm-meta strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.pm-hero-art {
  position: relative;
  height: 260px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pm-hero-art svg {
  width: 100%;
  height: 100%;
}

/* ─── Modal body ──────────────────────────────────────────── */
.pm-body {
  padding: 40px 56px 48px;
  background: var(--white);
}

.pm-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.pm-metric {
  padding: 20px 18px;
  background: var(--grey-50, #F8F8F9);
  border: 1px solid var(--grey-200, #E5E7EB);
  border-radius: 12px;
  text-align: left;
  transition: all .25s ease;
}
.pm-metric:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.pm-metric-val {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 6px;
}
.pm-metric-val.warm { color: var(--yellow-dark, #D4A017); }
.pm-metric-lbl {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-600, #6B7280);
  letter-spacing: 0.02em;
}

.pm-section {
  margin-bottom: 32px;
}
.pm-section h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-600, #6B7280);
  margin: 0 0 14px;
}
.pm-section h4::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--yellow);
}
.pm-section p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--grey-800, #1F2937);
  margin: 0 0 12px;
}
.pm-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pm-section ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-800, #1F2937);
  border-bottom: 1px dashed var(--grey-200, #E5E7EB);
}
.pm-section ul li:last-child { border-bottom: none; }
.pm-section ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(245,197,24,0.18);
}

.pm-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pm-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pm-tech-pill {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--grey-300, #D1D5DB);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-800, #1F2937);
  transition: all .2s ease;
}
.pm-tech-pill:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.pm-cta {
  margin-top: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--grey-50, #F8F8F9) 0%, #FFF 100%);
  border: 1px solid var(--grey-200, #E5E7EB);
  border-left: 3px solid var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.pm-cta p {
  margin: 0;
  font-size: 15px;
  color: var(--grey-800, #1F2937);
  font-weight: 500;
}

/* Body lock when modal open */
body.modal-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT FORM — submission status
═══════════════════════════════════════════════════════════════ */
.form-status {
  margin: 14px 0 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  min-height: 1.2em;
  text-align: center;
  color: var(--grey-600, #6B7280);
  transition: color .25s ease;
}
.form-status.success {
  color: #15803d;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.30);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: left;
}
.form-status.error {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.30);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: left;
}

/* Modal responsive */
@media (max-width: 880px) {
  .pm-hero { padding: 28px 24px 24px; }
  .pm-body { padding: 28px 24px 32px; }
  .pm-hero-inner { grid-template-columns: 1fr; gap: 22px; }
  .pm-hero-art { height: 200px; }
  .pm-title { font-size: 26px; }
  .pm-metrics { grid-template-columns: repeat(2, 1fr); }
  .pm-grid-2 { grid-template-columns: 1fr; gap: 20px; }
}
