/* ==========================================================================
   Renowned Group – refinement layer
   --------------------------------------------------------------------------
   Loaded after style.css. Neatens spacing/consistency across templates and
   adds subtle motion. Everything here is additive, so removing this file
   returns the site to its previous look.

   Contents
   1.  Tokens
   2.  Base & typography
   3.  Buttons & links
   4.  Header & navigation
   5.  Heroes
   6.  Feature pills / icon bars
   7.  Section headings
   8.  Service cards (ctas-block)
   9.  Why-us / values cards
   10. Two-column content & images
   11. Accreditations
   12. Benefits / dark bands / CTA block
   13. Case studies slider & features
   14. FAQs / accordion
   15. Listings (news, case studies) & sidebar
   16. Timeline
   17. Contact & forms
   18. Footer & back-to-top
   19. Motion: entrance + scroll reveal
   20. Reduced motion
   ========================================================================== */


/* 1. Tokens
   ========================================================================== */
:root {
  --rg-blue: #29abe2;
  --rg-blue-bright: #2bcefb;
  --rg-navy: #040916;
  --rg-navy-2: #0f314b;
  --rg-ink: #0b0f17;
  --rg-text: #2a2f38;
  --rg-muted: #5b6370;
  --rg-line: rgba(11, 15, 23, 0.1);

  --rg-radius-sm: 8px;
  --rg-radius: 14px;
  --rg-radius-lg: 20px;

  --rg-shadow-sm: 0 1px 2px rgba(11, 15, 23, 0.06), 0 2px 8px rgba(11, 15, 23, 0.05);
  --rg-shadow: 0 2px 6px rgba(11, 15, 23, 0.05), 0 12px 32px rgba(11, 15, 23, 0.08);
  --rg-shadow-lg: 0 4px 12px rgba(11, 15, 23, 0.06), 0 24px 56px rgba(11, 15, 23, 0.14);
  --rg-glow: 0 8px 24px rgba(41, 171, 226, 0.35);

  --rg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rg-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --rg-fast: 0.25s;
  --rg-med: 0.45s;
  --rg-slow: 0.9s;
}


/* 2. Base & typography
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

/* #wrapper used overflow: hidden, which silently disables position: sticky
   everywhere inside it. clip still trims horizontal overflow without that
   side effect (older browsers just keep "hidden"). */
#wrapper {
  overflow: hidden;
  overflow: clip;
}

body {
  color: var(--rg-text);
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(41, 171, 226, 0.25);
  color: inherit;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

/* Keep strong text crisp against the softened body colour */
strong, b {
  color: var(--rg-ink);
}
.hero-block strong, .cta-block strong, .benefits-block strong,
.twocols-content.sectors strong, #footer strong {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--rg-blue);
  outline-offset: 3px;
  border-radius: 4px;
}


/* 3. Buttons & links
   ========================================================================== */
button, .btn,
input[type=button], input[type=reset], input[type=submit], .button {
  position: relative;
  -webkit-transition: transform var(--rg-fast) var(--rg-ease),
    box-shadow var(--rg-med) var(--rg-ease),
    background-color var(--rg-fast) var(--rg-ease),
    background-position var(--rg-med) var(--rg-ease),
    color var(--rg-fast) var(--rg-ease),
    border-color var(--rg-fast) var(--rg-ease);
  transition: transform var(--rg-fast) var(--rg-ease),
    box-shadow var(--rg-med) var(--rg-ease),
    background-color var(--rg-fast) var(--rg-ease),
    background-position var(--rg-med) var(--rg-ease),
    color var(--rg-fast) var(--rg-ease),
    border-color var(--rg-fast) var(--rg-ease);
  letter-spacing: 0.04em;
  font-weight: 600;
  will-change: transform;
}

.btn:hover,
input[type=submit]:hover,
.button:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  box-shadow: var(--rg-glow);
}
.btn:active,
input[type=submit]:active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  transition-duration: 0.1s;
}

/* Primary gradient – gently shifts on hover rather than flashing.
   :where() keeps specificity low so section-specific button styles still win. */
.btn:where(:not(.btn-white):not(.btn-secondary):not(.btn-white-outline):not(.btn-primary-outline):not(.btn-secondary-outline):not(.btn-primary)),
input[type=submit] {
  background: linear-gradient(110deg, #2bcefb 0%, #29abe2 50%, #1f8fc4 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
}
.btn:where(:not(.btn-white):not(.btn-secondary):not(.btn-white-outline):not(.btn-primary-outline):not(.btn-secondary-outline):not(.btn-primary)):hover,
input[type=submit]:hover {
  background-position: 100% 50%;
}

.btn.btn-secondary {
  background: var(--rg-ink);
}
.btn.btn-secondary:hover {
  color: #fff;
  background: #16202e;
  box-shadow: 0 10px 24px rgba(11, 15, 23, 0.25);
}

.btn.btn-white:hover {
  box-shadow: 0 10px 28px rgba(41, 171, 226, 0.45);
}

.btn.btn-white-outline {
  border-color: rgba(255, 255, 255, 0.55);
}
.btn.btn-white-outline:hover {
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

/* "or" separators between buttons – quieter */
.btns-holder .or {
  font-size: 0.85em;
  opacity: 0.65;
  font-style: italic;
}

/* Inline text links – animated underline */
.twocols-content p a,
.faqs-block .accordion .slide a,
.details-holder p a,
.casestudies-block .view-all,
.open-close .read-more {
  text-decoration: none !important;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--rg-med) var(--rg-ease), color var(--rg-fast) var(--rg-ease);
  padding-bottom: 1px;
}
.twocols-content p a:hover,
.faqs-block .accordion .slide a:hover,
.details-holder p a:hover,
.casestudies-block .view-all:hover,
.open-close .read-more:hover {
  background-size: 0% 1px;
  background-position: 100% 100%;
  color: var(--rg-blue);
}


/* 4. Header & navigation
   ========================================================================== */
#header {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--rg-med) var(--rg-ease), background-color var(--rg-med) var(--rg-ease);
}

.fixed-position #header {
  background: rgba(4, 9, 22, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.35);
  -webkit-animation: rgShowBar 0.6s var(--rg-ease);
          animation: rgShowBar 0.6s var(--rg-ease);
}
@-webkit-keyframes rgShowBar {
  from { -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); }
  to   { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}
@keyframes rgShowBar {
  from { -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); }
  to   { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}

#header .logo img {
  transition: transform var(--rg-med) var(--rg-ease), opacity var(--rg-fast) linear;
}
#header .logo a:hover img {
  opacity: 0.9;
}

