/* ================================================================
   RELECON v3 — "Executive Dark"
   Sophisticated · Professional · Authoritative · Modern
   Inspired by: Accenture · 10Pearls · Itransition · Cognizant
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600&family=Geist+Mono:wght@400;500&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Core palette */
  --ink:          #06080F;
  --ink-90:       #0E1118;
  --ink-80:       #161C27;
  --ink-70:       #1F2837;
  --paper:        #FFFFFF;
  --paper-2:      #F7F8FA;
  --paper-3:      #EEF0F4;

  /* Accent — electric teal-blue */
  --accent:       #0EA5E9;
  --accent-deep:  #0284C7;
  --accent-pale:  rgba(14,165,233,0.08);
  --accent-border:rgba(14,165,233,0.20);

  /* Text */
  --t1:   #FFFFFF;
  --t2:   #C8D0DC;
  --t3:   #7A8899;
  --t4:   #3C4A5C;
  --t5:   #1E2B3A;

  /* On-light text */
  --lt1:  #06080F;
  --lt2:  #2C3A4A;
  --lt3:  #5C6E82;
  --lt4:  #8A9BAD;

  /* Borders */
  --b1: rgba(255,255,255,0.06);
  --b2: rgba(255,255,255,0.10);
  --b3: rgba(255,255,255,0.16);
  --lb1: rgba(6,8,15,0.06);
  --lb2: rgba(6,8,15,0.10);
  --lb3: rgba(6,8,15,0.16);

  /* Radius */
  --r-xs: 4px;
  --r-s:  8px;
  --r-m:  14px;
  --r-l:  20px;
  --r-xl: 28px;
  --r-pill: 9999px;

  /* Type */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Geist', system-ui, sans-serif;
  --mono:  'Geist Mono', monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.18s;
  --dur-med:  0.35s;
  --dur-slow: 0.65s;

  /* Layout */
  --max: 1280px;
  --nav-h: 70px;
  --pad-x: clamp(20px, 5vw, 72px);
  --section: clamp(80px, 12vw, 160px);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--t2);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: rgba(14,165,233,0.25); }

/* ─── Layout Primitives ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ─── Typography ─────────────────────────────────────────────── */
/* Display — uses Instrument Serif italic */
.disp-hero {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.6rem, 7vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--t1);
  font-weight: 400;
}
.disp-xl {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.8rem, 5vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--t1);
  font-weight: 400;
}
.disp-lg {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--t1);
  font-weight: 400;
}
.disp-md {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--t1);
  font-weight: 400;
}

/* Upright strong headings */
.head-xl {
  font-family: var(--sans);
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--t1);
}
.head-lg {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--t1);
}

/* Body */
.body-xl { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 300; color: var(--t3); line-height: 1.75; }
.body-lg { font-size: 1.05rem; font-weight: 300; color: var(--t3); line-height: 1.75; }
.body-md { font-size: 0.95rem; font-weight: 300; color: var(--t3); line-height: 1.7; }
.body-sm { font-size: 0.85rem; font-weight: 300; color: var(--t3); line-height: 1.65; }

/* Eyebrow / label */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-med) var(--ease-in-out),
              border-color var(--dur-med) var(--ease-in-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,8,15,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--b1);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  gap: 48px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px;
  height: 34px;
}
.logo-wordmark {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--t1);
}
.logo-wordmark strong { color: var(--accent); font-weight: 600; }

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
}
.nav-menu a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--t3);
  transition: color var(--dur-fast);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--t1); }

