/* ─── Variables ──────────────────────────────────────────────────────────────── */
:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --c-bg: #ffffff;
  --c-text: #0a0a0a;
  --c-text-secondary: #525252;
  --c-text-muted: #737373;
  --c-border: #e5e5e5;
  --c-border-light: #f5f5f5;
  --c-neutral-50: #fafafa;
  --c-neutral-100: #f5f5f5;
  --c-neutral-200: #e5e5e5;
  --c-neutral-300: #d4d4d4;
  --c-neutral-400: #a3a3a3;
  --c-neutral-500: #737373;
  --c-neutral-600: #525252;
  --c-neutral-700: #404040;
  --c-neutral-800: #262626;
  --c-neutral-900: #171717;
  --c-neutral-950: #0a0a0a;
  --c-blue-600: #2563eb;
  --c-blue-400: #60a5fa;
  --c-accent: var(--c-blue-600);
  --c-dark-bg: #0a0a0a;
  --c-dark-surface: #171717;
}

[data-theme="dark"] {
  --c-bg: #0a0a0a;
  --c-text: #ffffff;
  --c-text-secondary: #a3a3a3;
  --c-text-muted: #737373;
  --c-border: #262626;
  --c-border-light: #171717;
  --c-accent: var(--c-blue-400);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01","ss02","cv01","cv02";
  transition: background 0.2s, color 0.2s;
}

body.nav-open { overflow: hidden; }

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

::selection { background: var(--c-neutral-950); color: #fff; }
[data-theme="dark"] ::selection { background: #fff; color: var(--c-neutral-950); }

:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ─── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #a3a3a3; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #737373; }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #171717; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #525252; }

/* ─── Skip Link ──────────────────────────────────────────────────────────────── */
.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--c-neutral-950); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

/* ─── Container ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.container-inner { max-width: 42rem; margin: 0 auto; }
@media (min-width: 1024px) { .container-inner { max-width: none; } }

/* ─── Site Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 50;
}

.header-bar {
  position: absolute;
  left: 0; right: 0;
  top: 0.5rem;
  padding-top: 3.5rem;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  height: 2.5rem;
  width: auto;
  transition: opacity 0.3s;
}

[data-theme="dark"] .site-logo { filter: invert(1); }
.site-logo--invert { filter: invert(1); }
[data-theme="dark"] .site-logo--invert { filter: invert(0); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.labs-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid var(--c-neutral-300);
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-neutral-700);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.labs-pill:hover {
  border-color: var(--c-neutral-950);
  background: var(--c-neutral-950);
  color: #fff;
}
[data-theme="dark"] .labs-pill {
  border-color: var(--c-neutral-700);
  color: var(--c-neutral-300);
}
[data-theme="dark"] .labs-pill:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.labs-pill--invert {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.labs-pill--invert:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.pulse-dot { position: relative; display: inline-flex; height: 0.375rem; width: 0.375rem; }
.pulse-ring {
  position: absolute;
  display: inline-flex;
  height: 100%; width: 100%;
  border-radius: 9999px;
  background: var(--c-neutral-400);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.pulse-core {
  position: relative;
  display: inline-flex;
  height: 0.375rem; width: 0.375rem;
  border-radius: 9999px;
  background: var(--c-neutral-400);
}
.pulse-ring--green { background: #10b981; }
.pulse-core--green { background: #10b981; }
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  transition: background 0.3s;
}
.icon-btn:hover { background: rgba(10,10,10,0.1); }
[data-theme="dark"] .icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn--invert:hover { background: rgba(255,255,255,0.1); }

.icon { width: 1.25rem; height: 1.25rem; display: block; }
.icon-btn .icon { color: var(--c-neutral-950); }
[data-theme="dark"] .icon-btn .icon { color: #fff; }
.icon-btn--invert .icon { color: #fff !important; }

/* ─── Nav Panel ──────────────────────────────────────────────────────────────── */
.nav-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 40;
}
.nav-backdrop.visible { display: block; }

.nav-panel {
  position: relative;
  z-index: 50;
  overflow: hidden;
  border-radius: 0 0 2.5rem 2.5rem;
  background: var(--c-neutral-950);
  height: 0;
  pointer-events: none;
  transition: height 0.42s cubic-bezier(0.16,1,0.3,1);
}
.nav-panel.open {
  pointer-events: auto;
}
.nav-panel.open .nav-panel-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease-out 0.06s, transform 0.28s ease-out 0.06s;
}

.nav-panel-inner {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.18s ease-in, transform 0.18s ease-in;
  border-radius: 0 0 2.5rem 2.5rem;
  overflow: hidden;
}

.nav-panel-bar { padding: 3.5rem 0 4rem; }

.main-nav {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 2.5rem 2.5rem;
}
@media (min-width: 640px) { .main-nav { font-size: 3rem; } }

