/* Links */

p a {
  color: var(--bs-primary) !important;
}

a.link {
  display: inline-block;
  position: relative;
  color: currentColor;
  text-decoration: none !important;
}

a.link:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--bs-primary);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

a.link:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

a.active:after {
  display: inline-block;
  position: relative;
  color: currentColor;
  text-decoration: none !important;
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(1);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
}

h4 a.link:hover {
  color: var(--bs-dark);
}

footer a:hover {
  color: var(--bs-white);
}

/* Text Styles */

body {
  font-family: "Geograph" sans-serif;
  font-size: 16px;
  font-weight: normal;
  background: url(/images/cover-body.svg), #f2f2f2;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: auto;
  -webkit-background-size: auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Internacional", sans-serif;
  line-height: 100%;
}

h1 {
  font-size: 37px;
  margin-bottom: 16px;
}
h2 {
  font-size: 29px;
  margin-bottom: 12px;
}
h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
h5 {
  font-size: 16px;
  margin-bottom: 4px;
}

.quote {
  font-family: "Geograph";
  font-size: 27px;
  font-weight: normal;
  line-height: 140%;
}

p {
  line-height: 150%;
}
p.small {
  font-size: 17px;
  font-family: "Geograph" sans-serif;
}
p.slug {
  font-family: "Pitch Sans";
  font-size: 15px;
  font-weight: bold;
  line-height: 160%;
  color: var(--bs-gray-700);
}

.body-small {
  font-size: 17px;
  font-family: "Geograph" sans-serif;
}

@media (min-width: 992px) {
  body {
    font-size: 21px;
  }
  .body-small {
    font-size: 12px;
  }
  p.small {
    font-size: 12px;
  }
  h1 {
    font-size: 71px;
    margin-bottom: 32px;
  }
  h2 {
    font-size: 44px;
    margin-bottom: 24px;
  }
  h3 {
    font-size: 36px;
    margin-bottom: 16px;
  }
  h4 {
    font-size: 27px;
    margin-bottom: 8px;
  }
  h5 {
    font-size: 21px;
    margin-bottom: 8px;
  }

  .quote {
    font-family: "Geograph";
    font-size: 44px;
    font-weight: normal;
  }
}

button {
  margin-top: 16px;
  margin-bottom: 16px;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
  position: relative;
}

.navbar {
  position: relative;
  z-index: 99;
}

.footer-nav,
.main-nav {
  margin-bottom: 0;
}
.footer-nav li,
.main-nav li {
  display: inline-block;
  list-style: none;
  padding: 10px 0;
  margin: 0 10px;
}

.footer-nav li:first-child {
  margin-left: 0px;
}

.footer-nav li a,
.main-nav li a {
  float: left;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Internacional", sans-serif;
  text-decoration: none;
}

.navbar-dark .main-nav li a {
  color: var(--bs-light);
}

.navbar-light .main-nav li a {
  color: var(--bs-dark);
}

.blend {
  mix-blend-mode: difference;
}

/* Sections */