/* CTA button in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--r-s);
  white-space: nowrap;
  transition: background var(--dur-fast), transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(14,165,233,0.3);
}
.nav-cta svg { width: 14px; height: 14px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--t2);
  transition: all var(--dur-med);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--ink);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--pad-x);
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 1.8rem;
  color: var(--t3);
  cursor: pointer;
  line-height: 1;
}
.mobile-nav a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--t2);
  padding: 12px 0;
  border-bottom: 1px solid var(--b1);
  width: 100%;
  transition: color var(--dur-fast);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav a:last-of-type { border-bottom: none; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  border-radius: var(--r-s);
  transition: all var(--dur-med) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-lg  { padding: 16px 32px; font-size: 0.95rem; }
.btn-md  { padding: 12px 24px; font-size: 0.875rem; }
.btn-sm  { padding: 9px 18px;  font-size: 0.8rem; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(14,165,233,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--t2);
  border: 1px solid var(--b2);
}
.btn-outline:hover {
  border-color: var(--b3);
  color: var(--t1);
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}
.btn-outline-accent:hover {
  background: var(--accent-pale);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink-80);
  color: var(--t2);
  border: 1px solid var(--b2);
}
.btn-dark:hover {
  background: var(--ink-70);
  color: var(--t1);
  transform: translateY(-2px);
}

/* On light bg */
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: var(--ink-80);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,8,15,0.3);
}

/* Arrow icon circle */
.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
  transition: background var(--dur-fast), transform var(--dur-med) var(--ease-out);
}
.btn:hover .arrow-circle { background: rgba(255,255,255,0.14); transform: translateX(3px); }

/* ─── HERO — Split Panel ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-left {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 60px) var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
}
/* Subtle diagonal rule across hero-left */
.hero-left::before {
  content: '';
  position: absolute;
  top: 0; right: -1px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--b2) 30%, var(--b2) 70%, transparent 100%);
}
.hero-eyebrow {
  margin-bottom: 28px;
  animation: fade-up 0.9s var(--ease-out) 0.1s both;
}
.hero-headline {
  animation: fade-up 1s var(--ease-out) 0.25s both;
  margin-bottom: 36px;
}
.hero-sub {
  max-width: 440px;
  animation: fade-up 1s var(--ease-out) 0.4s both;
  margin-bottom: 52px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fade-up 1s var(--ease-out) 0.55s both;
}
.hero-right {
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) clamp(40px, 6vw, 80px) 80px;
  position: relative;
  overflow: hidden;
  animation: fade-in 1.2s var(--ease-out) 0.3s both;
}
/* Subtle grid texture on right panel */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--lb1) 1px, transparent 1px),
    linear-gradient(90deg, var(--lb1) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Accent corner mark */
.hero-right::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 80px;
  background: var(--accent);
}

/* Hero stats — big numbers on right */
.hero-stats {
  position: relative;
  z-index: 2;
}
.hero-stats-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lt3);
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lb2);
}
.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stat-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--lb2);
}
.stat-item:last-child { border-bottom: none; }
.stat-number {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.8rem, 4vw, 5.5rem);
  font-weight: 400;
  color: var(--lt1);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-unit {
  font-size: 0.5em;
  color: var(--accent);
  vertical-align: super;
}
.stat-desc {
  font-size: 0.85rem;
  color: var(--lt3);
  text-align: right;
  max-width: 180px;
  line-height: 1.5;
}

/* ─── Scroll Reveal ──────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slide-right {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.in  { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ─── Section Divider ────────────────────────────────────────── */
.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
  transform-origin: left;
}
.rule-center {
  background: linear-gradient(90deg, transparent, var(--b2), transparent);
}

/* ─── Process Section ────────────────────────────────────────── */
.process-section {
  padding: var(--section) 0;
  background: var(--ink);
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.process-intro { padding-top: 8px; }
.process-intro h2 { margin-bottom: 20px; }
.process-intro p  { margin-bottom: 36px; }
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--b1);
  cursor: default;
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
}
.process-step:first-child { border-top: 1px solid var(--b1); }
.process-step::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width var(--dur-med) var(--ease-out);
}
.process-step:hover::before { width: 2px; }
.process-step:hover { padding-left: 16px; }
.step-idx {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: 4px;
  letter-spacing: 0.08em;
}
.step-body h4 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.step-body p { font-size: 0.88rem; color: var(--t3); line-height: 1.7; }