.nav-row {
  border-top: 1px solid #262626;
}
.nav-row:first-child { border-top: 1px solid #262626; }

.nav-row-inner {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .nav-row-inner { grid-template-columns: 1fr 1fr; } }

.nav-item-link {
  position: relative;
  display: block;
  isolation: isolate;
  padding: 1.5rem;
  border-bottom: 1px solid #262626;
  color: #fff;
  transition: color 0.3s;
}
@media (min-width: 640px) {
  .nav-item-link {
    padding: 4rem 0;
    border-bottom: 0;
  }
  .nav-item-link:nth-child(odd) { padding-right: 4rem; }
  .nav-item-link:nth-child(even) {
    padding-left: 4rem;
    border-left: 1px solid #262626;
  }
}

.nav-item-link::before {
  content: '';
  position: absolute;
  inset-y: 0;
  width: 100vw;
  background: #171717;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-item-link:nth-child(odd)::before { right: 0; }
.nav-item-link:nth-child(even)::before { left: 0; }
.nav-item-link:hover::before { opacity: 1; }

/* ─── Content Wrapper ────────────────────────────────────────────────────────── */
.content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--c-bg);
  border-top-left-radius: 2.5rem;
  border-top-right-radius: 2.5rem;
  overflow: hidden;
  padding-top: 3.5rem;
}

.main-content {
  flex: 1;
  width: 100%;
  padding-top: 2.25rem;
}

/* ─── Loading ────────────────────────────────────────────────────────────────── */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.loading-spinner {
  width: 2rem; height: 2rem;
  border: 2px solid var(--c-neutral-200);
  border-top-color: var(--c-neutral-950);
  border-radius: 9999px;
  animation: spin 0.75s linear infinite;
}
[data-theme="dark"] .loading-spinner {
  border-color: var(--c-neutral-800);
  border-top-color: #fff;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Section Eyebrow ────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-blue-600);
}
[data-theme="dark"] .eyebrow { color: var(--c-blue-400); }

/* ─── Section Spacing ────────────────────────────────────────────────────────── */
.section-mt { margin-top: 6rem; }
@media (min-width: 640px) { .section-mt { margin-top: 8rem; } }
@media (min-width: 1024px) { .section-mt { margin-top: 10rem; } }

/* ─── Hero Section ───────────────────────────────────────────────────────────── */
.hero-section { position: relative; }

.grid-pattern {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
}
.grid-pattern svg {
  position: absolute;
  left: max(50%, 25rem);
  top: 0;
  height: 64rem; width: 128rem;
  transform: translateX(-50%);
  stroke: var(--c-neutral-200);
  mask-image: radial-gradient(64rem 64rem at top, white, transparent);
}
[data-theme="dark"] .grid-pattern svg { stroke: var(--c-neutral-800); }

.hero-pt { padding-top: 6rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .hero-pt { padding-top: 8rem; } }
@media (min-width: 768px) { .hero-pt { padding-top: 12rem; } }
@media (min-width: 1024px) { .hero-pt { padding-top: 14rem; } }

.hero-badge {
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  border-left: 2px solid var(--c-blue-600);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-blue-600);
}
[data-theme="dark"] .hero-badge { border-color: var(--c-blue-400); color: var(--c-blue-400); }

.hero-title {
  margin-top: 2rem;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--c-neutral-950);
  text-wrap: balance;
}
[data-theme="dark"] .hero-title { color: #fff; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--c-neutral-600);
}
[data-theme="dark"] .hero-subtitle { color: var(--c-neutral-400); }

.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  background: var(--c-neutral-950);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--c-neutral-700); }
[data-theme="dark"] .btn-primary { background: #fff; color: var(--c-neutral-950); }
[data-theme="dark"] .btn-primary:hover { background: var(--c-neutral-200); }

.btn-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-neutral-950);
  text-decoration: none;
  transition: color 0.2s;
}
.btn-text:hover { text-decoration: underline; text-underline-offset: 4px; }
[data-theme="dark"] .btn-text { color: #fff; }

.hero-stats-row { padding-bottom: 4rem; }
@media (min-width: 640px) { .hero-stats-row { padding-bottom: 6rem; } }

.hero-stats-border { border-top: 1px solid var(--c-neutral-200); padding-top: 3rem; }
[data-theme="dark"] .hero-stats-border { border-color: var(--c-neutral-800); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-value {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--c-neutral-950);
}
[data-theme="dark"] .stat-value { color: #fff; }
@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--c-neutral-500);
}

/* ─── Page Intro (inner pages) ───────────────────────────────────────────────── */
.page-intro { position: relative; }
.page-intro-pt { padding-top: 6rem; }
@media (min-width: 640px) { .page-intro-pt { padding-top: 8rem; } }
@media (min-width: 1024px) { .page-intro-pt { padding-top: 10rem; } }

.page-intro-content { max-width: 48rem; }

