:root {
  --ink: #111111;
  --ink-soft: #5a5a5a;
  --paper: #ffffff;
  --fog: #f7f7f7;
  --line: #e8e8e8;
  --brand: #0ea5e9;
  --brand-deep: #0284c7;
  --inverse: #0a0a0a;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: var(--font-sans);
  color: var(--ink);
}

/* ── Admin panel ─────────────────────────────────────────────────── */
.admin-hero {
  background: #0f172a;
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}
.admin-active .admin-hero { padding-top: 4.5rem; }

.admin-hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-hero-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.admin-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.25rem;
}

.admin-hero-sub {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0;
}

.admin-logout-btn {
  background: transparent;
  border: 1px solid #ef4444;
  color: #ef4444;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.admin-logout-btn:hover { background: #ef4444; color: #fff; }

.admin-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-stat-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.6rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.admin-stat-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1;
}

.admin-stat-label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  white-space: nowrap;
}

.admin-tab-bar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 60px;
  z-index: 900;
}
.admin-active .admin-tab-bar { top: 89px; }

.admin-tab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-tabs {
  gap: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }

.admin-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #64748b;
  padding: 0.85rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
}
.admin-tab:hover { color: #cbd5e1; }
.admin-tab.active { color: #f1f5f9; border-bottom-color: #3b82f6; }

.admin-tab-logout-form {
  flex: 0 0 auto;
}

.admin-tab-logout-form .admin-logout-btn {
  padding: 0.28rem 0.9rem;
  font-size: 0.76rem;
}

@media (max-width: 767.98px) {
  .admin-tab-row {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.5rem;
  }

  .admin-tab-logout-form {
    align-self: flex-end;
  }
}

.admin-body {
  background: #f8fafc;
  min-height: 70vh;
}

.admin-section-header {
  margin-bottom: 1.75rem;
}
.admin-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.3rem;
}
.admin-section-sub {
  color: #64748b;
  font-size: 0.88rem;
  margin: 0;
}

.admin-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
}
.admin-card-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 1.1rem;
}

/* Approvals redesign */
.approval-filter-shell {
  border: 1px solid #dbe5ff;
  background: linear-gradient(135deg, #f8faff 0%, #f3f8ff 100%);
}

.approval-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-right: 0.35rem;
}

.approval-filter-chip {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
}

