/* ============================================================
   GeekPro Marketing — Design System
   Aesthetic: Premium editorial-corporate. Ink navy + cobalt,
   high-contrast Fraunces display serif over Hanken Grotesk.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Color */
  --ink:        #0b1430;
  --ink-2:      #16224a;
  --ink-soft:   #2a3760;
  --paper:      #ffffff;
  --mist:       #f3f6fe;
  --mist-2:     #eaf0fe;
  --line:       #e1e7f5;
  --muted:      #58658a;
  --accent:     #2d4cf0;
  --accent-2:   #1c34c4;
  --teal:       #0bb5a6;
  --amber:      #ff9e3d;
  --halo:       rgba(45, 76, 240, 0.14);

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Space */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 9vw, 132px);

  /* Radius + shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 48, 0.06), 0 4px 14px rgba(11, 20, 48, 0.05);
  --shadow:    0 10px 30px rgba(11, 20, 48, 0.08), 0 2px 8px rgba(11, 20, 48, 0.04);
  --shadow-lg: 0 30px 70px rgba(11, 20, 48, 0.14), 0 8px 24px rgba(11, 20, 48, 0.08);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { color: var(--ink-soft); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; }

.kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.kicker.center { justify-content: center; }

/* gradient text accent */
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--section-y); position: relative; }
.section.tint { background: var(--mist); }
.section.ink { background: var(--ink); color: #dfe6fb; }
.section.ink h1, .section.ink h2, .section.ink h3 { color: #fff; }
.section.ink p { color: #aeb9e0; }

.center { text-align: center; }
.eyebrow-block { max-width: 720px; }
.eyebrow-block.center { margin-inline: auto; }
.eyebrow-block h2 { margin-top: 18px; }
.eyebrow-block p { margin-top: 18px; }

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

@media (max-width: 960px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px var(--halo); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 30px var(--halo); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 17px 32px; font-size: 1.04rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--accent); font-weight: 600; font-size: 0.96rem;
}
.textlink svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11,20,48,0.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--accent); }
/* Image logo (tagline-free SVG) — shown in full, height-constrained. */
.brand .logo-crop { display: inline-block; height: 40px; line-height: 0; }
.brand .logo-crop img { display: block; height: 40px; width: auto; }
@media (max-width: 920px) { .brand .logo-crop, .brand .logo-crop img { height: 32px; } }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
  background: none; border: none;
}
.nav-links > li > a:hover, .nav-trigger:hover { color: var(--accent); background: var(--mist); }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 10px; }

/* dropdown */
.has-menu { position: relative; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform 0.25s; }
.has-menu:hover .nav-trigger svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 540px; max-width: 86vw;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
/* invisible bridge across the gap so hover doesn't drop between trigger and menu */
.menu::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; transition: background 0.18s; }
.menu a:hover { background: var(--mist); }
.menu .mi-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--mist-2); color: var(--accent); display: grid; place-items: center; }
.menu .mi-ic svg { width: 19px; height: 19px; }
.menu a > span:last-child { display: flex; flex-direction: column; }
.menu .mi-t { display: block; font-weight: 600; font-size: 0.93rem; color: var(--ink); line-height: 1.3; }
.menu .mi-d { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 3px; }

.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; transition: 0.3s var(--ease); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px var(--gut) 28px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform 0.4s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > li > a, .nav-trigger { padding: 14px; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .menu {
    position: static; width: 100%; max-width: none; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; grid-template-columns: 1fr; padding: 4px 0 8px;
    max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease);
  }
  .has-menu.open .menu { max-height: 720px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: var(--section-y); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, var(--halo), transparent 62%);
  filter: blur(10px);
}
.hero-grid-tex {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 60% at 70% 10%, #000 0%, transparent 70%);
  opacity: 0.5;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .lede { margin-top: 24px; max-width: 540px; }
.hero .btn-row { margin-top: 34px; }
.hero-trust { margin-top: 40px; }
.hero-trust span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 26px 34px; align-items: center; margin-top: 16px; opacity: 0.78; }
.logos b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink-soft); letter-spacing: -0.01em; }