.page-h1 {
  margin-top: 1rem;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--c-neutral-950);
  text-wrap: balance;
}
[data-theme="dark"] .page-h1 { color: #fff; }
@media (min-width: 640px) { .page-h1 { font-size: 3.75rem; } }

.page-desc {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: var(--c-neutral-600);
}
[data-theme="dark"] .page-desc { color: var(--c-neutral-400); }

/* ─── Section Headings ───────────────────────────────────────────────────────── */
.section-h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--c-neutral-950);
  text-wrap: balance;
}
[data-theme="dark"] .section-h2 { color: #fff; }
@media (min-width: 640px) { .section-h2 { font-size: 3rem; } }

/* ─── Services List (Home) ───────────────────────────────────────────────────── */
.services-list { margin-top: 3rem; border-top: 1px solid var(--c-neutral-100); }
[data-theme="dark"] .services-list { border-color: var(--c-neutral-800); }

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 1px solid var(--c-neutral-100);
  padding: 1.25rem 1rem;
  margin: 0 -1rem;
  transition: background 0.2s;
  text-decoration: none;
}
.service-list-item:hover { background: var(--c-neutral-50); }
[data-theme="dark"] .service-list-item { border-color: var(--c-neutral-800); }
[data-theme="dark"] .service-list-item:hover { background: var(--c-neutral-900); }
@media (min-width: 640px) { .service-list-item { padding: 1.5rem 1rem; } }

.service-num {
  margin-top: 0.125rem;
  width: 2rem;
  flex-shrink: 0;
  font-family: monospace;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-blue-600);
}
[data-theme="dark"] .service-num { color: var(--c-blue-400); }

.service-list-body { flex: 1; min-width: 0; }

.service-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-neutral-950);
}
[data-theme="dark"] .service-name { color: #fff; }

.service-short-desc {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--c-neutral-500);
}
[data-theme="dark"] .service-short-desc { color: var(--c-neutral-400); }

.service-arrow {
  flex-shrink: 0;
  color: var(--c-neutral-300);
  transition: transform 0.2s, color 0.2s;
}
[data-theme="dark"] .service-arrow { color: var(--c-neutral-700); }
.service-list-item:hover .service-arrow {
  transform: translateX(2px);
  color: var(--c-neutral-950);
}
[data-theme="dark"] .service-list-item:hover .service-arrow { color: #fff; }

/* ─── Why Us Section ─────────────────────────────────────────────────────────── */
.why-us-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .why-us-grid { grid-template-columns: 2fr 3fr; gap: 6rem; }
}

.why-us-item { margin-bottom: 1.5rem; border-bottom: 1px solid var(--c-neutral-100); padding-bottom: 1.5rem; }
.why-us-item:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
[data-theme="dark"] .why-us-item { border-color: var(--c-neutral-800); }

.why-us-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-blue-600);
  margin-bottom: 0.5rem;
}
[data-theme="dark"] .why-us-num { color: var(--c-blue-400); }

.why-us-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-neutral-950);
}
[data-theme="dark"] .why-us-title { color: #fff; }

.why-us-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--c-neutral-600);
}
[data-theme="dark"] .why-us-desc { color: var(--c-neutral-400); }

/* ─── Process Steps ──────────────────────────────────────────────────────────── */
.process-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  divide-color: var(--c-neutral-200);
}
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: 1fr 1fr 1fr;
    divide-x: 1px solid var(--c-neutral-200);
  }
}

.process-step {
  padding: 2.5rem 0;
  border-top: 1px solid var(--c-neutral-200);
}
[data-theme="dark"] .process-step { border-color: var(--c-neutral-800); }
@media (min-width: 1024px) {
  .process-step { padding: 0; border-top: 0; border-left: 1px solid var(--c-neutral-200); }
  [data-theme="dark"] .process-step { border-color: var(--c-neutral-800); }
  .process-step:first-child { border-left: 0; padding-right: 3rem; }
  .process-step:last-child { padding-left: 3rem; }
  .process-step:not(:first-child):not(:last-child) { padding: 0 3rem; }
}

.process-step-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue-600);
}
[data-theme="dark"] .process-step-num { color: var(--c-blue-400); }

.process-step-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-neutral-950);
}
[data-theme="dark"] .process-step-title { color: #fff; }

.process-step-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--c-neutral-600);
}
[data-theme="dark"] .process-step-desc { color: var(--c-neutral-400); }

/* ─── Featured Work ──────────────────────────────────────────────────────────── */
.featured-work-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .featured-work-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.featured-work-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .featured-work-grid { grid-template-columns: 1fr 1fr; } }

.work-card {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--c-neutral-950);
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  transition: border-color 0.2s;
}
.work-card:hover { border-color: var(--c-blue-600); }
[data-theme="dark"] .work-card { border-color: #fff; }
[data-theme="dark"] .work-card:hover { border-color: var(--c-blue-400); }

.work-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }

.work-card-client { display: flex; align-items: center; gap: 1rem; min-width: 0; }

.work-card-logo {
  width: 3rem; height: 3rem;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.work-card-logo img { width: 100%; height: 100%; object-fit: contain; }

.work-card-industry {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue-600);
}
[data-theme="dark"] .work-card-industry { color: var(--c-blue-400); }

.work-card-name {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-neutral-950);
}
[data-theme="dark"] .work-card-name { color: #fff; }

.work-card-sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--c-neutral-500);
}
[data-theme="dark"] .work-card-sub { color: var(--c-neutral-400); }

.work-card-badge-handed {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-neutral-400);
}
[data-theme="dark"] .work-card-badge-handed { color: var(--c-neutral-500); }

