/*
 Theme Name: Fluro 2025
 Theme URI: https://example.com/
 Author: Fluro
 Author URI: https://example.com/
 Description: Super minimal custom theme with no build tools.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: fluro2025
*/

/* ==========================================================================
   Local Fonts
   ========================================================================== */

@font-face {
  font-family: 'Hubot Sans';
  src: url('fonts/HubotSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Urbanist';
  src: url('fonts/Urbanist-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

/* Global smooth scroll (nice with the arrow) */
html {
  scroll-behavior: smooth;
}

.hero--ignite .hero-title,
.hero--define .hero-title {
  color: #1E1E1E!important;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px!important;
    }
}

.smaller-container {
    max-width: 993px!important;
}

.single-case_study .smaller-container {
    max-width: 1000px!important;
}

.left-container {
    max-width: 580px;
    margin-bottom: 50px;
}

.left-container2 {
    max-width: 640px;
}

.left-container3 {
    max-width: 420px;
}

.left-container4 {
    max-width: 690px;
}

/* Header base */
#site-header {
  transition: padding 0.3s ease, background 0.3s ease;
  z-index: 1000;
}

/* Header: transparent, still on top */
.site-header {
  background: transparent;
  transition: padding 0.3s ease;
  z-index: 1000;
}

.site-logo svg path {
  transition: fill 0.3s ease;
}

/* Shrink on scroll (from earlier) */
.site-header.scrolled {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.site-header.scrolled .site-logo svg {
  transform: scale(0.6);
}

/* THE IMPORTANT PART: colour switching */
.site-header.theme-dark .site-logo svg path {
  fill: #f2f2ec; /* white-ish */
}

.site-header.theme-light .site-logo svg path {
  fill: #000000; /* black */
}

/* Logo scaling */
.site-logo {
  position: relative;
  z-index: 3000; /* Above fs-menu (2000) but below toggle (3001) */
}

.site-logo svg {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

@media (max-width: 767.98px) {
  .site-logo svg {
    height: 60px;
  }
}

/* Shrunk state */
#site-header.scrolled {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#site-header.scrolled .site-logo svg {
  transform: scale(0.7);
}

.dark {
    background-color: #1E1E1E;
    color: #F2F2EC;
}

.light2 {
    background-color: #F2F2EC;
}

.red {
    background-color: #FE3501;
}

.pink {
    background-color: #FE01CD;
    color: #1E1E1E;
}

/* Hero wrapper */
.hero {
  position: relative;
}

.hero--not-home {
  min-height: 100vh;
}

.hero--home, .hero--about, .hero--amplify, .hero--startups {
  background-image: url("img/home-bg.jpg");
  background-size: cover;
  background-position: center center;
}

.hero--define {
  background-image: url("img/define-bg.jpg");
  background-size: cover;
  background-position: center center;
}

.hero--ignite {
  background-image: url("img/ignite-bg.jpg");
  background-size: cover;
  background-position: center center;
}

.hero--sectors {
  background-image: url("img/sectors-bg.jpg");
  background-size: cover;
  background-position: center center;
}

/* Huge responsive headline */
.hero-title {
  margin: 0;
  text-transform: uppercase;      /* style in caps, content remains sentence case */
  line-height: 1;                 /* matches your 120px line-height idea */
  letter-spacing: 0.02em;
  font-size: clamp(3.5rem, 8vw, 7rem);
  /* clamp(min, ideal, max):
     - min: 3.5rem (~56px) for small screens
     - ideal: 8vw (scales with viewport)
     - max: 7rem (~112px) for your 1366px canvas and up
  */
}

.hero--sectors .hero-title {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
}

/* Scroll arrow positioning */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  cursor: pointer;
  text-decoration: none;
}

.hero-scroll svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-padding {
  padding-top: 80px;
  padding-bottom: 40px;
}

.regular-padding {
  padding-top: 40px;
  padding-bottom: 40px;
}

.larger-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.top-padding {
  padding-top: 40px;
}

.bottom-padding {
  padding-bottom: 40px;
}

.half-bottom-padding {
  padding-bottom: 20px;
}

@media (min-width: 768px) {

  .hero-padding {
    padding-top: 200px;
    padding-bottom: 100px;
  }
  
  .hero--ignite.hero-padding,
  .hero--define.hero-padding,
  .hero--amplify.hero-padding {
    padding-top: 150px;
    padding-bottom: 100px;
  }

  .top-padding {
    padding-top: 100px;
  }

  .bottom-padding {
    padding-bottom: 100px;
  }

  .half-bottom-padding {
    padding-bottom: 50px;
  }

  .regular-padding {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* ------------ TYPOGRAPHY ------------ */

/* Body copy defaults to Urbanist Medium */
body {
  font-family: "Urbanist", sans-serif;
  font-weight: 500; /* medium */
  font-style: normal;
  font-optical-sizing: auto;
  color: #1e1e1e; /* or your default */
  font-size: 1.125rem!important;
}

p {
  font-family: "Urbanist", sans-serif;
  font-weight: 500; /* medium */
}

ul li {
  font-family: "Urbanist", sans-serif;
  font-weight: 500; /* medium */
}

/* Headings use Hubot Sans, with heavy weights */
h1, h2, h3, h4, h5, h6 {
  font-family: "Hubot Sans", sans-serif;
  font-style: normal;
  font-stretch: 75%; /* Condensed */;
  font-weight: 800!important;
  margin-bottom: 15px!important;
}

h2 {
  font-size: 2.5rem!important;
  line-height: 2.75rem!important;
  text-transform: uppercase;
}

/* .smaller-h2 h2 {
  font-size: 1.75rem!important;
  line-height: 2rem!important;
} */

.dia-panel h2 {
  font-size: 2rem!important;
  line-height: 2.25rem!important;
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem!important;
  line-height: 1.75rem!important;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  h2 {
    font-size: 6.25rem!important;
    line-height: 6.625rem!important;
    text-transform: uppercase;
  }

  .smaller-h2 h2 {
    font-size: 3.2rem!important;
    line-height: 3.2rem!important;
  }

  .dia-panel h2 {
    font-size: 5rem!important;
    line-height: 5rem!important;
  }

  h3 {
    font-size: 2.5rem!important;
    line-height: 2.5rem!important;
    text-transform: uppercase;
  }
}

.half-width-case-studies .case-study-content {
  padding: 40px 100px;
}

@media (max-width: 767px) {
  .half-width-case-studies .case-study-content {
    padding: 40px 25px;
  }
}

.case-study-content h3 {
  font-size: 30px!important;
  line-height: 50px!important;
  text-transform: uppercase;
}

.case-study-content h2 {
  font-size: 60px!important;
  line-height: 60px!important;
  max-width: 100%!important;
  margin-bottom: 6px!important;
}

.case-study-content p, .cs-tile__content p {
  max-width: 330px;
}

.case-study-content p.p-longer {
  max-width: 370px;
}

.p-large {
  font-family: "Urbanist", sans-serif;
  font-weight: 700; /* regular */
  font-size: 1.5rem;
  line-height: 1.75rem;
}

.p-large span {
  font-weight: 400;
}

.p-medium {
  font-family: "Urbanist", sans-serif;
  font-weight: 700; /* regular */
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.red-text {
  color: #FE3501;
  font-weight: 900;
  font-style: italic;
}

/* Unordered lists in sections */
section ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

section ul li {
  position: relative;
  padding-left: 1.25em;
}

section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4em;
  height: 0.4em;
  background-color: #FE3501;
}

/* Exclude nav menus from bullet styling */
.fs-menu__list li,
.fs-menu__legal-list li,
.footer-nav__list li,
.footer-nav__legal-list li {
  padding-left: 0;
}

.fs-menu__list li::before,
.fs-menu__legal-list li::before,
.footer-nav__list li::before,
.footer-nav__legal-list li::before {
  display: none;
}

.light-red-text {
  color: #FE3501;
  font-weight: 700;
  font-style: italic;
}

/* Base wrapper */
.highlight-word {
  position: relative;
  display: inline-block;
  z-index: 0;

  /* This variable will hold whatever rotation class sets */
  --highlight-rotation: -3deg;
}

/* Rectangle behind */
.highlight-word::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -7px;
  right: -7px;
  z-index: -1;

  background-color: #FE3501; /* default, overridden by modifiers */

  transform-origin: left center;
  transform: rotate(var(--highlight-rotation)) scaleX(0);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--highlight-delay);
}

.highlight-small::before {
  left: -4px;
  right: -4px;
  top: 1px;
  bottom: -3px;
}

/* When visible: animate open */
.highlight-word.is-visible::before {
  transform: rotate(var(--highlight-rotation)) scaleX(1);
}

/* Red highlight */
.highlight-word--primary::before {
  background-color: #FE3501;
}

/* Pink highlight */
.highlight-word--secondary::before {
  background-color: #FE01CD;
  transform-origin: right center;
}

/* Pink highlight text starts light so it's readable pre-animation */
.highlight-word--secondary {
  color: #f2f2ec; /* or whatever your hero text colour is */
  transition: color 0.5s ease; 
}

/* Black highlight */
.highlight-word--black::before {
  background-color: #1E1E1E;
}

.highlight-word--black {
  color: #F2F2EC; /* or whatever your hero text colour is */
  transition: color 0.5s ease; 
}

.highlight-word--white::before {
  background-color: #F2F2EC;
}

.highlight-word--white {
  color: #1E1E1E;
  transition: color 0.5s ease; 
}

.highlight-word--red2::before {
  background-color: #FE3501;
  transform-origin: right center;
}

.highlight-word--red2 {
  color: #1E1E1E;
  transition: color 0.5s ease; 
}

.highlight-word--pink::before {
  background-color: #FE01CD;
}

.highlight-word--pink {
  /* color: #F2F2EC; */
  transition: color 0.5s ease;
}

.highlight-word--secondary.is-visible {
  /* color: #1E1E1E; */
  transition-delay: 0.4s;
}

.highlight-word--red2.is-visible {
  color: #F2F2EC;
  transition-delay: 0.4s;
}

.highlight-word--secondary.highlight-word--secondary-to-black.is-visible {
  color: #1E1E1E;
}

.highlight-word--pink.is-visible {
  color: #1E1E1E;
  transition-delay: 0.8s;
}

.highlight-word--primary-change {
  transition: color 0.5s ease;
}

.highlight-word--primary-change.is-visible {
  color: #F2F2EC;
  transition-delay: 0.4s;
}

/* 🔥 Rotation classes */
.highlight-rotate-1 {
  --highlight-rotation: 1deg;
}

.highlight-rotate-2 {
  --highlight-rotation: -1deg;
}

.highlight-rotate-3 {
  --highlight-rotation: -6deg;
}

/* ------------ CTA LINK ------------ */

.cta-link {
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 24px;
  line-height: 24px;
  text-transform: uppercase;
  text-decoration: none;
  margin-left: auto;
  color: #1E1E1E!important;
}

.cta-link--secondary {
  color: #F2F2EC!important;
}

.cta-link--black {
  display: inline-block;
  background-color: #1E1E1E;
  color: #F2F2EC!important;
  padding: 16px 10px 10px 20px;
  transition: transform 0.3s ease;
}

.cta-link--black:hover .cta-link__icon {
  transform: translate(0)!important;
}

.cta-link--black:hover {
  transform: rotate(-3deg)!important;
}

.cta-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 14px;
  margin-top: -10px;
  transition: transform 0.4s ease;
}

