/* ═══════════════════════════════════════════════════════════
   NYUTH — Enterprise stylesheet
   Edit tokens at the top to retheme the entire site.
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  /* Surfaces */
  --ink:         #080e1c;        /* deepest bg */
  --ink-2:       #0c1326;        /* hero / dark sections */
  --ink-3:       #111827;        /* cards on dark bg */
  --surface:     #ffffff;
  --surface-2:   #f9fafb;        /* page bg */
  --surface-3:   #f3f4f6;        /* zebra / hover bg */

  /* Brand */
  --blue:        #1d6bf3;        /* primary CTA */
  --blue-2:      #2563eb;        /* hover */
  --blue-lt:     #93c5fd;        /* text on dark */
  --blue-bg:     #eff6ff;        /* tint on light */
  --blue-dim:    rgba(29,107,243,.12);

  /* Semantic */
  --green:       #059669;
  --green-bg:    #ecfdf5;
  --green-bd:    #6ee7b7;
  --red:         #dc2626;
  --red-bg:      #fef2f2;
  --red-bd:      #fecaca;

  /* Text */
  --text:        #111827;
  --text-2:      #374151;
  --muted:       #6b7280;
  --muted-2:     #9ca3af;
  --on-dark:     #e2e8f0;
  --on-dark-2:   #94a3b8;

  /* Chrome */
  --border:      #e5e7eb;
  --border-dark: rgba(255,255,255,.08);
  --divider:     #f3f4f6;

  /* Radii */
  --r:           8px;
  --r-sm:        5px;
  --r-lg:        12px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 32px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 48px rgba(0,0,0,.16), 0 8px 16px rgba(0,0,0,.08);

  /* Transitions */
  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--surface-2);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(8, 14, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  /* enterprise accent line at top */
  box-shadow: inset 0 1px 0 0 rgba(29,107,243,.6);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 64px;
}
.nav-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-decoration: none;
  color: var(--surface);
  flex-shrink: 0;
  /* accent underline */
  padding-bottom: 2px;
  border-bottom: 2px solid var(--blue);
}
.nav-links {
  display: flex;
  gap: 0;
  flex: 1;
}
.nav-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--on-dark-2);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  letter-spacing: .01em;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-link:hover  { color: var(--surface); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--surface); font-weight: 600; }

/* Nav CTA button */
.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: var(--surface);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 18px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .15s var(--ease), box-shadow .15s var(--ease);
}
.nav-cta:hover {
  background: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(29,107,243,.25);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--on-dark-2);
  border-radius: 2px;
  transition: background .15s;
}
.nav-hamburger:hover span { background: var(--surface); }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(8,14,28,.97);
  border-top: 1px solid var(--border-dark);
  padding: 8px 20px 16px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu .nav-link {
  width: 100%;
  padding: 11px 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-dark);
}
.nav-mobile-menu .nav-link:last-child { border-bottom: none; }
.nav-mobile-menu .nav-cta {
  margin: 12px 0 0;
  justify-content: center;
  padding: 11px;
  border-radius: var(--r);
}

/* ─────────────────────────────────────────
   PAGE ENTRY ANIMATION
───────────────────────────────────────── */
main { animation: pageIn .3s var(--ease) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue);
  color: var(--surface);
  box-shadow: 0 2px 8px rgba(29,107,243,.35);
}
.btn-primary:hover {
  background: var(--blue-2);
  box-shadow: 0 4px 16px rgba(29,107,243,.45);
}
.btn-outline {
  background: transparent;
  color: var(--surface);
  border: 1px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost-dark {
  background: rgba(255,255,255,.06);
  color: var(--surface);
  border: 1px solid rgba(255,255,255,.1);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.11); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  background-color: var(--ink-2);
  color: var(--surface);
  padding: 96px 40px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,107,243,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,107,243,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Radial fade over grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(29,107,243,.14), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

/* Left column */
.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--blue-lt);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--surface);
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-lt);
}
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--on-dark-2);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Credential strip */
.hero-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-cred {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--on-dark-2);
}
.hero-cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Right column — stat card */
.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}
.hero-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
}
.hero-stat-row:last-child { border-bottom: none; }
.hero-stat-label { font-size: 13px; color: var(--on-dark-2); font-weight: 400; }
.hero-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--surface);
  text-align: right;
}
.hero-stat-value.accent { color: var(--blue-lt); }