.approval-filter-chip.active {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.approval-filter-select {
  max-width: 260px;
}

.approval-summary {
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.approval-metric {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.7rem 0.35rem;
  background: #ffffff;
}

.approval-metric strong {
  display: block;
  font-size: 1.1rem;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.approval-panel {
  border: 1px solid #ffd7bd;
  border-left: 4px solid #f97316;
  background: linear-gradient(180deg, #fffdfa 0%, #fff8f0 100%);
}

.approval-panel-title {
  color: #c2410c;
}

/* Sidebar Layout Styles */
#approval-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.approval-item-btn {
  text-align: left;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  width: 100%;
}

.approval-item-btn:hover {
  border-color: #b8bfc7;
  background: #f8f9fa;
}

.approval-item-btn:focus {
  outline: none;
  border-color: #0c63e4;
  background: #f0f6ff;
}

.approval-form-template {
  display: none;
}

#approval-form-panel {
  min-height: 400px;
  padding: 1.5rem;
}

@media (max-width: 767.98px) {
  .approval-filter-select {
    max-width: 100%;
  }

  #approval-items-list {
    margin-bottom: 2rem;
  }
}

.mission-values-section {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.mission-statement-card,
.financials-shell {
  border: 1px solid #dbe7ef;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.mission-statement-card {
  padding: 1.35rem;
}

.mission-statement-label,
.financial-card-metric,
.value-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mission-statement-label {
  color: #0f766e;
  margin-bottom: 0.85rem;
}

.mission-statement-text {
  color: #0f172a;
  font-size: 1.02rem;
  line-height: 1.75;
}

.values-grid,
.financials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.value-card,
.financial-card {
  border: 1px solid #dbe7ef;
  border-radius: 20px;
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.value-card-index,
.financial-card-metric {
  min-width: 3.6rem;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  margin-bottom: 0.9rem;
}

.value-card-index {
  color: #075985;
  background: rgba(14, 165, 233, 0.12);
}

.financial-card-metric {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.12);
}

.value-card h3,
.financial-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.value-card p,
.financial-card p {
  margin-bottom: 0;
}

.financials-section {
  background: #fff;
}

.financials-shell {
  padding: 1.6rem;
}

.audited-reports-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.audited-report-upload-card {
  border: 1px solid #dbe7ef;
  border-radius: 24px;
  padding: 1.4rem;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
}

.audited-report-upload-title {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.audited-reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.audited-report-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  border: 1px solid #dbe7ef;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(12, 12, 12, 0.05);
}

.audited-report-cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(180deg, #0f172a 0%, #1d4ed8 100%);
  color: #ffffff;
  text-align: center;
}

.audited-report-cover-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.audited-report-cover strong {
  font-size: 2rem;
  line-height: 1;
  margin-top: 0.45rem;
}

.audited-report-body {
  padding: 1.15rem;
}

.audited-report-period {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.audited-report-title {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.admin-table {
  font-size: 0.88rem;
}
.admin-table thead th {
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 0.85rem;
}
.admin-table tbody td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #f8fafc; }
.admin-table tbody tr:not(.admin-edit-row):hover td { background: #f8fafc; }

.btn-xs {
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.admin-section-tile {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s;
}
.admin-section-tile.is-active {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.admin-section-tile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-section-tile-key {
  font-size: 0.72rem;
  background: #e2e8f0;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  color: #475569;
}
.admin-section-tile-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.admin-section-tile-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
  flex: 1;
}

.admin-inline-form {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.45rem;
}

.admin-actions-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.45rem;
  white-space: nowrap;
  min-width: 190px;
}

.admin-actions-cell form {
  margin: 0;
  display: inline-flex;
}

.admin-actions-cell .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  line-height: 1.2;
}

.admin-actions-stack {
  flex-direction: column;
  align-items: stretch;
  min-width: 120px;
}

.admin-actions-stack .btn,
.admin-actions-stack form {
  width: 100%;
}

.admin-projects-table td:nth-child(2) {
  min-width: 200px;
}

.admin-projects-table th:last-child,
.admin-projects-table .admin-actions-cell {
  min-width: 132px;
  width: 132px;
}

.admin-projects-table .admin-actions-cell .btn {
  min-width: 0;
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

.admin-projects-table .admin-actions-stack {
  min-width: 132px;
}

.admin-projects-table .btn-xs {
  padding: 0.3rem 0.55rem;
}

.admin-edit-row td {
  padding: 0 !important;
  background: transparent;
  border-bottom: none;
}

.admin-edit-row .collapse.show,
.admin-edit-row .collapsing {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.75rem;
}

.admin-edit-grid textarea,
.admin-edit-grid button,
.admin-edit-grid .form-check {
  grid-column: 1 / -1;
}

@media (max-width: 767.98px) {
  .admin-edit-grid {
    grid-template-columns: 1fr;
  }
}
/* ─────────────────────────────────────────────────────────────── */

/* ── Admin bar ──────────────────────────────────────────────────── */
#admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  background: #1a1a2e;
  color: #c8d0e0;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  gap: 12px;
}

#admin-bar a {
  color: #7eb8f7;
  text-decoration: none;
  font-weight: 600;
}

#admin-bar a:hover {
  color: #aad4ff;
  text-decoration: underline;
}

#admin-bar .admin-bar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

#admin-bar button {
  background: transparent;
  border: 1px solid #c0392b;
  color: #e74c3c;
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

#admin-bar button:hover {
  background: #c0392b;
  color: #fff;
}
/* ─────────────────────────────────────────────────────────────── */

/* When admin bar is visible, push navbar below it */
.admin-active .navbar {
  top: 29px;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.navbar-brand,
.nav-link,
.navbar-toggler {
  color: var(--ink) !important;
}

.nav-link {
  font-weight: 600;
}

.about-dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.55rem;
  min-width: 14rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.about-dropdown-menu .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
}

.about-dropdown-menu .dropdown-item:hover,
.about-dropdown-menu .dropdown-item:focus {
  background: #f3f9fc;
  color: var(--ink);
}

.navbar-toggler-icon {
  filter: invert(0.08);
}

.btn-brand {
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  padding: 0.78rem 1.38rem;
  letter-spacing: 0.01em;
}

.btn-brand:hover {
  background: var(--brand-deep);
  color: #ffffff;
}

.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(112deg, rgba(10, 10, 10, 0.86), rgba(10, 10, 10, 0.74)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: #fff;
}

.page-hero {
  padding: 8.5rem 0 2.8rem;
  background:
    linear-gradient(112deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.82)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: #fff;
}

/* ── Per-page hero images ── */
.page-hero.hero--services {
  background:
    linear-gradient(112deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.76)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.page-hero.hero--impact {
  background:
    linear-gradient(112deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.76)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.page-hero.hero--about {
  background:
    linear-gradient(112deg, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.7)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.page-hero.hero--contact {
  background:
    linear-gradient(112deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.84)),
    url("https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.page-hero h1,
.page-hero .hero-description,
.page-hero .hero-kicker {
  color: #fff;
}

.page-hero .hero-description {
  margin-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.5rem;
  align-items: end;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.2rem);
  line-height: 1.03;
  max-width: 14ch;
}

.hero-description {
  margin-top: 1rem;
  margin-bottom: 1.7rem;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  padding: 1.2rem;
}

.hero-panel-title {
  margin-bottom: 0.72rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.hero-panel-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.hero-panel-list li {
  position: relative;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.hero-panel-list li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-stats {
  margin-top: 1.3rem;
}

.hero-stat-card {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  padding: 0.78rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stat-title {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
}

.hero-stat-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.81rem;
}

.section-title {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.72rem;
}

#founder-section,
#mission-values,
#financials {
  scroll-margin-top: 110px;
}

.section-subtitle {
  max-width: 72ch;
  margin: 0 auto;
  color: var(--ink-soft);
}

.trust-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band-label {
  color: var(--ink);
  font-weight: 700;
}

.trust-band-chip {
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  border: 1px solid #d9d9d9;
  color: #333;
  background: #fff;
  font-size: 0.82rem;
}

.clients-section {
  background: var(--fog);
}

.projects-section,
.newsletter-section {
  background: #fff;
}

.client-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.client-logo-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-image {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
}

.client-logo-fallback {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0c4a6e;
  background: rgba(14, 165, 233, 0.14);
}

.client-name {
  font-size: 0.96rem;
  font-weight: 600;
  color: #1f2937;
}

.publication-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.project-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.project-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
  height: 170px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-chip {
  display: inline-flex;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0c4a6e;
  background: rgba(14, 165, 233, 0.14);
}

.project-chip-soft {
  color: #475569;
  background: #e2e8f0;
}

.project-title {
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.project-summary,
.project-outcome,
.project-client {
  color: #4b5563;
}

.project-showcase-hero {
  position: relative;
  padding: 8rem 0 3.5rem;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 30%),
    radial-gradient(circle at left center, rgba(15, 118, 110, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.project-showcase-hero-grid {
  max-width: 900px;
  align-items: start;
}

.project-showcase-title {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.project-showcase-copy {
  max-width: 56ch;
}

.project-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.project-showcase-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.project-showcase-panel-kicker {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f766e;
}

.project-showcase-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.project-showcase-metric {
  border-radius: 16px;
  padding: 0.9rem 0.8rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
  border: 1px solid #e2e8f0;
  text-align: center;
}

.project-showcase-metric-value {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
  color: #0f172a;
}

.project-showcase-metric-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #64748b;
}

.project-showcase-panel-note {
  color: #475569;
  line-height: 1.65;
}

.project-showcase-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 30%, #ffffff 100%);
}

.project-showcase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-showcase-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid #dbe4ec;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

.project-showcase-nav-link:hover {
  border-color: #0ea5e9;
  color: #0c4a6e;
}

.project-showcase-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: end;
}

.project-showcase-header-alt {
  margin-top: 0.5rem;
}

.project-showcase-grid {
  align-items: stretch;
}

.project-showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #e5edf3;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.project-showcase-card-project {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.project-showcase-card-activity {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.project-showcase-media {
  position: relative;
  height: 220px;
  background: #dbeafe;
}

.project-showcase-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.72) 100%);
  pointer-events: none;
}

.project-showcase-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-showcase-fallback {
  height: 100%;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, #0f172a 0%, #0c4a6e 55%, #38bdf8 100%);
  color: #ffffff;
}

.project-showcase-fallback-activity {
  background:
    linear-gradient(160deg, #0f172a 0%, #115e59 55%, #2dd4bf 100%);
}

.project-showcase-fallback-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.project-showcase-badges {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 2;
}

.project-showcase-badges .project-chip {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.project-chip-activity {
  color: #ffffff;
  background: rgba(13, 148, 136, 0.86);
}

.project-showcase-body {
  padding: 1.35rem 1.35rem 0.75rem;
}

.project-showcase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.project-showcase-outcome {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.04);
}

.project-showcase-outcome-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c4a6e;
}

.project-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.35rem 1.35rem;
}

.project-showcase-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d7e3ea, transparent);
}

