:root {
  --solutions-ink: #071c34;
  --solutions-teal: #006e78;
  --solutions-teal-deep: #004b59;
  --solutions-amber: #debe67;
  --solutions-mist: #f4f7f9;
}

.section--featured,
.section--stories {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 150px;
  background: linear-gradient(132deg, #fff 0%, #fbfcfd 54%, #f2f5f7 100%) !important;
}

.section--featured::before,
.section--stories::after {
  position: absolute;
  z-index: -2;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(4, 93, 113, .12);
  border-radius: 46% 54% 58% 42%;
  content: "";
  pointer-events: none;
}

.section--featured::before {
  top: -280px;
  right: -210px;
  box-shadow:
    16px 14px 0 rgba(255, 255, 255, .8),
    18px 17px 0 rgba(243, 164, 0, .65),
    36px 31px 0 rgba(6, 44, 65, .96);
}

.section--stories::after {
  bottom: -300px;
  left: -230px;
  box-shadow:
    16px -14px 0 rgba(255, 255, 255, .8),
    18px -17px 0 rgba(243, 164, 0, .65),
    36px -31px 0 rgba(0, 109, 119, .96);
}

.section--featured {
  padding: 26px 0 14px;
}

.section--stories {
  padding: 4px 0 40px;
}

.section--featured > .shell,
.section--stories > .shell {
  width: min(1440px, calc(100% - 48px));
}

.solutions-stories-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .24;
  background:
    radial-gradient(circle, rgba(0, 126, 151, .75) 0 1.3px, transparent 1.5px) left 18px top 10px / 16px 16px,
    radial-gradient(circle, rgba(0, 126, 151, .62) 0 1.3px, transparent 1.5px) right 18px bottom 16px / 16px 16px,
    linear-gradient(132deg, transparent 0 15%, rgba(5, 84, 105, .14) 15.1% 15.2%, transparent 15.3% 24%, rgba(5, 84, 105, .1) 24.1% 24.2%, transparent 24.3%);
  background-repeat: no-repeat;
  background-size: 165px 96px, 155px 90px, 100% 100%;
  pointer-events: none;
}

.section--featured .section-title,
.section--stories .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 0 0 14px;
  color: var(--solutions-ink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  background: linear-gradient(var(--solutions-amber), var(--solutions-amber)) center bottom / 42px 3px no-repeat;
}

.section--featured .section-title::before,
.section--featured .section-title::after,
.section--stories .section-title::before,
.section--stories .section-title::after {
  width: 48px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
  content: "";
  background: radial-gradient(circle, #087d96 0 1.6px, transparent 1.8px) 0 0 / 10px 10px;
}

.section--featured .section-lead,
.section--stories .section-lead {
  margin: -2px auto 14px;
  color: #5b6878;
  font-size: 14px;
  text-align: center;
}

.section--featured .section-lead .field,
.section--stories .section-lead .field,
.success-impact__copy .field {
  margin: 0;
}

.solutions-home__view .view-content {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.solutions-home__view .views-row {
  min-width: 0;
}

.solution-card {
  position: relative;
  display: flex;
  min-height: 360px;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d3d8d8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(5, 35, 58, .13);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.solution-card:hover,
.solution-card:focus-within {
  border-color: #debe67;
  transform: translateY(-7px);
  box-shadow: 0 20px 38px rgba(5, 35, 58, .19);
}

.solution-card__media {
  position: relative;
  height: 184px;
  overflow: hidden;
  background: #dfe8ec;
}

.solution-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(2, 27, 43, .02), rgba(2, 27, 43, .14));
  pointer-events: none;
}

.solution-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.solution-card:hover .solution-card__media > img {
  transform: scale(1.045);
}

.solution-card__icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #087c86, #004958);
  box-shadow: 0 7px 16px rgba(0, 43, 57, .28);
}

.solution-card__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.solution-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 17px;
}

.solution-card h3 {
  margin: 0;
  min-height: 52px;
  color: var(--solutions-ink);
  font-size: clamp(1.06rem, 1.35vw, 1.3rem);
  line-height: 1.13;
  letter-spacing: -.025em;
}

.solution-card h3 a:focus-visible,
.solution-card__cta:focus-visible,
.success-panel a:focus-visible {
  outline: 3px solid #ffd76a;
  outline-offset: 3px;
  border-radius: 4px;
}

.solution-card__accent {
  width: 26px;
  height: 2px;
  margin: 10px 0;
  background: var(--solutions-amber);
}