/* ─── Services — Full Bleed Cards ───────────────────────────── */
.services-section {
  background: var(--ink-90);
  padding: var(--section) 0;
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--b1);
}
.services-head p { max-width: 420px; }

/* Service cards — full width stacked rows */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--b1);
  cursor: default;
  position: relative;
  transition: all var(--dur-med) var(--ease-out);
  overflow: hidden;
}
.service-row:first-child { border-top: 1px solid var(--b1); }
.service-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,165,233,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med);
}
.service-row:hover::after { opacity: 1; }
.service-row:hover { padding-left: 20px; }

.sr-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--t4);
  letter-spacing: 0.1em;
  align-self: flex-start;
  padding-top: 4px;
}
.sr-body { position: relative; z-index: 1; }
.sr-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.sr-title {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--t1);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.sr-desc { font-size: 0.875rem; color: var(--t3); line-height: 1.7; max-width: 600px; }
.sr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.sr-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--t4);
  background: var(--ink-80);
  border: 1px solid var(--b1);
  border-radius: var(--r-xs);
  padding: 3px 10px;
  letter-spacing: 0.04em;
}
.sr-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--b2);
  border-radius: 50%;
  color: var(--t3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--dur-med) var(--ease-out);
}
.sr-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.service-row:hover .sr-arrow {
  border-color: var(--accent-border);
  color: var(--accent);
  transform: translateX(4px);
}

/* ─── Why Section ────────────────────────────────────────────── */
.why-section {
  padding: var(--section) 0;
  background: var(--ink);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-left h2 { margin-bottom: 24px; }
.why-left .body-xl { margin-bottom: 40px; }
.pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pillar-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--b1);
  transition: padding-left var(--dur-med) var(--ease-out);
}
.pillar-row:first-child { border-top: 1px solid var(--b1); }
.pillar-row:hover { padding-left: 12px; }
.pillar-idx {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  padding-top: 3px;
  flex-shrink: 0;
  letter-spacing: 0.1em;
}
.pillar-title {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.pillar-body { font-size: 0.85rem; color: var(--t3); line-height: 1.65; }

/* Quote panel — on light */
.quote-panel {
  background: var(--ink-80);
  border-radius: var(--r-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.quote-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 80px;
  background: var(--accent);
}
.quote-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  /* background-image:
    linear-gradient(var(--lb1) 1px, transparent 1px),
    linear-gradient(90deg, var(--lb1) 1px, transparent 1px); */
  background-size: 40px 40px;
  pointer-events: none;
}
.quote-inner { position: relative; z-index: 1; }
.quote-open {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.3;
  display: block;
  margin-bottom: 20px;
}
.quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--t3);
  line-height: 1.6;
  margin-bottom: 32px;
}
.quote-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--lb2);
}
.author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 2px solid var(--lb2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lt2);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
.author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
/* .author-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 2px solid var(--lb2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lt2);
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
} */
.author-name  { font-size: 0.9rem; font-weight: 600; color: var(--t1); }
.author-title { font-size: 0.78rem; color: var(--lt3); margin-top: 2px; }

/* ─── Clients marquee ─────────────────────────────────────────── */
.clients-strip {
  padding: 64px 0;
  background: var(--ink-90);
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
}
.clients-kicker {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 32px;
}
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-row {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.marquee-row:hover { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-chip {
  display: flex;
  align-items: center;
  padding: 0 4px;
  opacity: 0.28;
  transition: opacity var(--dur-fast);
  flex-shrink: 0;
}
.client-chip:hover { opacity: 0.7; }
.client-chip span {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--t1);
  white-space: nowrap;
}

/* ─── CTA Section ────────────────────────────────────────────── */
.cta-section {
  background: var(--ink);
  padding: var(--section) 0;
  position: relative;
  overflow: hidden;
}
/* Large ghost text behind CTA */
.cta-bg-text {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(8rem, 18vw, 22rem);
  font-weight: 400;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.06em;
  line-height: 1;
  user-select: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 64px 72px;
  background: var(--ink-80);
  border: 1px solid var(--b2);
  border-radius: var(--r-xl);
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--ink-90);
  border-top: 1px solid var(--b1);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.6fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--t4);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.7;
}
.social-bar {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--b1);
  border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  color: var(--t3);
  transition: all var(--dur-fast);
}
.social-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.social-btn:hover { border-color: var(--accent-border); color: var(--accent); }