.work-card-badge-active {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  width: 0.5rem; height: 0.5rem;
  margin-top: 0.25rem;
}
.work-card-badge-active .ping {
  position: absolute;
  display: inline-flex;
  width: 100%; height: 100%;
  border-radius: 9999px;
  background: #10b981;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.work-card-badge-active .dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem; height: 0.5rem;
  border-radius: 9999px;
  background: #10b981;
}

.work-card-overview {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--c-neutral-600);
}
[data-theme="dark"] .work-card-overview { color: var(--c-neutral-400); }

.work-card-scope { margin-top: 1.5rem; }

.work-card-scope-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--c-neutral-500);
}
[data-theme="dark"] .work-card-scope-item { color: var(--c-neutral-400); }
.work-card-scope-dash {
  margin-top: 0.5rem;
  height: 1px; width: 1rem;
  flex-shrink: 0;
  background: var(--c-neutral-300);
}
[data-theme="dark"] .work-card-scope-dash { background: var(--c-neutral-700); }

.work-card-tech {
  margin-top: 0.75rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--c-neutral-400);
}
[data-theme="dark"] .work-card-tech { color: var(--c-neutral-500); }

.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-neutral-950);
  transition: color 0.2s;
}
.work-card-link:hover { color: var(--c-blue-600); }
[data-theme="dark"] .work-card-link { color: #fff; }
[data-theme="dark"] .work-card-link:hover { color: var(--c-blue-400); }

/* ─── Labs Dark Card ─────────────────────────────────────────────────────────── */
.labs-card {
  position: relative;
  overflow: hidden;
  border-radius: 2.25rem;
  border: 1px solid #262626;
  background: var(--c-neutral-950);
  padding: 3.5rem 1.5rem;
  box-shadow: 0 30px 90px -50px rgba(0,0,0,0.8);
}
[data-theme="dark"] .labs-card { border-color: var(--c-neutral-700); background: var(--c-neutral-900); }
@media (min-width: 640px) { .labs-card { padding: 4.5rem 2.5rem; } }
@media (min-width: 1024px) { .labs-card { padding: 5rem 3.5rem; } }

.labs-card-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(circle at top, rgba(59,130,246,0.22), transparent 42%);
  pointer-events: none;
}

.labs-card-dots {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}

.labs-card-inner {
  position: relative;
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .labs-card-inner { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: flex-start; }
}

.labs-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-blue-400); }

.labs-title { margin-top: 1rem; font-size: 2.25rem; font-weight: 500; letter-spacing: -0.04em; color: #fff; text-wrap: balance; }
@media (min-width: 640px) { .labs-title { font-size: 3rem; } }

.labs-tagline { margin-top: 0.5rem; font-size: 1.125rem; font-weight: 500; color: var(--c-blue-400); }

.labs-desc { margin-top: 1rem; max-width: 36rem; line-height: 1.7; color: var(--c-neutral-400); }

.labs-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.labs-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: var(--c-neutral-300);
}

.labs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }

.btn-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  background: #fff; color: var(--c-neutral-950);
  font-size: 0.875rem; font-weight: 600;
  transition: background 0.2s;
}
.btn-white:hover { background: var(--c-neutral-200); }

.labs-status {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  background: var(--c-blue-600);
  font-size: 0.875rem; font-weight: 600;
  color: #fff;
}

.labs-side {
  display: none;
  flex-direction: column; align-items: flex-end; gap: 1rem; padding-top: 2.5rem;
}
@media (min-width: 1024px) { .labs-side { display: flex; } }

.labs-side-desc {
  max-width: 21rem;
  font-size: 0.875rem; line-height: 1.7;
  color: var(--c-neutral-500);
  text-align: right;
}

/* ─── Zoho Section ───────────────────────────────────────────────────────────── */
.zoho-section {
  border-top: 1px solid var(--c-neutral-200);
  padding-top: 4rem;
}
[data-theme="dark"] .zoho-section { border-color: var(--c-neutral-800); }

.zoho-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .zoho-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 4rem; }
}

.zoho-content { max-width: 36rem; }