@media (min-width: 1200px) {
  .main-nav ul li a {
    transition: color var(--rg-fast) var(--rg-ease);
  }
  /* Underline grows from the centre on hover; stays on current item */
  .main-nav ul li a:before {
    opacity: 1;
    height: 2px;
    border-radius: 2px;
    bottom: 6px;
    background: linear-gradient(90deg, var(--rg-blue-bright), var(--rg-blue));
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    transition: transform var(--rg-med) var(--rg-ease);
  }
  .main-nav > ul > li > a:hover:before,
  .main-nav ul li.current_page_item > a:before,
  .main-nav ul li.current-menu-item > a:before,
  .main-nav ul li.current-menu-ancestor > a:before,
  .main-nav ul li.current-page-ancestor > a:before {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
  .main-nav ul li.menu-item-has-children > a:after {
    transition: transform var(--rg-med) var(--rg-ease);
  }

  /* Dropdown – glassy panel that slides in */
  .main-nav ul ul {
    background: rgba(6, 12, 26, 0.94);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    margin-top: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    -webkit-transform: translateY(6px);
            transform: translateY(6px);
    transition: opacity var(--rg-fast) var(--rg-ease), visibility var(--rg-fast), transform var(--rg-med) var(--rg-ease), margin var(--rg-med) var(--rg-ease);
  }
  .main-nav ul li.menu-item-has-children:hover > ul {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  .main-nav ul ul li {
    border-top: 0;
  }
  .main-nav ul ul li a {
    padding: 11px 14px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color var(--rg-fast) var(--rg-ease), color var(--rg-fast) var(--rg-ease), padding var(--rg-med) var(--rg-ease);
  }
  .main-nav ul ul li a:hover {
    background: rgba(41, 171, 226, 0.12);
    padding-left: 18px;
  }
}

/* Burger: smoother morph */
.menu-opener span,
.menu-opener:before,
.menu-opener:after {
  transition: transform var(--rg-med) var(--rg-ease), opacity var(--rg-fast) linear, top var(--rg-med) var(--rg-ease);
}


/* 5. Heroes
   ========================================================================== */
.hero-block .bg-image img,
.hero-block .bg-video video {
  will-change: transform;
}

/* Home video: graded overlay instead of a flat 60% black, so the footage
   reads through while the centred copy stays legible */
.hero-block .bg-video:before {
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(4, 9, 22, 0.74) 0%, rgba(4, 9, 22, 0.56) 70%),
    linear-gradient(180deg, rgba(4, 9, 22, 0.4) 0%, rgba(4, 9, 22, 0) 30%, rgba(4, 9, 22, 0) 70%, rgba(4, 9, 22, 0.8) 100%);
}
.hero-block .bg-video:before {
  /* the video is transformed (entrance zoom), which lifts it above an
     un-indexed overlay – keep the overlay on top */
  z-index: 1;
}
.hero-block .bg-video video {
  display: block;
}
.hero-block .caption h1,
.hero-block .caption p {
  text-shadow: 0 2px 24px rgba(4, 9, 22, 0.55);
}

/* Inner hero (v3) title panel – glass rather than a flat box */
.hero-block.v3 .caption-holder {
  background: linear-gradient(115deg, rgba(6, 10, 19, 0.82) 0%, rgba(15, 49, 75, 0.78) 50%, rgba(6, 10, 19, 0.82) 100%);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--rg-radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.hero-block.v3 .caption-holder h1:after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--rg-blue-bright), var(--rg-blue));
}
.hero-block.v3 .caption-holder h1 {
  margin-bottom: 0;
}
.hero-block.v3 .caption-holder h1 + * {
  margin-top: 16px;
}

/* Service hero (v2) icon tile */
.hero-block.v2 .icon {
  border-radius: 12px;
  background: rgba(4, 9, 22, 0.7);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(41, 171, 226, 0.25), 0 10px 30px rgba(41, 171, 226, 0.15);
}

.hero-block .caption p {
  color: rgba(255, 255, 255, 0.86);
}

/* Breadcrumbs */
.breadcrumbs-bar a {
  transition: color var(--rg-fast) var(--rg-ease);
}

/* Features strip along the bottom of service heroes */
.hero-block .features .features-list li .icon img {
  transition: transform var(--rg-med) var(--rg-ease);
}
.hero-block .features .features-list li:hover .icon img {
  -webkit-transform: scale(1.12) rotate(-4deg);
          transform: scale(1.12) rotate(-4deg);
}


/* 6. Feature pills / icon bars
   ========================================================================== */
.features-bar .features-slider .slide {
  transition: transform var(--rg-fast) var(--rg-ease), border-color var(--rg-fast) var(--rg-ease), background-color var(--rg-fast) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease);
}
.features-bar .features-slider .slide:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  border-color: rgba(41, 171, 226, 0.7);
  background: #0b1b29;
  box-shadow: 0 8px 22px rgba(41, 171, 226, 0.22);
  color: #fff;
}
.features-bar .features-slider .slide .icon img {
  transition: transform var(--rg-med) var(--rg-ease);
}
.features-bar .features-slider .slide:hover .icon img {
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
}


/* 7. Section headings
   --------------------------------------------------------------------------
   The blue accent bar is kept, but rounded and given a subtle gradient. On
   centred headings (FAQs) the bar moves underneath instead of hanging off the
   left of a centred line.
   ========================================================================== */
.twocols-content h2, .twocols-content .h2,
.ctas-block .header-text h2, .ctas-block .header-text .h2 {
  border-left: 0;
  position: relative;
}
.twocols-content h2:before, .twocols-content .h2:before,
.ctas-block .header-text h2:before, .ctas-block .header-text .h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--rg-blue-bright), var(--rg-blue));
  -webkit-transform-origin: top;
          transform-origin: top;
}
/* Dark bands & headings that intentionally have no bar */
.twocols-content.sectors h2:before, .twocols-content.sectors .h2:before,
.casestudies-block .casestudies-header .h2:before {
  display: none;
}
.twocols-content.sectors h2, .twocols-content.sectors .h2 {
  padding-left: 0;
}

.faqs-block h2 span, .faqs-block .h2 span {
  padding-left: 0;
  display: inline-block;
}
.faqs-block h2 span:before, .faqs-block .h2 span:before {
  display: none;
}
/* "Additional text" blocks are centred, so their heading follows suit */
.twocols-content.additional h2, .twocols-content.additional .h2 {
  text-align: center;
  padding-left: 0;
}
.twocols-content.additional h2:before, .twocols-content.additional .h2:before {
  display: none;
}
.twocols-content.additional h2:after, .twocols-content.additional .h2:after,
.faqs-block > .container > .h2:after,
.faqs-block > .container > h2:after,
.whyus-block h2:after,
.logos-grid h2:after,
.timeline-block h2:after,
.benefits-block h2:after,
.gallery-block h2:after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--rg-blue-bright), var(--rg-blue));
}

.twocols-content h2, .twocols-content .h2,
.whyus-block h2, .logos-grid h2, .faqs-block h2, .faqs-block .h2,
.timeline-block h2, .casestudies-block .h2 {
  color: var(--rg-ink);
}
.twocols-content.sectors h2, .twocols-content.sectors .h2 {
  color: #fff;
}