.solution-card__body > p {
  margin: 0;
  color: #5b6777;
  font-size: 13px;
  line-height: 1.45;
}

.solution-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--solutions-teal-deep);
  font-size: 13px;
  font-weight: 800;
}

.solution-card__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid var(--solutions-amber);
  border-radius: 50%;
  font-size: 20px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.solution-card__cta:hover .solution-card__arrow {
  color: #fff;
  background: var(--solutions-teal);
  transform: translateX(3px);
}

.section--stories .section-lead {
  margin-bottom: 8px;
}

.success-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: 348px;
  border: 6px solid #fff;
  border-radius: 36px;
  background: #03283c;
  box-shadow: 0 17px 38px rgba(4, 29, 49, .2);
}

.success-impact {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px 30px 24px;
  border-radius: 29px 0 0 29px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(0, 142, 164, .3), transparent 30%),
    linear-gradient(145deg, #07506a 0%, #03273e 72%);
}

.success-impact::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 70px;
  height: 70px;
  opacity: .4;
  content: "";
  background: radial-gradient(circle, #0f9ab0 0 1.2px, transparent 1.4px) 0 0 / 11px 11px;
  pointer-events: none;
}

.success-impact__quote {
  height: 40px;
  color: var(--solutions-amber);
  font-family: var(--font-primary);
  font-size: 64px;
  line-height: 1;
}

.success-impact__copy {
  max-width: 180px;
  color: #eff7fa;
  font-size: 14px;
  line-height: 1.55;
}

.success-impact__copy strong {
  color: #ffc43d;
}

.success-impact__rule {
  width: 48px;
  height: 2px;
  margin: 22px 0 20px;
  background: linear-gradient(90deg, var(--solutions-amber), #fff);
}

.success-impact__stats {
  display: grid;
  gap: 14px;
  margin: auto 0 0;
}

.success-impact__stats > div {
  display: grid;
  grid-template-columns: 1fr;
}

.success-impact__stats dt {
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}

.success-impact__stats dd {
  margin: 5px 0 0;
  color: #c8dbe4;
  font-size: 12px;
}

.success-stories__viewport,
.success-stories__view,
.success-stories__view .view,
.success-stories__view .view-content {
  min-width: 0;
  height: 100%;
}

.success-stories__viewport {
  overflow: hidden;
  border-radius: 0 28px 28px 0;
}

.success-stories__view .view-content {
  display: flex;
  counter-reset: success-story;
}

.success-stories__view .views-row {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  counter-increment: success-story;
  transition: filter .25s ease, transform .25s ease;
}

.success-stories__view .views-row + .views-row {
  margin-left: -34px;
}

.success-panel {
  position: relative;
  min-height: 348px;
  height: 100%;
  overflow: hidden;
  color: #fff;
  background: #03283c;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.success-stories__view .views-row:first-child .success-panel {
  clip-path: polygon(8% 0, 100% 0, 88% 100%, 0 100%);
}

.success-stories__view .views-row:last-child .success-panel {
  border-radius: 0 28px 28px 0;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.success-panel__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.success-panel:hover .success-panel__image,
.success-stories__view .views-row.is-highlighted .success-panel__image {
  transform: scale(1.045);
}

.success-panel__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 18, 31, .06) 18%, rgba(0, 21, 36, .55) 53%, rgba(0, 21, 36, .97) 100%),
    linear-gradient(90deg, rgba(0, 43, 59, .25), transparent 70%);
}

.success-panel__category {
  position: absolute;
  top: 18px;
  left: 16%;
  z-index: 2;
  margin: 0;
  padding: 5px 17px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 126, 146, .91);
  box-shadow: 0 5px 12px rgba(0, 28, 44, .25);
  font-size: 11px;
  line-height: 1;
}

.success-panel__body {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 13%;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px 12px;
  align-items: start;
}

.success-panel__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  grid-row: 1;
  border-radius: 6px 6px 0 0;
  color: #fff;
  background: linear-gradient(145deg, #0a94a6, #006171);
  font-size: 19px;
  box-shadow: 0 5px 13px rgba(0, 22, 37, .28);
}

.success-panel__number::before {
  content: "0" counter(success-story);
}