.zoho-title { margin-top: 1rem; font-size: 1.875rem; font-weight: 500; letter-spacing: -0.04em; color: var(--c-neutral-950); }
[data-theme="dark"] .zoho-title { color: #fff; }
@media (min-width: 640px) { .zoho-title { font-size: 2.25rem; } }

.zoho-desc { margin-top: 1rem; font-size: 1.125rem; color: var(--c-neutral-600); }
[data-theme="dark"] .zoho-desc { color: var(--c-neutral-400); }

.zoho-logo img {
  height: auto; width: 100%;
  max-width: 17.5rem;
}
@media (min-width: 1024px) { .zoho-logo img { max-width: 22.5rem; } }

/* ─── CTA Block ──────────────────────────────────────────────────────────────── */
.cta-block {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid #262626;
  background: var(--c-neutral-950);
  padding: 4rem 1.5rem;
  box-shadow: 0 30px 90px -50px rgba(0,0,0,0.75);
  text-align: center;
}
[data-theme="dark"] .cta-block { border-color: var(--c-neutral-700); }
@media (min-width: 640px) { .cta-block { padding: 5rem 2.5rem; } }
@media (min-width: 1024px) { .cta-block { padding: 6rem 3.5rem; } }

.cta-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(circle at top, rgba(59,130,246,0.24), transparent 42%);
  pointer-events: none;
}
.cta-dots { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.cta-inner { position: relative; max-width: 48rem; margin: 0 auto; }

.cta-title { font-size: 1.875rem; font-weight: 500; color: #fff; text-wrap: balance; }
@media (min-width: 640px) { .cta-title { font-size: 3rem; } }

.cta-desc { margin-top: 1.25rem; font-size: 1rem; line-height: 1.7; color: var(--c-neutral-400); max-width: 42rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .cta-desc { font-size: 1.125rem; } }

.cta-btn-wrap { margin-top: 2rem; }
@media (min-width: 640px) { .cta-btn-wrap { margin-top: 2.5rem; } }

.btn-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  background: #fff; color: var(--c-neutral-950);
  font-size: 0.875rem; font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.btn-cta:hover { background: var(--c-blue-600); color: #fff; }

/* ─── Arrow Links ────────────────────────────────────────────────────────────── */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--c-neutral-950);
  transition: color 0.2s;
}
.arrow-link:hover { color: var(--c-blue-600); }
[data-theme="dark"] .arrow-link { color: #fff; }
[data-theme="dark"] .arrow-link:hover { color: var(--c-blue-400); }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--c-neutral-200);
  background: var(--c-bg);
}
[data-theme="dark"] .site-footer { border-color: var(--c-neutral-800); }

.footer-grid {
  padding: 4rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,0.9fr); }
}

.footer-brand { max-width: 28rem; }
.footer-logo-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.footer-logo { height: 2.5rem; width: auto; }
[data-theme="dark"] .footer-logo { filter: invert(1); }
.footer-brand-name { font-size: 1.125rem; font-weight: 600; color: var(--c-neutral-950); }
[data-theme="dark"] .footer-brand-name { color: #fff; }
.footer-tagline { margin-top: 0.75rem; font-size: 0.875rem; color: var(--c-neutral-500); }
[data-theme="dark"] .footer-tagline { color: var(--c-neutral-400); }
.footer-desc { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.7; color: var(--c-neutral-600); }
[data-theme="dark"] .footer-desc { color: var(--c-neutral-400); }

.footer-nav-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

.footer-nav-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-blue-600);
}
[data-theme="dark"] .footer-nav-label { color: var(--c-blue-400); }