/* Bring section titles onto a consistent scale */
@media (min-width: 1200px) {
  .whyus-block h2, .logos-grid h2, .timeline-block h2,
  .faqs-block h2, .faqs-block .h2,
  .casestudies-block h2, .casestudies-block .h2,
  .benefits-block h2 {
    font-size: 38px;
    line-height: 1.15;
  }
}


/* 8. Service cards (ctas-block)
   ========================================================================== */
.ctas-block .cta-box {
  border-radius: var(--rg-radius);
  isolation: isolate;
  box-shadow: var(--rg-shadow);
  transition: transform var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease);
}
.ctas-block .cta-box:hover {
  -webkit-transform: translateY(-6px);
          transform: translateY(-6px);
  box-shadow: var(--rg-shadow-lg);
}
.ctas-block .cta-box .image img {
  transition: transform 1.2s var(--rg-ease);
}
.ctas-block .cta-box:hover .image img {
  -webkit-transform: scale(1.06);
          transform: scale(1.06);
}
.ctas-block .cta-box .text {
  background: linear-gradient(to top, rgba(4, 9, 22, 0.88) 0%, rgba(4, 9, 22, 0.35) 45%, rgba(4, 9, 22, 0.15) 60%, rgba(4, 9, 22, 0.6) 100%);
}
.ctas-block .cta-box .text:after {
  /* thin brand line that draws across on hover */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rg-blue-bright), var(--rg-blue));
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  transition: transform 0.6s var(--rg-ease);
}
.ctas-block .cta-box:hover .text:after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}
.ctas-block .cta-box h2, .ctas-block .cta-box .h2 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.ctas-block .cta-box .text-holder p {
  color: rgba(255, 255, 255, 0.86);
  transition: transform var(--rg-med) var(--rg-ease);
}
.ctas-block .cta-box .btn:after {
  content: "\2192";
  display: inline-block;
  margin-left: 0;
  width: 0;
  opacity: 0;
  overflow: hidden;
  vertical-align: top;
  transition: width var(--rg-med) var(--rg-ease), margin var(--rg-med) var(--rg-ease), opacity var(--rg-fast) linear;
}
.ctas-block .cta-box:hover .btn:after {
  width: 1em;
  margin-left: 6px;
  opacity: 1;
}
.ctas-block .cta-box:hover .btn {
  -webkit-transform: none;
          transform: none;
}

/* Slider arrows */
.ctas-block .slick-arrow,
.casestudies-block .slick-arrow,
.gallery-block .slick-arrow,
.timeline-block .slick-arrow {
  transition: background-color var(--rg-fast) var(--rg-ease), color var(--rg-fast) var(--rg-ease), border-color var(--rg-fast) var(--rg-ease), transform var(--rg-fast) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease);
  cursor: pointer;
}
.ctas-block .cta-slider-nav .slick-arrow {
  border-color: rgba(11, 15, 23, 0.18);
  color: var(--rg-ink);
}
.ctas-block .cta-slider-nav .slick-arrow:hover,
.casestudies-block .slick-arrow:hover {
  background: var(--rg-blue);
  border-color: var(--rg-blue);
  color: #fff;
  box-shadow: var(--rg-glow);
}
.ctas-block .cta-slider-nav-holder .title {
  font-size: 15px;
  color: var(--rg-muted);
  letter-spacing: 0.01em;
}

/* Smooth the slick track motion */
.ctas-block .slick-track,
.casestudies-block .slick-track,
.gallery-block .slick-track {
  will-change: transform;
}


/* 9. Why-us / values cards
   ========================================================================== */
.whyus-block .row .col {
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius-lg);
  box-shadow: var(--rg-shadow-sm);
  transition: transform var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease), border-color var(--rg-med) var(--rg-ease);
}
.whyus-block .row .col:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  box-shadow: var(--rg-shadow);
  border-color: rgba(41, 171, 226, 0.35);
}
.whyus-block .icon {
  width: 60px;
  height: 60px;
  padding: 12px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(43, 206, 251, 0.16), rgba(41, 171, 226, 0.08));
  box-shadow: inset 0 0 0 1px rgba(41, 171, 226, 0.18);
  transition: transform var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease);
}
.whyus-block .row .col:hover .icon {
  -webkit-transform: translateY(-2px) scale(1.06);
          transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(41, 171, 226, 0.4), 0 8px 18px rgba(41, 171, 226, 0.2);
}
.whyus-block .title {
  font-weight: 700;
  color: var(--rg-ink);
  margin: 0 0 8px;
  line-height: 1.25;
}
.whyus-block p {
  color: var(--rg-muted);
  font-size: 0.95em;
  line-height: 1.55;
}


/* 10. Two-column content & images
   ========================================================================== */
.twocols-content .image {
  border-radius: var(--rg-radius);
  box-shadow: var(--rg-shadow);
}
.twocols-content .image img {
  transition: transform 1.4s var(--rg-ease);
}
.twocols-content .img-frame:hover .image img {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}

/* Keep the image beside long copy instead of leaving a big empty gap.
   overflow: clip (not hidden) so position: sticky can work inside. */
@media (min-width: 1024px) {
  .twocols-content {
    overflow: clip;
  }
  .twocols-content.v4 .row {
    align-items: stretch;
  }
  .twocols-content .row > .col > .img-frame {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
  }
}

/* Tick lists – slightly more air and alignment */
.twocols-content ul:not([class]) li,
.twocols-content.sectors .col ul li {
  line-height: 1.5;
}

/* Stats card overlay (About) */
.twocols-content .stats {
  border-radius: var(--rg-radius);
  box-shadow: 0 20px 40px rgba(4, 9, 22, 0.25);
}

/* Read more toggle */
.twocols-content .open-close .read-more {
  font-weight: 600;
  color: var(--rg-ink);
}
.twocols-content .open-close .text-slide {
  will-change: height;
}

/* Section dividers – softer */
.twocols-content + .twocols-content,
.twocols-content + .faqs-block,
.faqs-block + .twocols-content.additional {
  border-top-color: var(--rg-line);
}


/* 11. Accreditations
   ========================================================================== */
.logos-grid .accreditations-grid .logo-holder {
  border-radius: var(--rg-radius);
  box-shadow: var(--rg-shadow-sm);
  border: 1px solid var(--rg-line);
  background: #fff;
  transition: transform var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease), border-color var(--rg-med) var(--rg-ease);
}
.logos-grid .accreditations-grid .logo-holder:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  box-shadow: var(--rg-shadow);
  border-color: rgba(41, 171, 226, 0.3);
}
.logos-grid .accreditations-grid .logo-holder img {
  transition: transform var(--rg-med) var(--rg-ease);
}
.logos-grid .accreditations-grid .logo-holder:hover img {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}


/* 12. Benefits / dark bands / CTA block
   ========================================================================== */
