@media screen and (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  * {
    box-sizing: border-box;
  }

  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  header,
  main,
  section,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  header {
    padding: 14px 5%;
  }

  .logo img {
    height: 46px;
  }

  .mobile-menu-button {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 8px;
  }

  .mobile-menu-button span {
    width: 30px;
    height: 3px;
    background-color: #777;
    border-radius: 999px;
  }

  nav {
    display: none;
    width: 100%;
    background: white;
    margin-top: 12px;
  }

  nav.mobile-nav-open {
    display: block;
  }

  nav a,
  .nav-dropdown,
  .nav-contact-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 16px;
  }

  nav .nav-contact-button {
  display: block !important;
  width: 100% !important;
  margin: 10px 0 4px 0 !important;
  padding: 14px 16px !important;
  background-color: #067bc2 !important;
  color: white !important;
  border-radius: 8px !important;
  text-align: center !important;
  border-bottom: none !important;
  box-sizing: border-box !important;
  transform: none !important;
}

nav .nav-contact-button::before,
nav .nav-contact-button::after {
  display: none !important;
  content: none !important;
}

  .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f7f7f7;
    padding: 0 0 0 18px;
  }

  .nav-dropdown-menu a {
    font-size: 15px;
    padding: 11px 0;
  }

  .hero,
  .about,
  .working-with-us-section,
  .testimonial-section,
  .residential-detail-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .join-team-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
  }

  .hero {
    min-height: 70svh;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
    line-height: 1.08;
  }

  .hero p {
    font-size: clamp(16px, 4vw, 19px);
    line-height: 1.6;
  }

  .services,
  .services-overview-nav,
  .about-page-hero,
  .about-values-showcase,
  .contact-page-wrapper,
  .policy-page-hero,
  .policy-document-grid,
  .residential-detail-wrapper,
  .residential-feature-grid,
  .residential-process,
  .sustainability-priorities-grid,
  .sustainability-summary-panel,
  .join-team-top,
  .join-team-bottom,
  .contact-form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-title {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.1;
    width: 100%;
    overflow: hidden;
  }

  .service-title::before,
  .residential-detail-section::before {
    display: none !important;
    content: none !important;
  }

  .about-page-copy h2,
  .contact-page-info h2,
  .policy-page-header h2,
  .sustainability-page-header h2,
  .services-overview-header h2,
  .residential-detail-content h2 {
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.1;
  }

  .about-page-copy p,
  .contact-page-info p,
  .policy-page-header p,
  .sustainability-page-header p,
  .services-overview-header p,
  .residential-detail-content p {
    font-size: 16px;
    line-height: 1.65;
  }

  .residential-detail-image,
  .about-page-image-stack {
    min-height: auto !important;
    display: grid;
    gap: 16px;
  }

  .residential-detail-image::before,
  .about-page-image-stack::before {
    display: none !important;
  }

  .residential-overlap-img,
  .about-stack-img {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 240px;
    object-fit: cover;
  }

  .about-values-image,
  .working-image-showcase,
  .working-image-frame {
    width: 100% !important;
    max-width: 100% !important;
  }

  .working-image-showcase {
    min-height: 360px;
  }

  .working-image-frame {
    left: 0 !important;
    transform: none !important;
  }

  .working-image-glow,
  .footer-corner-image,
  .footer-right-design {
    display: none !important;
  }

  .button,
  .service-button,
  .about-button,
  .join-team-button,
  .nav-contact-button,
  .residential-secondary-button {
    max-width: 100%;
    width: fit-content;
  }

  .hero-progress-segment,
  .hero-progress-segment:focus,
  .hero-progress-segment:active,
  .hero-progress-segment:focus-visible,
  .testimonial-dot,
  .testimonial-dot:focus,
  .testimonial-dot:active,
  .testimonial-dot:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .planning-split-image .split-image,
  .why-choose-split-image .split-image {
    width: 48% !important;
    height: 240px !important;
    max-width: none !important;
    background-size: 200% 100% !important;
  }

  .testimonial-arrow {
    display: none !important;
  }

  .testimonial-overlay {
    padding-bottom: 55px !important;
  }

  .testimonial-dots {
    bottom: 20px !important;
  }

  .testimonial-dot {
    width: 14px !important;
    height: 14px !important;
    border: 2px solid #067bc2 !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
    margin: 0 7px !important;
  }

  .testimonial-dot.active {
    background-color: #067bc2 !important;
    transform: scale(1.15);
  }
}