/* Bottom strip — dark band */
.hero-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-dark);
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.hero-strip-item {
  flex: 1;
  min-width: 180px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--border-dark);
}
.hero-strip-item:last-child { border-right: none; }
.hero-strip-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--surface);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.hero-strip-label {
  font-size: 12px;
  color: var(--on-dark-2);
  line-height: 1.4;
}

/* ─────────────────────────────────────────
   TRUST BAR (logos / tech strip)
───────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 40px;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-bar-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}
.trust-bar-items {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   SECTION WRAPPERS & HEADERS
───────────────────────────────────────── */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 40px;
}
.section-wrap-sm {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px;
}

.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-lead { margin-left: auto; margin-right: auto; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--blue);
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-lead {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   SERVICE CARDS
───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .18s var(--ease);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .2s var(--ease);
}
.service-card:hover { background: var(--surface-2); }
.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.service-card h3 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}
.service-card p {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
  flex: 1;
}

/* ─────────────────────────────────────────
   CTA STRIP
───────────────────────────────────────── */
.cta-strip {
  background: var(--ink-2);
  color: var(--surface);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,107,243,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,107,243,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(29,107,243,.1), transparent 70%);
  pointer-events: none;
}
.cta-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-strip h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -.5px;
  line-height: 1.25;
}
.cta-strip p  {
  color: var(--on-dark-2);
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-strip-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   PAGE BANNER (inner pages)
───────────────────────────────────────── */
.page-banner {
  background: var(--ink-2);
  color: var(--surface);
  padding: 64px 40px 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,107,243,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,107,243,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.page-banner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 14px;
}
.page-banner .eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--blue-lt);
}
.page-banner h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 10px;
  line-height: 1.15;
}
.page-banner p {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--on-dark-2);
  max-width: 560px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────── */
.about-wrap { max-width: 900px; margin: 0 auto; padding: 64px 40px 88px; }

.about-intro {
  background: var(--ink-2);
  color: var(--surface);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-xl);
}
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--surface);
  letter-spacing: -1px;
  box-shadow: 0 0 0 4px rgba(29,107,243,.2), 0 0 0 8px rgba(29,107,243,.06);
}
.about-intro-text h2      { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 4px; }
.about-intro-text .role-tag {
  font-size: 13px;
  color: var(--blue-lt);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: .01em;
}
.about-intro-text p { font-size: 14px; color: var(--on-dark-2); font-weight: 300; max-width: 540px; line-height: 1.75; }

.resume-section { margin-bottom: 52px; }
.resume-section:last-child { margin-bottom: 0; }
.resume-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.job { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--divider); }
.job:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.job-title   { font-weight: 700; font-size: 15px; color: var(--text); }
.job-dates   {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  background: var(--surface-3);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-weight: 500;
}
.job-company { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 10px; letter-spacing: .01em; }
.job-desc    { font-size: 14px; color: var(--text-2); font-weight: 300; margin-bottom: 12px; line-height: 1.7; }
.sub-label   {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 12px 0 6px;
}
.job ul, .resume-section ul { padding-left: 16px; color: var(--text-2); font-size: 13.5px; }
.job ul li, .resume-section ul li { margin-bottom: 5px; line-height: 1.65; }

.badge {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--green-bd);
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: .02em;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 8px;
}
.skill-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color .15s, background .15s;
}
.skill-item:hover { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }

.edu-item { margin-bottom: 20px; }
.edu-item:last-child { margin-bottom: 0; }
.edu-degree { font-weight: 700; font-size: 14.5px; color: var(--text); }
.edu-school { font-size: 13px; color: var(--muted); margin-top: 2px; }
.edu-year   {
  display: inline-block;
  font-size: 11.5px;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 2px 9px;
  border-radius: 20px;
  margin-top: 5px;
  font-weight: 600;
}