.benefits-block .icon,
.benefits-block .col .icon {
  transition: transform var(--rg-med) var(--rg-ease);
}
.benefits-block .col:hover .icon {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

/* CTA band – a slow light sweep keeps it from feeling static */
.cta-block:after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -30%;
  width: 40%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(41, 171, 226, 0.22), rgba(41, 171, 226, 0));
  -webkit-animation: rgSweep 14s var(--rg-ease-in-out) infinite alternate;
          animation: rgSweep 14s var(--rg-ease-in-out) infinite alternate;
}
.cta-block .container {
  z-index: 2;
}
@-webkit-keyframes rgSweep {
  from { -webkit-transform: translateX(0); transform: translateX(0); }
  to   { -webkit-transform: translateX(260%); transform: translateX(260%); }
}
@keyframes rgSweep {
  from { -webkit-transform: translateX(0); transform: translateX(0); }
  to   { -webkit-transform: translateX(260%); transform: translateX(260%); }
}
.cta-block h2, .cta-block .h2 {
  letter-spacing: -0.02em;
}


/* 13. Case studies slider & features
   ========================================================================== */
.casestudies-block .twocols-content {
  border-radius: var(--rg-radius-lg);
  box-shadow: var(--rg-shadow-lg);
  border: 1px solid var(--rg-line);
}
.casestudies-block .twocols-content h2 {
  color: var(--rg-ink);
}
.casestudies-block .meta li strong {
  color: var(--rg-ink);
}
.casestudies-block .slick-arrow {
  box-shadow: var(--rg-shadow-sm);
}
/* No image shadow inside the slider – it bleeds in from neighbouring slides */
.casestudies-block .twocols-content .image {
  box-shadow: none;
}

/* Case study single – overview strip */
.features-block .features-box {
  border-radius: var(--rg-radius);
  box-shadow: var(--rg-shadow);
}
.features-block .features-box .icon img {
  transition: transform var(--rg-med) var(--rg-ease);
}
.features-block .features-box .col:hover .icon img {
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
}

.results-block .results-holder,
.results-block .results-holder .image,
.quotes-block .quote-holder {
  border-radius: var(--rg-radius);
}

.gallery-block .image {
  border-radius: var(--rg-radius-sm);
  overflow: hidden;
}
.gallery-block .image img {
  transition: transform 1s var(--rg-ease);
}
.gallery-block .image:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}


/* 14. FAQs / accordion
   ========================================================================== */
.accordion li {
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  box-shadow: var(--rg-shadow-sm);
  position: relative;
  transition: border-color var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease);
}
.accordion li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rg-blue-bright), var(--rg-blue));
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  -webkit-transform-origin: top;
          transform-origin: top;
  transition: transform var(--rg-med) var(--rg-ease);
}
.accordion li:hover {
  border-color: rgba(41, 171, 226, 0.35);
}
.accordion li.active {
  border-color: rgba(41, 171, 226, 0.35);
  box-shadow: var(--rg-shadow);
}
.accordion li.active:before {
  -webkit-transform: scaleY(1);
          transform: scaleY(1);
}
.accordion .opener {
  color: var(--rg-ink);
  transition: color var(--rg-fast) var(--rg-ease);
}
.accordion .opener:hover,
.accordion li.active .opener {
  color: var(--rg-ink);
}
.accordion .opener:before {
  /* chevron sits in a small circle */
  width: 28px;
  height: 28px;
  line-height: 28px;
  top: 50%;
  margin-top: -14px;
  right: 16px;
  text-align: center;
  border-radius: 50%;
  background: rgba(11, 15, 23, 0.05);
  transition: transform var(--rg-med) var(--rg-ease), background-color var(--rg-fast) var(--rg-ease), color var(--rg-fast) var(--rg-ease);
}
.accordion li.active .opener:before {
  background: var(--rg-blue);
  color: #fff;
}
@media (min-width: 768px) {
  .accordion .opener {
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 24px;
  }
  .accordion .slide-holder {
    padding: 0 24px 22px;
  }
}
.accordion .slide-holder {
  color: var(--rg-muted);
}
.faqs-block .bottom-text {
  color: var(--rg-muted);
}


/* 15. Listings (news, case studies) & sidebar
   ========================================================================== */
.post-article .cta-item {
  border-radius: var(--rg-radius);
  box-shadow: var(--rg-shadow-sm);
  border: 1px solid var(--rg-line);
  transition: transform var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease);
}
.post-article .cta-item:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  box-shadow: var(--rg-shadow-lg);
}
.post-article .cta-item .image {
  overflow: hidden;
}
.post-article .cta-item .image img {
  transition: transform 1.2s var(--rg-ease);
}
.post-article .cta-item:hover .image img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.post-article .cta-item h3 a {
  transition: color var(--rg-fast) var(--rg-ease);
}
.post-article .cta-item:hover h3 a {
  color: var(--rg-blue);
}
.post-article .cta-item p {
  color: var(--rg-muted);
}
/* "Read more" – was a full-width black bar; now a quieter footer link */
.post-article .cta-item .btn {
  background: none;
  color: var(--rg-ink);
  border-top: 1px solid var(--rg-line);
  border-radius: 0;
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 1200px) {
  .post-article .cta-item .btn {
    padding: 18px 25px;
  }
}
.post-article .cta-item .btn:after {
  content: "\2192";
  transition: transform var(--rg-med) var(--rg-ease);
  color: var(--rg-blue);
}
.post-article .cta-item .btn:hover,
.post-article .cta-item:hover .btn {
  color: var(--rg-blue);
  -webkit-transform: none;
          transform: none;
  box-shadow: none;
  background: none;
}
.post-article .cta-item:hover .btn:after {
  -webkit-transform: translateX(4px);
          transform: translateX(4px);
}

/* Sidebar widgets */
#sidebar .widget {
  border-radius: var(--rg-radius);
  box-shadow: var(--rg-shadow-sm);
  border: 1px solid var(--rg-line);
}
#sidebar .widget ul li a {
  transition: color var(--rg-fast) var(--rg-ease), padding var(--rg-med) var(--rg-ease);
}
#sidebar .widget ul li a:hover {
  color: var(--rg-blue);
}

/* Pagination */
.paging .page-numbers {
  transition: background-color var(--rg-fast) var(--rg-ease), color var(--rg-fast) var(--rg-ease), border-color var(--rg-fast) var(--rg-ease);
}

/* Single post content */
.details-holder img {
  border-radius: var(--rg-radius-sm);
}


/* 16. Timeline ("Our Journey")
   --------------------------------------------------------------------------
   Desktop/tablet: nodes sit exactly on one connecting line, each with a card
   underneath (left-aligned copy, equal heights).
   Mobile (< 768px): the slider is switched off in jquery.main.js and the
   entries stack as a vertical timeline.
   ========================================================================== */