.cta-link:hover .cta-link__icon {
  transform: scale(1.1) rotate(var(--icon-rotate, 5deg));
}

.cta-link__icon--white {
  background-color: #1E1E1E;
}

.cta-link__icon--black {
  background-color: #F2F2EC;
}

.cta-link__icon--red {
  background-color: #FE3501;
}

.cta-link__icon--pink {
  background-color: #FE01CD;
}

/* DIA Panels */

.dia-panel {
  position: relative;
  padding: 170px 20px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dia-panel--red {
  background-color: #FE3501;
  color: #1E1E1E
}

.dia-panel--off-white {
  background-color: #F2F2EC;
  color: #1E1E1E;
}

.dia-panel--black {
  background-color: #1E1E1E;
  color: #F2F2EC;
}

.illustration-container {
  position: absolute;
  top: 20px;
  left: 20px;

  /* Animation initial state */
  opacity: 0;
  transition: opacity 0.6s ease-out;
  transition-delay: var(--illustration-delay, 0s);
}

/* Animate in when visible */
.illustration-container.is-visible {
  opacity: 1;
}

.ignite-panel .illustration-container {
  top: 0;
  left: 0;
}

.logos-row {
  margin-bottom: 50px;
}

.logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 20px;
}

.logo-panel img {
  max-width: 100%;
}