/* ─────────────────────────────────────────
   CARDS GRID (Projects & Articles)
───────────────────────────────────────── */
.cards-wrap { max-width: 1200px; margin: 0 auto; padding: 64px 40px 88px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
/* top accent bar */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(29,107,243,.2);
}
.card:hover::before { transform: scaleX(1); }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.card-icon { font-size: 24px; line-height: 1; }
.card-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
}
.card h3   { font-size: 15.5px; font-weight: 700; color: var(--text); line-height: 1.35; letter-spacing: -.01em; }
.card p    { font-size: 13.5px; color: var(--muted); font-weight: 300; line-height: 1.7; flex: 1; }
.card-meta { font-size: 11.5px; color: var(--muted-2); font-weight: 500; }
.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.tech-tag {
  font-size: 11.5px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 8px;
  color: var(--muted);
  font-weight: 500;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: .01em;
}
.card-link:hover { text-decoration: underline; }
.card-link.disabled { color: var(--muted-2); cursor: default; pointer-events: none; }

/* ─────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────── */
.contact-wrap { max-width: 680px; margin: 0 auto; padding: 64px 40px 88px; }
.contact-header { margin-bottom: 40px; }
.contact-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.contact-header p { color: var(--muted); font-weight: 300; font-size: 15px; }

.contact-links {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.contact-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.contact-link-pill:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 10px var(--blue-dim);
  transform: translateY(-1px);
}
.contact-link-pill .pill-icon { font-size: 15px; }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.form-subtitle { font-size: 13.5px; color: var(--muted); font-weight: 300; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12.5px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  outline: none;
  width: 100%;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim);
  background: var(--surface);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-req { color: var(--red); }
.form-note { font-size: 12px; color: var(--muted-2); margin-bottom: 20px; font-weight: 300; }

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--surface);
  border: none;
  border-radius: var(--r);
  padding: 13px 24px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(29,107,243,.3);
  transition: background .15s, transform .15s, box-shadow .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: .01em;
}
.btn-submit:hover:not(:disabled) {
  background: var(--blue-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(29,107,243,.4);
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Spinner */
.btn-submit-spinner svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success */
.form-success {
  text-align: center;
  padding: 40px 16px;
}
.form-success-icon { font-size: 40px; margin-bottom: 16px; }
.form-success h4   { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-success p    { font-size: 14px; color: var(--muted); font-weight: 300; margin-bottom: 24px; }
.form-reset-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 9px 20px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.form-reset-btn:hover { border-color: var(--blue); background: var(--blue-bg); }

/* Error */
.form-error-msg {
  background: var(--red-bg);
  border: 1px solid var(--red-bd);
  border-radius: var(--r-sm);
  color: var(--red);
  font-size: 13.5px;
  padding: 12px 16px;
  margin-bottom: 20px;
  line-height: 1.55;
}
.form-error-msg a { color: var(--red); font-weight: 600; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--on-dark-2);
  border-top: 1px solid var(--border-dark);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 32px;
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {}
.footer-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--surface);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--on-dark-2);
  font-weight: 300;
  line-height: 1.6;
}
.footer-col-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--surface); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-size: 12px;
  color: #334155;
}
.footer-copy a { color: #475569; text-decoration: none; }
.footer-copy a:hover { color: var(--blue-lt); }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: #334155;
  text-decoration: none;
}
.footer-legal a:hover { color: var(--blue-lt); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-card { display: none; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav-inner    { padding: 0 20px; gap: 0; }
  .nav-links    { display: none; }
  .nav-cta      { display: none; }
  .nav-hamburger { display: flex; }

  .hero         { padding: 64px 20px 0; }
  .hero-strip-item { padding: 16px 0; min-width: 140px; }

  .trust-bar    { padding: 14px 20px; }
  .trust-bar-divider { display: none; }

  .section-wrap, .section-wrap-sm { padding: 56px 20px; }
  .cards-wrap   { padding: 48px 20px 64px; }
  .about-wrap   { padding: 48px 20px 64px; }
  .contact-wrap { padding: 48px 20px 64px; }

  .about-intro  { padding: 28px 24px; flex-direction: column; gap: 20px; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }

  .page-banner  { padding: 48px 20px 44px; }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 36px 20px 24px;
    gap: 28px;
  }
  .footer-bottom { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }

  .cta-strip    { padding: 56px 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