.timeline-block .row-holder {
  padding: 0;
}
.timeline-block .row-holder .row:before,
.timeline-block .row-holder .row:after {
  display: none;
}
.timeline-block .col {
  position: relative;
  padding: 0 12px;
  text-align: left;
}
/* node */
.timeline-block .col:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  border: 2px solid var(--rg-blue);
  background: #fff;
  box-shadow: 0 0 0 6px #fff;
  -webkit-transform: none;
          transform: none;
  transition: background-color var(--rg-med) var(--rg-ease), transform var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease);
}
.timeline-block .col:hover:before {
  background: var(--rg-blue);
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
  box-shadow: 0 0 0 6px #fff, 0 0 0 10px rgba(41, 171, 226, 0.15);
}
/* card */
.timeline-block .col .text {
  position: relative;
  height: 100%;
  margin-top: 42px;
  padding: 24px 22px 26px;
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius);
  box-shadow: var(--rg-shadow-sm);
  transition: transform var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease), border-color var(--rg-med) var(--rg-ease);
}
/* short stem from node to card */
.timeline-block .col .text:before {
  content: "";
  position: absolute;
  top: -21px;
  left: 50%;
  width: 2px;
  height: 20px;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(41, 171, 226, 0.6), rgba(41, 171, 226, 0.1));
}
.timeline-block .col:hover .text {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  box-shadow: var(--rg-shadow);
  border-color: rgba(41, 171, 226, 0.35);
}
.timeline-block .title {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rg-blue);
  background: rgba(41, 171, 226, 0.1);
  padding: 7px 12px;
  border-radius: 30px;
  margin: 0 0 14px;
}
.timeline-block h4 {
  font-size: 18px;
  line-height: 1.3;
  color: var(--rg-ink);
  margin: 0 0 10px;
}
.timeline-block p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--rg-muted);
  margin: 0;
  text-wrap: wrap;
}

@media (min-width: 768px) {
  /* one continuous line through the node centres */
  .timeline-block .slick-list {
    position: relative;
    padding: 12px 0 6px;
    margin: 0;
  }
  .timeline-block .slick-list:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 22px;
    height: 2px;
    background: linear-gradient(90deg, rgba(41, 171, 226, 0.15), var(--rg-blue) 12%, var(--rg-blue) 88%, rgba(41, 171, 226, 0.15));
    -webkit-transform-origin: left;
            transform-origin: left;
    transition: transform 1.6s var(--rg-ease-in-out);
  }
  .rg-motion .timeline-block:not(.is-in) .slick-list:before {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
  }
  /* equal-height cards */
  .timeline-block .slick-track {
    display: flex;
  }
  .timeline-block .slick-slide {
    float: none;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .timeline-block .slick-slide .text {
    flex: 1 1 auto;
    height: auto;
  }
  .timeline-block .slick-arrow {
    top: 0;
  }
}

@media (max-width: 767px) {
  .timeline-block .row-holder .row,
  .timeline-block .steps-slider {
    display: block;
    margin: 0;
  }
  .timeline-block .col {
    width: auto;
    padding: 0 0 20px 40px;
  }
  .timeline-block .col:last-child {
    padding-bottom: 0;
  }
  .timeline-block .col:before {
    left: 0;
    top: 24px;
    margin-left: 0;
  }
  /* vertical line segment joining each node to the next */
  .timeline-block .col:after {
    content: "";
    position: absolute;
    left: 10px;
    top: 24px;
    bottom: -24px;
    width: 2px;
    background: var(--rg-blue);
    opacity: 0.35;
  }
  .timeline-block .col:last-child:after {
    display: none;
  }
  .timeline-block .col .text {
    margin-top: 0;
    padding: 20px;
  }
  .timeline-block .col .text:before {
    /* stem now points left to the node */
    top: 34px;
    left: -19px;
    width: 18px;
    height: 2px;
    margin: 0;
    background: linear-gradient(90deg, rgba(41, 171, 226, 0.6), rgba(41, 171, 226, 0.1));
  }
}


/* 17. Contact & forms
   ========================================================================== */
.contact-block .form-area {
  border-radius: var(--rg-radius-lg);
  background: #f5f7f9;
  border: 1px solid var(--rg-line);
}
.contact-information .icon {
  transition: transform var(--rg-med) var(--rg-ease);
}
.contact-information li:hover .icon {
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
}

input[type=text],
input[type=tel],
input[type=email],
input[type=search],
input[type=password],
input[type=url],
input[type=date],
input[type=number],
textarea,
select {
  border-radius: 10px;
  border-color: rgba(11, 15, 23, 0.18);
  transition: border-color var(--rg-fast) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease), background-color var(--rg-fast) var(--rg-ease);
}
input[type=text]:hover,
input[type=tel]:hover,
input[type=email]:hover,
input[type=number]:hover,
textarea:hover,
select:hover {
  border-color: rgba(11, 15, 23, 0.35);
}
input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=search]:focus,
input[type=password]:focus,
input[type=url]:focus,
input[type=date]:focus,
input[type=number]:focus,
textarea:focus,
select:focus {
  border-color: var(--rg-blue);
  box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.15);
}
.gform_wrapper .gfield_label,
.gform_wrapper legend {
  font-weight: 600;
  color: var(--rg-ink);
}

.searchform input[type=search] {
  border-radius: 30px;
}

.map-area iframe {
  display: block;
  -webkit-filter: grayscale(0.35) contrast(1.02);
          filter: grayscale(0.35) contrast(1.02);
}

/* Enquiry popup */
.fancybox-content.common-popup,
.common-popup {
  border-radius: var(--rg-radius-lg);
}
.fancybox-is-open .fancybox-bg {
  opacity: 0.82;
}
.fancybox-slide--html .fancybox-content {
  transition: transform var(--rg-med) var(--rg-ease), opacity var(--rg-med) var(--rg-ease);
}


/* 18. Footer & back-to-top
   ========================================================================== */
#footer .footer-nav ul li:before {
  background-color: var(--rg-blue);
  width: 5px;
  height: 5px;
}
#footer .footer-nav ul li a,
#footer .footer-links a,
#footer .footer-bottom a {
  border-bottom: 0;
  text-decoration: none;
  background-image: linear-gradient(var(--rg-blue), var(--rg-blue));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--rg-med) var(--rg-ease), color var(--rg-fast) var(--rg-ease);
}
#footer .footer-nav ul li a:hover,
#footer .footer-links a:hover,
#footer .footer-bottom a:hover {
  background-size: 100% 1px;
  color: var(--rg-blue);
}
@media (max-width: 1023px) {
  #footer .footer-nav ul li a {
    border-bottom: 0;
  }
}
#footer .contact-info li a {
  transition: color var(--rg-fast) var(--rg-ease);
}
#footer .contact-info li a:hover {
  color: var(--rg-blue);
}
#footer .contact-info li a i {
  transition: transform var(--rg-med) var(--rg-ease);
}
#footer .contact-info li a:hover i {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
#footer .social-networks li a {
  transition: transform var(--rg-med) var(--rg-ease), background-color var(--rg-fast) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease);
}
#footer .social-networks li a:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  background-color: var(--rg-blue);
  box-shadow: var(--rg-glow);
}
#footer .footer-text {
  color: var(--rg-muted);
}