.split-image-section {
  position: relative;
  overflow: hidden;
  color: #F2F2EC;
  min-height: 475px;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .split-image-section {
    min-height: 300px;
  }
}

.split-image-section.cs-latest-work {
  min-height: 600px;
}

/* Background image layer */
.split-image-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
  transition: transform 1s ease;
}

.cs-heidi::after {
  background-image: url('img/heidi-london3.jpg');
}

.cs-molnlycke::after {
  background-image: url('img/molnlicke-campaign-guidelines-1.jpg');
}

.cs-osd-healthcare::after {
  background-image: url('img/osd-bg.jpg');
}

.cs-doctornow::after {
  background-image: url('img/dr-now-bg.jpg');
}

.cs-genomekey::after {
  background-image: url('img/genome-bg.jpg');
}

.cs-balance-activ::after {
  background-image: url('img/v-rev-bg.jpg');
}

.cs-lift::after {
  background-image: url('img/lift-bg.jpg');
}

.cs-earol::after {
  background-image: url('img/earol-bg.jpg');
}

.cs-geneguru::after {
  background-image: url('img/gene-guru-bg.jpg');
}

.cs-genomekey2::after {
  background-image: url('img/genome-bg2.jpg');
}

.cs-ifast::after {
  background-image: url('img/ifast-bg.jpg');
}

/* Zoom on hover for linked sections */
a.split-image-section:hover::after {
  transform: scale(1.05);
}

/* Dark overlay */
.split-image-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(30, 30, 30, 0.65) 50%, transparent);
  z-index: -1;
}

.split-image-section.cs-latest-work::before {
  display: none;
}

.latest-work-box {
  background-color: #1E1E1E;
  padding: 22px;
}

/* Content on top */
.split-image-section .container {
  position: relative;
  z-index: 1;
}

.split-image-section h2,
.split-image-section h3,
.split-image-section p {
  color: #F2F2EC;
}

.split-image-section {
  text-decoration: none;
}

.case-study-section span {
  position: relative;
  top: -10px;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .case-study-section span {
    top: -3px;
  }
}

.case-study-section:hover span {
  background-color: #FE01CD;  
}

/* Form styles */

.contact-intro {
  margin-bottom: 40px;
}

.contact-image-container {
  text-align: right;
}

.contact-image {
  display: block;
  width: 283px;
  height: 283px;
  margin-top: 90px;
  margin-right: 10px;
  margin-left: auto;
}

@media (max-width: 767px) {
  .contact-image {
    width: 183px;
    height: 183px;
    margin-top: 20px;
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 20px;
  }
}

input, textarea {
  border: 1px solid #1E1E1E!important;
  box-shadow: none!important;
  border-radius: 0!important;
  padding: 30px 20px!important;
  font-size: 1.125rem!important;
  font-family: 'Urbanist', sans-serif!important;
  background-color: transparent!important;
}

label {
  font-family: 'Urbanist', sans-serif!important;
  font-size: 1.125rem!important;
}

.gform_footer {
  margin-top: 40px!important;
}

.gform-theme--foundation .gform_fields {
  gap: 20px!important;
}

/* Gravity Forms submit button */
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button[type="submit"] {
  appearance: none!important;
  border: none!important;
  border: none!important;
  background-color: #1E1E1E!important;/* black */
  color: #f2f2ec!important;           /* white text */
  font-family: "Hubot Sans", sans-serif!important;
  font-stretch: 75%; /* Condensed */;
  letter-spacing: 1.2px!important;
  font-weight: 800!important;
  font-size: 24px!important;
  line-height: 24px!important;
  text-transform: uppercase!important;

  padding: 0.9em 3em 0.9em 1.4em!important; /* extra space on the right for arrow */
  cursor: pointer!important;

  /* Arrow icon */
  background-image: url("img/arrow-white.svg")!important;
  background-repeat: no-repeat!important;
  background-position: right 1.2em center!important;
  background-size: 1.1em auto!important;

  transition:
    background-position 0.2s ease-out,
    background-color 0.2s ease-out;
}

.gform_submission_error {
  font-size: 1.125rem!important;
  line-height: 1.5rem!important;
}


/* Footer styles */

.site-footer {
  padding: 20px 0;
  background-color: #000000;
  color: #F2F2EC;
}

.site-footer p {
  margin: 0;
}

.site-footer svg {
  height: 80px;
}

/* Burger button */
.menu-toggle {
  position: relative;
  z-index: 3001; /* higher than .fs-menu (which was 2000) */
  background: transparent;
  border: 0;
  padding: 0.75rem;
  cursor: pointer;

  /* Force the burger colour */
  color: #F2F2EC;
}