.footer-nav-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-link {
  font-size: 0.875rem;
  color: var(--c-neutral-600);
  transition: color 0.2s;
}
.footer-nav-link:hover { color: var(--c-neutral-950); }
[data-theme="dark"] .footer-nav-link { color: var(--c-neutral-400); }
[data-theme="dark"] .footer-nav-link:hover { color: #fff; }

.footer-contact-col {}
.footer-contact-items { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--c-neutral-600); }
[data-theme="dark"] .footer-contact-item { color: var(--c-neutral-400); }
.footer-contact-item .icon { flex-shrink: 0; margin-top: 0.125rem; color: var(--c-neutral-400); }
[data-theme="dark"] .footer-contact-item .icon { color: var(--c-neutral-500); }
.footer-contact-item a:hover { color: var(--c-neutral-950); }
[data-theme="dark"] .footer-contact-item a:hover { color: #fff; }
.footer-contact-loc { line-height: 1.5; color: var(--c-neutral-500); }
[data-theme="dark"] .footer-contact-loc { color: var(--c-neutral-400); }

.footer-bottom {
  display: flex; flex-direction: column; gap: 1rem;
  border-top: 1px solid var(--c-neutral-200);
  padding-top: 1.5rem; padding-bottom: 1.5rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
[data-theme="dark"] .footer-bottom { border-color: var(--c-neutral-800); }

.footer-copy { font-size: 0.875rem; color: var(--c-neutral-500); }
.footer-legal { font-size: 0.875rem; color: var(--c-neutral-400); }

/* ─── Social Icons ───────────────────────────────────────────────────────────── */
.social-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--c-neutral-200);
  border-radius: 9999px;
  color: var(--c-neutral-500);
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--c-neutral-950); color: var(--c-neutral-950); }
[data-theme="dark"] .social-link { border-color: var(--c-neutral-800); color: var(--c-neutral-400); }
[data-theme="dark"] .social-link:hover { border-color: #fff; color: #fff; }

/* ─── Inner Pages ────────────────────────────────────────────────────────────── */

/* Services Page */
.services-page-list { border-top: 1px solid var(--c-neutral-200); }
[data-theme="dark"] .services-page-list { border-color: var(--c-neutral-800); }

.service-card-full {
  display: grid;
  gap: 2.5rem;
  border-bottom: 1px solid var(--c-neutral-200);
  padding: 3.5rem 0;
}
[data-theme="dark"] .service-card-full { border-color: var(--c-neutral-800); }
.service-card-full:last-child { border-bottom: 0; }
@media (min-width: 1024px) { .service-card-full { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }

.service-card-icon-wrap {
  display: flex; align-items: flex-start; gap: 1rem;
}
.service-icon-box {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 1rem;
  border: 1px solid var(--c-neutral-200);
  background: var(--c-neutral-100);
  color: var(--c-neutral-950);
}
[data-theme="dark"] .service-icon-box { border-color: var(--c-neutral-700); background: var(--c-neutral-800); color: #fff; }

.service-card-h2 { font-size: 1.5rem; font-weight: 600; color: var(--c-neutral-950); }
[data-theme="dark"] .service-card-h2 { color: #fff; }

.service-card-desc { margin-top: 1rem; font-size: 1.125rem; line-height: 1.65; color: var(--c-neutral-600); }
[data-theme="dark"] .service-card-desc { color: var(--c-neutral-400); }

.service-card-features {
  border-top: 1px solid var(--c-neutral-200);
  padding-top: 1.5rem;
}
[data-theme="dark"] .service-card-features { border-color: var(--c-neutral-800); }
@media (min-width: 1024px) {
  .service-card-features { border-top: 0; border-left: 1px solid var(--c-neutral-200); padding-top: 0; padding-left: 2.5rem; }
  [data-theme="dark"] .service-card-features { border-color: var(--c-neutral-800); }
}

.features-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-blue-600); margin-bottom: 1.5rem;
}
[data-theme="dark"] .features-label { color: var(--c-blue-400); }

.feature-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(229,229,229,0.8);
  font-size: 0.875rem; line-height: 1.6;
  color: var(--c-neutral-600);
}
.feature-item:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-item:first-child { padding-top: 0; }
[data-theme="dark"] .feature-item { border-color: var(--c-neutral-800); color: var(--c-neutral-400); }
.feature-dash { margin-top: 0.5rem; height: 1px; width: 1rem; flex-shrink: 0; background: var(--c-neutral-300); }
[data-theme="dark"] .feature-dash { background: var(--c-neutral-700); }

/* Work Page */
.featured-project-card {
  border-top: 2px solid var(--c-neutral-950);
  padding: 2.5rem 0;
  transition: border-color 0.2s;
}
.featured-project-card:hover { border-color: var(--c-blue-600); }
[data-theme="dark"] .featured-project-card { border-color: #fff; }
[data-theme="dark"] .featured-project-card:hover { border-color: var(--c-blue-400); }

.featured-project-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .featured-project-header { flex-direction: row; align-items: flex-start; justify-content: space-between; } }

.featured-project-client { display: flex; align-items: center; gap: 1rem; }
.featured-project-logo { width: 3rem; height: 3rem; flex-shrink: 0; overflow: hidden; }
.featured-project-logo img { width: 100%; height: 100%; object-fit: contain; }

.featured-project-name { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; color: var(--c-neutral-950); }
[data-theme="dark"] .featured-project-name { color: #fff; }

.ongoing-badge { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.ongoing-badge-text { font-size: 0.75rem; font-weight: 600; color: #059669; }

.project-overview { color: var(--c-neutral-600); line-height: 1.7; }
[data-theme="dark"] .project-overview { color: var(--c-neutral-400); }

.project-details-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--c-neutral-100);
  padding-top: 2rem;
}
@media (min-width: 1024px) { .project-details-grid { grid-template-columns: 1fr 1fr; } }
[data-theme="dark"] .project-details-grid { border-color: var(--c-neutral-900); }

.project-detail-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-blue-600); margin-bottom: 1rem;
}
[data-theme="dark"] .project-detail-label { color: var(--c-blue-400); }

.project-scope-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; font-size: 0.875rem; color: var(--c-neutral-600); }
[data-theme="dark"] .project-scope-item { color: var(--c-neutral-400); }

.tech-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-pill {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  background: var(--c-neutral-100);
  font-size: 0.75rem;
  color: var(--c-neutral-600);
}
[data-theme="dark"] .tech-pill { background: var(--c-neutral-800); color: var(--c-neutral-400); }

.project-outcome { margin-top: 2rem; border-top: 1px solid var(--c-neutral-100); padding-top: 2rem; }
[data-theme="dark"] .project-outcome { border-color: var(--c-neutral-900); }

.project-outcome-text { font-size: 0.875rem; line-height: 1.7; color: var(--c-neutral-600); }
[data-theme="dark"] .project-outcome-text { color: var(--c-neutral-400); }

.project-links { display: flex; flex-wrap: wrap; gap: 1.5rem 1rem; margin-top: 1.5rem; }
.project-url {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--c-neutral-950);
  transition: color 0.2s;
}
.project-url:hover { color: var(--c-blue-600); }
[data-theme="dark"] .project-url { color: #fff; }
[data-theme="dark"] .project-url:hover { color: var(--c-blue-400); }

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: 1fr 1fr 1fr; } }

.portfolio-card {
  display: flex; flex-direction: column;
  border-top: 2px solid var(--c-neutral-200);
  padding: 1.5rem 0 2rem;
  transition: border-color 0.2s;
}
.portfolio-card:hover { border-color: var(--c-neutral-950); }
[data-theme="dark"] .portfolio-card { border-color: var(--c-neutral-800); }
[data-theme="dark"] .portfolio-card:hover { border-color: #fff; }

.portfolio-industry {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-blue-600); margin-bottom: 1rem;
}
[data-theme="dark"] .portfolio-industry { color: var(--c-blue-400); }