/* Back to top – fades/slides in rather than popping */
.back-to-top,
.fixed-position ~ .back-to-top {
  display: flex !important;
  width: 44px;
  height: 44px;
  right: 18px;
  bottom: 18px;
  border-radius: 50%;
  background: var(--rg-ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(12px);
          transform: translateY(12px);
  transition: opacity var(--rg-med) var(--rg-ease), visibility var(--rg-med), transform var(--rg-med) var(--rg-ease), background-color var(--rg-fast) var(--rg-ease);
}
.fixed-position ~ .back-to-top,
.rg-scrolled .back-to-top {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.back-to-top:hover {
  background: var(--rg-blue);
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}


/* 18f. Mobile tidy-ups
   ========================================================================== */
@media (max-width: 767px) {
  /* Hero buttons: stacked, equal width, no "or" */
  .hero-block .btns-holder {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
  }
  .hero-block .btns-holder .or {
    display: none;
  }
  .hero-block .btns-holder .btn,
  .hero-block.v2 .btns-holder .btn {
    width: 100%;
    max-width: 320px;
    margin: 0;
  }
  .hero-block.v2 .btns-holder {
    align-items: stretch;
  }
  .hero-block.v2 .btns-holder .btn {
    max-width: none;
  }

  /* Service pills: tidy two-column grid, equal sizes */
  .features-bar .features-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 20px 16px;
    text-align: left;
  }
  .features-bar .features-slider .slide {
    margin: 0;
    min-height: 56px;
    padding: 10px 14px;
    border-radius: 14px;
    justify-content: space-between;
    font-size: 14px;
    line-height: 1.25;
  }
  .features-bar .features-slider .slide .icon {
    margin: 0 0 0 10px;
  }
  /* odd one out spans the full row so the grid stays square */
  .features-bar .features-slider .slide:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  /* Footer services: one per line */
  #footer .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
  }
  #footer .footer-nav ul li {
    margin: 0;
    padding: 0;
  }
  #footer .footer-nav ul li:before {
    display: none;
  }
}


/* 18b. Shared bits for the new listing layouts
   ========================================================================== */
.rg-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rg-blue);
}
.rg-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--rg-ink);
  text-decoration: none;
}
.rg-link:after {
  content: "\2192";
  color: var(--rg-blue);
  transition: transform var(--rg-med) var(--rg-ease);
}
.rg-link:hover {
  color: var(--rg-blue);
}
.rg-link:hover:after {
  transform: translateX(4px);
}
.rg-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--rg-muted);
  margin: 0 0 12px;
}
.rg-meta > * + *:before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(11, 15, 23, 0.25);
  margin: 0 14px 2px 0;
  vertical-align: middle;
}
.rg-meta__cat {
  color: var(--rg-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.rg-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(4, 9, 22, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.rg-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 56px 0 0;
}
.rg-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1px solid var(--rg-line);
  color: var(--rg-ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--rg-fast) var(--rg-ease), color var(--rg-fast) var(--rg-ease), border-color var(--rg-fast) var(--rg-ease);
}
.rg-pagination a.page-numbers:hover {
  border-color: var(--rg-blue);
  color: var(--rg-blue);
}
.rg-pagination .page-numbers.current {
  background: var(--rg-ink);
  border-color: var(--rg-ink);
  color: #fff;
}
.rg-pagination .page-numbers.dots {
  border: 0;
  min-width: 0;
}
.rg-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--rg-muted);
}
.rg-empty h2 {
  color: var(--rg-ink);
}


/* 18c. News listing (index.php / category.php)
   ========================================================================== */
.rg-news {
  padding: 48px 0 64px;
}
@media (min-width: 1024px) {
  .rg-news {
    padding: 72px 0 96px;
  }
}

/* Filter / search bar */
.rg-news__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 0 0 28px;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--rg-line);
}
.rg-news__label {
  margin: 0;
}
.rg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rg-pill {
  padding: 9px 18px;
  border-radius: 30px;
  border: 1px solid var(--rg-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--rg-ink);
  text-decoration: none;
  transition: background-color var(--rg-fast) var(--rg-ease), color var(--rg-fast) var(--rg-ease), border-color var(--rg-fast) var(--rg-ease);
}
.rg-pill:hover {
  border-color: var(--rg-blue);
  color: var(--rg-blue);
}
.rg-pill.is-active {
  background: var(--rg-ink);
  border-color: var(--rg-ink);
  color: #fff;
}
.rg-search {
  position: relative;
  width: 100%;
  margin: 0;
}
@media (min-width: 768px) {
  .rg-search {
    width: 300px;
  }
}
.rg-search input[type=search] {
  height: 48px;
  border-radius: 30px;
  padding: 10px 56px 10px 20px;
  font-size: 15px;
  background: #f5f7f9;
  border-color: transparent;
}
.rg-search input[type=search]:focus {
  background: #fff;
}
.rg-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 40px;
  height: 40px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0;
}

/* Lead story */
.rg-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--rg-radius-lg);
  overflow: hidden;
  background: var(--rg-navy);
  color: #fff;
  box-shadow: var(--rg-shadow-lg);
  margin: 0 0 48px;
}
@media (min-width: 1024px) {
  .rg-lead {
    grid-template-columns: 7fr 5fr;
    min-height: 440px;
  }
}
.rg-lead__media {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rg-navy-2), var(--rg-navy));
}
.rg-lead__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--rg-ease);
}
.rg-lead:hover .rg-lead__media img {
  transform: scale(1.04);
}
.rg-lead__body {
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #0a1626 0%, var(--rg-navy) 100%);
}
@media (min-width: 1024px) {
  .rg-lead__body {
    padding: 48px;
  }
}
.rg-lead__body:before {
  /* soft brand glow */
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(41, 171, 226, 0.18), rgba(41, 171, 226, 0));
  pointer-events: none;
}
.rg-lead .rg-meta {
  color: rgba(255, 255, 255, 0.65);
}
.rg-lead .rg-meta > * + *:before {
  background: rgba(255, 255, 255, 0.3);
}
.rg-lead__title {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 16px;
}
@media (min-width: 1200px) {
  .rg-lead__title {
    font-size: 36px;
  }
}
.rg-lead__title a {
  color: #fff;
  text-decoration: none;
  background-image: linear-gradient(var(--rg-blue), var(--rg-blue));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s var(--rg-ease);
}
.rg-lead:hover .rg-lead__title a {
  background-size: 100% 2px;
}
.rg-lead__body p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
}
.rg-lead .rg-link {
  color: #fff;
}

