/* ================================================================
   RESPONSIVE STYLES
================================================================ */

/* ================================================================
   DESKTOP
================================================================ */

@media (min-width: 992px) {
  /* BUILD / SERVICE DETAIL HERO */
  .main-header {
    min-height: 45vh;
  }

  .main-header .hero-content {
    padding-top: 100px;
    padding-bottom: 25px;
  }

  .main-header h1 {
    font-size: clamp(2.8rem, 3.5vw, 3.6rem);
    line-height: .98;
    margin-bottom: 20px !important;
  }

  .main-header .hero-copy {
    max-width: 600px;
    margin-bottom: 20px !important;
    font-size: 1rem;
    line-height: 1.45;
  }

  .main-header .build-breadcrumb {
    margin-bottom: 16px !important;
  }

  .main-header .work-kicker {
    margin-bottom: 10px !important;
  }

  .main-header .btn {
    padding: .7rem 1rem;
    font-size: .98rem;
  }
}


/* ================================================================
   TABLET
================================================================ */
@media (max-width: 991.98px) {

  /* GENERAL */
  .main-header {
    min-height: 60vh;
  }

  .main-header .hero-content {
    padding-top: 100px;
    padding-bottom: 20px;
  }

  .site-header .brand-logo {
    width: 128px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(3, 21, 27, .92) 0%,
      rgba(3, 21, 27, .78) 60%,
      rgba(3, 21, 27, .45) 100%
    );
  }

  .section-space {
    padding: 84px 0;
  }

  .belief-image {
    min-height: 390px;
  }

  .stat {
    border-right: none;
  }

  /* WORK - APPROACH */
  .approach-content {
    min-height: 400px;
    padding: 60px 40px;
  }

  .approach-image {
    min-height: 400px;
  }

  .approach-image-text {
    right: 8%;
  }
}