.success-panel h3 {
  align-self: center;
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.2vw, 1.24rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.success-panel__body > p {
  grid-column: 2;
  min-height: 44px;
  margin: 0;
  color: #d7e3e9;
  font-size: 11.5px;
  line-height: 1.45;
}

.success-panel__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 2;
  gap: 12px;
  margin-top: 5px;
  color: #ffc43d;
  font-size: 12px;
  font-weight: 800;
}

.success-panel__cta span:last-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #ffc43d;
  border-radius: 50%;
  color: #fff;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.success-panel__cta:hover span:last-child {
  color: #003c4a;
  background: #ffc43d;
  transform: translateX(2px);
}

.success-stories__view .views-row.is-highlighted {
  z-index: 3;
  filter: saturate(1.12) brightness(1.05);
}

.success-stories__control {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #087f8e, #005263);
  box-shadow: 0 8px 22px rgba(0, 26, 42, .32);
  font-size: 29px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease;
}

.success-stories__control:hover {
  background: linear-gradient(145deg, #f2aa08, #d88600);
  transform: translateY(-50%) scale(1.06);
}

.success-stories__control--next {
  right: -26px;
}

.success-stories__control--previous {
  display: none;
  left: -26px;
}

/* Filterable listing pages and structured detail pages. */
.path-solutions main,
.path-success-stories main,
.path-projects main {
  padding: 48px 0 72px;
  background: #f4f7f9;
}

.path-solutions .views-exposed-form,
.path-success-stories .views-exposed-form,
.path-projects .views-exposed-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  margin: 0 0 30px;
  padding: 18px;
  border: 1px solid #dfe7eb;
  border-radius: 14px;
  background: #fff;
}

.path-solutions .view-content,
.path-success-stories .view-content,
.path-projects .view-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.editorial-listing-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #dfe7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(5, 35, 58, .1);
}

.editorial-listing-card__image {
  display: block;
  height: 210px;
  overflow: hidden;
}

.editorial-listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.editorial-listing-card:hover .editorial-listing-card__image img {
  transform: scale(1.04);
}

.editorial-listing-card__body {
  padding: 22px;
}

.editorial-listing-card__eyebrow,
.editorial-detail__eyebrow {
  margin: 0 0 8px;
  color: #00727d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.editorial-listing-card h2 {
  margin: 0 0 10px;
  color: var(--solutions-ink);
  font-size: 22px;
  line-height: 1.16;
}

.editorial-listing-card__body > p:not(.editorial-listing-card__eyebrow) {
  color: #5b6878;
}

.editorial-listing-card__cta {
  color: #006c76;
  font-weight: 800;
}

.editorial-detail {
  width: min(1180px, calc(100% - 48px));
  margin: 48px auto 80px;
}

.editorial-detail__hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, #063f57, #021d34);
}

.editorial-detail__hero-copy {
  padding: clamp(32px, 5vw, 70px);
}

.editorial-detail__hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.editorial-detail__summary {
  color: #d7e6ec;
  font-size: 18px;
}

.editorial-detail__hero > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.editorial-detail__body {
  width: min(880px, 100%);
  margin: 42px auto 0;
  color: #3e4e5d;
  font-size: 16px;
}

.editorial-detail__body h2 {
  color: var(--solutions-ink);
}

.editorial-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.editorial-detail__tags li {
  padding: 7px 13px;
  border-radius: 999px;
  color: #006471;
  background: #e7f3f4;
  font-size: 13px;
}

.editorial-detail__story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1100px, 100%);
}

.editorial-detail__overview,
.editorial-detail__facts,
.editorial-detail__gallery,
.editorial-detail__related,
.editorial-detail__primary-cta {
  grid-column: 1 / -1;
}

.editorial-detail__statistics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 10px 0 0;
}

.editorial-detail__statistics > div {
  padding: 20px;
  border-left: 4px solid var(--solutions-amber);
  border-radius: 8px;
  background: #eef5f6;
}

.editorial-detail__statistics dt {
  color: #003f4d;
  font-weight: 800;
}

.editorial-detail__facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.editorial-detail__facts dl > div {
  padding: 14px;
  border-radius: 8px;
  background: #eef5f6;
}

.editorial-detail__facts dt {
  color: #006471;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-detail__facts dd {
  margin: 4px 0 0;
}

.editorial-detail__gallery > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.editorial-detail__gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
}

.editorial-detail__primary-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 18px;
  padding: 13px 20px;
  border-radius: 999px;
  color: #fff;
  background: #006e78;
  font-weight: 800;
}

