:root {
  --ink: #0e1a2b;
  --ink-2: #1f2a3a;
  --steel: #5d6b82;
  --navy: #0f223d;
  --charcoal: #111823;
  --slate: #e7ecf2;
  --mist: #f6f8fb;
  --accent: #2c5f9e;
  --accent-2: #163a67;
  --line: #d7dee8;
  --success: #1f7a55;
  --warn: #b96a00;
  /* Brand palette, sampled from the logo */
  --brand: #00d684;
  --brand-deep: #0b7a5a;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 16px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 14px 30px rgba(16, 24, 40, 0.12);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.16);
  --maxw: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--ink-2);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 40%, #f6f8fb 100%);
  line-height: 1.6;
  font-size: 17px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(92vw, var(--maxw));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  gap: 1rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: unset;
  text-decoration: none;
}

.brand img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.2;
  align-items: flex-start;
}

.brand .name {
  font-family: 'Source Serif 4', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.brand .tag {
  font-size: 0.68rem;
  color: var(--steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 1.08rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  row-gap: 0;
  max-width: none;
}

.nav-links a {
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

.nav-links a.nav-cta:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
}

.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(44, 95, 158, 0.18) 0%, rgba(44, 95, 158, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  color: var(--steel);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.btn-secondary {
  background: #fff;
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--mist);
}

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.hero-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.photo-credit {
  font-size: 0.85rem;
  color: var(--steel);
  margin-top: 0.5rem;
}

.hero-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

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

.metric {
  background: var(--mist);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--line);
}

.metric span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}

.section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  color: var(--navy);
}

.section-subtitle {
  color: var(--steel);
  max-width: 640px;
  font-size: 1.02rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.stack {
  display: grid;
  gap: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.service-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
}

.service-block h3 {
  font-family: 'Source Serif 4', serif;
  color: var(--navy);
  font-size: 1.6rem;
}

.service-block .service-meta {
  display: grid;
  gap: 0.8rem;
  color: var(--steel);
}

.service-block .service-meta strong {
  color: var(--navy);
  font-weight: 600;
}

.service-points {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

.service-points li {
  margin-left: 0.2rem;
}

.case-row {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.2rem;
}

.case-row h3 {
  font-family: 'Source Serif 4', serif;
  color: var(--navy);
  font-size: 1.5rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.case-metric {
  background: var(--mist);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  color: var(--steel);
}

.case-metric strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.card h4 {
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.card p {
  color: var(--steel);
}

.panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.panel h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
}

.panel p {
  color: #d9e2ee;
}

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

.steps {
  display: grid;
  gap: 1.2rem;
}

.step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.step h4 {
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.highlight {
  background: linear-gradient(120deg, rgba(44, 95, 158, 0.12), rgba(15, 34, 61, 0.05));
  border: 1px solid rgba(44, 95, 158, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.9rem;
  color: var(--steel);
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.table th,
.table td {
  text-align: left;
  padding: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.table th {
  background: var(--mist);
  color: var(--navy);
}

.table tr:last-child td {
  border-bottom: none;
}

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
}

.cta-band .container {
  display: grid;
  gap: 1.5rem;
}

.cta-band h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 2.2rem;
}

.cta-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.cta-option {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.footer {
  background: var(--charcoal);
  color: #d9dde6;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer h4 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer a {
  color: #d9dde6;
}

.footer a:hover {
  color: #fff;
}

.form {
  display: grid;
  gap: 1rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form button {
  justify-self: start;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--steel);
  font-size: 0.9rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--brand-deep);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.callout {
  border-left: 4px solid var(--success);
  background: #f2faf6;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
}

.note {
  border-left: 4px solid var(--warn);
  background: #fff6e8;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
}

.stagger > * {
  animation: fadeUp 0.6s ease both;
}

.stagger > *:nth-child(2) {
  animation-delay: 0.08s;
}

.stagger > *:nth-child(3) {
  animation-delay: 0.16s;
}

.stagger > *:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 4vw;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem;
    flex-direction: column;
    gap: 0.9rem;
    display: none;
    min-width: 220px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-card {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}


/* Contact form status message */
.form-status {
  margin-top: 12px;
  font-size: 15px;
  min-height: 22px;
  color: var(--steel);
}
.form-status.is-success { color: var(--success); font-weight: 600; }
.form-status.is-error   { color: var(--warn);    font-weight: 600; }

/* ---- Logo lockups ---- */
.brand img {
  height: 54px;
  width: auto;
}

.footer-logo {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

/* Brand-green accent on dark surfaces, where the logo green reads well */
.footer h4 {
  position: relative;
  padding-bottom: 0.45rem;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