/* logo wall (image-based) */
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; margin-top: 18px; }
.logo-wall img { height: 26px; width: auto; opacity: 0.6; filter: grayscale(1); transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), transform 0.3s var(--ease); }
.logo-wall img:hover { opacity: 1; filter: none; transform: translateY(-2px); }
@media (max-width: 560px) { .logo-wall { gap: 18px 28px; } .logo-wall img { height: 22px; } }

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

/* hero visual card */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-xl); pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hc-top b { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hc-badge { font-family: var(--mono); font-size: 0.7rem; color: var(--teal); background: rgba(11,181,166,0.1); padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.hc-stat { display: flex; align-items: baseline; gap: 10px; }
.hc-stat .n { font-family: var(--display); font-size: 3rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.hc-stat .up { color: var(--teal); font-weight: 700; font-size: 0.95rem; }
.hc-label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.hc-bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; margin-top: 22px; }
.hc-bars i { flex: 1; background: var(--mist-2); border-radius: 6px 6px 0 0; display: block; transform-origin: bottom; animation: grow 0.9s var(--ease) backwards; }
.hc-bars i:last-child { background: linear-gradient(var(--accent), var(--teal)); }
@keyframes grow { from { transform: scaleY(0); } }
.hc-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.hc-foot div .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hc-foot div .v { font-weight: 700; font-size: 1.05rem; margin-top: 3px; }

/* page hero (interior) */
.page-hero { padding-top: clamp(54px, 7vw, 86px); padding-bottom: clamp(46px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero .hero-grid-tex { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 72%); }
.page-hero .inner { max-width: 760px; }
.page-hero.center .inner { margin-inline: auto; text-align: center; }
.page-hero h1 { margin-top: 20px; }
.page-hero .lede { margin-top: 20px; }
.breadcrumb { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mist); color: var(--accent); margin-bottom: 20px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.card .ic svg { width: 26px; height: 26px; }
.card:hover .ic { background: var(--accent); color: #fff; }
.card h3 { font-size: 1.3rem; }
.card p { margin-top: 10px; font-size: 0.97rem; }
.card .more { margin-top: 18px; }
.card.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transition: width 0.4s var(--ease);
}
.card.service:hover::before { width: 100%; }

/* feature row card */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .ic { flex: none; margin-bottom: 0; width: 46px; height: 46px; border-radius: 12px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1.1rem; }
.feature p { margin-top: 6px; font-size: 0.95rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .n { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.section.ink .stat .n { background: linear-gradient(180deg, #fff, #9fb0ef); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
.section.ink .stat .l { color: #93a0ce; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow 0.3s, transform 0.3s; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.step .num { counter-increment: step; font-family: var(--display); font-size: 1.5rem; font-weight: 600; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--accent); }
.step .num::before { content: "0" counter(step); }
.step h4 { font-size: 1.2rem; }
.step p { margin-top: 8px; font-size: 0.96rem; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; position: relative; transition: box-shadow 0.3s, transform 0.3s; }
.quote:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.quote .stars { color: var(--amber); letter-spacing: 2px; font-size: 0.95rem; }
.quote blockquote { font-family: var(--display); font-size: 1.2rem; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); margin: 16px 0 22px; }
.quote .by { display: flex; align-items: center; gap: 13px; }
.quote .av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--display); }
.quote .by .nm { font-weight: 700; font-size: 0.95rem; }
.quote .by .rl { font-size: 0.84rem; color: var(--muted); }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--display); font-size: 1.18rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: 0.3s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: 0.3s var(--ease); }
.faq-q .pm::before { width: 12px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 12px; }
.faq-item.open .faq-q .pm { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-q .pm::before, .faq-item.open .faq-q .pm::after { background: #fff; }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding-bottom: 24px; color: var(--muted); max-width: 760px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, #243a8a 130%);
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px); text-align: center; position: relative; overflow: hidden;
}
.cta-card::before { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 120%; height: 120%; background: radial-gradient(ellipse at top, rgba(45,76,240,0.45), transparent 55%); }
.cta-card h2 { color: #fff; position: relative; }
.cta-card p { color: #b3bfe8; max-width: 560px; margin: 18px auto 0; position: relative; }
.cta-card .btn-row { justify-content: center; margin-top: 32px; position: relative; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--ink-soft); font-size: 1rem; }
.checklist .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mist-2); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.checklist .ck svg { width: 14px; height: 14px; }

.media-panel { border-radius: var(--r-xl); padding: 32px; background: var(--mist); border: 1px solid var(--line); position: relative; overflow: hidden; }
.media-panel.dark { background: var(--ink); border: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--halo); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0476b; }
.field .err { font-size: 0.8rem; color: #e0476b; display: none; }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.84rem; color: var(--muted); }
.form-success {
  display: none; gap: 14px; align-items: center; padding: 18px 22px; border-radius: var(--r);
  background: rgba(11,181,166,0.08); border: 1px solid rgba(11,181,166,0.3); color: var(--ink);
}
.form-success.show { display: flex; }
.form-success .ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }

/* contact info list */
.contact-info { display: grid; gap: 22px; }
.ci { display: flex; gap: 16px; align-items: flex-start; }
.ci .ic { width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--mist); color: var(--accent); display: grid; place-items: center; }
.ci .ic svg { width: 22px; height: 22px; }
.ci .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ci .v { font-weight: 600; margin-top: 3px; }
.ci a.v:hover { color: var(--accent); }

/* ---------- Pills / tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); background: var(--mist); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Case study card ---------- */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); display: flex; flex-direction: column; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case .top { padding: 28px 28px 0; }
.case .tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.case h3 { margin-top: 12px; font-size: 1.35rem; }
.case p { margin-top: 10px; font-size: 0.95rem; }
.case .metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 24px 28px; margin-top: auto; background: var(--mist); border-top: 1px solid var(--line); }
.case .metrics .n { font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.case .metrics .l { font-size: 0.74rem; color: var(--muted); margin-top: 5px; }

/* ---------- Logo strip section ---------- */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { display: flex; align-items: center; gap: 60px; width: max-content; animation: slide 32s linear infinite; }
.marquee b { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--ink-soft); opacity: 0.55; white-space: nowrap; }
.marquee img { height: 28px; width: auto; opacity: 0.5; filter: grayscale(1); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb9e0; padding-top: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; gap: 0; }
.site-footer .brand b { color: #7e94f5; }
/* footer logo: full-color logo on a light chip so it stays legible on the dark footer */
.footer-logo { height: 38px; width: auto; background: #fff; padding: 9px 14px; border-radius: 12px; box-sizing: content-box; }
.footer-about { max-width: 320px; }
.footer-about p { color: #93a0ce; margin-top: 16px; font-size: 0.95rem; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.06); display: grid; place-items: center; color: #aeb9e0; transition: 0.25s var(--ease); }
.foot-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.foot-social svg { width: 18px; height: 18px; }
.footer-col h5 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7aa8; margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; padding: 7px 0; color: #aeb9e0; font-size: 0.95rem; transition: color 0.2s, padding 0.2s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; color: #6b7aa8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; }
}

/* ---------- Helpers ---------- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 30px; } .mt-l { margin-top: 48px; }
.mb-m { margin-bottom: 30px; } .mb-l { margin-bottom: 48px; }
.maxw-720 { max-width: 720px; } .maxw-620 { max-width: 620px; }
.dim { color: var(--muted); }
hr.rule { border: none; border-top: 1px solid var(--line); margin: 0; }