/* ================================================================
   MOBILE
================================================================ */
@media (max-width: 767.98px) {

  /* GENERAL / BUILD HERO */
  .main-header {
    min-height: auto;
  }

  .main-header .hero-content {
    padding-top: 80px;
    padding-bottom: 25px;
  }

  .main-header .work-kicker {
    padding-top: 20px;
  }

  .main-header h1 {
    font-size: clamp(2.6rem, 11vw, 3.5rem);
    line-height: .98;
  }

  .main-header .build-breadcrumb {
    margin-bottom: 18px !important;
    padding-top: 20px;
  }

  .main-header .btn {
    padding: .7rem 1rem;
    font-size: .98rem;
  }

  .main-header .hero-copy {
    font-size: .9rem;
    line-height: 1.5;
  }


  /* PARTNER LOGOS */
  .partner-logos-track {
    gap: 19px;
  }

  .partner-logo {
    flex: 0 0 135px;
    width: 135px;
    height: 55px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
  }

  .partner-logo img {
    width: 115px;
    height: 40px;
    object-fit: contain;
  }


  /* WORK - PROJECTS */
  .project-tools {
    width: 100%;
  }

  .project-search {
    flex: 1;
    width: auto;
  }

  .project-sort {
    width: 110px;
  }

  .project-filter {
    flex: 0 0 auto;
    padding: .5rem .85rem;
    white-space: nowrap;
  }

  .project-categories {
    display: flex;
    flex-wrap: nowrap !important;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .project-categories::-webkit-scrollbar {
    display: none;
  }


  /* WORK - APPROACH */
  .approach-content {
    min-height: auto;
    padding: 55px 24px;
  }

  .approach-image {
    min-height: 350px;
  }


  /* WORK - TESTIMONIALS */
  .testimonials-title {
    font-size: 2.4rem;
  }

  .testimonial-controls {
    margin-bottom: 2px;
  }

  .testimonial-card {
    min-height: 250px;
    gap: 14px;
    padding: 24px;
  }

  .testimonial-quote {
    font-size: 2rem;
  }

  .testimonial-image {
    min-height: 250px;
  }


  /* SERVICES - HERO */
  .services-hero {
    min-height: 500px;
  }

  .services-hero-inner {
    min-height: 500px;
    padding-top: 45px;
    padding-bottom: 45px;
    align-items: center;
  }

  .services-hero-content {
    width: 100%;
  }

  .services-hero-title {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .services-hero-copy {
    max-width: 330px;
  }


  /* SERVICES - PROCESS */
  .process-section {
    padding: 60px 0;
  }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step {
    padding: 20px 16px;
    border: 0;
  }

  .process-arrow {
    display: none;
  }


  /* SERVICES - WHY CHOOSE */
  .why-choose-content {
    min-height: auto;
    padding: 50px 24px;
  }

  .why-choose-title {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .why-choose-copy {
    max-width: 100%;
    font-size: 20px;
  }

  .why-choose-image {
    min-height: 300px;
  }


  /* SERVICES - TRUSTED BY BUSINESSES */
  .trusted-section {
    padding: 35px 0;
  }

  .trusted-heading {
    margin-bottom: 24px;
  }

  .trust {
    font-size: 20px;
  }

  .trusted-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
  }

  .trusted-logo {
    justify-content: flex-start;
    padding: 5px;
  }


  /* SERVICES - FAQ */
  .faq-cta-section {
    padding: 40px 0;
  }

  .faq-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding: 30px 22px;
    text-align: center;
  }

  .faq-cta-content {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .faq-cta-title {
    font-size: 2rem;
    line-height: 1.05;
  }

  .faq-cta-copy {
    width: 100%;
    max-width: 100%;
    font-size: 19px;
  }

  .faq-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 8px;
    order: 2;
  }

  .faq-cta-buttons .btn {
    flex: 0 1 auto;
    white-space: nowrap;
  }

  .faq {
    margin-bottom: 10px;
  }

  .faq-cta-art {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 80px;
    margin-top: 18px;
    order: 3;
  }


  /* BUILD INTRO */
  .build-intro-content {
    height: auto !important;
  }

  .build-intro {
    padding: 65px 0;
  }

  .build-intro-title {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.05;
  }

  .build-intro-image {
    height: 300px;
  }

  .build-intro-image img {
    height: 100%;
  }


  /* BUILD SERVICES */
  .build-service-card {
    min-height: auto;
    padding: 18px 15px;
  }

  .build-service-icon {
    margin-bottom: 12px;
    font-size: 1.5rem;
  }

  .build-service-card h3 {
    margin-bottom: 7px;
    font-size: 1.2rem;
  }

  .build-service-card p {
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .build-service-link {
    gap: 5px;
    font-size: 1rem;
  }


  /* READY TO BUILD */
  .ready-build-section {
    padding: 25px 0 35px;
  }

  .ready-build {
    font-size: 20px;
  }

  .ready-build-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    gap: 24px;
    padding: 28px 24px 24px;
  }

  .ready-build-middle {
    width: 100%;
  }

  .ready-build-copy {
    width: 100%;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
    font-size: 18px;
    line-height: 1.55;
    text-align: center;
  }

  .ready-build-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .ready-build-buttons .btn {
    margin-bottom: 10px;
  }

  .ready-build-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    min-height: 120px;
    margin-top: 2px;
  }

  .ready-build-art::before {
    content: "Image here";
    color: rgba(25, 53, 58, .3);
    font-size: .7rem;
    font-weight: 600;
  }

  .ready-build-content {
    width: 100%;
    text-align: center;
  }

  .ready-build-content .section-kicker {
    margin-bottom: 9px;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: .08em;
    font-weight: 700;
  }


  /* VALUES */
  .values-section {
    padding: 50px 0;
  }

  .values-header {
    margin-bottom: 22px;
  }

  .value-card {
    min-height: 175px;
    padding: 20px 16px;
  }

  .value-icon {
    margin-bottom: 16px;
    font-size: 35px;
  }

  .value-card h3 {
    margin-bottom: 8px;
  }

  .value-card p {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.5;
  }


  /* CONTACT */
  .contact-hero-content {
    transform: translateY(-30px);
    padding-top: 120px;
    padding-bottom: 18px;
  }

  .contact-hero {
    min-height: auto;
    height: auto;
    align-items: flex-start;
  }

  .contact-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .contact-info-section {
    padding: 55px 0;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .contact-form-card .btn-brand {
    width: fit-content;
  }

  .office-image,
  .office-map {
    min-height: 320px;
  }

  .office-map-label {
    font-size: .48rem;
  }

  .office-card {
    right: 6%;
    width: 165px;
    padding: 17px;
  }

  .office-map-pin {
    left: 42%;
  }


  /* TERMS / PRIVACY */
  .terms-content-section {
    padding-top: 28px;
  }

  .terms-item {
    grid-template-columns: 32px 1fr;
    padding: 18px 0;
  }

  .terms-updated {
    font-size: 1.2rem;
  }

  .contact-detail h3 {
    font-size: 1.3rem;
  }

  .share {
    font-size: 1.12rem;
  }

  /* Keep share buttons circular on mobile. */
  .share-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topic {
    font-size: 1.5rem;
  }

  .contact-detail p,
  .contact-detail a {
    font-size: 1.12rem;
  }

  .p-tag {
    font-size: .98rem;
  }


  /* INSIGHTS */
  .insights-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  .insights-filters {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .insights-filters::-webkit-scrollbar {
    display: none;
  }

  .insight-filter {
    flex: 0 0 auto;
    padding: .5rem .85rem;
    border: 1px solid var(--bv-border);
    border-radius: 5px;
    background: #fff;
    color: var(--bv-ink);
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .insight-filter.active {
    padding: .5rem .85rem;
    border-color: var(--bv-ink);
    border-radius: 5px;
    background: var(--bv-ink);
    color: #fff;
  }

  .insights-search {
    width: 100%;
    flex: none;
  }

  .insights-search input {
    height: 38px;
    font-size: .72rem;
  }

  .insights-grid {
    row-gap: 18px;
  }

  .insight-card-image,
  .insight-card-featured .insight-card-image {
    height: 170px;
  }

  .insight-card-body {
    padding: 16px 14px 15px;
  }

  .insight-card h2 {
    font-size: .95rem;
    line-height: 1.2;
  }

  .insight-card p {
    font-size: .88rem;
    line-height: 1.5;
  }

  .insight-card-featured h2 {
    font-size: 1.25rem;
    line-height: 1.1;
  }

  .insight-meta {
    margin-top: 15px;
  }

  .insight-promo {
    min-height: 250px;
    padding: 28px 22px;
  }

  .insight-promo h2 {
    font-size: 1.35rem;
  }

  .insights-newsletter {
    padding: 15px 0 30px;
  }

  .newsletter-card {
    padding: 30px 22px;
  }

  .newsletter-form-wrapper {
    padding-top: 15px;
  }

  .newsletter-icon {
    top: -25px;
    right: 5px;
    color: var(--bv-cyan);
    font-size: 3rem;
    transform: rotate(-15deg);
  }

  .newsletter-form {
    width: 100%;
    margin: 0;
  }

  .newsletter-form .input-group {
    width: 100%;
  }

  .newsletter-form .form-control {
    font-size: .65rem;
  }

  .newsletter-form .btn-brand {
    padding-right: .8rem;
    padding-left: .8rem;
  }


  /* START A PROJECT */
  .project-enquiry-section {
    padding: 20px 0 45px;
  }

  .project-intro-image {
    height: 320px;
  }

  .project-intro-title {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .project-benefits {
    margin-top: 28px;
  }

  .project-benefit {
    width: 33.333%;
  }

  .project-benefit + .project-benefit {
    padding-left: 14px;
  }

  .project-form-card {
    padding: 28px 18px;
  }

  .project-form-title {
    font-size: 1.6rem;
  }

  .project-types {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .project-type {
    min-height: 125px;
  }


  /* PROJECT INFORMATION */
  .project-info {
    padding: 12px 0;
  }

  .project-info-item {
    min-height: 65px;
    padding: 8px 10px;
    border-right: 0;
  }

  .project-info .col:nth-child(odd) .project-info-item {
    border-right: 1px solid var(--bv-border);
  }

  .project-info .col:nth-child(n + 3) .project-info-item {
    border-top: 1px solid var(--bv-border);
  }

  .project-info-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 30px;
  }

  .project-info-item span {
    font-size: .88rem;
  }

  .project-info-item strong {
    font-size: .78rem;
  }


  /* CASE STUDY */
  .case-study-content {
    padding: 25px 0 0;
  }

  .approach-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .approach-card {
    min-height: 95px;
    padding: 12px 9px;
  }

  .approach-card i {
    margin-bottom: 10px;
    font-size: 2.25rem;
  }

  .approach-card strong {
    font-size: .9rem;
  }

  .approach-card span {
    font-size: .79rem;
  }


  /* CASE STUDY - RESULTS */
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .result-item {
    border: none;
  }

  .result-item:nth-child(3),
  .result-item:nth-child(4) {
    padding-top: 15px;
  }


  /* CASE STUDY - VISUALS */
  .case-visual-main {
    height: 260px;
  }

  .case-visual-small {
    height: 150px;
  }


  /* CASE STUDY - TESTIMONIAL */
  .case-testimonial {
    gap: 11px;
    margin-top: 12px;
    padding: 18px 16px;
  }

  .case-testimonial-quote {
    flex-basis: 24px;
    font-size: 1.9rem;
  }

  .case-testimonial-text {
    max-width: none;
    margin-bottom: 14px;
    font-size: .9rem;
    line-height: 1.5;
  }

  .case-testimonial-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .case-testimonial-author strong {
    font-size: .9rem;
  }

  .case-testimonial-author span {
    font-size: .74rem;
  }


  /* RELATED WORK */
  .related-work {
    padding: 28px 0;
  }

  .related-work-header {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .related-work-content {
    padding: 11px 12px 13px;
  }

  .related-work-content p,
  .related-work-content span {
    font-size: .89rem;
  }


  /* CAREERS */
  .career-role-top h3 {
    font-size: 1.3rem;
  }

  .career-role-card p {
    font-size: 17px;
  }

  .career-role-tags span {
    font-size: 15px;
  }

  .careers-benefits {
    padding: 10px 0;
  }

  .career-benefit {
    min-height: 125px;
    padding: 15px 10px;
  }

  .careers-benefits .col:nth-child(odd) .career-benefit {
    border-right: 1px solid var(--bv-border);
  }

  .careers-benefits .col:nth-child(n + 3) .career-benefit {
    border-top: 1px solid var(--bv-border);
  }

  .career-benefit-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    font-size: 1.9rem;
  }

  .career-benefit h3 {
    font-size: 1.3rem;
  }

  .career-benefit p {
    font-size: 17px;
  }

  .careers-roles {
    padding: 45px 0 55px;
  }

  .careers-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .careers-section-heading p {
    font-size: 19px;
  }

  .careers-view-all {
    margin-bottom: 0;
  }

  .careers-application-cta {
    flex-direction: column;
    gap: 16px !important;
    text-align: center;
  }

  .careers-application-cta a {
    align-self: center;
  }

  .industry-card-icon {
    font-size: 40px;
  }
}


/* ================================================================
   SMALL MOBILE
================================================================ */
@media (max-width: 575.98px) {

  .hero {
    min-height: 80vh;
    padding-bottom: 22px;
    background-position: 65% center;
  }

  .hero-content {
    padding-top: 145px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-copy {
    font-size: 15px;
  }

  .section-space {
    padding: 88px 0;
  }

  .section-space-sm {
    padding: 55px 0;
  }


  /* SERVICE CARDS */
  .service-card {
    min-height: auto;
  }

  .service-card p {
    min-height: auto;
  }


  /* STATS */
  .stat {
    gap: 12px;
    padding-top: 10px;
  }

  .stat strong {
    font-size: 1.65rem;
  }


  /* FOOTER */
  .footer-logo {
    width: 138px;
  }


  /* BACK TO TOP */
  #backToTop {
    width: 42px;
    height: 42px;
    right: 20px;
    bottom: 20px;
  }
}


/* ================================================================
   ACCESSIBILITY - REDUCED MOTION
================================================================ */

@media (prefers-reduced-motion: reduce) {
  .partner-logos-track {
    animation: none;
  }

  .testimonial-control {
    transition: none;
  }

  .testimonial-control:hover,
  .testimonial-control:active {
    transform: none;
  }
}