@media screen and (max-width: 480px) {
  section,
  .residential-detail-section {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .hero h1 {
    font-size: clamp(30px, 10vw, 40px) !important;
  }

  .card,
  .policy-document-card,
  .about-values-showcase,
  .contact-page-form-card {
    padding: 22px;
  }

  .residential-overlap-img,
  .about-stack-img {
    min-height: 210px;
  }
  @media screen and (max-width: 900px) {
  .join-team-section,
  .join-team-top,
  .join-team-wave,
  .join-team-bottom,
  .site-footer {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
}
@media screen and (max-width: 900px) {
  .about-page-section {
    padding: 55px 5% !important;
    overflow-x: hidden !important;
  }

  .about-page-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 45px !important;
  }

  .about-page-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-page-copy h2 {
    font-size: clamp(30px, 8vw, 40px) !important;
    line-height: 1.12 !important;
    margin-bottom: 16px !important;
  }

  .about-page-copy p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-bottom: 16px !important;
  }

  .about-page-highlight-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .about-page-image-stack {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    display: grid !important;
    gap: 16px !important;
    margin: 0 auto !important;
  }

  .about-page-image-stack::before {
    display: none !important;
  }

  .about-page-badge {
    position: static !important;
    width: fit-content !important;
    margin-bottom: 8px !important;
    animation: none !important;
  }

  .about-stack-img {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 230px !important;
    object-fit: cover !important;
    border-radius: 20px !important;
  }

  .about-stack-img-small {
    border: none !important;
  }

  .about-values-showcase {
    grid-template-columns: 1fr !important;
    padding: 26px !important;
    gap: 28px !important;
  }

  .about-value-word {
    font-size: clamp(28px, 8vw, 34px) !important;
  }

  .about-values-image {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-values-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
@media screen and (max-width: 900px) {
  .join-team-section,
  .join-team-top,
  .join-team-wave,
  .join-team-bottom,
  .site-footer {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .join-team-section::before,
  .join-team-section::after,
  .join-team-top::before,
  .join-team-top::after,
  .join-team-bottom::before,
  .join-team-bottom::after,
  .site-footer::before,
  .site-footer::after {
    display: none !important;
    border: none !important;
    box-shadow: none !important;
  }
}
@media screen and (max-width: 900px) {
  .sustainability-priority-card {
    position: relative !important;
  }

  .sustainability-priority-card .click-me-label {
    position: absolute;
    right: 16px;
    bottom: 14px;
    z-index: 10;
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 800;
    pointer-events: none;
  }
}
@media screen and (max-width: 900px) {
  .sustainability-priority-card::after {
    content: "Click me" !important;
    position: absolute !important;
    right: 16px !important;
    bottom: 14px !important;
    top: auto !important;
    left: auto !important;
    z-index: 20 !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    color: #9a9a9a !important;

    background: none !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: none !important;
  }

  .sustainability-priority-card:hover::after,
  .sustainability-priority-card:focus-within::after {
    content: "Click me" !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }
}
@media screen and (max-width: 900px) {
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
  }

  body {
    padding-top: 90px !important;
  }
}
@media screen and (max-width: 900px) {
  .about-row.reverse .about-section-title .service-title-text {
    display: block !important;
    max-width: 230px !important;
    line-height: 1.1 !important;
  }
}
@media screen and (max-width: 900px) {
  .working-links a {
    position: relative;
    padding: 18px 34px 16px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22) !important;
  }

  .working-links a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 35%;
    height: 3px;
    background-color: #067bc2;
    border-radius: 999px;
  }

  .working-links a::after {
    content: "↗";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #067bc2;
    font-size: 18px;
    font-weight: 900;
  }
}
@media screen and (max-width: 900px) {
  .services-extra-panel {
    grid-template-columns: 1fr !important;
    margin-top: 35px !important;
  }
}
@media screen and (max-width: 900px) {
  .services-support-section {
    padding: 26px !important;
    margin-top: 40px !important;
  }

  .services-support-grid {
    grid-template-columns: 1fr !important;
  }

  .services-support-intro h3 {
    font-size: 28px !important;
  }
}
@media screen and (max-width: 900px) {
  .services-process-timeline {
    flex-direction: column;
    gap: 34px;
  }

  .process-line {
    display: none;
  }

  .services-process-intro h3 {
    font-size: 28px;
  }
}
@media screen and (max-width: 900px) {
  .services-process-timeline {
    flex-direction: column;
    gap: 34px;
  }

  .process-line {
    display: none;
  }

  .services-process-intro h3 {
    font-size: 28px;
  }
}
@media screen and (max-width: 900px) {
  #services .card {
    padding: 0 !important;
    overflow: hidden !important;
  }

  #services .service-image {
    width: 100% !important;
    height: 220px !important;
    margin: 0 0 22px 0 !important;
    border-radius: 0 !important;
  }

  #services .card h3 {
    padding: 0 24px !important;
    margin: 0 0 14px !important;
  }

  #services .card p {
    padding: 0 24px 30px !important;
    margin: 0 !important;
  }
}
@media screen and (max-width: 900px) {
  .nav-insured-badge {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 8px !important;
    justify-content: center !important;
  }
}
@media screen and (max-width: 900px) {
  header {
    padding-bottom: 34px !important;
    overflow: visible !important;
  }

  .nav-insured-badge {
    position: absolute !important;
    left: 60% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;

    width: fit-content !important;
    max-width: fit-content !important;
    min-width: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    background-color: #e6e6e6 !important;
    color: #067bc2 !important;

    padding: 7px 10px 8px 10px !important;
    border-radius: 6px 6px 0 0 !important;

    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .nav-insured-badge svg {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }
}
@media screen and (max-width: 900px) {
  .testimonial-overlay {
    display: grid !important;
    grid-template-rows: auto minmax(230px, auto) !important;
  }

  .testimonial-fixed-title {
    grid-area: 1 / 1 !important;
  }

  .testimonial-slide {
    grid-area: 2 / 1 !important;
  }

  .testimonial-slide.active {
    transform: translateX(0) scale(1) !important;
  }
}
@media screen and (max-width: 900px) {
  .join-team-section,
  .join-team-top,
  .join-team-wave,
  .join-team-bottom,
  .site-footer,
  footer {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .join-team-section::before,
  .join-team-section::after,
  .join-team-top::before,
  .join-team-top::after,
  .join-team-wave::before,
  .join-team-wave::after,
  .join-team-bottom::before,
  .join-team-bottom::after,
  .site-footer::before,
  .site-footer::after,
  footer::before,
  footer::after {
    display: none !important;
    content: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .join-team-wave {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
  }

  .join-team-wave svg {
    display: none !important;
  }

  .join-team-bottom,
  .site-footer {
    margin-top: 0 !important;
    border-top: none !important;
    background-color: #e6e6e6 !important;
  }
}
}
/* MOBILE: LIGHTER SECTION FADE TO REDUCE SCROLL LAG */
@media screen and (max-width: 900px) {
  .main-scroll-fade-section {
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
}
@media screen and (max-width: 900px) {
  .contact-page-image-card {
    margin-top: 22px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .contact-page-image-card img {
    width: 100% !important;
    height: auto !important;
    max-height: 340px !important;
    object-fit: contain !important;
    display: block !important;
  }
}
/* MOBILE: STOP HERO SLIDE BUTTONS STAYING ENLARGED AFTER TAP */
@media screen and (max-width: 900px) {
  .hero-progress-segment,
  .hero-progress-segment:hover,
  .hero-progress-segment:focus,
  .hero-progress-segment:active,
  .hero-progress-segment:focus-visible,
  .hero-progress-segment.active,
  .hero-progress-segment.active:hover,
  .hero-progress-segment.active:focus,
  .hero-progress-segment.active:active {
    transform: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
}
@media screen and (max-width: 900px) {
  .services-process-redesign {
    margin: 45px auto 0 !important;
    padding: 36px 24px !important;
  }

  .services-process-redesign-header {
    margin-bottom: 36px !important;
  }

  .services-process-redesign-header h3 {
    font-size: 42px !important;
  }

  .services-process-redesign-item {
    grid-template-columns: 52px 1fr !important;
    column-gap: 22px !important;
    padding-bottom: 42px !important;
  }

  .process-redesign-number {
    font-size: 22px !important;
  }

  .process-redesign-line {
    left: 26px !important;
    top: 36px !important;
  }

  .process-redesign-content h4 {
    font-size: 23px !important;
  }

  .process-redesign-content p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}
/* MOBILE FRONT PAGE OUR SERVICES IMAGES - TALLER */
@media screen and (max-width: 900px) {
  #services .service-image {
    height: 260px !important;
  }
}
@media screen and (max-width: 900px) {
  .resource-feature-section {
    padding: 0 !important;
  }

  .resource-feature-layout {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .resource-feature-layout::before,
  .resource-feature-layout::after {
    display: none !important;
    content: none !important;
  }

  .resource-feature-text {
    max-width: 100% !important;
    padding: 55px 5% 38px !important;
    justify-self: stretch !important;
  }

  .resource-feature-text h2 {
    font-size: 38px !important;
  }

  .resource-feature-text p {
    font-size: 16px !important;
  }

  .resource-feature-image {
    min-height: 300px !important;
    clip-path: none !important;
  }

  .resource-feature-links a {
    transform: none !important;
  }
}
@media screen and (max-width: 900px) {
  .vision-banner-section {
    min-height: 190px;
    padding: 40px 5%;
    background-attachment: scroll;
    background-position: center center;
  }

  .vision-banner-content h2 {
    font-size: 18px;
    line-height: 1.25;
  }
}
@media screen and (max-width: 900px) {
  .sustainability-page-section .sustainability-intro-layout {
    display: block !important;
    margin-bottom: 30px !important;
  }

  .sustainability-page-section .sustainability-intro-layout .sustainability-page-header {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sustainability-page-section .sustainability-intro-layout .sustainability-page-header p {
    max-width: 100% !important;
  }

  .sustainability-page-section .sustainability-image-strip {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-top: 24px !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .sustainability-page-section .sustainability-strip-image {
    max-width: 100% !important;
  }

  .sustainability-page-section .sustainability-strip-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: contain !important;
    border-radius: 18px !important;
    clip-path: inset(0 round 18px) !important;
  }
}
@media screen and (max-width: 900px) {
  .services-standard-image-banner {
    margin: 0 auto 28px !important;
  }

  .services-standard-image-banner img {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: contain !important;
  }
}
@media screen and (max-width: 900px) {
  .services-overview-nav.services-project-card-nav {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .services-overview-nav.services-project-card-nav a.service-project-card {
    height: 285px !important;
    min-height: 285px !important;
  }

  .service-project-overlay {
    width: 90% !important;
    min-height: 100px !important;
    padding: 18px 20px !important;
  }

  .services-overview-nav.services-project-card-nav .service-project-overlay strong {
    font-size: 23px !important;
  }

  .services-overview-nav.services-project-card-nav .service-project-category {
    font-size: 15px !important;
  }
}
/* MOBILE FIX - RESOURCE HUB DOCUMENT SUPPORT SECTION */
@media screen and (max-width: 900px) {
  #resource-hub-page .resource-document-support-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 38px 0 0 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #resource-hub-page .resource-document-support-section > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #resource-hub-page .resource-document-support-section h3 {
    font-size: 26px !important;
    line-height: 1.18 !important;
  }

  #resource-hub-page .resource-document-support-section p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}
/* MOBILE FIX - STOP SUSTAINABILITY TITLE OVERLAPPING IMAGES */
@media screen and (max-width: 900px) {
  .sustainability-page-section .sustainability-image-strip {
    margin-top: 24px !important;
    margin-bottom: 34px !important;
    gap: 18px !important;
  }

  .sustainability-page-section .sustainability-priorities-heading-row {
    margin-top: 0 !important;
    clear: both !important;
    position: relative !important;
    z-index: 3 !important;
  }

  .sustainability-page-section .sustainability-priorities-title {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
  }
}
/* MOBILE RESOURCE HUB - CLICK ME LABEL ON CARDS */
@media screen and (max-width: 900px) {
  #resource-hub-page .services-overview-card .view-card-link {
    position: relative !important;
    padding-top: 34px !important;
  }

  #resource-hub-page .services-overview-card .view-card-link::after {
    content: "Click Me" !important;
    position: absolute !important;
    top: 18px !important;
    right: 20px !important;
    z-index: 10 !important;

    color: #9a9a9a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.2px !important;

    background: none !important;
    border: none !important;
    pointer-events: none !important;
  }
}
/* Mobile service image collage */
@media (max-width: 900px) {

  .residential-detail-image {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8px;

    width: 100% !important;
    max-width: 560px;
    height: clamp(210px, 65vw, 340px) !important;
    min-height: 0 !important;
    margin: 0 auto 15px;
  }

  .residential-detail-image > .residential-overlap-img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    object-fit: cover;
    border-radius: 12px;
    box-sizing: border-box;
    transform: none !important;
  }

  .residential-overlap-img-main {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .residential-overlap-img-second {
    grid-column: 2;
    grid-row: 1;
  }

  .residential-overlap-img-third {
    grid-column: 2;
    grid-row: 2;
  }

}
/* Compact sustainability image group */
@media (max-width: 900px) {

  .sustainability-page-section .sustainability-image-strip {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: 20px auto !important;
    gap: 6px !important;
  }

  .sustainability-image-strip > * {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .sustainability-image-strip img {
    width: 100% !important;
    height: clamp(80px, 28vw, 150px) !important;
    min-height: 0 !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    display: block;
  }

}
/* Compact About Us mobile images */
@media (max-width: 900px) {

  .about-page-image-stack {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 380px !important;
    height: 280px !important;
    min-height: 0 !important;
    margin: 0 auto 20px;
  }

  .about-page-image-stack .about-stack-img-main {
    position: absolute !important;
    top: 10px !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: 78% !important;
    height: 200px !important;
    min-height: 0 !important;
    object-fit: cover;
  }

  .about-page-image-stack .about-stack-img-small {
    position: absolute !important;
    left: 0 !important;
    bottom: 10px !important;
    top: auto !important;
    right: auto !important;
    width: 56% !important;
    height: 140px !important;
    min-height: 0 !important;
    border: 4px solid white;
    object-fit: cover;
  }

  .about-page-image-stack::before {
    height: 220px !important;
    top: 30px !important;
  }

  .about-page-badge {
    left: 0 !important;
    top: 25px !important;
    font-size: 11px !important;
    padding: 8px 12px !important;
    z-index: 4;
  }

}
/* Hide Greater Dublin Area badge on mobile */
@media (max-width: 900px) {
  .about-page-badge {
    display: none !important;
  }
}
/* Click me label on homepage service images */
@media (max-width: 900px) {

  #services .service-image {
    position: relative;
  }

  #services .service-image::after {
    content: "Click me";
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(45, 45, 45, 0.85);
    color: #ffffff;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    z-index: 10;
    pointer-events: none;
  }

}
/* Disable floating image tooltip on mobile */
@media (max-width: 900px) {
  #imageHoverTooltip {
    display: none !important;
  }
}
/* Remove homepage Resource Hub image on mobile */
@media (max-width: 900px) {

  .resource-feature-layout .resource-feature-image {
    display: none !important;
  }

  .resource-feature-layout {
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .resource-feature-text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

}
/* Consistent homepage About sections on mobile */
@media (max-width: 900px) {

  #about .about-row,
  #about .about-row.reverse {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 28px 5% !important;
    gap: 16px !important;
  }

  #about .about-row .about-text {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  #about .normal-about-image-wrapper {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #about .normal-about-image {
    display: block;
    width: 100% !important;
    height: clamp(150px, 44vw, 220px) !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center;
    border-radius: 10px;
    margin: 0 !important;
  }

}
/* Homepage mobile image reveal animation */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {

  /* First image — reveal from top right */
  #about .mobile-about-reveal .normal-about-image {
    clip-path: inset(0 0 100% 100%);
    opacity: 0;
    transition: clip-path 1s ease-in-out, opacity 0.3s ease;
  }

  /* Second image — reveal from top left */
  #about .about-row.reverse .mobile-about-reveal:not(.image-visible) .normal-about-image {
    clip-path: inset(0 100% 100% 0);
  }

  /* Fully revealed images */
  #about .mobile-about-reveal.image-visible .normal-about-image {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }

}
@media (max-width: 900px) {
  #about .normal-about-image,
  #about .normal-about-image-wrapper {
    border-radius: 0 !important;
  }
}
/* Light grey background behind homepage text */
@media (max-width: 900px) {

  #about .about-row .about-text {
    background-color: #f4f4f4 !important;
    padding: 22px 18px !important;
    box-sizing: border-box;
    border-radius: 0;
  }

}
/* Mobile blue image backdrops */
@media (max-width: 900px) {

  #about .about-row .normal-about-image-wrapper {
    position: relative !important;
    isolation: isolate;
    overflow: visible !important;
  }

  #about .about-row .normal-about-image-wrapper::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 10px -8px -10px 8px !important;
    width: auto !important;
    height: auto !important;
    background: rgba(6, 123, 194, 0.28) !important;
    border-radius: 0 !important;
    z-index: -1;
    opacity: 1;
    pointer-events: none;
  }

  /* Mirror the blue box for the second image */
  #about .about-row.reverse .normal-about-image-wrapper::before {
    inset: 10px 8px -10px -8px !important;
  }

}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {

  #about .mobile-about-reveal::before {
    transition: opacity 0.3s ease 0.5s;
  }

  #about .mobile-about-reveal:not(.image-visible)::before {
    opacity: 0 !important;
  }

  #about .mobile-about-reveal.image-visible::before {
    opacity: 1 !important;
  }

}