/* Grid: on page 1 the next two stories run wide (2-up), then 3-up */
.rg-news__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 32px;
}
@media (min-width: 768px) {
  .rg-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .rg-news__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .rg-news__grid > .rg-card {
    grid-column: span 2;
  }
  .rg-news__grid > .rg-card--wide {
    grid-column: span 3;
  }
}
.rg-card {
  display: flex;
  flex-direction: column;
}
.rg-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--rg-radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--rg-navy-2), var(--rg-navy));
  margin: 0 0 20px;
  box-shadow: var(--rg-shadow-sm);
  transition: box-shadow var(--rg-med) var(--rg-ease), transform var(--rg-med) var(--rg-ease);
}
.rg-card--wide .rg-card__media {
  aspect-ratio: 16 / 10;
}
.rg-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--rg-ease);
}
.rg-card__media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 9, 22, 0) 55%, rgba(4, 9, 22, 0.35) 100%);
}
.rg-card:hover .rg-card__media {
  box-shadow: var(--rg-shadow-lg);
  transform: translateY(-4px);
}
.rg-card:hover .rg-card__media img {
  transform: scale(1.05);
}
.rg-date {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  width: 56px;
  padding: 8px 0 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--rg-muted);
  box-shadow: 0 6px 16px rgba(4, 9, 22, 0.15);
}
.rg-date strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--rg-ink);
  margin: 0 0 2px;
}
.rg-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.rg-card__title {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 10px;
}
.rg-card--wide .rg-card__title {
  font-size: 25px;
}
.rg-card__title a {
  color: var(--rg-ink);
  text-decoration: none;
  transition: color var(--rg-fast) var(--rg-ease);
}
.rg-card:hover .rg-card__title a {
  color: var(--rg-blue);
}
.rg-card__body p {
  color: var(--rg-muted);
  font-size: 0.95em;
  line-height: 1.6;
  margin: 0 0 16px;
}
.rg-card__body .rg-link {
  margin-top: auto;
  font-size: 15px;
}


/* 18d. Case studies listing (archive.php)
   ========================================================================== */
.rg-projects {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, #fff 0%, #f5f7f9 100%);
}
@media (min-width: 1024px) {
  .rg-projects {
    padding: 80px 0 110px;
  }
}
.rg-projects__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 1024px) {
  .rg-projects__list {
    gap: 96px;
  }
}
.rg-project {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
}
@media (min-width: 1024px) {
  .rg-project {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
  }
  .rg-project.is-flipped {
    grid-template-columns: 5fr 7fr;
  }
  .rg-project.is-flipped .rg-project__media {
    order: 2;
  }
}
.rg-project__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: var(--rg-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--rg-navy-2), var(--rg-navy));
  box-shadow: var(--rg-shadow-lg);
  isolation: isolate;
}
.rg-project__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--rg-ease);
}
.rg-project__media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 9, 22, 0) 50%, rgba(4, 9, 22, 0.55) 100%);
  opacity: 0;
  transition: opacity var(--rg-med) var(--rg-ease);
}
.rg-project__view {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--rg-med) var(--rg-ease), transform var(--rg-med) var(--rg-ease);
}
.rg-project:hover .rg-project__media img {
  transform: scale(1.05);
}
.rg-project:hover .rg-project__media:after,
.rg-project:hover .rg-project__view {
  opacity: 1;
  transform: none;
}
.rg-project__body {
  position: relative;
}
.rg-project__num {
  display: block;
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(41, 171, 226, 0.55);
  margin: 0 0 12px;
}
@media (min-width: 1200px) {
  .rg-project__num {
    font-size: 88px;
  }
}
.rg-project__title {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 22px;
}
@media (min-width: 1200px) {
  .rg-project__title {
    font-size: 36px;
  }
}
.rg-project__title a {
  color: var(--rg-ink);
  text-decoration: none;
  transition: color var(--rg-fast) var(--rg-ease);
}
.rg-project__title a:hover {
  color: var(--rg-blue);
}
.rg-project__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}
.rg-project__facts > div {
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--rg-line);
  box-shadow: var(--rg-shadow-sm);
  min-width: 150px;
}
.rg-project__facts dt,
.rg-project__facts dd {
  display: block;
  float: none;
  width: auto;
}
.rg-project__facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rg-muted);
  margin: 0 0 4px;
}
.rg-project__facts dt i {
  color: var(--rg-blue);
  margin-right: 4px;
}
.rg-project__facts dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--rg-ink);
}
.rg-project__body p {
  color: var(--rg-muted);
  margin: 0 0 26px;
  max-width: 46ch;
}
.rg-project .btns-holder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}


/* 18e. Mobile sticky enquiry bar
   ========================================================================== */
.rg-enquire-bar {
  display: none;
}
@media (max-width: 767px) {
  .rg-enquire-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 990;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 40px;
    background: rgba(4, 9, 22, 0.9);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
            backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 36px rgba(4, 9, 22, 0.35);
    transform: translateY(calc(100% + 30px));
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s var(--rg-ease), opacity 0.3s var(--rg-ease), visibility 0.5s;
  }
  .rg-bar-on .rg-enquire-bar,
  html:not(.rg-motion) .rg-enquire-bar {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  /* keep out of the way of the open mobile menu / lightbox */
  .menu-active .rg-enquire-bar,
  .fancybox-active .rg-enquire-bar {
    transform: translateY(calc(100% + 30px));
    opacity: 0;
    visibility: hidden;
  }
  .rg-enquire-bar__call {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    min-height: 46px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }
  .rg-enquire-bar__call i {
    color: var(--rg-blue);
  }
  .rg-enquire-bar__btn {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }
  .rg-enquire-bar__btn:hover {
    transform: none;
  }
  /* room for the bar so it never covers the footer's last line */
  #footer {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  .back-to-top,
  .fixed-position ~ .back-to-top {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 40px;
    height: 40px;
  }
}


/* 19. Motion: entrance + scroll reveal
   --------------------------------------------------------------------------
   html.rg-motion is set in <head> only when the visitor hasn't asked for
   reduced motion. Scroll reveals are opt-in via [data-reveal], which the
   script only adds to elements that start below the fold – so nothing is
   ever hidden if JavaScript fails.
   ========================================================================== */

/* Hero entrance – caption content rises in on load */
@-webkit-keyframes rgRise {
  from { opacity: 0; -webkit-transform: translate3d(0, 24px, 0); transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; -webkit-transform: none; transform: none; }
}
@keyframes rgRise {
  from { opacity: 0; -webkit-transform: translate3d(0, 24px, 0); transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; -webkit-transform: none; transform: none; }
}
@-webkit-keyframes rgFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes rgFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-webkit-keyframes rgSettle {
  from { -webkit-transform: scale(1.08); transform: scale(1.08); }
  to   { -webkit-transform: scale(1); transform: scale(1); }
}
@keyframes rgSettle {
  from { -webkit-transform: scale(1.08); transform: scale(1.08); }
  to   { -webkit-transform: scale(1); transform: scale(1); }
}