/* When over light sections */
.menu-toggle.theme-light {
  color: #1E1E1E;
}

/* When over dark sections */
.menu-toggle.theme-dark {
  color: #F2F2EC;
}

body.menu-open .menu-toggle {
  color: #F2F2EC;
}

/* The 3-line icon */
.menu-toggle__icon {
  display: inline-block;
  width: 36px;     /* overall width */
  height: 3px;     /* thickness */
  background: currentColor;
  position: relative;

  transition: background 0.2s ease-out;
}

/* Top and bottom lines */
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 36px;
  height: 3px;     /* thickness */
  background: currentColor;

  transition:
    transform 0.25s ease-out,
    top 0.25s ease-out,
    opacity 0.2s ease-out;
}

/* Spacing between lines (chunkier) */
.menu-toggle__icon::before { top: -11px; }
.menu-toggle__icon::after  { top:  11px; }

/* ===== Open state: turn into an X ===== */
body.menu-open .menu-toggle__icon {
  background: transparent; /* hide middle line */
}

body.menu-open .menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Logo always white when menu is open */
body.menu-open .site-logo svg path {
  fill: #f2f2ec !important;
}

/* Fullscreen menu overlay */
.fs-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #1E1E1E;
  color: #f2f2ec;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.fs-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fs-menu__inner {
  height: 100%;
  position: relative;
  padding: 10rem 0 3rem; /* Extra top padding for logo */
}

/* Close “hit area” (optional) */
.fs-menu__close {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  cursor: default;
}

/* Keep actual content clickable above the close layer */
.fs-menu .container,
.fs-menu .fs-menu__grid {
  position: relative;
  z-index: 1;
}

.fs-menu__heading {
  font-size: 1.25rem;
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.fs-menu__col:nth-child(2) {
  margin-top: 48px;
}

/* Menu lists */
.fs-menu__list,
.fs-menu__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fs-menu__list a,
.fs-menu__legal-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.fs-menu__list a:hover,
.fs-menu__legal-list a:hover {
  text-decoration: underline;
}

/* WP current states */
.fs-menu__list .current-menu-item > a,
.fs-menu__list .current-menu-ancestor > a,
.fs-menu__list .current_page_item > a {
  text-decoration: underline;
}

/* Fullscreen menu links in col 1 & 2 */
.fs-menu__col .fs-menu__list a {
  font-family: "Hubot Sans", sans-serif;
  font-style: normal;
  font-stretch: 75%;
  font-weight: 800 !important;

  font-size: 5.25rem;
  line-height: 5.625rem;
  text-transform: uppercase;

  color: #F2F2EC; /* default white */
  text-decoration: none;

  position: relative;
  display: inline-block;
  z-index: 0;

  padding: 0 0.06em; /* tiny breathing room for the highlight */

  /* tweak later as needed */
  --hl-bg: #FE01CD;  /* start with one highlight colour */
  --hl-rot: -1deg;
}

.fs-menu__col .fs-menu__list a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: var(--hl-bg);
  transform-origin: left center;
  transform: rotate(var(--hl-rot)) scaleX(0);

  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* hover swipe */
.fs-menu__col .fs-menu__list a:hover::before {
  transform: rotate(var(--hl-rot)) scaleX(1);
}

/* current page swipe */
.fs-menu__col .fs-menu__list li.current-menu-item > a::before,
.fs-menu__col .fs-menu__list li.current-menu-ancestor > a::before,
.fs-menu__col .fs-menu__list li.current_page_item > a::before {
  transform: rotate(var(--hl-rot)) scaleX(1);
}

/* smooth colour transition */
.fs-menu__col .fs-menu__list a {
  transition: color 0.2s ease;
}

/* when highlight is present, text goes black */
.fs-menu__col .fs-menu__list a:hover,
.fs-menu__col .fs-menu__list li.current-menu-item > a,
.fs-menu__col .fs-menu__list li.current-menu-ancestor > a,
.fs-menu__col .fs-menu__list li.current_page_item > a {
  color: #1E1E1E;
}

.fs-menu__col .fs-menu__list a {
  padding: 0 0.06em;
}

/* Bottom bar */
.fs-menu__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

/* Legal links - inline with pipe separators */
.fs-menu__legal-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.fs-menu__legal-list li {
  display: flex;
  align-items: center;
}

.fs-menu__legal-list li:not(:last-child)::after {
  content: "|";
  color: #FE3501;
  margin: 0 1rem;
  font-weight: 600;
}

.fs-menu__legal-list li a {
  opacity: 0.85;
}

/* Social */
.fs-menu__social {
  display: flex;
  gap: 0.75rem;
}

.fs-menu__social-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 242, 236, 0.25);
  color: inherit;
  text-decoration: none;
}

.fs-menu__social-icon svg {
  width: 44px;
  height: 44px;
}