.portfolio-client { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.portfolio-logo { width: 2rem; height: 2rem; flex-shrink: 0; }
.portfolio-logo img { width: 100%; height: 100%; object-fit: contain; }
.portfolio-name { font-weight: 600; color: var(--c-neutral-950); }
[data-theme="dark"] .portfolio-name { color: #fff; }

.portfolio-desc { font-size: 0.875rem; line-height: 1.7; color: var(--c-neutral-600); margin-bottom: 1.25rem; }
[data-theme="dark"] .portfolio-desc { color: var(--c-neutral-400); }

.portfolio-services { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1.25rem; }
.portfolio-service {
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  background: var(--c-neutral-100);
  font-size: 0.75rem;
  color: var(--c-neutral-600);
}
[data-theme="dark"] .portfolio-service { background: var(--c-neutral-800); color: var(--c-neutral-400); }

.portfolio-spacer { flex: 1; }
.portfolio-link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; font-weight: 600;
  color: var(--c-neutral-950);
  transition: color 0.2s;
}
.portfolio-link:hover { color: var(--c-blue-600); }
[data-theme="dark"] .portfolio-link { color: #fff; }
[data-theme="dark"] .portfolio-link:hover { color: var(--c-blue-400); }

.portfolio-completed { font-size: 0.75rem; color: var(--c-neutral-400); }
[data-theme="dark"] .portfolio-completed { color: var(--c-neutral-600); }

/* About Page */
.about-story-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
  border-top: 1px solid var(--c-neutral-200); padding-top: 4rem;
}
[data-theme="dark"] .about-story-grid { border-color: var(--c-neutral-800); }
@media (min-width: 1024px) { .about-story-grid { grid-template-columns: 3fr 2fr; gap: 6rem; } }

.about-story p {
  font-size: 1.125rem; line-height: 1.7; color: var(--c-neutral-600); margin-bottom: 1.5rem;
}
[data-theme="dark"] .about-story p { color: var(--c-neutral-400); }

.about-sidebar-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-blue-600); margin-bottom: 2rem;
}
[data-theme="dark"] .about-sidebar-label { color: var(--c-blue-400); }

