/* Oct 2026 refresh: styles for the new sections. Loaded after app.css. */

/* Hero */
.hero-actions {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2.4rem;
}
.hero-secondary {
  padding-bottom: 1.8rem;
  color: #2f80ed;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
}
.hero-secondary:hover,
.hero-secondary:focus {
  color: #1c5fc0;
  text-decoration: underline;
}

/* Results band */
.results-band {
  padding: 3.2rem 0;
  background: #f5f9ff !important;
  border-top: 1px solid #e3eefc;
  border-bottom: 1px solid #e3eefc;
}
.results-band .container {
  display: block;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}
.result-number {
  font-size: 3rem;
  font-weight: 600;
  color: #102E3B;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.result-label {
  margin-top: 0.6rem;
  font-size: 1.45rem;
  line-height: 1.5;
  color: #4a5d66;
}

/* What we build */
.services-wrap {
  width: 100%;
}
.services-wrap > h1 {
  margin: 0 0 4rem;
}
.vision-view .service-icon {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.vision-view .service-icon img {
  max-height: 110px;
}
.vision-view .project-item h2 {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* Selected work */
#projects .project-client {
  color: #2f80ed;
  font-size: 1.25rem;
  font-weight: 500;
  margin: -0.4rem 0 0.8rem;
}

/* About */
.about-view .container {
  display: block;
}
.about-inner h1 {
  margin-bottom: 3rem;
}
.proof-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
  color: #2f80ed;
  font-weight: 600;
}
.section-lead {
  font-size: 1.7rem;
  line-height: 1.7;
  color: #4a5d66;
  max-width: 820px;
  margin-bottom: 3.2rem;
}
.about-lead {
  color: #333;
}

.proof-heading {
  margin: 5rem 0 2rem;
  font-size: 2.4rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
}
.proof-card {
  display: block;
  border-radius: 1.6rem;
  border-top: 4px solid #57c1f4;
  box-shadow: 0 4px 24px rgba(47, 128, 237, 0.12);
  padding: 2.4rem;
  color: #333;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.proof-card:hover,
.proof-card:focus {
  color: #333;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(47, 128, 237, 0.22);
  transform: translateY(-2px);
}
.proof-card h3 {
  margin: 0.8rem 0 1rem;
  font-size: 2rem;
  color: #1a1a1a;
}
.proof-card p {
  font-size: 1.4rem;
  line-height: 1.6;
}
.proof-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #2f80ed;
  font-weight: 500;
  font-size: 1.4rem;
}

/* Open source */
.oss-view .container {
  display: block;
}
.oss-view .about-inner h1 {
  margin-bottom: 1.2rem;
}

/* How we work */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
}
.principle {
  border-top: 3px solid #57c1f4;
  padding-top: 1.6rem;
}
.principle h3 {
  font-size: 1.8rem;
  margin: 0 0 0.8rem;
  color: #102E3B;
}
.principle p {
  font-size: 1.45rem;
  line-height: 1.6;
  color: #4a5d66;
}

/* Contact */
.contact-view {
  background: linear-gradient(90deg, #57c1f4 0%, #2f80ed 100%) !important;
  color: white;
}
.contact-view .container {
  display: block;
}
.contact-inner {
  text-align: center;
}
.contact-inner h1 {
  color: white;
  margin-bottom: 1.2rem;
}
.contact-inner p {
  color: white;
  font-size: 1.7rem;
  margin-bottom: 2.8rem;
}
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.btn-primary-cta,
.btn-secondary-cta {
  display: inline-block;
  padding: 1.2rem 2.8rem;
  border-radius: 3rem;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid white;
}
.btn-primary-cta {
  background: white;
  color: #2f80ed;
}
.btn-secondary-cta {
  color: white;
}
.btn-primary-cta:hover,
.btn-primary-cta:focus {
  color: #1c5fc0;
  text-decoration: none;
}
.btn-secondary-cta:hover,
.btn-secondary-cta:focus {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

/* Footer */
footer h5 a {
  color: inherit;
}
footer .footer-copy {
  opacity: 0.8;
}

@media (max-width: 992px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .proof-grid,
  .results-grid,
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .results-grid {
    text-align: center;
  }
  .vision-view .project-item h2 {
    min-height: 0;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* Tools: align the title with the pills below it */
.technologies-view h1 {
  text-align: left !important;
}