.rg-motion .hero-block .bg-image img,
.rg-motion .hero-block .bg-video video {
  -webkit-animation: rgSettle 2.4s var(--rg-ease) both;
          animation: rgSettle 2.4s var(--rg-ease) both;
}
.rg-motion .hero-block:not(.v3) .caption > *,
.rg-motion .hero-block.v3 .caption-holder > *,
.rg-motion .hero-block .breadcrumbs-bar {
  -webkit-animation: rgRise 0.9s var(--rg-ease) both;
          animation: rgRise 0.9s var(--rg-ease) both;
}
.rg-motion .hero-block.v3 .caption-holder {
  -webkit-animation: rgFade 0.8s var(--rg-ease) both;
          animation: rgFade 0.8s var(--rg-ease) both;
}
.rg-motion .hero-block:not(.v3) .caption > *:nth-child(1),
.rg-motion .hero-block.v3 .caption-holder > *:nth-child(1) { -webkit-animation-delay: 0.15s; animation-delay: 0.15s; }
.rg-motion .hero-block:not(.v3) .caption > *:nth-child(2),
.rg-motion .hero-block.v3 .caption-holder > *:nth-child(2) { -webkit-animation-delay: 0.27s; animation-delay: 0.27s; }
.rg-motion .hero-block:not(.v3) .caption > *:nth-child(3),
.rg-motion .hero-block.v3 .caption-holder > *:nth-child(3) { -webkit-animation-delay: 0.39s; animation-delay: 0.39s; }
.rg-motion .hero-block:not(.v3) .caption > *:nth-child(4) { -webkit-animation-delay: 0.51s; animation-delay: 0.51s; }
.rg-motion .hero-block:not(.v3) .caption > *:nth-child(5) { -webkit-animation-delay: 0.63s; animation-delay: 0.63s; }
.rg-motion .hero-block:not(.v3) .caption > *:nth-child(n+6) { -webkit-animation-delay: 0.75s; animation-delay: 0.75s; }
.rg-motion .hero-block .features {
  -webkit-animation: rgFade 1s var(--rg-ease) 0.7s both;
          animation: rgFade 1s var(--rg-ease) 0.7s both;
}

/* Feature pills under the home hero cascade in */
.rg-motion .features-bar .features-slider .slide {
  -webkit-animation: rgRise 0.7s var(--rg-ease) both;
          animation: rgRise 0.7s var(--rg-ease) both;
}
.rg-motion .features-bar .features-slider .slide:nth-child(1) { -webkit-animation-delay: 0.55s; animation-delay: 0.55s; }
.rg-motion .features-bar .features-slider .slide:nth-child(2) { -webkit-animation-delay: 0.62s; animation-delay: 0.62s; }
.rg-motion .features-bar .features-slider .slide:nth-child(3) { -webkit-animation-delay: 0.69s; animation-delay: 0.69s; }
.rg-motion .features-bar .features-slider .slide:nth-child(4) { -webkit-animation-delay: 0.76s; animation-delay: 0.76s; }
.rg-motion .features-bar .features-slider .slide:nth-child(5) { -webkit-animation-delay: 0.83s; animation-delay: 0.83s; }
.rg-motion .features-bar .features-slider .slide:nth-child(6) { -webkit-animation-delay: 0.90s; animation-delay: 0.90s; }
.rg-motion .features-bar .features-slider .slide:nth-child(n+7) { -webkit-animation-delay: 0.97s; animation-delay: 0.97s; }

/* Scroll reveal states */
.rg-motion [data-reveal] {
  opacity: 0;
  -webkit-transform: translate3d(0, 28px, 0);
          transform: translate3d(0, 28px, 0);
  transition: opacity var(--rg-slow) var(--rg-ease), transform var(--rg-slow) var(--rg-ease);
  transition-delay: var(--rg-delay, 0s);
}
.rg-motion [data-reveal="fade"] {
  -webkit-transform: none;
          transform: none;
}
.rg-motion [data-reveal="left"] {
  -webkit-transform: translate3d(-32px, 0, 0);
          transform: translate3d(-32px, 0, 0);
}
.rg-motion [data-reveal="right"] {
  -webkit-transform: translate3d(32px, 0, 0);
          transform: translate3d(32px, 0, 0);
}
.rg-motion [data-reveal="scale"] {
  -webkit-transform: scale(0.96);
          transform: scale(0.96);
}
.rg-motion [data-reveal].is-in {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}
/* Once revealed, hand transforms back to hover effects */
.rg-motion [data-reveal].is-done {
  transition-delay: 0s;
}
.rg-motion .whyus-block .row .col[data-reveal].is-done,
.rg-motion .logos-grid .logo-holder[data-reveal].is-done,
.rg-motion .post-article[data-reveal].is-done {
  transition: transform var(--rg-med) var(--rg-ease), box-shadow var(--rg-med) var(--rg-ease), border-color var(--rg-med) var(--rg-ease);
}

/* Image mask reveal for two-column images */
.rg-motion [data-reveal="mask"] {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
  -webkit-clip-path: inset(0 0 100% 0 round var(--rg-radius));
          clip-path: inset(0 0 100% 0 round var(--rg-radius));
  transition: -webkit-clip-path 1.2s var(--rg-ease-in-out);
  transition: clip-path 1.2s var(--rg-ease-in-out);
  transition: clip-path 1.2s var(--rg-ease-in-out), -webkit-clip-path 1.2s var(--rg-ease-in-out);
}
.rg-motion [data-reveal="mask"].is-in {
  -webkit-clip-path: inset(0 0 0 0 round var(--rg-radius));
          clip-path: inset(0 0 0 0 round var(--rg-radius));
}
.rg-motion [data-reveal="mask"] img {
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
  transition: transform 1.6s var(--rg-ease);
}
.rg-motion [data-reveal="mask"].is-in img {
  -webkit-transform: scale(1);
          transform: scale(1);
}
.rg-motion [data-reveal="mask"].is-done img {
  transition: transform 1.4s var(--rg-ease);
}
.rg-motion .twocols-content .img-frame:hover [data-reveal="mask"].is-done img {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}

/* Heading accent bars draw in with their heading */
.rg-motion [data-reveal] .h2:before,
.rg-motion [data-reveal] h2:before,
.rg-motion h2[data-reveal]:before,
.rg-motion .h2[data-reveal]:before {
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  transition: transform 0.8s var(--rg-ease) 0.2s;
}
.rg-motion [data-reveal].is-in .h2:before,
.rg-motion [data-reveal].is-in h2:before,
.rg-motion h2[data-reveal].is-in:before,
.rg-motion .h2[data-reveal].is-in:before {
  -webkit-transform: scaleY(1);
          transform: scaleY(1);
}
.rg-motion [data-reveal] h2:after,
.rg-motion [data-reveal] .h2:after,
.rg-motion h2[data-reveal]:after,
.rg-motion .h2[data-reveal]:after {
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  transition: transform 0.8s var(--rg-ease) 0.25s;
}
.rg-motion [data-reveal].is-in h2:after,
.rg-motion [data-reveal].is-in .h2:after,
.rg-motion h2[data-reveal].is-in:after,
.rg-motion .h2[data-reveal].is-in:after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}


/* 20. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *:before, *:after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cta-block:after {
    display: none;
  }
  [data-reveal] {
    opacity: 1 !important;
    -webkit-transform: none !important;
            transform: none !important;
    -webkit-clip-path: none !important;
            clip-path: none !important;
  }
}