.footer-col-head {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 20px;
  display: block;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.85rem; color: var(--t3); transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--t1); }

.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-row {
  display: flex; align-items: flex-start; gap: 12px;
}
.contact-row svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; flex-shrink: 0; margin-top: 1px; }
.contact-row span, .contact-row a { font-size: 0.85rem; color: var(--t3); transition: color var(--dur-fast); }
.contact-row a:hover { color: var(--t1); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--b1);
}
.footer-copy { font-size: 0.78rem; color: var(--t4); }
.footer-links-base { display: flex; gap: 24px; }
.footer-links-base a { font-size: 0.78rem; color: var(--t4); transition: color var(--dur-fast); }
.footer-links-base a:hover { color: var(--t2); }

/* ─── Page header (inner pages) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--ink);
  position: relative;
  border-bottom: 1px solid var(--b1);
  overflow: hidden;
}
/* Accent gradient glow behind page headers */
.page-hero-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 20px; }

/* ─── Services detail page ───────────────────────────────────── */
.svc-section {
  padding: clamp(56px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--b1);
  scroll-margin-top: var(--nav-h);
}
.svc-section:last-child { border-bottom: none; }
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.svc-grid.flip { direction: rtl; }
.svc-grid.flip > * { direction: ltr; }
.svc-num-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.svc-num-label .n {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--t4);
}
.svc-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(14,165,233,0.1);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-xs);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.svc-title { margin-bottom: 20px; }
.svc-body  { margin-bottom: 18px; }
.feat-list { display: flex; flex-direction: column; gap: 0; margin: 28px 0 36px; }
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--b1);
}
.feat-item:first-child { border-top: 1px solid var(--b1); }
.feat-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(14,165,233,0.1);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.feat-check svg { width: 10px; height: 10px; stroke: var(--accent); fill: none; }
.feat-text strong { display: block; font-size: 0.9rem; font-weight: 500; color: var(--t1); margin-bottom: 2px; }
.feat-text span   { font-size: 0.83rem; color: var(--t3); }

/* Visual panels for svc pages */
.svc-visual {
  background: var(--ink-90);
  border: 1px solid var(--b2);
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.svc-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 60px;
  background: var(--accent);
}