.project-showcase-empty {
  margin-top: 0.5rem;
}

.newsletter-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(14, 165, 233, 0.12), transparent 32%),
    radial-gradient(circle at 92% 100%, rgba(13, 148, 136, 0.1), transparent 34%),
    #ffffff;
}

.newsletter-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid #d6e6f2;
  border-radius: 24px;
  background: linear-gradient(135deg, #fcfeff 0%, #f3f8ff 100%);
  padding: 1.8rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.6rem;
  align-items: center;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.newsletter-shell::after {
  content: "";
  position: absolute;
  right: -65px;
  top: -65px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 72%);
  pointer-events: none;
}

.newsletter-copy .section-subtitle {
  margin-left: 0;
  color: #4b5d73;
}

.newsletter-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.newsletter-highlight-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #cfe2f3;
  background: rgba(255, 255, 255, 0.9);
  color: #0f4c73;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.newsletter-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.9rem;
  align-items: end;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid #d6e4f0;
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-form .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3e5368;
}

.newsletter-form .form-control {
  border-radius: 12px;
  border-color: #c8d6e3;
  min-height: 46px;
}

.newsletter-form .btn {
  min-height: 46px;
  padding-inline: 1rem;
  white-space: nowrap;
}

.newsletter-form-note {
  grid-column: 1 / -1;
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: #60748b;
}