@media (max-width: 1199px) {
  .solutions-home__view .view-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .success-showcase {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .success-impact {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr auto;
    gap: 24px;
    align-items: center;
    border-radius: 21px 21px 0 0;
  }

  .success-impact__quote {
    position: absolute;
    top: 18px;
    left: 22px;
  }

  .success-impact__copy {
    max-width: 390px;
    grid-column: 2;
  }

  .success-impact__rule {
    display: none;
  }

  .success-impact__stats {
    display: flex;
    grid-column: 3;
    gap: 30px;
    margin: 0;
  }

  .success-stories__viewport {
    border-radius: 0 0 22px 22px;
  }

  .success-stories__view .view-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .success-stories__view .views-row + .views-row {
    margin-left: 0;
  }

  .success-panel,
  .success-stories__view .views-row:first-child .success-panel,
  .success-stories__view .views-row:last-child .success-panel {
    min-height: 330px;
    border-radius: 0;
    clip-path: none;
  }

  .success-stories__control {
    display: none;
  }
}

@media (max-width: 880px) {
  .section--featured > .shell,
  .section--stories > .shell {
    width: min(100% - 30px, 1440px);
  }

  .solutions-home__view .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-solutions .view-content,
  .path-success-stories .view-content,
  .path-projects .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-detail__hero {
    grid-template-columns: 1fr;
  }

  .editorial-detail__story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .section--featured {
    padding-top: 42px;
  }

  .section--stories {
    padding-bottom: 50px;
  }

  .section--featured .section-title,
  .section--stories .section-title {
    gap: 10px;
    font-size: clamp(1.75rem, 9vw, 2.2rem);
  }

  .section--featured .section-title::before,
  .section--featured .section-title::after,
  .section--stories .section-title::before,
  .section--stories .section-title::after {
    width: 27px;
    height: 16px;
    background-size: 8px 8px;
  }

  .solutions-home__view {
    overflow-x: auto;
    padding: 4px 2px 22px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .solutions-home__view::-webkit-scrollbar {
    display: none;
  }

  .solutions-home__view .view-content {
    display: flex;
    gap: 14px;
  }

  .solutions-home__view .views-row {
    min-width: min(82vw, 340px);
    scroll-snap-align: center;
  }

  .solution-card {
    min-height: 355px;
  }

  .success-impact {
    display: flex;
    align-items: flex-start;
    padding: 25px 24px 22px;
  }

  .success-impact__quote {
    position: static;
    height: 30px;
    font-size: 52px;
  }

  .success-impact__copy {
    max-width: 300px;
  }

  .success-impact__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-top: 6px;
  }

  .success-stories__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .success-stories__viewport::-webkit-scrollbar {
    display: none;
  }

  .success-stories__view .view-content {
    display: flex;
  }

  .success-stories__view .views-row {
    min-width: 86vw;
    scroll-snap-align: start;
  }

  .success-panel,
  .success-stories__view .views-row:first-child .success-panel,
  .success-stories__view .views-row:last-child .success-panel {
    min-height: 350px;
    border-right: 1px solid rgba(255, 255, 255, .28);
  }

  .success-panel__body {
    right: 20px;
    left: 24px;
  }

  .success-panel__category {
    left: 24px;
  }

  .success-stories__control {
    top: auto;
    bottom: -24px;
    display: grid;
    width: 50px;
    height: 50px;
    font-size: 23px;
    transform: none;
  }

  .success-stories__control:hover {
    transform: scale(1.04);
  }

  .success-stories__control--previous {
    right: 66px;
    left: auto;
  }

  .success-stories__control--next {
    right: 10px;
  }

  .path-solutions .view-content,
  .path-success-stories .view-content,
  .path-projects .view-content {
    grid-template-columns: 1fr;
  }

  .editorial-detail {
    width: min(100% - 30px, 1180px);
  }

  .editorial-detail__hero > img {
    min-height: 280px;
  }

  .editorial-detail__facts dl,
  .editorial-detail__gallery > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .section--featured .section-title::before,
  .section--featured .section-title::after,
  .section--stories .section-title::before,
  .section--stories .section-title::after {
    display: none;
  }

  .success-impact__stats dt {
    font-size: 24px;
  }

  .success-stories__view .views-row {
    min-width: calc(100vw - 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-card,
  .solution-card__media > img,
  .solution-card__arrow,
  .success-panel__image,
  .success-panel__cta span:last-child,
  .success-stories__control {
    transition: none !important;
  }
}