/* ─── About page ─────────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: var(--section) 0;
}
.founder-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--b2);
  aspect-ratio: 4/5;
  background: var(--ink-80);
  position: relative;
}
.founder-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.05);
  transition: transform 6s ease;
}
.founder-frame:hover img { transform: scale(1.03); }
.founder-badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(6,8,15,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--b2);
  border-radius: var(--r-m);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.founder-badge-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.founder-badge-text { font-size: 0.82rem; color: var(--t3); line-height: 1.5; }

.about-text h2 { margin-bottom: 24px; }
.about-text p  { margin-bottom: 18px; font-size: 0.95rem; color: var(--t3); line-height: 1.8; }

.founder-quote {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--ink-80);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r-m) var(--r-m) 0;
}
.founder-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 10px;
}
.founder-quote cite { font-size: 0.8rem; color: var(--accent); font-style: normal; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  background: var(--ink-90);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: 0 0 var(--section);
}
.stat-cell {
  padding: 48px 40px;
  border-right: 1px solid var(--b1);
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
.stat-cell-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  color: var(--t1);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.stat-cell-num .accent { color: var(--accent); }
.stat-cell-lbl { font-size: 0.78rem; color: var(--t4); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--mono); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-bottom: var(--section);
}
.val-card {
  background: var(--ink-90);
  border: 1px solid var(--b1);
  border-radius: var(--r-l);
  padding: 36px;
  transition: border-color var(--dur-med), transform var(--dur-med) var(--ease-out);
}
.val-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}
.val-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-s);
  background: rgba(14,165,233,0.08);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.val-card-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.val-card h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.val-card p { font-size: 0.85rem; color: var(--t3); line-height: 1.65; }

/* ─── Contact page ───────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
  padding: var(--section) 0;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 44px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.cd-item { display: flex; align-items: flex-start; gap: 16px; }
.cd-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-s);
  background: rgba(14,165,233,0.08);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cd-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; }
.cd-label { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t4); margin-bottom: 3px; }
.cd-value { font-size: 0.9rem; color: var(--t1); }

/* Next steps box */
.next-steps {
  margin-top: 48px;
  padding: 32px;
  background: var(--ink-80);
  border: 1px solid var(--b2);
  border-radius: var(--r-l);
}
.next-steps h4 { font-size: 0.9rem; font-weight: 600; color: var(--t1); margin-bottom: 20px; }
.next-step {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 16px;
}
.next-step:last-child { margin-bottom: 0; }
.ns-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(14,165,233,0.1);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
  color: var(--accent); flex-shrink: 0;
}
.ns-text { font-size: 0.85rem; color: var(--t3); line-height: 1.6; padding-top: 2px; }

/* Form */
.form-panel {
  background: var(--ink-80);
  border: 1px solid var(--b2);
  border-radius: var(--r-xl);
  padding: 52px;
}
.form-panel-head h3 { font-size: 1.3rem; font-weight: 600; color: var(--t1); margin-bottom: 6px; letter-spacing: -0.02em; }
.form-panel-head p  { font-size: 0.88rem; color: var(--t3); margin-bottom: 36px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fg label {
  font-family: var(--mono);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--t4);
}
.fg input, .fg select, .fg textarea {
  background: var(--ink-90);
  border: 1px solid var(--b2);
  border-radius: var(--r-s);
  padding: 13px 16px;
  font-family: var(--sans); font-size: 0.9rem;
  color: var(--t1);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none; width: 100%; appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--t4); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.07);
}
.fg textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.75rem; color: var(--t4); margin-top: 10px; text-align: center; }
.honeypot { display: none; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.success-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-check svg { width: 24px; height: 24px; stroke: #22c55e; fill: none; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero              { grid-template-columns: 1fr; }
  .hero-right        { display: none; }
  .process-grid      { grid-template-columns: 1fr; gap: 48px; }
  .services-head     { grid-template-columns: 1fr; }
  .service-row       { grid-template-columns: 48px 1fr auto; gap: 24px; }
  .why-grid          { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner         { grid-template-columns: 1fr; gap: 32px; padding: 48px 40px; }
  .cta-actions       { justify-content: flex-start; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .svc-grid          { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid.flip     { direction: ltr; }
  .founder-grid      { grid-template-columns: 1fr; gap: 48px; }
  .stats-row         { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid var(--b1); }
  .stat-cell:nth-child(4) { border-top: 1px solid var(--b1); border-right: none; }
  .values-grid       { grid-template-columns: 1fr; }
  .contact-layout    { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 14px; text-align: center; }
  .stats-row   { grid-template-columns: 1fr 1fr; }
  .form-row-2  { grid-template-columns: 1fr; }
  .hero-left   { padding-bottom: 80px; }
  .service-row { grid-template-columns: 40px 1fr; gap: 16px; }
  .sr-arrow    { display: none; }
  .cta-inner   { padding: 40px 28px; }
  .form-panel  { padding: 36px 28px; }
}