.about-sidebar-item {
  border-bottom: 1px solid var(--c-neutral-100);
  padding-bottom: 1.25rem; padding-top: 1.25rem;
}
.about-sidebar-item:first-of-type { padding-top: 0; }
.about-sidebar-item:last-child { border-bottom: 0; }
[data-theme="dark"] .about-sidebar-item { border-color: var(--c-neutral-800); }
.about-sidebar-dt { font-size: 0.75rem; color: var(--c-neutral-400); margin-bottom: 0.25rem; }
[data-theme="dark"] .about-sidebar-dt { color: var(--c-neutral-500); }
.about-sidebar-dd { font-size: 0.875rem; font-weight: 600; color: var(--c-neutral-950); }
[data-theme="dark"] .about-sidebar-dd { color: #fff; }

.industries-section { border-top: 1px solid var(--c-neutral-200); padding-top: 4rem; }
[data-theme="dark"] .industries-section { border-color: var(--c-neutral-800); }

.industries-pills { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.industry-pill {
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  background: var(--c-neutral-100);
  font-size: 0.875rem;
  color: var(--c-neutral-600);
}
[data-theme="dark"] .industry-pill { background: var(--c-neutral-900); color: var(--c-neutral-400); }

/* Contact Page */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
  border-top: 1px solid var(--c-neutral-200); padding-top: 4rem;
}
[data-theme="dark"] .contact-grid { border-color: var(--c-neutral-800); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.contact-info-title { font-size: 1.25rem; font-weight: 600; color: var(--c-neutral-950); margin-bottom: 0.75rem; }
[data-theme="dark"] .contact-info-title { color: #fff; }

.contact-info-desc { font-size: 0.875rem; line-height: 1.7; color: var(--c-neutral-600); margin-bottom: 2rem; }
[data-theme="dark"] .contact-info-desc { color: var(--c-neutral-400); }

.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.contact-icon { flex-shrink: 0; margin-top: 0.125rem; color: var(--c-neutral-400); }
[data-theme="dark"] .contact-icon { color: var(--c-neutral-500); }
.contact-item-text { font-size: 0.875rem; color: var(--c-neutral-600); }
[data-theme="dark"] .contact-item-text { color: var(--c-neutral-400); }
.contact-item-text a:hover { color: var(--c-neutral-950); }
[data-theme="dark"] .contact-item-text a:hover { color: #fff; }

.contact-process-steps { margin-top: 2rem; }
.contact-step { margin-bottom: 1.5rem; }
.contact-step-title { font-weight: 600; color: var(--c-neutral-950); margin-bottom: 0.25rem; }
[data-theme="dark"] .contact-step-title { color: #fff; }
.contact-step-desc { font-size: 0.875rem; line-height: 1.65; color: var(--c-neutral-600); }
[data-theme="dark"] .contact-step-desc { color: var(--c-neutral-400); }

.contact-form { }
.contact-form-title { font-size: 1.25rem; font-weight: 600; color: var(--c-neutral-950); margin-bottom: 0.5rem; }
[data-theme="dark"] .contact-form-title { color: #fff; }
.contact-form-desc { font-size: 0.875rem; color: var(--c-neutral-500); margin-bottom: 1.5rem; }
[data-theme="dark"] .contact-form-desc { color: var(--c-neutral-400); }

.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--c-neutral-950); margin-bottom: 0.375rem; }
[data-theme="dark"] .form-label { color: #fff; }
.form-input, .form-textarea {
  width: 100%;
  border: 1px solid var(--c-neutral-300);
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-blue-600);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
[data-theme="dark"] .form-input, [data-theme="dark"] .form-textarea {
  border-color: var(--c-neutral-700);
  background: var(--c-neutral-900);
  color: #fff;
}
.form-textarea { min-height: 8rem; resize: vertical; }
.form-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  background: var(--c-neutral-950); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  transition: background 0.2s;
  border: none; cursor: pointer;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--c-neutral-700); }
[data-theme="dark"] .form-submit { background: #fff; color: var(--c-neutral-950); }
[data-theme="dark"] .form-submit:hover { background: var(--c-neutral-200); }

/* Labs Page */
.labs-page-stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
  border-top: 1px solid var(--c-neutral-200); padding-top: 3rem; margin-top: 1rem;
}
[data-theme="dark"] .labs-page-stats { border-color: var(--c-neutral-800); }
@media (min-width: 640px) { .labs-page-stats { grid-template-columns: repeat(4,1fr); } }

.labs-stat-value { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.04em; color: var(--c-neutral-950); }
[data-theme="dark"] .labs-stat-value { color: #fff; }
@media (min-width: 640px) { .labs-stat-value { font-size: 2.5rem; } }
.labs-stat-label { margin-top: 0.25rem; font-size: 0.875rem; color: var(--c-neutral-500); }

.labs-principles-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem;
}
@media (min-width: 640px) { .labs-principles-grid { grid-template-columns: 1fr 1fr; } }

.labs-principle-title { font-size: 1rem; font-weight: 600; color: var(--c-neutral-950); margin-bottom: 0.5rem; }
[data-theme="dark"] .labs-principle-title { color: #fff; }
.labs-principle-body { font-size: 0.875rem; line-height: 1.65; color: var(--c-neutral-600); }
[data-theme="dark"] .labs-principle-body { color: var(--c-neutral-400); }

/* Zoho Page */
.zoho-services-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .zoho-services-grid { grid-template-columns: 1fr 1fr; } }

.zoho-service-card {
  border: 1px solid var(--c-neutral-200);
  border-radius: 1rem;
  padding: 2rem;
}
[data-theme="dark"] .zoho-service-card { border-color: var(--c-neutral-800); }

.zoho-service-title { font-size: 1.25rem; font-weight: 600; color: var(--c-neutral-950); margin-bottom: 0.75rem; }
[data-theme="dark"] .zoho-service-title { color: #fff; }
.zoho-service-desc { font-size: 0.875rem; line-height: 1.7; color: var(--c-neutral-600); margin-bottom: 1.5rem; }
[data-theme="dark"] .zoho-service-desc { color: var(--c-neutral-400); }
.zoho-service-feature { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--c-neutral-600); margin-bottom: 0.5rem; }
[data-theme="dark"] .zoho-service-feature { color: var(--c-neutral-400); }
.zoho-feature-dot { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--c-blue-600); flex-shrink: 0; margin-top: 0.4rem; }
[data-theme="dark"] .zoho-feature-dot { background: var(--c-blue-400); }

.zoho-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .zoho-why-grid { grid-template-columns: repeat(4,1fr); } }

.zoho-why-title { font-size: 1rem; font-weight: 600; color: var(--c-neutral-950); margin-bottom: 0.5rem; }
[data-theme="dark"] .zoho-why-title { color: #fff; }
.zoho-why-desc { font-size: 0.875rem; line-height: 1.65; color: var(--c-neutral-600); }
[data-theme="dark"] .zoho-why-desc { color: var(--c-neutral-400); }

/* ─── Back to Top ────────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: var(--c-neutral-950);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: opacity 0.2s, background 0.2s;
}
.back-to-top:hover { background: var(--c-neutral-700); }
[data-theme="dark"] .back-to-top { background: #fff; color: var(--c-neutral-950); }
[data-theme="dark"] .back-to-top:hover { background: var(--c-neutral-200); }
.back-to-top[hidden] { display: none; }

/* ─── Fade-in Animations ─────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .back-to-top, .nav-panel, .loading-spinner { transition: none; animation: none; }
  .pulse-ring { animation: none; }
}

/* ─── Utility ────────────────────────────────────────────────────────────────── */
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.border-t { border-top: 1px solid var(--c-neutral-200); }
[data-theme="dark"] .border-t { border-color: var(--c-neutral-800); }
.pt-8 { padding-top: 2rem; }
.pb-last { padding-bottom: 3rem; }