/* Responsive spacing */
@media (max-width: 991.98px) {
  .fs-menu__inner { padding-top: 8rem; overflow-y: auto; }
  .fs-menu__col { margin-bottom: 2rem; }

  /* Pack stacked columns together instead of distributing space between them */
  .fs-menu__grid {
    align-content: flex-start;
  }

  .fs-menu__bottom {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .fs-menu__legal-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .fs-menu__legal-list li:not(:last-child)::after {
    display: none;
  }

  /* Font size */
  .fs-menu__col .fs-menu__list a {
    font-size: 3rem;
    line-height: 1.1;
  }

  /* Center everything */
  .fs-menu__col,
  .fs-menu__heading {
    text-align: center;
  }

  /* Remove desktop top gap — separator handles the spacing */
  .fs-menu__col:nth-child(2) {
    margin-top: 0;
  }

  /* Separator line between the two menus */
  .fs-menu__col:nth-child(2)::before {
    content: "";
    display: block;
    width: 58px;
    height: 1px;
    background-color: #F2F2EC;
    margin: 0 auto 2rem;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ------------ AWARDS GRID ------------ */

.awards-grid-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.awards-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.awards-grid__row {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.awards-grid__row img {
  max-width: 115px;
  height: auto;
}

@media (max-width: 991.98px) {
  .awards-grid-wrapper {
    justify-content: center;
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .awards-grid-wrapper {
    width: 100%;
  }

  .awards-grid__row {
    gap: 10px;
  }

  .awards-grid__row img {
    max-width: 85px;
  }
}

/* ------------ TEAM GRID ------------ */

.team-grid {
  margin-top: 2rem;
}

.team-member {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Background image on pseudo-element so we can filter it independently */
.team-member::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--team-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: filter 0.3s ease;
  z-index: 0;
  filter: grayscale(100%) brightness(1);
}

.team-member:hover::before {
  filter: grayscale(100%) brightness(0.7);
}

/* Colored bar that slides up */
.team-member__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 33.333%;
  background-color: #CB00A4;
  transform: translateY(calc(100% + 2px));
  transition: transform 0.3s ease 0.15s; /* delay on hover off */
  z-index: 1;
}

.team-member:hover .team-member__bar {
  transform: translateY(0);
  transition: transform 0.3s ease; /* no delay on hover on */
}

/* Info container - name and role */
.team-member__info {
  position: absolute;
  bottom: 33.333%;
  left: 0;
  right: 0;
  padding: 0 1rem;
  transform: translateY(60%);
  opacity: 0;
  transition: opacity 0.3s ease; /* no delay on hover off */
  text-align: left;
  z-index: 2;
}

.team-member:hover .team-member__info {
  opacity: 1;
  transition: opacity 0.3s ease 0.15s; /* delay on hover on */
}

/* Touch devices: pink bar below image, info sits inside it */
@media (hover: none) {
  .team-member {
    aspect-ratio: unset;
  }

  .team-member::before {
    position: relative;
    inset: unset;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .team-member__bar {
    display: block;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    height: 6rem;
    transform: none;
  }

  .team-member__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    transform: none;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem;
  }

  .team-member__role {
    font-size: 0.75rem;
    margin-top: 0.125rem;
  }
}

/* Name */
.team-member__name {
  display: block;
  color: #F2F2EC;
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 3.75rem;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .team-member__name {
    font-size: 1.5rem;
  }
}

/* Role/job title */
.team-member__role {
  display: block;
  color: #F2F2EC;
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .team-member__role {
    font-size: 16px;
  }
}

/* ------------ TEAM MODAL ------------ */

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (max-width: 767px) {
  .team-modal {
    padding: 1rem;
    align-items: flex-end;
  }
}

.team-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.team-modal__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  background-color: #1E1E1E;
  color: #F2F2EC;
  overflow-y: auto;
}

@media (max-width: 767px) {
  .team-modal__inner {
    max-height: 88vh;
  }
}

.team-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4001;
  background: transparent;
  border: none;
  color: #F2F2EC;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 0.2s ease;
}

.team-modal__close:hover {
  opacity: 0.7;
}

.team-modal__content {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100%;
}

@media (min-width: 768px) {
  .team-modal__content {
    grid-template-columns: 1fr 1fr;
  }
}

.team-modal__image {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .team-modal__image {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 768px) {
  .team-modal__image {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.team-modal__info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .team-modal__info {
    padding: 1.25rem 1rem;
  }
}

.team-modal__name {
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: 3.75rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .team-modal__name {
    font-size: 2rem;
  }
}

.team-modal__role {
  font-family: "Urbanist", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #CB00A4;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .team-modal__role {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

.team-modal__bio {
  font-family: "Urbanist", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .team-modal__bio {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

.team-modal__bio p {
  margin-bottom: 1rem;
}

.team-modal__bio p:last-child {
  margin-bottom: 0;
}

/* Body scroll lock when modal open */
body.team-modal-open {
  overflow: hidden;
}

/* ------------ CASE STUDIES ------------ */

.single-case_study h3 {
  font-family: "Urbanist", sans-serif!important;
  font-size: 1.5rem!important;
  line-height: 1.813rem!important;
  text-transform: none!important;
  font-weight: 400!important;
}

/* Case Study Hero */
.fc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fc-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fc-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: #1E1E1E66;
  z-index: 1;
}

.fc-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.fc-hero__heading {
  font-size: 5rem;
  color: #F2F2EC;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.fc-hero__subheading {
  font-size: 2.5rem;
  color: #F2F2EC;
  text-transform: uppercase;
  margin: 0;
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
}

/* Content + Image Layout */
.fc-content-image {
  padding: 100px 0;
  overflow: hidden;
}

.fc-content-image__content {
  padding-right: 2rem;
}

.fc-content-image h2, .fc-content-grid h2, .fc-stats h2 {
  font-size: 2.5rem!important;
  line-height: 3rem!important;
}

.fc-content-image p, .fc-content-grid p, .fc-stats p {
  font-size: 1.125rem!important;
  line-height: 1.375rem!important;
}

.fc-content-image__image-wrap {
  position: relative;
}

.fc-content-image__image-pair {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

.fc-content-image__image-wrap--half {
  flex: 1 1 0;
  min-width: 0;
}

.fc-content-image__image-wrap--half .fc-content-image__image {
  height: 100%;
  object-fit: cover;
}

.fc-content-image__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Overflow variant - image extends to edge of viewport */
@media (min-width: 992px) {
  .fc-content-image--overflow .fc-content-image__image-col {
    position: relative;
  }

  .fc-content-image--overflow .fc-content-image__image {
    width: auto;
    height: auto;
  }
}

/* Content Grid (2x2) */
.fc-content-grid {
  padding: 100px 0;
}

@media (max-width: 991.98px) {
  .fc-content-grid {
    padding: 50px 0;
  }
}

.fc-content-grid__row {
  --bs-gutter-x: 20px;
  margin-bottom: 20px;
}

.fc-content-grid__row:last-child {
  margin-bottom: 0;
}

.fc-content-grid__cell {
  overflow: hidden;
}

.fc-content-grid__cell--content {
  display: flex;
  align-items: center;
  padding: 2rem 4.2rem 2rem 0;
}

@media (max-width: 991.98px) {
  .fc-content-grid__cell--content {
    padding: 0 0 2rem 0;
  }
}

.fc-content-grid__cell--image {
  position: relative;
}

.fc-content-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fc-content-grid__bottom-content h2 {
  font-size: 3.75rem!important;
  line-height: 3.75rem!important;
}

@media (max-width: 991.98px) {
  .fc-content-grid__bottom-content h2 {
    text-align: left!important;
  }
}

/* Stats */
.fc-stats {
  background-color: #FFFFFF;
  color: #1E1E1E;
  padding: 100px 0;
}

@media (max-width: 991.98px) {
  .fc-stats {
    padding: 50px 0;
  }
}

.fc-stats__intro {
  margin-bottom: 3rem;
}

.fc-stats__row {
  margin-bottom: 3rem;
}

.fc-stats__item {
  text-align: center;
  margin-bottom: 2rem;
}

.fc-stats__number {
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(5rem, 13.5vw, 12.5rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.fc-stats--count-4 .fc-stats__number {
  font-size: 6.25rem;
}

.fc-stats__description {
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.fc-stats--count-4 .fc-stats__description {
  font-size: 1.25rem;
}

.fc-stats__bottom p:first-child {
  text-align: center;
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.75rem)!important;
  line-height: 1.2!important;
  text-transform: uppercase;
}

.highlight-word--stat-2::before {
  background-color: #F2F2EC;
}

.highlight-word--stat-2 {
  color: #E74926;
}

.highlight-word--stat-3::before {
  background-color: #1E1E1E;
}

.highlight-word--stat-3 {
  color: #E636C7;
}

@media (max-width: 767.98px) {
  .fc-stats__number {
    font-size: 5rem;
  }

  .fc-stats--count-4 .fc-stats__number {
    font-size: 5rem;
  }

  .fc-stats__description {
    font-size: 1.5rem;
  }

  .fc-stats--count-4 .fc-stats__description {
    font-size: 1.5rem;
  }

  .fc-stats__bottom p:first-child {
    font-size: 2rem!important;
  }
}

/* Full Width Image */
.fc-full-width-image {
  width: 100%;
  line-height: 0;
}

.fc-full-width-image__img {
  width: 100%;
  height: auto;
  display: block;
}

/* No padding variant */
.fc-content-image--no-padding {
  padding: 0;
}

/* Mobile spacing */
@media (max-width: 991.98px) {
  .fc-content-image {
    padding: 50px 0;
  }

  .fc-content-image--no-padding {
    padding: 50px 0;
  }

  .fc-content-image__content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

/* ------------ FOOTER NAV SECTION ------------ */
/* In-page version of the fullscreen menu */

.footer-nav {
  background: #1E1E1E;
  color: #f2f2ec;
}

.footer-nav__heading {
  font-size: 1.25rem;
  font-family: "Hubot Sans", sans-serif;
  font-stretch: 75%;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
    .footer-nav__col--right {
    align-self: stretch;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 60px!important;
  }

  .footer-nav__col:nth-child(2) {
    margin-top: 48px;
  }
}

/* Menu lists */
.footer-nav__list,
.footer-nav__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav__list a,
.footer-nav__legal-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 300;
}

.footer-nav__list a:hover,
.footer-nav__legal-list a:hover {
  text-decoration: underline;
}

/* WP current states */
.footer-nav__list .current-menu-item > a,
.footer-nav__list .current-menu-ancestor > a,
.footer-nav__list .current_page_item > a {
  text-decoration: underline;
}

/* Footer nav links in col 1 & 2 */
.footer-nav__col .footer-nav__list a {
  font-family: "Hubot Sans", sans-serif;
  font-style: normal;
  font-stretch: 75%;
  font-weight: 800 !important;

  font-size: 5.25rem;
  line-height: 5.625rem;
  text-transform: uppercase;

  color: #F2F2EC;
  text-decoration: none;

  position: relative;
  display: inline-block;
  z-index: 0;

  padding: 0 0.06em;

  --hl-bg: #FE01CD;
  --hl-rot: -1deg;
}

.footer-nav__col .footer-nav__list a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: var(--hl-bg);
  transform-origin: left center;
  transform: rotate(var(--hl-rot)) scaleX(0);

  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* hover swipe */
.footer-nav__col .footer-nav__list a:hover::before {
  transform: rotate(var(--hl-rot)) scaleX(1);
}

/* current page swipe */
.footer-nav__col .footer-nav__list li.current-menu-item > a::before,
.footer-nav__col .footer-nav__list li.current-menu-ancestor > a::before,
.footer-nav__col .footer-nav__list li.current_page_item > a::before {
  transform: rotate(var(--hl-rot)) scaleX(1);
}

/* smooth colour transition */
.footer-nav__col .footer-nav__list a {
  transition: color 0.2s ease;
}

/* when highlight is present, text goes black */
.footer-nav__col .footer-nav__list a:hover,
.footer-nav__col .footer-nav__list li.current-menu-item > a,
.footer-nav__col .footer-nav__list li.current-menu-ancestor > a,
.footer-nav__col .footer-nav__list li.current_page_item > a {
  color: #1E1E1E;
}

/* Social */
.footer-nav__social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-nav__social-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 242, 236, 0.25);
  color: inherit;
  text-decoration: none;
}

.footer-nav__social-icon svg {
  width: 44px;
  height: 44px;
}

/* Legal under socials */
.footer-nav__legal-list li {
  margin: 0 0 0.75rem;
  opacity: 0.85;
}

/* Responsive spacing */
@media (max-width: 991.98px) {
  .footer-nav__col { margin-bottom: 2rem; }

  .footer-nav__col .footer-nav__list a {
    font-size: 3rem;
    line-height: 3.5rem;
  }

  /* Center everything */
  .footer-nav__col,
  .footer-nav__heading {
    text-align: center;
  }

  .footer-nav__social {
    justify-content: center;
  }

  /* Separator line between the two nav columns */
  .footer-nav__col:nth-child(2)::before {
    content: "";
    display: block;
    width: 58px;
    height: 1px;
    background-color: #F2F2EC;
    margin: 0 auto 2rem;
  }
}

.lion-mouse {
  position: absolute;
  bottom: -8px;
  right: -40px;
  z-index: 1;
}

.wwd-panel {
  border: 1px solid #1E1E1E;
  height: 100%;
  padding: 35px 28px;
  position: relative;
}

.wwd-panel:hover h3 {
  color: #FE3501;
  transition: color 0.3s ease;
}

.wwd-panel--black {
  background-color: #1E1E1E;
  color: #F2F2EC;
}

.dark .wwd-panel {
  border-color: #F2F2EC;
}

/* Why Choose Us — cross border grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.why-panel {
  padding: 35px 28px;
}

.why-grid .why-panel:nth-child(odd) {
  border-right: 1px solid #1E1E1E;
}

.why-grid .why-panel:nth-child(-n+2) {
  border-bottom: 1px solid #1E1E1E;
}

.dark .why-grid .why-panel:nth-child(odd) {
  border-right-color: #F2F2EC;
}

.dark .why-grid .why-panel:nth-child(-n+2) {
  border-bottom-color: #F2F2EC;
}

@media (max-width: 767px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid .why-panel:nth-child(odd) {
    border-right: none;
  }

  .why-grid .why-panel:nth-child(-n+2) {
    border-bottom: none;
  }

  .why-grid .why-panel:not(:last-child) {
    border-bottom: 1px solid #1E1E1E;
  }

  .dark .why-grid .why-panel:not(:last-child) {
    border-bottom-color: #F2F2EC;
  }
}

/* ------------ SECTOR TRIGGERS ------------ */

.sector-trigger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  min-height: 375px;
}

@media (max-width: 767px) {
  .sector-trigger {
    min-height: 260px;
  }
}

.sector-trigger:hover,
.sector-trigger.is-active {
  background-color: #1E1E1E;
  color: #F2F2EC;
}

.sector-trigger:hover h3,
.sector-trigger.is-active h3 {
  color: #F2F2EC;
}

.sector-trigger:hover .cta-link,
.sector-trigger.is-active .cta-link {
  color: #F2F2EC !important;
}

.sector-trigger:hover .cta-link__icon,
.sector-trigger.is-active .cta-link__icon {
  background-color: #F2F2EC;
}

.sector-trigger:hover .cta-link__icon svg path,
.sector-trigger:hover .cta-link__icon svg line,
.sector-trigger.is-active .cta-link__icon svg path,
.sector-trigger.is-active .cta-link__icon svg line {
  stroke: #1E1E1E;
}

.sector-trigger h3 {
  margin-bottom: 15px;
}

.sector-trigger p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.sector-trigger__cta {
  display: flex;
  align-items: center;
  margin-top: auto;
  font-size: 18px;
}

.cta-link__icon--down {
  transform: rotate(90deg);
}

.sector-trigger.is-active .cta-link__icon--down {
  transform: rotate(-90deg);
}

.cta-link:hover .cta-link__icon--down,
.sector-trigger:hover .cta-link__icon--down {
  transform: rotate(90deg) scale(1.1);
}

.sector-trigger.is-active:hover .cta-link__icon--down {
  transform: rotate(-90deg) scale(1.1);
}

/* Dropdown panels hidden by default */
.dropdown-panel {
  display: none;
  position: relative;
}

.dropdown-panel .cta-link {
  display: inline-block;
  margin-top: 30px;
}

@media (max-width: 767px) {
  .dropdown-panel {
    padding-top: 100px; 
  }
}

.dropdown-panel.is-open {
  display: block;
}

.dropdown-panel__close {
  position: absolute;
  top: 120px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #F2F2EC;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E1E1E;
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .dropdown-panel__close {
      top: 100px;
  }
}

.dropdown-panel__close:hover {
  transform: scale(1.1);
}

.contact-strip {
  padding-top: 60px;
  padding-bottom: 60px;
}

.contact-strip h2 {
  font-size: 30px!important;
  line-height: 30px!important;
}

.contact-strip img,
.contact-strip dotlottie-wc {
  display: block;
  max-width: 100%;
  width: 162px;
  height: 162px;
}

@media (max-width: 767px) {
  .contact-strip img,
  .contact-strip dotlottie-wc {
    width: 100px;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /* Img (left) and CTA (right) sit side by side on mobile */
  .contact-strip .row > div:nth-child(2) {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-start !important;
  }

  .contact-strip .row > div:nth-child(2) img,
  .contact-strip .row > div:nth-child(2) dotlottie-wc {
    width: 90px;
    height: 90px;
  }

  .contact-strip .row > div:nth-child(3) {
    flex: 1;
    width: auto;
    align-items: center;
  }

  .contact-strip .cta-link {
    line-height: 1.2;
  }
}

.method-image img {
  max-width: 100%;
}

.the-brand-text {
  font-size: 65px!important;
  line-height: 70px!important;
  text-align: center;
}

@media (min-width: 768px) {
  .the-brand-text {
    margin-top: -50px;
  }
}

.where-you-are-panel-col {
  border-bottom: 2px solid #1E1E1E;
}

.where-you-are-panel-col:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .where-you-are-panel-col {
    border-bottom: none;
    border-right: 2px solid #1E1E1E;
  }

  .where-you-are-panel-col:last-child {
    border-right: none;
  }
}

.where-you-are-panel {
  padding: 20px;
}

.fluro-map {
  position: relative;
}

.fluro-map__image {
  max-width: 100%;
  mix-blend-mode: multiply;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, 5px); }
}

@keyframes arrow-bounce-ignite {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -12px); }
}

@keyframes arrow-bounce-amplify {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5px, 12px); }
}

