:root {
  --color-text: #333;
  --color-text-dark: #1e1e1e;
  --color-link: #0029FF;
  --color-link-hover: #0020C9;
  --color-link-dark-hover: #021fb0;
  --color-white: #fff;
  --color-border: #e4ebf3;
  --color-footer-text: #3a4554;
  --color-shadow: #E0E3EA;
  --font-heading: "Funnel Display", sans-serif;
  --font-body: Hanken Grotesk, sans-serif;
  --font-icon: "Material Symbols Outlined";
}

/* =============================================================================
   BREAKPOINT SCALE
   CSS custom properties cannot be used inside @media conditions directly,
   so breakpoints are documented here as a named reference.

   --bp-sm:  480px   Small phone      max-width: 480px
   --bp-md:  768px   Tablet           max-width: 768px
   --bp-lg:  1024px  Laptop           max-width: 1024px
   --bp-xl:  1280px  Large desktop    min-width: 1280px
   --bp-2xl: 1440px  XL desktop       min-width: 1440px
   ============================================================================= */

/* === Base Reset === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-x: hidden;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

figure {
  margin: 0 0 10px;
}

figcaption {
  margin-top: 5px;
  text-align: center;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

button,
[type='button'],
[type='reset'] {
  border: 0;
  cursor: pointer;
  -webkit-appearance: button;
}

/* === Utility Classes === */
.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.w-button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898EC;
  color: white;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}

input.w-button {
  -webkit-appearance: button;
}

/* === Forms === */
.w-form {
  margin: 0 0 15px;
}

.w-form-done {
  display: none;
  padding: 20px;
  text-align: center;
  background-color: #dddddd;
}

.w-form-fail {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background-color: #ffdede;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.w-input,
.w-select {
  display: block;
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333333;
  vertical-align: middle;
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

.w-input:focus,
.w-select:focus {
  border-color: #3898EC;
  outline: 0;
}

.w-input[disabled],
.w-select[disabled],
.w-input[readonly],
.w-select[readonly] {
  cursor: not-allowed;
  background-color: #eeeeee;
}

/* === Small phone (--bp-sm) | max-width: 480px === */
@media screen and (max-width: 480px) {
  .columns-7 {
    grid-template-columns: 1fr;
  }

}

/* === Site Styles === */
body {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 7vw, 6.5625rem);
  font-weight: 700;
  line-height: 0.9;
}

h2 {
  text-align: left;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 40px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

h3 {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.625rem);
  font-weight: 400;
  line-height: 1.2;
  display: inline-block;
}

h4 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.3;
}

h5 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

a {
  color: var(--color-link);
  text-decoration: underline;
}

a:hover {
  color: var(--color-link-hover);
}

li {
  padding-bottom: 10px;
  line-height: 35px;
}

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

blockquote {
  max-width: 72ch;
  border-left: 5px solid #e2e2e2;
  margin-bottom: 10px;
  padding: 10px 20px;
  font-size: 1.125rem;
  line-height: 1.6;
}
 
.page {
  width: auto;
  max-width: 100%;
  height: auto;
  grid-column-gap: 80px;
  grid-row-gap: 0px;
  cursor: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-left: 25px;
  margin-right: 25px;
  padding: 0 0 20px;
  font-size: 1.125rem;
  display: flex;
  overflow-x: hidden;
  box-sizing: border-box;
}

.trains-bg-img {
  background-image: url("../images/trains-bg.png");
  background-size: 100% 20%;
  background-repeat: no-repeat;
}

.container {
  width: 100%;
  max-width: 1080px;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 25px;
  display: flex;
  position: relative;
  height: auto;
  min-height: 500px;
  min-width: 0;
  box-sizing: border-box;
}

.section {
  width: 100%;
  height: auto;
  max-width: 1080px;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  box-sizing: border-box;
}

.text-block {
  text-align: left;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  max-width: 72ch;
}

.utility-page-wrap {
  width: 100vw;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  display: flex;
}

.utility-page-content {
  width: 350px;
  text-align: center;
  flex-direction: column;
  display: flex;
}

