/* Ordinant Carbon Solutions -- legacy site styles
   Deliberately dated: generic sans stack, conventional palette, drop shadows,
   inconsistent spacing. This is intentional, not an oversight. */

@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@300&family=Open+Sans:wght@400;600;700&family=Lato:wght@400;700&display=swap');

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #66645f;
  line-height: 1.6;
  background: #ebe7de;
}

a {
  color: #992e00;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */

header.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 18px 0;
}

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

.logo {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #66645f;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 34px;
  display: block;
}

.logo span {
  color: #992e00;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: #66645f;
  font-weight: 600;
  font-size: 15px;
}

nav.main-nav a.active {
  color: #992e00;
  border-bottom: 2px solid #992e00;
  padding-bottom: 4px;
}

nav.main-nav a.btn-primary {
  color: #ffffff;
}

.btn {
  display: inline-block;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(180deg, #ff4d00 0%, #992e00 100%);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: #7a2600;
  text-decoration: none;
}

.btn-secondary {
  background: #ffffff;
  color: #992e00;
  border: 2px solid #992e00;
}

.btn-secondary:hover {
  background: #faf7f0;
  text-decoration: none;
}

/* Hero */

.hero {
  background: linear-gradient(135deg, #faf7f0 0%, #ebe7de 100%);
  padding: 70px 0 60px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 480px;
}

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

.hero-copy h1 {
  font-family: 'Inria Serif', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: #1a1917;
  margin-bottom: 18px;
  line-height: 1.25;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: backwards;
}

.hero-copy p {
  font-size: 17px;
  color: #66645f;
  margin-bottom: 26px;
  max-width: 520px;
  animation: fadeInUp 0.6s ease-out 0.15s;
  animation-fill-mode: backwards;
}

.hero-buttons .btn {
  margin-right: 12px;
}

.hero-buttons {
  animation: fadeInUp 0.6s ease-out 0.3s;
  animation-fill-mode: backwards;
}

.hero-image-placeholder {
  flex: 1 1 380px;
  height: 280px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-brand img {
  max-width: 150px;
  margin-top: 10px;
  border-radius: 3px;
  display: block;
}

.team-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.team-card {
  flex: 1 1 200px;
  max-width: 220px;
  text-align: center;
}

.team-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  margin-bottom: 14px;
}

.team-card h4 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  color: #1a1917;
  margin-bottom: 3px;
}

.team-card p {
  font-size: 13px;
  color: #66645f;
}

/* Generic sections */

section {
  padding: 55px 0;
}

section.alt-bg {
  background: #faf7f0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: 'Inria Serif', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1917;
  margin-bottom: 10px;
}

.section-title p {
  color: #66645f;
  font-size: 15px;
}

/* Three-column value props */

.three-col {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.value-card {
  flex: 1 1 300px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 28px 24px;
}

.value-card h3 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 19px;
  color: #1a1917;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14.5px;
  color: #66645f;
}

/* Testimonial block */

.testimonial {
  background: #ffffff;
  border-left: 4px solid #992e00;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 22px 26px;
  margin-bottom: 22px;
  font-style: italic;
  color: #66645f;
}

.testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  font-size: 13.5px;
  color: #992e00;
}

/* CTA band */

.cta-band {
  background: #1a1917;
  color: #ffffff;
  text-align: center;
  padding: 50px 0;
}

.cta-band h2 {
  font-family: 'Inria Serif', Georgia, serif;
  font-size: 26px;
  margin-bottom: 12px;
}

.cta-band p {
  margin-bottom: 24px;
  color: #d4cdc0;
}

/* Feature list (Platform page) */

.feature-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.feature-list li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  font-size: 15.5px;
  color: #66645f;
}

.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #992e00;
  font-weight: 700;
}

.sector-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 30px;
  font-size: 13.5px;
  color: #66645f;
}

.sector-filter .filter-btn {
  padding: 6px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 20px;
  background: #ffffff;
  color: #66645f;
  font-size: 13px;
  font-family: 'Open Sans', Arial, sans-serif;
  cursor: pointer;
}

.sector-filter .filter-btn.active {
  background: #992e00;
  color: #ffffff;
  border-color: #992e00;
}

.case-study-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.case-study-card-full {
  flex: 1 1 calc(50% - 12px);
  width: calc(50% - 12px);
  min-width: 0;
  max-width: calc(50% - 12px);
  background: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 26px 28px;
  color: inherit;
  display: block;
  overflow: hidden;
}

.case-study-card-full[hidden] {
  display: none;
}

a.case-study-card-full:hover {
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.case-study-card-full.has-image {
  padding: 0;
}

.case-study-card-full .card-image {
  width: 100%;
  max-width: 100%;
  height: 168px;
  overflow: hidden;
  background: #d4cdc0;
  border-radius: 4px 4px 0 0;
}

.case-study-card-full .card-image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.case-study-card-full.has-image .card-body {
  padding: 22px 28px 26px;
}

.case-study-card-full .sector-tag,
.detail-meta .sector-tag {
  display: inline-block;
  background: #f1f3f4;
  color: #66645f;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  margin-right: 8px;
}

.case-study-card-full .status-tag,
.detail-meta .status-tag {
  display: inline-block;
  background: #f4e6dc;
  color: #992e00;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  margin-right: 8px;
}

.case-study-card-full h3 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 18px;
  color: #1a1917;
  margin-bottom: 10px;
  line-height: 1.35;
}

.case-study-card-full p.quote {
  font-size: 15px;
  color: #66645f;
  margin-bottom: 14px;
  line-height: 1.5;
}

.case-study-card-full .stat {
  font-size: 13.5px;
  font-weight: 700;
  color: #992e00;
  margin-bottom: 12px;
}