@media (max-width: 991.98px) {
  .project-showcase-hero-grid,
  .project-showcase-header,
  .newsletter-shell,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .project-showcase-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .project-showcase-title {
    max-width: none;
  }

  .project-showcase-metrics {
    grid-template-columns: 1fr;
  }

  .project-showcase-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

  .coming-soon-panel {
    border: 1px dashed #c7d2fe;
    border-radius: 18px;
    padding: 2rem 1.2rem;
    background: linear-gradient(135deg, #fbfdff 0%, #f4f7ff 100%);
  }

  .coming-soon-kicker {
    display: inline-block;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.12);
  }

.publication-type {
  display: inline-flex;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0c4a6e;
  background: rgba(14, 165, 233, 0.14);
}

.publication-title {
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.publication-summary {
  color: #4b5563;
  line-height: 1.65;
}

.publication-date {
  color: #6b7280;
  font-size: 0.88rem;
  font-weight: 600;
}

.publication-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 2rem 1.2rem;
  background: #fff;
}

.min-page-height {
  min-height: 52vh;
}

.service-card,
.process-card,
.impact-card,
.challenge-card,
.contact-top,
.contact-panel,
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(12, 12, 12, 0.05);
}

.service-card,
.process-card,
.impact-card,
.challenge-card {
  height: 100%;
  padding: 1.25rem;
}

.icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0d2b62;
  background: rgba(59, 130, 246, 0.26);
  margin-bottom: 0.9rem;
}

.process-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.process-stack {
  display: grid;
  gap: 1rem;
}

.process-section .process-card {
  padding: 1.4rem 1.35rem;
}

.process-section .process-card h5 {
  margin-bottom: 0.6rem;
  line-height: 1.28;
}

.process-section .process-card p {
  line-height: 1.65;
}

.about-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: #383838;
}

.process-step {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.72rem;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  border: 1px solid rgba(17, 17, 17, 0.2);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #262626;
}

.results-section {
  background: var(--fog);
}

.impact-metric {
  font-size: 2rem;
  color: #0d0d0d;
  margin-bottom: 0.35rem;
}

.challenge-card {
  border-style: dashed;
  border-color: #cbcbcb;
}

.cta-section {
  background: #fff;
}

.contact-top {
  padding: 1.35rem;
  background:
    radial-gradient(circle at 92% 10%, rgba(59, 130, 246, 0.22), transparent 40%),
    #ffffff;
}

.contact-path {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #616161;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-path-sep {
  color: var(--brand-deep);
  font-weight: 800;
}

.contact-kicker {
  color: #2b2b2b;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-section-label {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  color: #6f6f6f;
  font-weight: 800;
}

.contact-main-title {
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  line-height: 1.08;
  max-width: 18ch;
}

.contact-main-subtitle {
  color: var(--ink-soft);
}