.utility-page-form {
  flex-direction: column;
  align-items: stretch;
  display: flex;
}

.overview-columns {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.case-study-section {
  max-width: 1080px;
  width: min(100%, 1080px);
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  align-self: center;
  box-sizing: border-box;
  display: block;
}

.case-study-section > h2:first-child {
  margin-top: 0;
}

.case-study-section .overview-columns h2:first-child {
  margin-top: 0;
}

/* Fill the centered column; keep text left-aligned within it */
.case-study-section .text-block,
.case-study-section blockquote,
.deep-dives-section .text-block {
  max-width: none;
}

.case-study-section.solution {
  max-width: none;
  width: 100%;
}

.full-width-image {
  width: 100vw;
  margin-top: 40px;
  margin-bottom: 40px;
  overflow: visible;
  align-self: center;
}

.case-study-image {
  width: 100%;
  max-width: 100%;
  text-align: left;
  margin-top: 40px;
  margin-bottom: 40px;
  display: block;
}

.case-study-image-compact {
  margin-top: 24px;
  margin-bottom: 24px;
}

.case-study-image-half {
  max-width: 50%;
  height: auto;
}

.image-center-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.case-study-section-bordered {
  border-top: 1px solid rgba(51, 51, 51, .2);
  padding-top: 40px;
}

.heading-2 {
  text-align: left;
}

.stat-card {
  flex-direction: column;
  align-items: flex-start;
  margin-top: 25px;
  margin-bottom: 60px;
  padding-right: 40px;
  display: flex;
}

.columns-3 {
  flex: 0 auto;
  justify-content: space-between;
  padding-top: 20px;
  display: flex;
}

.text-block-4 {
  text-align: left;
}

.column-4 {
  flex-direction: column;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
}

.text-block-5 {
  text-align: left;
}

.text-block-6 {
  text-align: center;
}

.image-5, .image-6, .image-7 {
  padding-bottom: 20px;
}

.emphasized-text {
  max-width: 700px;
  text-transform: none;
  background-color: rgba(0, 0, 0, 0);
  background-image: none;
  margin-top: 40px;
  margin-bottom: 40px;
  font-weight: 400;
}

.stat-label {
  margin-top: 0;
}

.stat-value {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2.25rem;
}

.footer-light {
  border-bottom: 0 #e4ebf3;
  width: min(100%, 1080px);
  max-width: 1080px;
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  padding: 0 0 40px;
  box-sizing: border-box;
  position: relative;
}

.container-2 {
  width: 100%;
  max-width: 1080px;
  flex-direction: column;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.footer-wrapper-two {
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 40px;
}

.footer-divider-two {
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  margin-top: 0;
  margin-bottom: 24px;
}

.footer-bottom {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.footer-copyright {
  color: var(--color-footer-text);
}

.section-2 {
  flex-direction: column;
  align-items: center;
  display: flex;
}

.hero-img-container {
  position: relative;
}

.container-4 {
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.hero-wrapper {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.hero-split {
  max-width: 46%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.about-copy {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.75;
}

.div-block-4 {
  justify-content: space-between;
  display: flex;
}

.button {
  color: var(--color-white);
  background-color: var(--color-link);
  border-radius: 20px;
  margin-right: 20px;
}

.button:hover {
  color: var(--color-white);
  background-color: var(--color-text);
}

.button:active {
  background-color: #0029FF;
}

.button:focus {
  background-color: #333;
}

.image-8 {
  border-radius: 20px;
}

.case-study-thumbnail-block {
  color: #000;
  border-radius: 24px;
  text-decoration: none;
  padding-bottom: 20px;
  box-sizing: border-box;
  box-shadow: 0px 2px 5px var(--color-shadow);

}

.thumbnail-image-container {
  overflow: hidden;
  border-radius: 24px 24px 0px 0px;
  aspect-ratio: 3 / 2;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease-in-out;
}


.case-study-thumbnail-block:hover .thumbnail-image {
  transform: scale(1.1);
}


.case-study-card-title {
  margin-bottom: 20px;
}

.thumbnail-text1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
}

.thumbnail-text2 {
  color: var(--color-link);
}

.thumbnail-date {
  width: 150px;
  color: var(--color-white);
  text-align: center;
  -webkit-text-fill-color: inherit;
  background-color: var(--color-link);
  background-clip: padding-box;
  border-radius: 20px;
  font-size: 0.875rem;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.div-block-6 {
  grid-column-gap: 10px;
  display: flex;
}

.fun-image {
  margin-top: 10px;
  margin-bottom: 10px;
}

.heading-8 {
  font-weight: 500;
}

.div-block-9 {
  grid-column-gap: 10px;
  align-items: center;
  display: flex;
}

.image-11 {
  height: 28px;
  padding-top: 5px;
}

.field-label {
  font-family: var(--font-body);
  font-weight: 400;
}

.image-12 {
  -webkit-text-fill-color: inherit;
  background-clip: content-box;
  margin-top: 20px;
  margin-bottom: 20px;
}

.image-13 {
  height: 25px;
  padding-left: 0;
  padding-right: 10px;
  display: inline-block;
}

.heading-10 {
  line-height: 30px;
}

.solution-columns {
  align-items: center;
  margin-bottom: 40px;
  display: flex;
}

.hero-columns {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero-columns > div,
.solution-columns > div,
.overview-columns > div {
  flex: 1;
  min-width: 0;
}

.columns-7 {
  padding-left: 0;
}

.fun-container {
  max-width: 1028px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.columns-7 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-left: 0;
}

.fun-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-heading-center {
  background-color: rgba(0, 0, 0, 0);
  padding: 80px 30px;
  position: relative;
  align-self: stretch;
  margin-left: -25px;
  margin-right: -25px;
}

.container-7 {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.hero-wrapper-2 {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.hero-split-2 {
  max-width: 60%;
  margin-left: 25px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.button-primary {
  color: var(--color-white);
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: var(--color-text);
  border-radius: 20px;
  padding: 12px 25px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 20px;
  transition: background-color .2s;
}

.button-primary:hover {
  color: var(--color-white);
  background-color: var(--color-text-dark);
}

.button-primary:active {
  background-color: var(--color-text-dark);
}

.button-primary--disabled {
  background-color: #9ca3af;
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.button-primary--disabled:hover,
.button-primary--disabled:active {
  background-color: #9ca3af;
}

.text-block-10 {
  display: block;
}

.nda-block {
  background-color: #ffffffd2;
  border-radius: 10px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  display: flex;
}

.list {
  list-style-type: disc;
}

.newslinks {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-direction: row;
  margin-top: 20px;
  display: flex;
}

/* --- Styles for the links within the intro paragraph --- */
.intro-paragraph a {
  position: relative; /* Essential for positioning the ::after pseudo-element */
  color: var(--color-link-hover);
  text-decoration: none; /* Remove default underline */
  transition: color 0.2s ease-in-out; /* Smooth color transition on hover */
  padding-bottom: 2px; /* Small space between text and underline */
  display: inline-block; /* Allows the underline to cover only the link text */
}

.intro-paragraph a:hover {
  color: var(--color-link-dark-hover);
}

/* The expanding underline effect */
.intro-paragraph a::after {
  content: ''; /* Required for pseudo-elements */
  position: absolute;
  width: 100%; /* The underline will be as wide as the link text */
  transform: scaleX(0); /* Initially scale to 0 width (invisible) */
  height: 2px; /* Thickness of the underline */
  bottom: 0; /* Position at the bottom of the link */
  left: 0; /* Align to the left of the link */
  background-color: var(--color-link-hover); /* Color of the underline */
  transform-origin: bottom right; /* Animation starts from the right */
  transition: transform 0.25s ease-out; /* Smooth animation duration and timing */
  border-radius: 1px; /* Slightly rounded edges for the underline */
}

/* State when the link is hovered */
.intro-paragraph a:hover::after {
  transform: scaleX(1); /* Expand to full width on hover */
  transform-origin: bottom left; /* Change origin for the return animation */
}

/* ====================================================
   Me page — text hierarchy
   ==================================================== */
.me-eyebrow {
  margin-top: 0;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-footer-text);
  line-height: 1.4;
}

.me-intro {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.2vw + 0.5rem, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: -0.02em;
}

.deep-dives-section {
  max-width: 1080px;
  width: min(100%, 1080px);
  border-top: 1px solid rgba(51, 51, 51, .2);
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  align-self: center;
  box-sizing: border-box;
  display: block;
}

.stat-grid {
  grid-column-gap: 30px;
  justify-content: space-between;
  display: flex;
}

.impact-stats {
  justify-content: space-between;
  display: flex;
}

.link-5, .link-6 {
  display: none;
}

.heading-casestudy {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  line-height: 1.2;
}

.deep-dive-link {
  color: var(--color-link);
  font-weight: 500;
}

.deep-dive-link:hover {
  color: var(--color-link-hover);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 50%;
  max-width: 560px;
}

.hero-text {
  align-self: auto;
  height: fit-content;
  position: relative;
  z-index: -1;
  line-height: 80%;
  animation: fadeIn 0.7s ease-out both;
  max-width: 100%;
  min-width: 0;
}

.hero-subtext {
  align-self: auto;
  font-size: 1.5rem;
  z-index: 150;
  line-height: 150%;
  margin-top: 2rem;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero-image {
  text-align: left;
  display: inline-block;
}

.star1 {
  max-width: 60px;
  position: absolute;
  top: auto;
  bottom: 24%;
  left: auto;
  right: 20%;
}
.star2 {
  max-width: 30px;
  position: absolute;
  top: auto;
  left: auto;
  right: 18%;
}

.star3 {
  max-width: 50px;
  position: absolute;
  top: 0%;
  bottom: auto;
  left: auto;
  right: 0;
}

.pw-page-heading {
  margin-top: 0;
  margin-bottom: 0;
}

.hero-line {
  width: 700px;
  margin-right: 15px;
}


.hero-img {
  height: 500px;
  width: auto;
  max-width: min(480px, 48%);
  object-fit: contain;
  object-position: right center;
  flex: 0 1 auto;
  z-index: 1;
}

.case-study-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 48px;
  padding-bottom: 0;
}

.case-study-container > .case-study-row {
  animation: fadeUp 0.5s ease-out both;
  margin: 0;
  width: 100%;
  position: relative;
}
.case-study-container > .case-study-row:nth-child(1) { animation-delay: 0.35s; }
.case-study-container > .case-study-row:nth-child(2) { animation-delay: 0.45s; }
.case-study-container > .case-study-row:nth-child(3) { animation-delay: 0.55s; }
.case-study-container > .case-study-row:nth-child(4) { animation-delay: 0.65s; }

.case-study-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  color: #000;
}

.case-study-row-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.case-study-row-meta {
  margin: 0;
  color: var(--color-link);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.case-study-row-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.material-symbols-outlined {
  font-family: var(--font-icon);
  font-weight: normal;
  font-style: normal;
  font-size: 1.15em;
  line-height: 1;
  display: inline-block;
  vertical-align: -0.2em;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.case-study-row-title .material-symbols-outlined,
.news-section-heading .material-symbols-outlined,
.heading-13 .material-symbols-outlined {
  margin-right: 0.3em;
  color: var(--color-text-dark);
}

.location-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}

.location-line .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--color-link);
  vertical-align: middle;
}

.case-study-row-desc {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: none;
}

.case-study-row-media {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 3 / 2;
  box-shadow: 0px 2px 5px var(--color-shadow);
}

.case-study-row-media .thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease-in-out;
}

.case-study-row:has(.button-primary:hover) .thumbnail-image {
  transform: scale(1.05);
}
/* === XL Desktop (--bp-2xl) | min-width: 1440px === */
@media screen and (min-width: 1440px) {

  h2 {
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    font-weight: 700;
  }

  h3 {
    font-weight: 700;
  }

  h5 {
    font-size: 1.25rem;
    font-weight: 400;
  }

  .page {
    height: auto;
    background-color: rgba(0, 0, 0, 0);
    border: 0 #000;
    padding-top: 0;
  }

  .container {
    max-width: 1040px;
    margin-top: 20px;
  }

  .section {
    max-width: 1080px;
    justify-content: center;
    align-items: center;
  }

  .case-study-section {
    align-items: flex-start;
  }

  .case-study-section.solution {
    max-width: 1024px;
  }

  .case-study-image {
    width: 100%;
  }

  .stat-card {
    margin-bottom: 100px;
  }

  .text-block-4 {
    text-align: left;
  }

  .column-4 {
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
  }

  .emphasized-text {
    font-weight: 400;
  }

  .footer-light {
    padding-top: 0;
  }

  .thumbnail-image {
    max-width: 100%;
  }

  .thumbnail-text1 {
    font-weight: 400;
  }

  .div-block-8 {
    z-index: -1000;
    width: 100vw;
    height: 800px;
    background-image: linear-gradient(#f4f4f4, #fff);
    position: absolute;
    top: 0;
    left: 0;
  }

  .heading-8 {
    text-align: center;
  }

  .hero-columns {
    flex-direction: row;
    align-items: center;
    margin-bottom: 140px;
    display: flex;
  }

  .hero-heading-center {
    flex: 0 auto;
  }

  .deep-dives-section {
    align-items: flex-start;
  }

}

/* === Large Desktop (--bp-xl) | min-width: 1280px === */
@media screen and (min-width: 1280px) {
  .hero-columns {
    margin-bottom: 140px;
  }

  .hero-heading-center {
    flex: 0 auto;
  }

  .deep-dives-section {
    align-items: flex-start;
  }

}

/* === Laptop (--bp-lg) | max-width: 1024px === */
@media screen and (max-width: 1024px) {
  .hero-columns,
  .overview-columns {
    flex-direction: column;
  }

  .case-study-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-study-row-content {
    display: contents;
  }

  .case-study-row-meta {
    order: 1;
  }

  .case-study-row-title {
    order: 2;
  }

  .case-study-row-desc {
    order: 3;
    max-width: none;
    margin-bottom: 0;
  }

  .case-study-row-media {
    order: 4;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .case-study-row .button-primary {
    order: 5;
    justify-self: start;
  }

  .page, .section {
    height: auto;
  }

  .footer-light {
    padding-top: 0;
  }

  .container-2 {
    max-width: 100%;
  }

  .footer-wrapper-two {
    flex-wrap: wrap;
  }

  .container-4 {
    max-width: 728px;
  }

  .hero-wrapper {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: -40px;
  }

  .div-block-8 {
    height: auto;
  }


  .hero-wrapper-2 {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: -40px;
  }

  .hero-split-2 {
    max-width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: 0px;
  }

  .hero-line {
    display:none;
  }
}
/* === Tablet (--bp-md) | max-width: 768px === */
@media screen and (max-width: 768px) {
  .columns-7 {
    grid-template-columns: 1fr 1fr;
  }

  .case-study-container {
    grid-gap: 40px;
  }

  .case-study-row-title {
    font-size: 1.5rem;
  }

  .case-study-row-desc {
    font-size: 1rem;
  }

  .container {
    margin-top: 60px;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .text-block {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .case-study-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-light {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-copyright {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .section-2 {
    flex-direction: column;
    align-items: center;
    display: flex;
  }

  .hero-heading-right, .hero-heading-center {
    padding: 60px 15px;
  }

  .star3 {
    top: 0%;
    bottom: auto;
    left: 71%;
    right: auto;
  }

  /* --- Merged from legacy 619px tier --- */

  li {
    line-height: 18px;
  }

  blockquote {
    font-size: 0.875rem;
  }

  .page {
    grid-row-gap: 10px;
    flex-wrap: nowrap;
    padding-top: 10px;
    font-size: 0.875rem;
  }

  .container {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }

  .section {
    height: auto;
  }

  .case-study-section {
    width: min(100%, 1080px);
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
  }

  .stat-card {
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
  }

  .columns-3 {
    flex-direction: column;
  }

  .text-block-4, .text-block-5, .text-block-6 {
    text-align: center;
  }

  .stat-label {
    font-size: 1.125rem;
  }

  .stat-value {
    font-size: 2.25rem;
  }

  .footer-light {
    padding-top: 0;
  }

  .container-2 {
    max-width: none;
  }

  .footer-wrapper-two {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-copyright {
    position: static;
  }

  .hero-heading-right {
    width: 90vw;
    padding-top: 0;
  }

  .container-4 {
    max-width: none;
  }

  .hero-wrapper {
    align-items: center;
  }

  .hero-text {
    top: 20%;
    max-width: 50%;
    font-size: 3.375rem;
  }

  .hero-subtext {
    font-size: 1.125rem;
  }

  .div-block-4 {
    grid-column-gap: 10px;
    grid-row-gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .thumbnail-image {
    width: 100%;
  }

  .div-block-8 {
    height: 800px;
    margin-top: 50px;
  }

  .solution-columns {
    flex-direction: column;
  }

  .solution-columns.reverse-flex {
    flex-direction: column-reverse;
  }

  .hero-heading-center {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .deep-dives-section {
    width: min(100%, 1080px);
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 32px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .impact-stats {
    flex-direction: column;
  }

  .heading-12 {
    font-size: 2.5rem;
  }

  .heading-13 {
    font-size: 1.125rem;
  }

  .column-8 {
    padding-left: 0;
  }

  .star1, .star3 {
    max-width: 30px;
  }

  .star2 {
    max-width: 15px;
  }

}

/* Hero pages: navbar overlays the hero gradient */
body:has(.hero-heading-center) .navbar {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

  /* Navbar container styling */
        .navbar {
            background-color: transparent; /* Removed background */
            padding: 15px 20px;
            display: flex;
            justify-content: flex-end; /* Align items to the right*/
            align-items: center;
            box-shadow: none; /* Removed shadow */
            position: relative; /* Needed for absolute positioning of dropdown */
            z-index: 1000; /* Ensure navbar is above other content */
        }

        /* Desktop navigation links styling */
        .nav-links {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
        }

        .nav-links li {
            margin-left: 30px; /* Spacing between desktop nav items */
        }

        .nav-links a {
            color: #333; /* Dark text color for links */
            text-decoration: none;
            font-size: 1.5rem;
            font-weight: 500;
            padding: 2px 0; /* Minimal padding for the text itself */
            position: relative; /* For the animated underline */
            transition: color 0.3s ease; /* Smooth transition for text color */
        }

        /* Animated underline effect for desktop links */
        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0; /* Initially hidden */
            height: 2px; /* Thickness of the underline */
            bottom: -2px; /* Position below the text */
            left: 0;
            background-color: var(--color-link-hover); /* Color of the underline */
            transition: width 0.3s ease-out; /* Animation for the underline */
        }

        .nav-links a:hover {
            color: #021fb0; /* Blue on hover */
        }

        .nav-links a:hover::after {
            width: 100%; /* Expand underline on hover */
        }

        /* Hamburger menu icon container styling */
        .hamburger {
            display: none; /* Hidden by default on larger screens */
            cursor: pointer;
            width: 35px; /* Increased size for better touch target */
            height: 24px; /* Increased size */
            position: relative;
            z-index: 10; /* Ensure it's above other elements */
            background: none; /* No background for the button itself */
            border: none; /* No border for the button itself */
            padding: 0;
            margin: 0;
            outline: none; /* Remove outline on focus */
            /* Hamburger lines should be dark now as navbar is transparent */
        }

        /* Styling for the individual lines of the hamburger icon */
        .hamburger span {
            display: block;
            position: absolute;
            height: 3px; /* Thickness of the lines */
            width: 100%;
            background: #333; /* Dark color for hamburger lines */
            border-radius: 9px; /* Rounded ends */
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out; /* Smooth transition for animation */
        }

        /* Positioning for each line when in default state */
        .hamburger span:nth-child(1) {
            top: 0px;
        }

        .hamburger span:nth-child(2),
        .hamburger span:nth-child(3) {
            top: 10px; /* Middle lines are closer together */
        }

        .hamburger span:nth-child(4) {
            top: 20px; /* Bottom line position */
        }

        /* Hamburger animation */
        .hamburger.open span:nth-child(1) {
            top: 10px; /* Move top line to middle */
            width: 0%; /* Make top line disappear */
            left: 50%; /* Make it disappear from the center */
        }

        .hamburger.open span:nth-child(2) {
            transform: rotate(45deg); /* Rotate middle line 1 */
        }

        .hamburger.open span:nth-child(3) {
            transform: rotate(-45deg); /* Rotate middle line 2 */
        }

        .hamburger.open span:nth-child(4) {
            top: 10px; /* Move bottom line to middle */
            width: 0%; /* Make bottom line disappear */
            left: 50%; /* Make it disappear from the center */
        }

        /* Dropdown menu styling for mobile */
        .dropdown-menu {
            display: none; /* Hidden by default */
            background-color: #ffff; /* A light background for the dropdown */
            flex-direction: column; /* Stack items vertically */
            width: 100%;
            position: absolute;
            top: 60px; /* Position below the navbar. Adjust if navbar height changes. */
            left: 0;
            z-index: 999; /* Below navbar but above other content */
            padding: 10px 0;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Softer shadow */
            text-align: center;
            border-radius: 0 0 10px 10px; /* Rounded bottom corners */
            overflow: hidden; /* Ensure rounded corners are visible */
        }

        .dropdown-menu li {
            list-style: none; /* Remove bullet points */
            margin: 0;
            padding: 0;
        }

        .dropdown-menu a {
            color: #333; /* Dark text color for dropdown links */
            text-decoration: none;
            font-size: 1.125rem;
            padding: 12px 0; /* More padding for mobile tap targets */
            display: block; /* Make the whole area clickable */
            position: relative; /* For the animated underline */
            transition: color 0.3s ease;
        }

        /* Animated underline effect for mobile dropdown links */
        .dropdown-menu a::after {
            content: '';
            position: absolute;
            width: 0; /* Initially hidden */
            height: 1px; /* Thickness of the underline */
            bottom: 8px; /* Position below the text within padding */
            left: 0;
            background-color: #333; /* Color of the underline */
            transition: width 0.3s ease-out; /* Animation for the underline */
        }

        .dropdown-menu a:hover {
            color: #555; /* Slightly darker on hover */
        }

        .dropdown-menu a:hover::after {
            width: 100%; /* Expand underline on hover */
        }

        /* === Navbar: Tablet (--bp-md) | max-width: 768px === */
        @media (max-width: 768px) {
            /* Adjust navbar to move hamburger to the right when brand is removed */
            .navbar {
                justify-content: flex-end;
            }
            /* Hide regular navigation links on mobile */
            .nav-links {
                display: none;
            }

            /* Show hamburger menu on mobile */
            .hamburger {
                display: block;
            }

            /* Show dropdown menu when navbar has 'open' class on mobile */
            .navbar.open .dropdown-menu {
                display: flex;
            }
          }

/* ====================================================
   Placeholder image rectangles
   ==================================================== */
.page-thumbnail {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.placeholder-rect {
  background-color: rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.placeholder-rect-wide {
  aspect-ratio: 16 / 7;
  margin-top: 24px;
  margin-bottom: 24px;
}

.thumbnail-image-container--placeholder {
  overflow: hidden;
  border-radius: 24px 24px 0px 0px;
  background-color: rgba(0, 0, 0, 0.07);
}

.thumbnail-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* ====================================================
   Feature blocks (spacing wrapper for case study features)
   ==================================================== */
.feature-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.feature-block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* ====================================================
   Scannable case study layout (title + meta + visual)
   ==================================================== */
.case-study-back {
  display: inline-flex;
  align-items: center;
  max-width: 1080px;
  width: min(100%, 1080px);
  margin: 16px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
  align-self: center;
  color: var(--color-link);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}

.case-study-back:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

.case-study-header,
.case-study-hero-visual,
.case-study-section {
  max-width: 1080px;
  width: min(100%, 1080px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  align-self: center;
}

.case-study-header {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.case-study-header-main {
  min-width: 0;
}

.case-study-header .heading-casestudy {
  margin: 0 0 12px;
}

.case-study-dek {
  margin: 0 0 20px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-text);
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-study-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: rgba(51, 51, 51, 0.07);
  color: var(--color-text-dark);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}

.case-study-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  min-width: 0;
}

.case-study-meta-item {
  min-width: 0;
}

.case-study-meta-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}

.case-study-meta-value {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text-dark);
}

.case-study-hero-visual {
  margin-top: 36px;
}

.case-study-hero-visual video,
.case-study-hero-visual img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.case-study-hero-visual .placeholder-rect {
  margin: 0;
}

.case-study-subhead {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-dark);
}

.overview-columns--three {
  gap: 1.75rem;
}

.case-study-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 28px;
  margin-bottom: 8px;
}

.case-study-text-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 1.5rem 1.5rem;
  align-items: start;
}

.case-study-text-visual-copy {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-width: 0;
}

.case-study-text-visual .case-study-figure {
  margin: 0;
  width: 100%;
  max-width: 320px;
  justify-self: stretch;
}

.case-study-figure {
  margin: 0;
  min-width: 0;
}

.case-study-figure .placeholder-rect,
.case-study-figure img,
.case-study-figure video {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 12px;
}

.case-study-figure figcaption {
  margin-top: 8px;
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(51, 51, 51, 0.7);
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 8px 0 28px;
}

.case-study-metric {
  min-width: 0;
}

.case-study-metric-value {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 1.5vw + 0.75rem, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}

.case-study-metric-label {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text);
}

@media screen and (max-width: 1024px) {
  .case-study-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-study-image-pair,
  .case-study-metrics,
  .case-study-text-visual {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .case-study-meta {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   Standalone "In the News" section on the index page
   ==================================================== */
.news-section {
  max-width: 1080px;
  width: min(100%, 1080px);
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  padding-top: 48px;
  border-top: 1px solid rgba(51, 51, 51, 0.15);
  box-sizing: border-box;
}

.news-section-heading {
  margin-top: 0;
  margin-bottom: 28px;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.2vw + 0.5rem, 1.375rem);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: -0.01em;
}

.news-section .newslinks {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.news-section .deep-dive-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  background-color: #fff;
  color: var(--color-text-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  flex: 1 1 0;
  min-width: 220px;
  max-width: 100%;
  line-height: 1.4;
}

.news-section .deep-dive-link::after {
  content: '↗';
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-left: auto;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.news-section .deep-dive-link:hover {
  border-color: var(--color-link);
  background-color: #f4f7ff;
  color: var(--color-link);
  box-shadow: 0 4px 16px rgba(0, 41, 255, 0.08);
  transform: translateY(-2px);
}

.news-section .deep-dive-link:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* === News section: Tablet (--bp-md) | max-width: 768px === */
@media screen and (max-width: 768px) {
  .news-section {
    margin-top: 40px;
    padding-top: 40px;
    padding-left: 0;
    padding-right: 0;
  }

  .news-section .newslinks {
    flex-direction: column;
  }

  .news-section .deep-dive-link {
    flex: none;
    width: 100%;
    min-width: unset;
  }
}

/* === Print === */
@media print {
  .navbar,
  .navbar-1,
  .hamburger,
  .dropdown-menu,
  .button-primary,
  .nda-block {
    display: none !important;
  }

  .page, main {
    margin: 0;
    padding: 0;
  }

  .hero-heading-center,
  .hero-heading-right {
    padding: 20px 0;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }

  .footer-light {
    margin-top: 20px;
    padding: 10px 0;
  }
}