/* ================================================================
   POWERED METRICS — Stylesheet
   Light · Minimal · Refined
================================================================ */

:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-card: #f7f7f8;
  --bg-card-hover: #f1f1f3;
  --text: #08090a;
  --text-mid: #3f3f46;
  --text-soft: #71717a;
  --text-faint: #a1a1aa;
  --border: #ececef;
  --border-mid: #e0e0e3;
  --border-strong: #d0d0d4;
  --accent: #5e6ad2;
  --accent-hover: #4d59c9;
  --accent-soft: #eeeffb;
  --max-width: 1180px;
  --container-padding: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============== TYPOGRAPHY ============== */

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

.h-display {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.035em;
  font-weight: 600;
}

.h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.025em;
  font-weight: 600;
}

.h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-mid);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.lead-lg {
  font-size: 20px;
  line-height: 1.45;
  color: var(--text-mid);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  display: inline-block;
  margin-bottom: 24px;
}

.eyebrow .accent {
  color: var(--accent);
}

/* ============== HEADER / NAV ============== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 110px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.logo-image {
  height: 100px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-card);
}

.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--text) !important;
  color: var(--bg) !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: #1a1a1a !important;
  color: var(--bg) !important;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-mid);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ============== BUTTONS ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  letter-spacing: -0.005em;
  line-height: 1;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-mid);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: gap 0.15s ease;
}

.btn-link:hover {
  gap: 10px;
}

.btn-link::after {
  content: '→';
  color: var(--text-soft);
}

/* ============== SECTIONS ============== */

.section {
  padding: 100px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .lead {
  margin-top: 16px;
}

/* ============== HERO ============== */

.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 820px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .lead-lg {
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============== CAPABILITIES (Home) ============== */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.capability-card {
  background: var(--bg);
  padding: 32px 24px;
  transition: background 0.15s ease;
}

.capability-card:hover {
  background: var(--bg-subtle);
}

.capability-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.capability-card .name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.capability-card .desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* ============== SERVICES ============== */

.services-list {
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.4fr 200px;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-row .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.service-row h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.service-row .desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mid);
}

.service-row .tags {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  padding-top: 6px;
}

/* ============== INDUSTRIES ============== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.industry-card {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.15s ease;
}

.industry-card:hover {
  background: var(--bg-subtle);
}

.industry-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.industry-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.015em;
}

.industry-card .desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.industry-card .tags {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

/* ============== PRINCIPLES ============== */

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

.principle .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.principle h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.015em;
}

.principle p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ============== DISTINCTIONS ============== */

.distinctions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 64px;
}

.distinction h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.015em;
}

.distinction p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ============== TEAM ============== */

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

.team-member {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.team-member .photo-placeholder {
  width: 140px;
  height: 140px;
  min-width: 140px;
  min-height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.team-member .photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-member h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.team-member .role {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 20px;
  font-weight: 500;
}

.team-member .bio {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-mid);
  text-align: left;
}
/* ============== CONTACT FORM ============== */

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

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info .lead {
  margin-bottom: 40px;
}

.contact-detail {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.contact-detail:last-child {
  border-bottom: 1px solid var(--border);
}

.contact-detail .label {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 6px;
  display: block;
  font-weight: 500;
}

.contact-detail .value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.contact-detail .value a {
  color: var(--text);
  text-decoration: none;
}

.contact-detail .value a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--text);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14.5px;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.form-submit:hover {
  background: #1a1a1a;
}

.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  min-height: 20px;
}

.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }

.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
}

/* ============== CTA BLOCK ============== */

.cta-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 64px 56px;
  text-align: center;
  border-radius: 16px;
}

.cta-block h2 {
  margin-bottom: 16px;
}

.cta-block p {
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.55;
}

/* ============== FOOTER ============== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .nav-logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.footer-bottom .accent { color: var(--accent); }

/* ============== ANIMATIONS ============== */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.06s; }
.delay-2 { animation-delay: 0.12s; }
.delay-3 { animation-delay: 0.18s; }
.delay-4 { animation-delay: 0.24s; }

/* ============== RESPONSIVE ============== */

@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-row {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    row-gap: 12px;
  }
  .service-row .desc,
  .service-row .tags {
    grid-column: 2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }
  .section {
    padding: 64px 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 10px 0;
  }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px;
    text-align: center;
  }
  .nav-mobile-toggle {
    display: inline-flex;
  }
  .hero {
    padding: 56px 0 48px;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .distinctions-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    padding: 24px;
  }
  .cta-block {
    padding: 40px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .section-header {
    margin-bottom: 40px;
  }
}
/* ============== HOMEPAGE ANIMATIONS ============== */

.hero-content {
  position: relative;
  z-index: 2;
}

.capability-card {
  opacity: 0;
  transform: translateY(18px);
  animation: stackUp 0.7s ease forwards;
}

.capability-card:nth-child(1) { animation-delay: 0.10s; }
.capability-card:nth-child(2) { animation-delay: 0.20s; }
.capability-card:nth-child(3) { animation-delay: 0.30s; }
.capability-card:nth-child(4) { animation-delay: 0.40s; }
.capability-card:nth-child(5) { animation-delay: 0.50s; }

@keyframes stackUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