.contact-panel {
  padding: 1.75rem;
  background: linear-gradient(160deg, #f8fbff 0%, #f0f5fc 100%);
  border: 1px solid #dde8f5;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.contact-form-card {
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid #e5edf5;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
}

.contact-lead {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.contact-detail-list {
  display: grid;
  gap: 0;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e5edf5;
}

.contact-detail-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-detail-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
}

.contact-panel a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.contact-panel a:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.contact-form-card a {
  color: var(--ink);
  text-decoration: none;
}

.contact-socials {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e5edf5;
}

.social-chip {
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  padding: 0.35rem 0.82rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.social-chip:hover {
  border-color: var(--brand);
  background: rgba(59, 130, 246, 0.06);
}

@media (max-width: 991.98px) {
  .values-grid,
  .financials-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.contact-form .form-label {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form .form-control {
  border: 1px solid #dde4ef;
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  background: #f9fbfe;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.contact-form .form-control:focus {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 0.22rem rgba(59, 130, 246, 0.18);
  background: #ffffff;
}

.contact-form .form-check-label {
  color: #6b7280;
  font-size: 0.9rem;
}

footer {
  background: var(--inverse);
  color: rgba(255, 255, 255, 0.84);
}

footer a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer-policy-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

footer a:hover {
  text-decoration: underline;
}

.hero,
.service-card,
.process-card,
.impact-card,
.challenge-card,
.contact-top,
.contact-panel,
.contact-form-card {
  animation: fade-slide 0.75s ease both;
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 7.4rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 7rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-top,
  .contact-panel,
  .contact-form-card {
    border-radius: 14px;
  }

  .process-stack {
    gap: 0.8rem;
  }

  .process-section .process-card {
    padding: 1.1rem;
  }
}

/* ── Founder Profile ── */
.founder-section {
  background: var(--fog);
  padding: 5rem 0;
}

.founder-photo-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.36), rgba(59, 130, 246, 0.1));
  border: 3px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cofounders-section {
  background: linear-gradient(180deg, #f4f8fc 0%, #eef3f8 100%);
  border-top: 1px solid #dde7f1;
  border-bottom: 1px solid #dde7f1;
}

.cofounders-grid {
  margin-top: 0.35rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.cofounders-head {
  max-width: 760px;
  margin: 0 auto;
}

.cofounders-head p {
  color: #4b5563;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.cofounder-card {
  border: 1px solid #d6e2ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cofounder-top {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.cofounder-meta {
  min-width: 0;
}

.cofounder-photo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(37, 99, 235, 0.28);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  flex: 0 0 auto;
}

.cofounder-name {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.3;
}

.founder-name {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.founder-title {
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.2rem;
  font-family: var(--font-sans);
}

.founder-bio {
  font-size: 1.04rem;
  line-height: 1.78;
  max-width: 62ch;
  color: #444;
  margin-bottom: 1.3rem;
}

.cofounder-role {
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.2rem 0 0.3rem;
  line-height: 1.35;
}

.cofounder-bio {
  color: #4b5563;
  line-height: 1.55;
  margin: 0.1rem 0 0.8rem;
  font-size: 0.92rem;
  max-width: none;
}

.cofounder-location,
.founder-location {
  color: #5f6772;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: normal;
}

.cofounder-content {
  min-width: 0;
}

.cofounder-link {
  margin-top: auto;
  align-self: flex-start;
}

.cofounder-link.btn {
  padding: 0.32rem 0.68rem;
  font-size: 0.78rem;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.linkedin-btn svg {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .cofounders-head {
    max-width: 100%;
  }

  .cofounder-card {
    padding: 1rem;
  }

  .cofounder-top {
    align-items: flex-start;
    gap: 0.7rem;
  }

  .cofounder-photo-wrap {
    width: 66px;
    height: 66px;
  }

  .cofounder-name {
    font-size: 0.98rem;
  }

  .cofounder-bio {
    margin-top: 0.6rem;
  }

  .cofounder-role {
    font-size: 0.76rem;
  }

  .cofounder-location {
    white-space: normal;
  }
}

@media (min-width: 1200px) {
  .cofounders-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.founder-location {
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

/* ── Expertise Tags ── */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tag {
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #123b7a;
  font-size: 0.81rem;
  font-weight: 700;
}

/* ── Sector Chips ── */
.sector-chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.87rem;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* ── CTA Strip ── */
.cta-strip {
  background: var(--inverse);
  color: #fff;
  padding: 4rem 0;
}

.cta-strip h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