section {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.feature-section .left {
  padding: 64px;
  padding-right: 186px;
  width: 60%;
}
.feature-section .right {
  margin-top: 60px;
  margin-left: -120px;
}

/* Metrics */
.rounded-end {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.rounded-top {
  border-top-right-radius: 12px !important;
  border-top-left-radius: 12px !important;
}

.metrics {
  font-family: "Internacional", sans-serif;
  color: #ededed;
  font-weight: 400;
  background-image: url(/images/pattern-line-v-md.svg);
  background-size: auto auto;
  background-position: left;
  background-repeat: repeat-y;
}

.metrics-title {
  font-weight: 400;
  font-size: 5rem;
  margin-bottom: 0px;
}

.metrics-text {
  font-size: 1rem;
}

/* Testimonials and Quotes */

.testimonial .left {
  width: 100%;
}

.testimonial .right {
  width: 100%;
  margin-top: 20px;
}

@media (min-width: 992px) {
  .testimonial .left {
    width: 30%;
  }

  .testimonial .right {
    width: 70%;
    border-left: solid rgba(16, 28, 29, 0.2) 1px;
    border-top: none;
  }

  .carousel-indicators {
    justify-content: left;
    margin-left: 10px;
  }
}

.carousel-indicators [data-bs-target] {
  margin-bottom: -20px;
  background-color: rgba(16, 28, 29, 0.3);
}

.carousel-indicators .active {
  background-color: #d24628;
}

/* Text Columns */

.text-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;

  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
}

/* Service Card */

.card {
  border: none;
  transition: transform 0.2s ease;
  height: 100%;
}

.card:hover {
  transform: scale(1.02);
  background-image: url(/images/pattern-line-h-sm.svg);
  background-size: 100% auto;
  background-position: bottom;
  background-repeat: no-repeat;
}

.card-text {
  height: 100%;
}

/* Image Fill */

.fill {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.fill img {
  flex-shrink: 0;
  min-width: 100%;
  min-height: 100%;
}

/* Box */

.gutter,
.gutter-spark,
.gutter-magnet {
  width: 100%;
  height: 40px;
  background-image: url(/images/pattern-line-h-md.svg);
  background-repeat: repeat-x;
  background-position: left;
}

.gutter-spark {
  background-image: url(/images/pattern-line-h-md-spark.svg);
}

.gutter-magnet {
  background-image: url(/images/pattern-line-h-md-magnet.svg);
}

@media (min-width: 992px) {
  .gutter,
  .gutter-spark,
  .gutter-magnet {
    width: 40px;
    height: 100%;
    background-image: url(/images/pattern-line-v-md.svg);
    background-repeat: repeat-y;
    background-position: top center;
  }

  .gutter-spark {
    background-image: url(/images/pattern-line-v-md-spark.svg);
  }

  .gutter-magnet {
    background-image: url(/images/pattern-line-v-md-magnet.svg);
  }
}

/* Client Logos */

.logo-list {
  padding: 20px 0;
}

.logo-list img {
  display: inline-block;
  max-width: 85%;
  padding: 15px 0;
  transition: all 0.3s ease-in-out;
  -webkit-filter: grayscale(100);
  -moz-filter: grayscale(100);
  filter: grayscale(100);
}

.logo-list img:hover {
  filter: none;
  transform: scale(1.2);
  -webkit-filter: none;
  -moz-filter: none;
}

/* Awards */
.icon-content-box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.icon-content-box figure {
  width: 100px;
  display: flex;
  align-content: center;
  margin-top: 4px;
  margin-bottom: 0;
  float: left;
}

.icon-content-box figure img {
  width: auto;
  height: 50px;
}

.icon-content-box .content {
  width: calc(100% - 100px);
  margin-left: 60px;
  display: flex;
  flex-wrap: wrap;
  margin-top: -50px;
  padding-left: 10px;
  padding-bottom: 60px;
}

.icon-content-box .content {
  vertical-align: top;
}

.icon-content-box .content h6 {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 3px 0;
}

.icon-content-box .content p {
  display: block;
  margin-bottom: 0;
  margin-top: 0px;
  padding-right: 15%;
  font-size: 17px;
}

.icon-content-box .content p strong {
  color: #73efcc;
}

/* Footer */

.footer {
  color: #ededed;
}

.terms {
  font-family: "Internacional", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
}

.terms a {
  color: #fff;
  text-decoration: none;
}

.rounded {
  border-radius: 12px !important;
}

.shadow {
  box-shadow: 0px 20px 40px rgba(16, 28, 29, 0.12) !important;
}

/* Awards */

.award-title {
  font-size: 17px;
  margin-bottom: 10px;
}

.award-source {
  font-size: 15px;
  font-family: "Pitch Sans", sans-serif;
  font-weight: bold;
  line-height: 150%;
  color: var(--bs-gray-500);
}

.award-image {
  padding-top: 20px;
  padding-bottom: 8px;
  width: 70px;
}

/* Footer */

footer {
  background-color: #000;
  background-image: url("/images/footer-pattern-small.svg");
  background-position: right bottom;
  background-repeat: no-repeat;
}

/* Work */

img.appicon {
  border-radius: 0;
  border: none;
  -webkit-mask-image: url(/images/appicon-mask.svg);
  -webkit-mask-size: cover;
  mask-image: url(/images/appicon-mask.svg);
  mask-size: cover;
}

dl {
  display: grid;
  grid-template-columns: max-content auto;
  font-family: "Pitch Sans";
  font-size: 17px;
}

dt {
  grid-column-start: 1;
  color: var(--bs-gray-500);
}

dd {
  grid-column-start: 2;
  text-align: end;
}

.info {
  background-color: #f0c66f;
  padding: 12px 12px 12px 12px;
  border-radius: 12px;
}

/* Headers */

.overflow-hidden > .navbar-brand > img {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

header .container {
  padding-top: 160px;
}

.cover-small {
  height: 460px;
  overflow: hidden;
  position: relative;
}

.cover {
  height: 580px;
  overflow: hidden;
  position: relative;
}

.cover-magnet {
  min-height: 200px;
  background: url(/images/cover-light.svg), rgba(219, 225, 225, 1);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: auto;
  -webkit-background-size: auto;
}

.cover-neutron {
  background: url(/images/cover-dark.svg), var(--bs-dark);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: auto;
  -webkit-background-size: auto;
}

section.hero {
  margin-top: -50%;
}

@media (min-width: 576px) {
  .cover {
    height: 640px;
  }
  .cover-small {
    height: 480px;
  }
  section.hero {
    margin-top: -295px;
  }
}

@media (min-width: 768px) {
  .cover {
    height: 720px;
  }
  .cover-small {
    height: 480px;
  }
  section.hero {
    margin-top: -360px;
  }
}

@media (min-width: 992px) {
  .cover {
    height: 780px;
  }
  .cover-small {
    height: 500px;
  }
  section.hero {
    margin-top: -395px;
  }
}

@media (min-width: 1200px) {
  .cover {
    height: 840px;
  }
  .cover-small {
    height: 520px;
  }
  section.hero {
    margin-top: -495px;
  }
}

/* Image Hover Effect */

.thumbnail {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.thumbnail:hover {
  -webkit-transform: scale(1.03, 1.03);
  transform: scale(1.03, 1.03);
}

.overflow-hidden .navbar-brand img {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

/* Blog Layout */
.featured-post {
  padding-top: 6rem;
  padding-bottom: 10rem;
  border-bottom: none;
}

.featured-post h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.featured-post .mb-3 {
  margin-bottom: 1rem !important;
}

.featured-post p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--bs-gray-700);
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--bs-primary);
  margin-left: 0.5rem;
}

.featured-post img.thumbnail {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-post:hover img.thumbnail {
  transform: scale(1.03);
}

.featured-post a.link:after {
  display: none;
}

.featured-post h2 {
  color: var(--bs-dark);
}

.featured-post .thumbnail {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-post:hover .thumbnail {
  transform: scale(1.03, 1.03);
}

.featured-post .col-md-6:last-child {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-post img.thumbnail {
  transition: transform 0.3s ease;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.featured-post h2 a:hover,
.blog-card h4 a:hover,
.blog-card h5 a:hover {
  color: var(--bs-primary);
  text-decoration: underline !important;
}

.featured-post:hover h2 a,
.blog-card:hover h4 a,
.blog-card:hover h5 a {
  color: var(--bs-primary);
  text-decoration: underline !important;
}

.blog-card {
  height: 100%;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card .thumbnail {
  transition: none;
  box-shadow: none;
}

.blog-card .thumbnail:hover {
  transform: none;
}

.blog-card a.link:after {
  display: none;
}

.blog-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.blog-card img.thumbnail {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.blog-card .body-small {
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
}

@media (min-width: 768px) {
  .blog-card h4 {
    font-size: 1.5rem;
  }

  .blog-card .body-small {
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  .blog-card h4 {
    font-size: 1.1rem;
  }

  .blog-card .body-small {
    font-size: 0.875rem;
  }
}

.blog-grid .body-small {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.container-blog h2 {
  margin-bottom: 0.5rem;
  color: var(--bs-dark);
}

.container-blog .subtitle {
  font-size: 1.2rem;
  color: var(--bs-gray-600);
  margin-bottom: 2rem;
}

.container-blog {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container-blog {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 768px) {
  .container-blog {
    padding: 0 5%;
  }
}

@media (min-width: 992px) {
  .container-blog {
    padding: 0 10%;
  }
}

@media (min-width: 1200px) {
  .container-blog {
    padding: 0 15%;
  }
}

/* Featured Tag */

.featured-tag {
  display: inline-block;
  background-color: var(--bs-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Blog Summary */

.blog-summary {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--bs-gray-600);
  max-width: 75%;
}

@media (max-width: 768px) {
  .featured-post {
    padding-top: 0rem;
    padding-bottom: 6rem;
  }
  
  .blog-summary {
    font-size: 1.1rem;
    max-width: 100%;
  }
}

/* Featured Summary Text */

.featured-summary-text {
  position: relative;
  border-left: 2px solid var(--bs-primary);
  margin-left: 0.25rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--bs-gray-700);
}

/* Grid Summary Text */

.grid-summary-text {
  position: relative;
  padding-left: 0.5rem;
  border-left: 2px solid var(--bs-primary);
  margin-left: 0.15rem;
  font-size: 0.9rem;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Blog Post Styles */
.blog-post {
  padding-top: 120px;
  padding-bottom: 60px;
}

.blog-hero-image {
  margin-bottom: 40px;
}

.blog-hero-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

.blog-content {
  margin-top: 40px;
}

.summary-with-accent {
  position: relative;
  padding-left: 16px;
}

.summary-with-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--bs-primary);
  border-radius: 2px;
}