.fluro-arrow {
  position: absolute;
  top: 34px;
  left: 10px;
  animation: arrow-bounce 1.4s ease-in-out infinite;
}

.fluro-arrow--ignite {
  animation-name: arrow-bounce-ignite;
  top: auto;
  left: 430px;
  bottom: 10px;
}

.fluro-arrow--amplify {
  animation-name: arrow-bounce-amplify;
  top: 10px;
  left: auto;
  right: 40px;
}

@media (max-width: 768px) {
  .fluro-arrow {
    display: none;
  }
}

/* ——— Case Study Grid (Our Work page) ——— */

/* Case Study tile enter animation */
@keyframes csTileEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cs-tile--entering {
  animation: csTileEnter 0.4s ease both;
}

.cs-grid--loading .cs-tile {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Case Study Filters */
.cs-filter-strip {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

.cs-filter__heading {
  font-family: "Hubot Sans", sans-serif;
  font-weight: 800 !important;
  font-stretch: 75%;
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .cs-filter__heading {
    font-size: 26px;
  }
}

.cs-filter__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cs-filter__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #1E1E1E;
  padding: 10px 16px;
  cursor: pointer;
  user-select: none;
}

.cs-filter__item input[type="checkbox"] {
  display: none;
}

.cs-filter__box {
  width: 20px;
  height: 20px;
  border: 2px solid #1E1E1E;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-filter__item.is-checked .cs-filter__box::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: #1E1E1E;
}

.cs-filter__label {
  font-size: 18px;
  font-weight: 600;
}

.cs-grid {
  display: flex;
  flex-wrap: wrap;
}

.cs-tile {
  position: relative;
  width: 50%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #F2F2EC;
  min-height: 300px;
}

@media (max-width: 991px) {
  .cs-tile {
    justify-content: start;
  }
}

.cs-tile--contact {
  background-color: #F2F2EC;
  color: #1E1E1E;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px;
  text-decoration: none;
}

.cs-tile--contact h2 {
  font-size: 60px !important;
  line-height: 1.1 !important;
  margin-bottom: 24px;
}

@media (max-width: 1199px) {
  .cs-tile--contact h2 {
    font-size: 30px !important;
    line-height: 30px !important;
  }
}

.cs-tile--contact .cs-tile__contact-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: auto;
}