.case-study-card-full .role {
  font-weight: 700;
  font-size: 14px;
  color: #1a1917;
}

.case-study-card-full .org {
  font-size: 13.5px;
  color: #7d7a73;
}

.case-study-card-full .read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #992e00;
}

.case-study-detail {
  max-width: 760px;
}

.detail-back {
  font-size: 14px;
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  font-size: 13.5px;
  color: #7d7a73;
  max-width: none;
}

.detail-meta .sector-tag,
.detail-meta .status-tag {
  margin-bottom: 0;
}

.detail-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  display: block;
  background: #d4cdc0;
}

.detail-stat {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #992e00;
  margin-bottom: 22px;
}

.detail-content p {
  font-size: 15.5px;
  color: #66645f;
  margin-bottom: 16px;
}

.detail-client {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e6e6e6;
}

.detail-client h2 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 15px;
  color: #1a1917;
  margin-bottom: 8px;
}

.detail-client p {
  font-size: 14.5px;
  color: #66645f;
  line-height: 1.55;
}

.detail-author {
  margin-top: 18px;
  font-size: 13px;
  color: #7d7a73;
}

/* Case study blocks */

.case-study-block {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 26px 28px;
  margin-bottom: 24px;
  border-radius: 4px;
}

.case-study-block h3 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 19px;
  color: #1a1917;
  margin-bottom: 10px;
}

.case-study-block p {
  font-size: 15px;
  color: #66645f;
}

/* Contact form */

.contact-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1 1 420px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border-radius: 4px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: #66645f;
  margin-bottom: 6px;
  margin-top: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row > div {
  flex: 1 1 0;
}

.contact-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14.5px;
  background: #ffffff;
}

.form-fine-print {
  font-size: 12.5px;
  color: #7d7a73;
  margin-top: 14px;
  line-height: 1.5;
}

.contact-details ul {
  list-style: none;
  margin-top: 4px;
}

.contact-details li {
  margin-bottom: 22px;
}

.contact-details li strong {
  display: block;
  font-size: 14px;
  color: #1a1917;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14.5px;
}

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

.contact-form .btn {
  margin-top: 20px;
}

.thank-you-panel {
  max-width: 640px;
  margin: 20px auto 40px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 36px 40px;
  text-align: center;
}

.thank-you-panel h1 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 28px;
  color: #1a1917;
  margin-bottom: 14px;
}

.thank-you-panel p {
  font-size: 15.5px;
  color: #66645f;
  margin-bottom: 22px;
}

.contact-details {
  flex: 1 1 320px;
  padding-top: 10px;
}

.contact-details h3 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 19px;
  color: #1a1917;
  margin-bottom: 12px;
}

.contact-details p {
  font-size: 15px;
  color: #66645f;
  margin-bottom: 10px;
}

.figure-list-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.figure-panel {
  flex: 1 1 480px;
  border: 1px solid #d4cdc0;
  border-radius: 4px;
  background: #faf7f0;
  padding: 20px;
}

.figure-panel .figcaption {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #7d7a73;
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.list-panel {
  flex: 1 1 340px;
  padding-top: 6px;
}

/* Platform page: simplified renditions of the redesign's data visuals */

.simple-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.simple-stats div {
  flex: 1 1 140px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}

.simple-stats .stat-number {
  display: block;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a1917;
}

.simple-stats .stat-label {
  display: block;
  font-size: 13px;
  color: #66645f;
  margin-top: 4px;
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  max-width: 700px;
  margin: 0 auto 20px;
}

.steps-list li {
  counter-increment: step-counter;
  padding: 12px 0 12px 42px;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  font-size: 15px;
  color: #66645f;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  background: #992e00;
  color: #ffffff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 24px;
}

.systems-cols {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.systems-cols div {
  flex: 1 1 260px;
}

.systems-cols h4 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 15px;
  color: #1a1917;
  margin-bottom: 8px;
}

.systems-cols ul {
  list-style: disc;
  padding-left: 20px;
  color: #66645f;
  font-size: 14.5px;
}

.systems-cols li {
  margin-bottom: 6px;
}

/* Footer */

footer.site-footer {
  background: #f1f3f4;
  border-top: 1px solid #e2e2e2;
  padding: 40px 0 24px;
  margin-top: 0;
}

.footer-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.footer-col h4 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 14px;
  color: #1a1917;
  margin-bottom: 12px;
}

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

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

.footer-col a {
  color: #66645f;
  font-size: 14px;
}

.footer-brand p {
  font-size: 13.5px;
  color: #777777;
  margin-top: 6px;
  max-width: 280px;
}

.footer-bottom {
  border-top: 1px solid #dddddd;
  padding-top: 16px;
  font-size: 12.5px;
  color: #7d7a73;
  text-align: center;
}

@media (max-width: 700px) {
  .case-study-card-full {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }

  .hero-inner,
  .contact-layout {
    flex-direction: column;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .logo {
    font-size: 17px;
  }

  .logo img {
    height: 26px;
  }

  nav.main-nav ul {
    gap: 12px 16px;
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-image-placeholder {
    flex: 0 1 auto;
    width: 100%;
    height: 200px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .logo {
    font-size: 16px;
  }

  .logo img {
    height: 24px;
  }

  nav.main-nav ul {
    gap: 10px 14px;
    width: 100%;
  }

  .hero-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
  }

  .hero {
    padding: 28px 0;
  }

  .hero-copy h1 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .hero-copy p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .hero-image-placeholder {
    flex: 0 0 220px;
    width: 220px;
    height: 150px;
  }

  section {
    padding: 32px 0;
  }
}