.cs-tile--contact img {
  width: 100px;
  flex-shrink: 0;
}

.cs-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 1s ease;
  z-index: 0;
}

.cs-tile:hover .cs-tile__bg {
  transform: scale(1.05);
}

.cs-tile__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 30, 30, 0.55);
  z-index: 1;
}

.cs-tile__content {
  position: relative;
  z-index: 2;
  padding: 40px;
}

.cs-tile__heading {
  color: #F2F2EC;
  margin: 0;
  font-size: 60px!important;
  line-height: 1.1!important;
  max-width: 100%!important;
}

.cs-tile__heading .cta-link__icon {
  vertical-align: middle;
}

@media (max-width: 991px) {
  .cs-tile__heading {
    font-size: 36px!important;
  }
  .cs-tile__heading .cta-link__icon {
    width: 36px;
    height: 36px;
  }

  .hero-image {
    display: none;
  }
  
}

.hero-image--clock {
  width: 330px;
}

@media (max-width: 767px) {

  .lever-image {
    width: 110px;
    display: block;
    margin-left: auto;
  }

  .cs-tile {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .cs-tile__content {
    text-align: left;
    padding: 25px;
  }
  .cs-tile__heading {
    font-size: 2.5rem!important;
    line-height: 1.1!important;
  }
  .cs-tile__heading .cta-link__icon {
    width: 28px;
    height: 28px;
  }
  .case-study-content h2 {
    font-size: 2.5rem!important;
    line-height: 1.1!important;
  }
  .cta-link__icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 25px!important;
    padding-right: 25px!important;
  }

  .hero p br {
    display: none;
  }

  h2 {
    max-width: 80%;
  }

  h2.the-brand-text {
    max-width: 100%;
  }

  body .site-main .mb-5 {
    margin-bottom: 1.5rem!important;
  }
}

.page-template-default .site-main {
  padding-top: 160px!important;
}

.page-template-default .site-main h2 {
  font-size: 30px!important;
  line-height: 34px!important;
  padding-top: 34px!important;
}

.page-template-template-contact section:first-child {
  padding-top: 120px!important;
}

/* ==========================================================================
   Global Reveal & Entrance Animation System
   ========================================================================== */

/* --- Hero entrance animations (play on page load, not scroll) --- */

.hero p {
  animation: heroReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.hero-image {
  animation: heroFade 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-scroll {
  animation: heroFade 0.6s ease 0.6s both;
}

/* Hero paragraph: fade + rise */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Everything else in the hero: fade only */
@keyframes heroFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- Scroll-triggered reveal: fade only, no movement --- */

[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--reveal-delay, 0s);
}

/* Revealed state */
[data-reveal].is-revealed {
  opacity: 1;
}

/* --- Respect prefers-reduced-motion --- */

@media (prefers-reduced-motion: reduce) {
  .hero p,
  .hero-image,
  .hero-scroll {
    animation: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transition: none !important;
  }
}