/*
Theme Name: HealthPlex
Theme URI: https://healthplex.com.au
Author: HealthPlex
Author URI: https://healthplex.com.au
Description: Official WordPress theme for HealthPlex — Australia's Allied Health Network. Built on clinical excellence, driven by outcomes.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthplex
Tags: health, medical, professional, blue, responsive
*/

/* ==========================================================================
   DESIGN TOKENS — CSS Custom Properties
   Extracted from Figma source (raw.css) and mapped to semantic names
   ========================================================================== */

:root {
    /* ---------- Colour Palette ---------- */
    --color-navy: #002A66;
    /* Primary dark navy — hero bg, primary CTAs, headings */
    --color-blue-mid: #1A52A1;
    /* Medium blue — section accents, icon backgrounds */
    --color-cyan: #02B6CA;
    /* Teal/cyan accent — pill tags, active states */
    --color-body: #434751;
    /* Body text */
    --color-white: #FFFFFF;
    --color-off-white: #F7FAFF;
    /* Soft blue-white backgrounds */
    --color-card-bg: #EAEFFF;
    /* Service card light blue background */
    --color-card-tint: rgba(217, 226, 255, 0.7);
    /* About section highlight card */
    --color-overlay-white: rgba(255, 255, 255, 0.2);
    /* Expertise card glassmorphism */
    --color-navy-shadow: rgba(0, 0, 0, 0.07);
    --color-shadow-md: rgba(0, 0, 0, 0.09);
    --color-shadow-btn: rgba(0, 0, 0, 0.25);

    /* Gradient — used on logo and expertise cards */
    --gradient-brand: linear-gradient(30.07deg, #1A52A1 29.1%, #02B6CA 106.64%);
    --gradient-expertise: linear-gradient(180deg, rgba(2, 182, 202, 0) 50%, #02B6CA 100%);
    --gradient-partner-bg: linear-gradient(135deg, #002A66 0%, #1A52A1 100%);

    /* ---------- Typography ---------- */
    --font-display: 'Urbanist', sans-serif;
    /* Hero & section headings */
    --font-body: 'DM Sans', sans-serif;
    /* Body copy, nav, UI labels */

    /* Font sizes */
    --text-hero: 50px;
    --text-h2: 40px;
    --text-h3: 24px;
    --text-h4: 21px;
    --text-h5: 18px;
    --text-label: 16px;
    --text-body: 18px;
    --text-small: 16px;

    /* Line heights */
    --lh-hero: 65px;
    --lh-h2: 50px;
    --lh-h3: 34px;
    --lh-h4: 27px;
    --lh-body: 28px;
    --lh-nav: 23px;
    --lh-label: 26px;

    /* Font weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Letter spacing */
    --ls-hero: 0.02em;
    --ls-body: 0.01em;
    --ls-label: 0.05em;
    --ls-card: 0.02em;

    /* ---------- Spacing ---------- */
    --space-xs: 6px;
    --space-sm: 10px;
    --space-md: 15px;
    --space-lg: 20px;
    --space-xl: 25px;
    --space-2xl: 30px;
    --space-3xl: 40px;
    --space-4xl: 50px;
    --space-5xl: 80px;
    --space-6xl: 100px;
    --section-gap: 80px;
    --section-gap-sm: 60px;

    /* ---------- Layout ---------- */
    --container-max: 1260px;
    --container-padding: 40px;
    --container-padding-sm: 20px;

    /* ---------- Border Radius ---------- */
    --radius-banner: 30px;
    --radius-card: 20px;
    --radius-card-sm: 16px;
    --radius-card-xs: 18px;
    --radius-pill: 120px;
    --radius-tag: 70px;
    --radius-icon: 10px;
    --radius-icon-sm: 8px;

    /* ---------- Shadows ---------- */
    --shadow-card: 0px 0px 14px rgba(0, 0, 0, 0.07);
    --shadow-card-sm: 0px 2px 14px rgba(0, 0, 0, 0.05);
    --shadow-icon: 0px 4px 10px rgba(0, 0, 0, 0.09);
    --shadow-btn-arrow: 0px 4px 14px rgba(0, 0, 0, 0.25);

    /* ---------- Transitions ---------- */
    --transition-base: 0.25s ease;
    --transition-fast: 0.15s ease;

    /* ---------- Button Sizes ---------- */
    --btn-height: 49px;
    --btn-padding: 8px 8px 8px 25px;
    --btn-gap: 20px;
    --btn-arrow-size: 33px;
    --btn-font-size: 18px;
    --btn-text-size: 18px;

    --radius-bubble: 50%;

    --color-bubble-1: rgba(177, 224, 244, 0.72);
    /* sky   */
    --color-bubble-2: rgba(215, 223, 233, 0.80);
    /* slate */
    --color-bubble-3: rgba(206, 242, 231, 0.80);
    /* mint  */
    --color-bubble-4: rgba(254, 225, 225, 0.80);
    /* blush */
    --color-bubble-5: rgba(211, 214, 218, 0.80);
    /* grey  */

    /* Transitions */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: var(--color-body);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
    line-height: 1.25;
}


/* ==========================================================================
   TYPOGRAPHY SCALE
   ========================================================================== */

.hp-h1 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-hero);
    line-height: var(--lh-hero);
    letter-spacing: var(--ls-hero);
    color: var(--color-white);
}

.hp-h2 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
}

.wp-block-heading {
    padding: var(--space-xl) 0;
}

.wp-block-paragraph {
    padding-bottom: var(--space-sm)
}

.wp-block-list {
    list-style: disc;
    padding-bottom: var(--space-sm);
    padding-left: 20px;
    line-height: 1.75rem;
}

.hp-h2--white {
    color: var(--color-white);
}

.hp-h3 {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    letter-spacing: var(--ls-card);
    color: var(--color-white);
}

.hp-h4 {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-h4);
    line-height: var(--lh-h4);
    letter-spacing: var(--ls-card);
    color: var(--color-navy);
}

.hp-h5 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h5);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
}

.hp-body {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
}

.hp-body--white {
    color: var(--color-white);
}

.hp-body--offwhite {
    color: var(--color-off-white);
}

.hp-label {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-label);
    line-height: var(--lh-label);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
}

.hp-nav-link {
    font-family: var(--font-body);
    font-weight: var(--fw-medium);
    font-size: var(--text-body);
    line-height: var(--lh-nav);
    color: var(--color-navy);
}


/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.hp-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.hp-container.full {
    max-width: none;
}

.hp-container.full-2 {
    max-width: 1660px;
}

.hp-section {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

.hp-section--sm {
    padding-top: var(--section-gap-sm);
    padding-bottom: var(--section-gap-sm);
}

.hp-text-center {
    text-align: center;
}

.hp-flex-col {
    display: flex;
    flex-direction: column;
}

.hp-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.hp-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hp-grid-2-auto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}


/* ==========================================================================
   SECTION EYEBROW / BADGE
   Used above section headings: small pill with dot + uppercase text
   ========================================================================== */

.hp-eyebrow {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px var(--space-md);
    gap: var(--space-xs);
    border-radius: var(--radius-tag);
    width: fit-content;
}

.hp-eyebrow__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hp-eyebrow__text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-label);
    line-height: var(--lh-label);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
}

/* Variants */
.hp-eyebrow--navy {
    border: 1px solid var(--color-navy);
}

.hp-eyebrow--navy .hp-eyebrow__dot {
    background: var(--color-navy);
}

.hp-eyebrow--navy .hp-eyebrow__text {
    color: var(--color-navy);
}

.hp-eyebrow--blue {
    border: 1px solid var(--color-blue-mid);
}

.hp-eyebrow--blue .hp-eyebrow__dot {
    background: var(--color-blue-mid);
}

.hp-eyebrow--blue .hp-eyebrow__text {
    color: var(--color-blue-mid);
}

.hp-eyebrow--white {
    border: 1px solid var(--color-white);
}

.hp-eyebrow--white .hp-eyebrow__dot {
    background: var(--color-white);
}

.hp-eyebrow--white .hp-eyebrow__text {
    color: var(--color-white);
}

.hp-eyebrow--cyan-tint {
    background: rgba(99, 176, 253, 0.12);
    border: none;
}

.hp-eyebrow--cyan-tint .hp-eyebrow__dot {
    background: var(--color-cyan);
}

.hp-eyebrow--cyan-tint .hp-eyebrow__text {
    color: var(--color-cyan);
}


/* ==========================================================================
   BUTTONS — pill-shaped with animated arrow circle
   ========================================================================== */

/* Base button shell */
.hp-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: var(--btn-padding);
    gap: var(--btn-gap);
    height: var(--btn-height);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--btn-text-size);
    line-height: var(--lh-label);
    letter-spacing: var(--ls-body);
    text-transform: capitalize;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    text-decoration: none;
}

/* Arrow icon circle */
.hp-btn__arrow {
    width: var(--btn-arrow-size);
    height: var(--btn-arrow-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-btn-arrow);
}

.hp-btn__arrow svg {
    width: 10px;
    height: 10px;
    transition: transform var(--transition-base);
    transform-origin: center;
}

.hp-btn:hover .hp-btn__arrow svg {
    transform: rotate(45deg);
}

/* Primary — navy background */
.hp-btn--primary {
    background: var(--color-navy);
    color: var(--color-white);
}

.hp-btn--primary .hp-btn__arrow {
    background: var(--color-white);
    box-shadow: var(--shadow-btn-arrow);
}

.hp-btn--primary .hp-btn__arrow svg path {
    stroke: var(--color-navy);
}

.hp-btn--primary:hover {
    background: var(--color-cyan);
}

.hp-btn--primary:hover .hp-btn__arrow svg path {
    stroke: var(--color-cyan);
}

/* Secondary — cyan background */
.hp-btn--cyan {
    background: var(--color-cyan);
    color: var(--color-white);
}

.hp-btn--cyan .hp-btn__arrow {
    background: var(--color-white);
    box-shadow: var(--shadow-btn-arrow);
}

.hp-btn--cyan .hp-btn__arrow svg path {
    stroke: var(--color-cyan);
}

.hp-btn--cyan:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

.hp-btn--cyan:hover .hp-btn__arrow {
    background: var(--color-navy);
}

.hp-btn--cyan:hover .hp-btn__arrow svg path {
    stroke: var(--color-white);
}

/* Outline — white background, navy border */
.hp-btn--outline {
    background: var(--color-white);
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
}

.hp-btn--outline .hp-btn__arrow {
    background: var(--color-navy);
}

.hp-btn--outline .hp-btn__arrow svg path {
    stroke: var(--color-white);
}

.hp-btn--outline:hover {
    background: var(--color-cyan);
    color: var(--color-white);
    border: 1px solid var(--color-cyan);
}

.hp-btn--outline:hover .hp-btn__arrow {
    background: var(--color-white);
}

.hp-btn--outline:hover .hp-btn__arrow svg path {
    stroke: var(--color-cyan);
}


/* Small / ghost pill button — used for partnership tabs */
.hp-pill-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 20px;
    gap: var(--space-sm);
    height: 36px;
    border-radius: var(--radius-tag);
    background: var(--color-cyan);
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-white);
    transition: background var(--transition-base);
    cursor: pointer;
}

.hp-pill-tag:hover,
.hp-pill-tag.is-active {
    background: var(--color-navy);
}


/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.hp-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 2px 12px rgba(0, 42, 102, 0.08);
}

.hp-header__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}

/* Logo */
.hp-logo,
.custom-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.hp-logo img,
.custom-logo-link img,
.hp-logo svg {
    height: 36px;
    width: auto;
}

.hp-logo__wordmark {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 24px;
    color: var(--color-navy);
    letter-spacing: 0.02em;
}

.hp-logo__wordmark span {
    color: var(--color-cyan);
}

/* Primary Nav */
.hp-nav {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 37px;
}

.hp-nav__item {
    position: relative;
}

.hp-nav__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: var(--fw-medium);
    font-size: var(--text-body);
    line-height: var(--lh-nav);
    color: var(--color-navy);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hp-nav__item-current > .hp-nav__link,
.hp-nav__link:hover {
    color: var(--color-cyan);
}

.hp-nav__link--has-dropdown .hp-nav__chevron {
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-top: 2px solid var(--color-navy);
    border-right: 2px solid var(--color-navy);
    transform: rotate(135deg);
    transition: transform var(--transition-fast);
}

.hp-nav__item-current .hp-nav__link--has-dropdown .hp-nav__chevron {
    border-color: var(--color-cyan);
}

/* Dropdown */
.hp-nav__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 345px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 42, 102, 0.12);
    border-top: 2px solid var(--color-cyan);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 100;
}

.hp-nav__dropdown-title {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-cyan);
    padding: 5px 17px 12px;
    padding: var(--space-sm) var(--space-md);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    display: block;
    font-weight: 600;
}

@media (min-width: 769px) {
    .hp-nav__item:hover .hp-nav__chevron {
        transform: rotate(-45deg);
        border-color: var(--color-cyan);
        margin-top: 0;
    }

    .hp-nav__item:hover .hp-nav__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.hp-nav__dropdown-inner {
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-nav__dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-navy);
    transition: all var(--transition-fast);
    border-radius: 8px;
    border-left: 2px solid transparent;
}

@media (min-width: 769px) {
    .hp-nav__dropdown a > span {
        display: inline-block;
        max-width: 65%;
    }
}

.hp-nav__dropdown a::after {
    content: '→';
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.hp-nav__dropdown a.hp-nav__sub-item-current,
.hp-nav__dropdown a:hover {
    background: rgba(0, 42, 102, 0.15); 
    border-left-color: var(--color-navy);
}

.hp-nav__dropdown a.hp-nav__sub-item-current::after,
.hp-nav__dropdown a:hover::after {
    opacity: 1;
}

/* Header CTA */
/*.hp-header__cta {
  position: absolute;
  right: 0;
}*/

/* Mobile hamburger */
.hp-nav__toggle {
    display: none;
}


/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */

.hp-hero {
    padding: 29px var(--container-padding) var(--container-padding);
}

.hp-hero__inner {
    position: relative;
    background: var(--color-navy);
    border-radius: var(--radius-banner);
    min-height: 747px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Decorative background shapes */
.hp-hero__inner::before,
.hp-hero__inner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.hp-hero__inner::before {
    width: 700px;
    height: 700px;
    left: -200px;
    top: -200px;
}

.hp-hero__inner::after {
    width: 600px;
    height: 600px;
    right: -100px;
    bottom: -200px;
}

/* Hero content column */
.hp-hero__content {
    position: relative;
    z-index: 2;
    padding: var(--space-4xl) var(--space-3xl) var(--space-4xl) var(--space-4xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    max-width: 774px;
}

.hp-hero__image-col {
    position: relative;
    padding: var(--space-4xl) var(--space-4xl) var(--space-4xl) var(--space-3xl);
    z-index: 1;
}

.hp-hero__image-col img {
    border-radius: var(--radius-card);
}

/* Video wrap mirrors the image wrapper */
.hp-hero__video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Video element — same border-radius and fill behaviour as the image */
.hp-hero__video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-card, 20px);
    pointer-events: none;
}

/* Desktop column already has the padding from .hp-hero__image-col;
   the video/image inside just fills the available space. */
.hp-hero__image-col {
    padding: var(--space-4xl, 50px) var(--space-4xl, 50px) var(--space-4xl, 50px) var(--space-3xl, 40px);
}

.hp-hero__image-col img,
.hp-hero__video {
    border-radius: var(--radius-card, 20px);
}


/* ---------- Mute / unmute toggle button ---------- */
.hp-hero__video-mute {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.hp-hero__video-mute:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: scale(1.08);
}

.hp-hero__video-mute:focus-visible {
    outline: 2px solid var(--color-cyan, #02B6CA);
    outline-offset: 3px;
}

/* Icon visibility — driven by the button's aria-pressed state.
   aria-pressed="true"  → video IS muted  → show muted icon.
   aria-pressed="false" → video is playing with sound → show unmuted icon. */
.hp-hero__mute-icon {
    display: none;
}

.hp-hero__video-mute[aria-pressed="true"] .hp-hero__mute-icon--muted {
    display: block;
}

.hp-hero__video-mute[aria-pressed="false"] .hp-hero__mute-icon--unmuted {
    display: block;
}

.hp-hero__heading-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hp-hero__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-hero);
    line-height: var(--lh-hero);
    letter-spacing: var(--ls-hero);
    color: var(--color-white);
}

.hp-hero__body {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-white);
    max-width: 647px;
}

.hp-hero__cta-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Hero image column */
.hp-hero__image {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 600px;
}

.hp-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 var(--radius-banner) var(--radius-banner) 0;
}

.hp-page__hero {
    padding: 29px var(--container-padding) 0 var(--container-padding);
}

.hp-page__hero-bg {
    position: relative;
    border-radius: var(--radius-banner);
    padding: var(--space-5xl) var(--space-3xl) var(--space-5xl) var(--space-3xl);
    overflow: hidden;
    min-height: 325px;
    align-content: center;
}

.hp-page__hero-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 42, 102, 0.75);
}

.hp-page__hero-heading-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
    z-index: 1;
}

.hp-hero__subtitle {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-white);
    opacity: 0.95;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.hp-about {
    padding-top: var(--section-gap);
    padding-bottom: var(--space-3xl);
}

.hp-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hp-about__grid.reverse {
    margin-top: var(--space-2xl)
}

.hp-about__image {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 594px;
}

.hp-about__image.h-auto {
    height: auto;
}

.hp-about__grid.reverse .hp-about__image {
    order: -1;
}

.hp-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-about__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2xl);
}

.single-hp_expertise .hp-about__content.single-responsive {
    gap: 0;
}

.single-hp_expertise .hp-about__content.single-responsive .hp-services__header {
    align-items: flex-start;
}

.single-hp_expertise .hp-about__content.single-responsive .hp-services__header .hp-services__lead {
    text-align: left;
}

.hp-about__heading-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.hp-about__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
    text-transform: capitalize;
}

.hp-about__body {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
}

.hp-about__body br {
    display: block;
    /* Allows the tag to hold structural dimensions */
    content: "";
    /* Clears default browser heights */
    margin-top: 15px;
}

/* Highlight card — blue tinted info box */
.hp-about__highlight {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 14px var(--space-md);
    gap: var(--space-md);
    background: var(--color-card-tint);
    border-radius: var(--radius-icon);
}

.hp-about__highlight-icon {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: var(--radius-icon-sm);
    -moz-box-shadow: var(--shadow-icon);
    box-shadow: var(--shadow-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-about__highlight-icon img,
.hp-about__highlight-icon svg {
    width: 40px;
    height: 40px;
}

.hp-about__highlight-text {
    font-family: var(--font-body);
    font-weight: var(--fw-medium);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
    flex: 1;
}

.hp-about__highlight-text b {
    font-weight: var(--fw-bold);
}

.approaches_list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.approaches_list .hp-about__highlight {
    -moz-box-shadow: var(--shadow-card);
    box-shadow: var(--shadow-card);
    background: var(--color-white);
    border: 1px solid var(--color-white);
    transition: all var(--transition-base);
}

.approaches_list.navy .hp-about__highlight {
    background: rgba(255, 255, 255, 0.45);
    padding: 12px var(--space-sm);
}

.approaches_list .hp-about__highlight:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 8px 32px rgba(0, 42, 102, 0.12);
}

.approaches_list.navy .hp-about__highlight:hover {
    background: rgba(255, 255, 255, 0.15);
}

.approaches_list .hp-about__highlight-icon {
    background: var(--color-cyan);
}

.approaches_list.navy .hp-about__highlight-icon {
    background: var(--color-navy);
}

.approaches_list.navy .hp-about__highlight:hover .hp-about__highlight-icon {
    background: var(--color-cyan);
}

.approaches_list.small .hp-about__highlight-icon {
    width: 50px;
    height: 50px;
}

.approaches_list.small .hp-about__highlight-icon > img {
    width: 26px;
    height: 26px;
}

.approaches_list .hp-about__highlight-text {
    font-size: var(--text-small);
    line-height: var(--lh-label);
}

.approaches_list .hp-about__highlight-text strong {
    font-size: var(--text-body);
    display: block;
}

.approaches_list.navy.col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.approaches_list.navy.col-3 .hp-about__highlight {
    background: var(--color-white);
}

.approaches_list.navy.col-3 .hp-about__highlight:hover {
    background: var(--color-card-bg);
}

/* ==========================================================================
   PARTNERSHIPS SECTION
   ========================================================================== */

.hp-partnerships {
    padding-top: var(--section-gap);
    padding-bottom: var(--space-4xl);
}

.hp-partnerships.current-vacancies {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-md);
}

.hp-partnerships__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.hp-partnerships__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
    text-transform: capitalize;
}

.hp-partnerships__lead {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
    text-align: center;
    max-width: 812px;
    margin: 0 auto;
}

/* Partner filter tabs */
.hp-partnerships__tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-4xl);
    margin-top: var(--space-xl);
}

.hp-partnerships__tabs .hp-pill-tag {
    cursor: auto;
}

/* Why Partner cards row */
.hp-why-partner {
    padding-top: var(--space-4xl);
    padding-bottom: var(--section-gap);
}

.hp-why-partner__heading {
    text-align: center;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
    margin-bottom: var(--space-2xl);
}

.hp-why-partner__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.hp-why-partner__grid--wide {
    grid-template-columns: repeat(2, 1fr);
}

/* Feature card */
.hp-feature-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: var(--space-md);
    gap: var(--space-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    border-radius: var(--card-xs, 18px);
    transition: all var(--transition-base);
}

.hp-feature-card.active,
.hp-feature-card:hover {
    background: var(--color-navy);
    box-shadow: 0 8px 32px rgba(0, 42, 102, 0.12);
    transform: translateY(-2px);
}

.hp-feature-card.active {
    cursor: default;
    pointer-events: none;
    order: -1;
}

.hp-feature-card__icon {
    width: 60px;
    height: 60px;
    background: var(--color-navy);
    border-radius: var(--radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition-base);
}

.hp-feature-card.active .hp-feature-card__icon,
.hp-feature-card:hover .hp-feature-card__icon {
    background: var(--color-cyan);
}

.hp-feature-card__icon img,
.hp-feature-card__icon svg {
    width: 34px;
    height: 34px;
    filter: brightness(0) invert(1);
}

.hp-feature-card__body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.hp-feature-card__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h5);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
    transition: color var(--transition-base);
}

.hp-feature-card.active .hp-feature-card__title,
.hp-feature-card:hover .hp-feature-card__title {
    color: var(--color-white);
}

.hp-feature-card__desc {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
    transition: color var(--transition-base);
}

.hp-feature-card.active .hp-feature-card__desc,
.hp-feature-card:hover .hp-feature-card__desc {
    color: var(--color-white);
}


/* ==========================================================================
   PARTNER OPPORTUNITY (CTA Section — light blue bg)
   ========================================================================== */

.hp-partner-cta {
    background: var(--color-card-bg);
    border-radius: var(--radius-card);
    margin: 0 var(--container-padding);
    padding: var(--space-4xl);
}

.hp-partner-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hp-partner-cta__image {
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 470px;
}

.hp-partner-cta__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-partner-cta__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xl);
}

.hp-partner-cta__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
}

.hp-partner-cta__lead {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
}

.hp-partner-cta__checklist {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hp-partner-cta__check-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-body);
    color: var(--color-body);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-shadow-md);
}

.hp-partner-cta__checklist.light .hp-partner-cta__check-item {
    font-weight: var(--fw-medium);
}

.hp-partner-cta__checklist.plain-list .hp-partner-cta__check-item {
    font-weight: var(--fw-medium);
    border-bottom: 0;
    padding-bottom: 0;
}

.hp-partner-cta__check-item:last-child {
    border-bottom: 0
}

.hp-partner-cta__check-item::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("assets/icons/list-tick.svg") center / contain no-repeat;
    flex-shrink: 0;
    margin-top: 4px;
}

.hp-partner-cta-wrap.approaches {
    margin: var(--space-2xl) 0 var(--space-3xl);
}


/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.hp-services {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

.single-hp_expertise .hp-services:not(.mission-vision) {
    background: var(--color-card-bg);
    border-radius: var(--radius-card);
    margin: 0 var(--container-padding);
    padding: var(--space-4xl);
}

.single-hp_expertise .hp-services.mission-vision {
    padding-top: var(--container-padding);
    padding-bottom: var(--section-gap);
}

.single-hp_expertise .hp-services-rel:not(.mission-vision) {
    margin: 0 var(--container-padding) var(--section-gap);
}

.single-hp_expertise .hp-services-rel.white:not(.mission-vision) {
    background: var(--color-white);
    border-radius: 0;
    margin: var(--space-xl) var(--container-padding) var(--space-3xl);
}

.hp-services.core-values {
    padding-top: 0;
}

.hp-services__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.hp-services__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
    text-transform: capitalize;
}

.hp-services__lead {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--color-body);
    max-width: 700px;
    text-align: center;
}

.hp-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hp-services__grid.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mission-vision .hp-services__grid {
    grid-template-columns: repeat(3, 1fr);
}

.single-hp_expertise .mission-vision .hp-services__grid {
    grid-template-columns: repeat(2, 1fr);
}

.core-values .hp-services__grid {
    grid-template-columns: repeat(6, 1fr);
}

.hp-services__grid.hp-services__grid-image {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hp-services__grid.hp-services__grid-image.col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.hp-services__grid.hp-services__grid-image.horizontal {
    grid-template-columns: 1fr;
    margin-top: var(--space-2xl);
}

.hp-services__grid.hp-services__grid-icon {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hp-services__grid.hp-services__grid-icon.col-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Service card */
.hp-service-card {
    position: relative;
    background: var(--color-card-bg);
    border-radius: var(--radius-card-sm);
    box-shadow: var(--shadow-card-sm);
    aspect-ratio: 1 / 0.795;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-xl);
    transition: all var(--transition-base);
    overflow: hidden;
}

.hp-service-card.h-full,
.hp-service-card.h-auto {
    aspect-ratio: auto
}

.hp-service-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-xl);
}

.single-hp_expertise .hp-service-card {
    background: var(--color-white);
    padding-top: 66.5%;
}

.single-hp_expertise .hp-services__grid-icon:not(.col-3) .hp-service-card:nth-child(odd):last-child {
    grid-column: 1 / -1;
}

.single-hp_expertise .hp-services__grid-image .hp-service-card.horizontal {
    grid-column: 1 / -1;
    flex-direction: row;
    padding-top: var(--space-md);
    gap: var(--space-3xl);
    align-items: center;
}

.single-hp_expertise .horizontal .hp-service-card {
    flex-direction: row;
    padding-top: var(--space-md);
    gap: var(--space-3xl);
    align-items: center;
}

.single-hp_expertise .hp-service-card-rel {
    padding-top: 80%;
}

.single-hp_expertise .hp-services-rel.white .hp-service-card {
    background: var(--color-off-white);
}

.single-hp_expertise .single-responsive .hp-service-card {
    padding-top: var(--space-md);
    background: var(--color-card-bg);
}

.mission-vision .hp-service-card {
    padding: var(--space-xl);
    justify-content: flex-start;
    border: 1px solid var(--color-card-bg);
}

.single-hp_expertise .mission-vision .hp-service-card {
    background: var(--color-card-bg);
}

.core-values .hp-service-card {
    padding: var(--space-xl);
    align-items: center;
}

.hp-service-card.h-auto .hp-service-card__num {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: 24px;
    line-height: 32px;
    letter-spacing: var(--ls-card);
    color: var(--color-navy);
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.hp-service-card:hover {
    background: var(--color-navy);
    box-shadow: 0 8px 28px rgba(0, 42, 102, 0.12);
    transform: translateY(-2px);
}

.mission-vision .hp-services__grid .hp-service-card:hover {
    background: var(--color-card-bg);
    border-color: var(--color-cyan);
}

.hp-service-card.h-auto:hover {
    background: var(--color-white);
}

.core-values .hp-services__grid .hp-service-card.h-auto:hover {
    background: var(--color-cyan);
}

.hp-service-card.h-auto:hover .hp-service-card__num {
    opacity: 1;
}

.single-hp_expertise .hp-service-card .hp-service-card-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border-radius: var(--radius-card-sm) var(--radius-card-sm) 0 0
}

.single-hp_expertise .horizontal .hp-service-card .hp-service-card-img {
    position: static;
    width: 33.33%;
    border-radius: var(--radius-card-sm) 0 0 var(--radius-card-sm);
}

.single-hp_expertise .hp-services__grid-image .hp-service-card.horizontal .hp-service-card-img {
    position: static;
    width: 33.33%;
    border-radius: var(--radius-card-sm) 0 0 var(--radius-card-sm);
}

.hp-service-card__icon-wrap {
    /*position: absolute;
    top: 30px;
    left: var(--space-md);*/
    width: 70px;
    height: 70px;
    aspect-ratio: 1 / 1;
    background: var(--color-navy);
    border-radius: var(--radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}

.single-hp_expertise .hp-service-card .hp-service-card__icon-wrap {
    position: relative;
    z-index: 1;
}

.hp-service-card:hover .hp-service-card__icon-wrap {
    background: var(--color-cyan);
}

.hp-service-card__icon-wrap img,
.hp-service-card__icon-wrap svg {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.hp-service-card__icon-wrap .num {
    font-family: var(--font-body);
    font-weight: var(--fw-bold);
    font-size: 22px;
    line-height: 29px;
    letter-spacing: var(--ls-card);
    color: var(--color-white);
}

.core-values .hp-services__grid .hp-opp-card__icon img {
    margin: 0 auto var(--space-sm);
    transition: filter var(--transition-base);
}

/*.hp-service-card__content {
    margin-top: auto;
}*/

.mission-vision .hp-services__grid .hp-service-card__content,
.core-values .hp-services__grid .hp-service-card__content {
    margin-top: 0;
}

.mission-vision .hp-services__grid .hp-service-card__label {
    display: block;
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-h4);
    line-height: var(--lh-h4);
    letter-spacing: var(--ls-card);
    color: var(--color-cyan);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.hp-service-card__name {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-h4);
    line-height: var(--lh-h4);
    letter-spacing: var(--ls-card);
    color: var(--color-navy);
    margin-bottom: var(--space-md);
    transition: color var(--transition-base);
}

.hp-service-card:hover .hp-service-card__name {
    color: var(--color-white);
}

.hp-service-card.h-auto:hover .hp-service-card__name {
    color: var(--color-navy);
}

.single-hp_expertise .hp-service-card.h-auto:hover .hp-service-card__name {
    color: var(--color-cyan);
}

.core-values .hp-service-card.h-auto:hover .hp-service-card__name {
    color: var(--color-white);
}

.hp-service-card__desc {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: 26px;
    letter-spacing: var(--ls-card);
    color: var(--color-body);
    transition: color var(--transition-base);
}

.hp-service-card:hover .hp-service-card__desc {
    color: var(--color-white);
}

.hp-service-card.h-auto:hover .hp-service-card__desc {
    color: var(--color-navy);
}

.core-values .hp-service-card:hover .hp-opp-card__icon img {
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   EXPERTISE / HOW WE SUPPORT — dark navy section with photo cards
   ========================================================================== */

.hp-expertise {
    margin: 0 var(--container-padding);
    background: var(--color-navy);
    border-radius: var(--radius-card);
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.hp-expertise__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hp-expertise__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding: 0 var(--space-xl);
}

.hp-expertise__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-white);
}

.hp-expertise__lead {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--color-off-white);
    max-width: 752px;
    text-align: center;
}

/* Horizontal scroll track for expertise cards */
.hp-expertise__scroll-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--space-xl);
}

.hp-expertise__scroll-track::-webkit-scrollbar {
    display: none;
}

.hp-expertise__cards {
    display: flex;
    flex-direction: row;
    gap: var(--space-md);
    padding: 0 var(--container-padding);
    width: max-content;
}

/* Individual expertise card — glassmorphism photo card */
.hp-expertise-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    border-radius: var(--radius-card-sm);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-base);
}

.hp-expertise__image-placeholder {
    width: 100%;
    height: 100%;
    line-height: 0;
}

.hp-expertise-card:hover {
    transform: scale(1.02);
}

.hp-expertise-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background: var(--gradient-expertise);
}

.hp-expertise-card__num {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: 22px;
    line-height: 29px;
    letter-spacing: var(--ls-card);
    color: var(--color-white);
}

.hp-expertise-card__name {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    letter-spacing: var(--ls-card);
    color: var(--color-white);
}

.hp-expertise-card__desc {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: 26px;
    letter-spacing: var(--ls-card);
    color: var(--color-white);
}

.hp-expertise-card__content_over {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    opacity: 0;
    background: var(--color-cyan);
    transition: opacity var(--transition-base);
}

.hp-expertise-card:hover .hp-expertise-card__content_over {
    opacity: 1;
}

.hp-expertise__cards-active {
    position: relative;
    padding: 0 var(--space-6xl);
    margin-bottom: var(--space-3xl);
}

.hp-expertise__cards-active .slick-list {
    overflow: visible !important;
}

.hp-expertise__cards-active .slick-slide {
    padding: 0 12px;
}

.custom-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-off-white);
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 10;
    top: calc(100% + 15px);
    transition: all var(--transition-base);
}

.custom-arrow:hover {
    background: var(--color-cyan);
}

.slick-prev {
    content: url(assets/icons/arrow-prev.svg);
    left: calc(50% - 75px);
}

.slick-next {
    content: url(assets/icons/arrow-next.svg);
    right: calc(50% - 75px);
}

/* ==========================================================================
   LOCATIONS / MAP SECTION
   ========================================================================== */

.hp-locations {
    padding: var(--section-gap) var(--container-padding);
}

.hp-locations__inner {
    /*background: url('assets/images/australia-map.png') center right no-repeat;
    background-size: 100%;*/
    background-color: var(--color-white);
    border-radius: var(--radius-card);
    /*display: flex;
    align-items: center;*/
    overflow: hidden;
    /*border: 1px solid rgba(0, 42, 102, 0.06);*/
}

.hp-locations__sidebar {
    position: relative;
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 25%;
    justify-content: center;
    background: rgb(255, 255, 255);
}

.hp-location-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-body);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 42, 102, 0.05);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.hp-location-item:last-child {
    border-bottom: none;
}

.hp-location-item:hover {
    color: var(--color-navy);
}

.hp-location-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
    flex-shrink: 0;
}


/* ==========================================================================
   OPPORTUNITIES SECTION
   ========================================================================== */

.hp-opportunities {
    margin: 0 var(--container-padding);
    background: var(--color-navy);
    border-radius: var(--radius-card);
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.hp-opportunities.white {
    margin: 0;
    background: var(--color-white);
    padding: var(--space-5xl) 0 0;
    overflow: visible
}

.hp-opportunities__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.hp-opportunities__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    text-transform: capitalize;
}

.hp-opportunities.white .hp-opportunities__title {
    color: var(--color-navy);
}

.hp-opportunities__lead {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--color-white);
    max-width: 700px;
    margin: 0 auto;
}

.hp-opportunities.white .hp-opportunities__lead {
    color: var(--color-navy);
}

.hp-opportunities__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.hp-opportunities__grid.principles {
    grid-template-columns: repeat(4, 1fr);
}

.hp-opportunities__grid.manage-services {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5xl);
}

/* Opportunity card */
.hp-opp-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--color-white);
    border-radius: var(--radius-card);
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    -moz-box-shadow: var(--shadow-card-sm);
    box-shadow: var(--shadow-card-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.hp-opportunities.white .hp-opp-card {
    background: var(--color-card-bg);
    border: 0;
}

.hp-opp-card.path {
    position: relative;
    align-items: center;
    background: none;
    border: 0;
    box-shadow: unset;
}

.hp-opp-card.arrow {
    position: relative;
    align-items: center;
    background: var(--color-navy);
    border: 0;
}

.hp-opp-card.path::after {
    content: "";
    width: 30%;
    height: 11px;
    position: absolute;
    top: 29%;
    left: 225px;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22120%22%20height%3D%2216%22%20viewBox%3D%220%200%20120%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%224%22%20cy%3D%228%22%20r%3D%224%22%20fill%3D%22white%22%20%2F%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%228%22%20r%3D%226%22%20fill%3D%22white%22%20%2F%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%228%22%20r%3D%228%22%20fill%3D%22white%22%20%2F%3E%3Ccircle%20cx%3D%2290%22%20cy%3D%228%22%20r%3D%226%22%20fill%3D%22white%22%20%2F%3E%3Ccircle%20cx%3D%22116%22%20cy%3D%228%22%20r%3D%224%22%20fill%3D%22white%22%20%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.hp-opp-card.arrow::after {
    content: "";
    width: 15%;
    height: 16px;
    position: absolute;
    top: 50%;
    right: -18%;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2249%22%20height%3D%2215%22%20viewBox%3D%220%200%2049%2015%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M48.7071%208.07106C49.0976%207.68054%2049.0976%207.04737%2048.7071%206.65685L42.3431%200.292885C41.9526%20-0.0976396%2041.3195%20-0.0976396%2040.9289%200.292885C40.5384%200.683409%2040.5384%201.31657%2040.9289%201.7071L46.5858%207.36395L40.9289%2013.0208C40.5384%2013.4113%2040.5384%2014.0445%2040.9289%2014.435C41.3195%2014.8255%2041.9526%2014.8255%2042.3431%2014.435L48.7071%208.07106ZM0%207.36395V8.36395H48V7.36395V6.36395H0V7.36395Z%22%20fill%3D%22%23002A66%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.hp-opp-card.path:last-child::after,
.hp-opp-card.arrow:last-child::after {
    content: none;
}

.hp-opp-card:not(.path):hover {
    border-color: var(--color-cyan);
    -moz-box-shadow: 0 8px 32px rgba(0, 42, 102, 0.15); 
    box-shadow: 0 8px 32px rgba(0, 42, 102, 0.15); 
    transform: translateY(-2px);
}


.hp-opp-card__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: var(--ls-hero);
    color: var(--color-white);
}

.hp-opportunities.white .hp-opp-card:hover {
    background: rgba(255, 255, 255, 0.15);
    -moz-box-shadow: 0 8px 32px rgba(0, 42, 102, 0.15);
    box-shadow: 0 8px 32px rgba(0, 42, 102, 0.15);
}

.hp-opportunities.white .hp-opp-card .hp-opp-card__title {
    color: var(--color-navy);
}

.hp-opportunities.white .hp-opp-card:hover .hp-opp-card__title {
    color: var(--color-cyan);
}

.hp-opp-card__desc {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--color-white);
}

.hp-opportunities.white .hp-opp-card .hp-opp-card__desc {
    color: var(--color-navy);
}

.hp-opportunities__grid.manage-services .hp-opp-card .hp-opp-card__desc {
    text-align: center;
}

.hp-opp-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-opp-card__list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--color-white);
}

.hp-opportunities.white .hp-opp-card__list-item {
    color: var(--color-navy);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-shadow-md);
}

.hp-opp-card__list-item::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("assets/icons/list-tick.svg") center / contain no-repeat;
    flex-shrink: 0;
    margin-top: 3px;
    filter: brightness(0) invert(1);
}

.hp-opportunities.white .hp-opp-card__list-item::before {
    filter: none;
}

.hp-opportunities__grid.principles .hp-opp-card {
    padding: var(--space-md);
    justify-content: flex-end;
}

.hp-opportunities__grid.manage-services .hp-opp-card {
    padding: var(--space-2xl);
    justify-content: flex-start;
}

.hp-opportunities__grid.principles .hp-opp-card .hp-opp-card__icon {
    margin-bottom: auto;
    width: 64px;
    height: 64px;
    background: var(--color-cyan);
    border-radius: var(--radius-icon-sm);
    box-shadow: var(--shadow-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-opportunities__grid.manage-services .hp-opp-card .hp-opp-card__icon {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: var(--radius-icon-sm);
    box-shadow: var(--shadow-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-opp-card__num {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: 24px;
    line-height: 32px;
    letter-spacing: var(--ls-card);
    color: var(--color-white);
}

.hp-opportunities__grid.manage-services .hp-opp-card .hp-opp-card__num {
    color: var(--color-navy);
}

.hp-opportunities__grid.principles .hp-opp-card__title {
    font-size: 18px;
    text-transform: capitalize;
}

.hp-opportunities__grid.principles .hp-opp-card__desc {
    font-size: var(--text-small);
    line-height: var(--lh-label);
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */

.hp-blog {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

.hp-blog__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.hp-blog__heading-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.hp-blog__eyebrow-text {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-label);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--color-navy);
}

.hp-blog__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
    margin-top: var(--space-xs);
}

.hp-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Blog post card */
.hp-post-card {
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    display: flex;
    flex-direction: column;
}

.hp-post-card:hover {
    box-shadow: 0 8px 28px rgba(0, 42, 102, 0.10);
    transform: translateY(-3px);
}

.hp-post-card__thumb {
    /*height: 200px;*/
    overflow: hidden;
}

.hp-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hp-post-card:hover .hp-post-card__thumb img {
    transform: scale(1.04);
}

.hp-post-card__body {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex: 1;
}

.hp-post-card__date {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: 14px;
    color: var(--color-cyan);
    letter-spacing: var(--ls-body);
}

.hp-post-card__title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 20px;
    line-height: 1.4;
    color: var(--color-navy);
}

.hp-post-card__excerpt {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-body);
}

.hp-post-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: 15px;
    color: var(--color-navy);
    margin-top: auto;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.hp-post-card__link:hover {
    color: var(--color-cyan);
    gap: 10px;
}

.hp-post-card__link::after {
    content: '→';
    transition: transform var(--transition-fast);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.hp-footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-2xl);
}

.hp-footer__inner {
    display: grid;
    grid-template-columns: 1.75fr 0.75fr 0.75fr 0.75fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-5xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hp-footer__brand ul.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-fast);
    max-width: 320px;
}

.hp-footer__brand ul.contact-details li {
    position: relative;
    padding-left: 30px;
}

.hp-footer__brand ul.contact-details li a:hover {
    color: var(--color-cyan);
}

.hp-footer__brand ul.contact-details li::before {
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    top: 2px;
    left: 0;
    background-repeat: no-repeat;
    background-size: contain;
}

.hp-footer__brand ul.contact-details li.phone::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224px%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224px%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M798-120q-125%200-247-54.5T329-329Q229-429%20174.5-551T120-798q0-18%2012-30t30-12h162q14%200%2025%209.5t13%2022.5l26%20140q2%2016-1%2027t-11%2019l-97%2098q20%2037%2047.5%2071.5T387-386q31%2031%2065%2057.5t72%2048.5l94-94q9-9%2023.5-13.5T670-390l138%2028q14%204%2023%2014.5t9%2023.5v162q0%2018-12%2030t-30%2012ZM241-600l66-66-17-94h-89q5%2041%2014%2081t26%2079Zm358%20358q39%2017%2079.5%2027t81.5%2013v-88l-94-19-67%2067ZM241-600Zm358%20358Z%22%2F%3E%3C%2Fsvg%3E");
}

.hp-footer__brand ul.contact-details li.email::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224px%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224px%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M160-160q-33%200-56.5-23.5T80-240v-480q0-33%2023.5-56.5T160-800h640q33%200%2056.5%2023.5T880-720v480q0%2033-23.5%2056.5T800-160H160Zm320-280L160-640v400h640v-400L480-440Zm0-80%20320-200H160l320%20200ZM160-640v-80%20480-400Z%22%2F%3E%3C%2Fsvg%3E");
}

.hp-footer__brand ul.contact-details li.location::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2224px%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224px%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M536.5-503.5Q560-527%20560-560t-23.5-56.5Q513-640%20480-640t-56.5%2023.5Q400-593%20400-560t23.5%2056.5Q447-480%20480-480t56.5-23.5ZM480-186q122-112%20181-203.5T720-552q0-109-69.5-178.5T480-800q-101%200-170.5%2069.5T240-552q0%2071%2059%20162.5T480-186Zm0%20106Q319-217%20239.5-334.5T160-552q0-150%2096.5-239T480-880q127%200%20223.5%2089T800-552q0%20100-79.5%20217.5T480-80Zm0-480Z%22%2F%3E%3C%2Fsvg%3E");
}

.hp-footer__logo {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 24px;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.hp-footer__logo span {
    color: var(--color-cyan);
}

.hp-footer__logo img {
    height: 36px;
}

.hp-footer__tagline {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 320px;
}

.hp-footer__col-title {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.hp-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hp-footer__col ul li a,
.hp-footer__col ul li span {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hp-footer__col ul.open-hours li span {
    display: block
}

.hp-footer__col ul li.current-menu-item a,
.hp-footer__col ul li a:hover {
    color: var(--color-cyan);
}

.hp-footer__bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
}

.hp-footer__copy {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

.hp-footer__legal-links {
    display: flex;
    gap: var(--space-lg);
}

.hp-footer__legal-links a {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition-fast);
}

.hp-footer__legal-links a:hover {
    color: var(--color-white);
}

/*=========================================================================*/

.hp-team__dir {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    padding: var(--space-sm);
}

.hp-team__dir.practitioners {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    padding: var(--space-sm);
}

/* Individual expertise card — glassmorphism photo card */
.hp-team-card {
    display: block;
    position: relative;
    border-radius: var(--radius-card-sm);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--color-card-bg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-card-bg);
    transition: all var(--transition-base);
}

.hp-team__dir.practitioners .hp-team-card {
    border-radius: var(--radius-card);
}

.hp-team-card:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 8px 32px rgba(0, 42, 102, 0.12);
}

.hp-team-card__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3xl);
    padding: var(--space-sm);
}

.hp-team__dir.practitioners .hp-team-card__content {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-xs);
}

.hp-team-card__profile {
    max-width: calc(100% - 383px);
}

.hp-team__dir.practitioners .hp-team-card__profile {
    max-width: max-content;
    text-align: center;
}

.hp-team-card__name {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-card);
    color: var(--color-navy);
}

.hp-team__dir.practitioners .hp-team-card__name {
    font-family: var(--font-body);
    font-weight: var(--fw-bold);
    font-size: var(--text-h4);
    line-height: var(--lh-h4);
    letter-spacing: var(--ls-card);
    color: var(--color-navy);
}

.hp-team-card__desc {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-h4);
    line-height: var(--lh-h4);
    letter-spacing: var(--ls-card);
    color: var(--color-body);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
}

.hp-team__dir.practitioners .hp-team-card__desc {
    font-size: var(--text-body);
    line-height: var(--lh-body);
    margin-bottom: 0;
}

.hp-team-card__info {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: 26px;
    letter-spacing: var(--ls-card);
    color: var(--color-body);
}


/* ==========================================================================
   WORDPRESS CORE OVERRIDES & ALIGNMENT CLASSES
   ========================================================================== */

.wp-block-image img {
    border-radius: var(--radius-card);
}

.alignleft {
    float: left;
    margin-right: var(--space-lg);
}

.alignright {
    float: right;
    margin-left: var(--space-lg);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-separator {
    border: none;
    border-top: 1px solid rgba(0, 42, 102, 0.1);
    margin: var(--space-3xl) 0;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip link */
.skip-link {
    left: -9999rem;
    position: absolute;
    top: -9999rem;
}

.skip-link:focus {
    background-color: var(--color-cyan);
    clip: auto !important;
    color: var(--color-white);
    display: block;
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    height: auto;
    left: 6px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 7px;
    width: auto;
    z-index: 100000;
}

/*=======================================================*/

.hp-cta-section {
    background: var(--color-card-bg);
    border-radius: var(--radius-card);
    margin: var(--space-3xl) var(--container-padding) var(--space-4xl);
    padding: var(--space-4xl);
}

.hp-cta-section.white {
    background: var(--color-white);
    padding: 0 var(--space-4xl);
    margin: var(--space-3xl) var(--container-padding) var(--space-xl);
}

.hp-cta-inner {
    position: relative;
    width: 100%;
    max-width: 1673px;
    margin: 0 auto;
    min-height: 670px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
}

.hp-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 686px;
    margin: 0 auto;
    flex-shrink: 0;
    text-align: center;
    z-index: 2;
}

/* Heading group — maps to: Frame 125 → Heading */
.hp-cta-heading-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.hp-cta-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* h2 — maps to: "Build the Future of Allied Healthcare With Us" */
.hp-cta-title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
    max-width: 652px;
    text-align: center;
}

/* Body text — maps to: HealthPlex is building... */
.hp-cta-body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: var(--color-body);
    max-width: 652px;
    text-align: center;
}

.hp-cta-bubbles {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 430px;
    pointer-events: none;
}

.hp-cta-bubbles--left {
    left: 0;
}

.hp-cta-bubbles--right {
    right: 0;
}

/* Individual bubble — Maps to each Ellipse */
.hp-bubble {
    position: absolute;
    border-radius: var(--radius-bubble);
    /* 8px from raw.css */
    pointer-events: all;
    cursor: default;

    /* Default float animation — overridden per bubble below */
    animation:
        hp-bubble-enter 0.7s var(--ease-spring) both,
        hp-bubble-float 6s ease-in-out infinite;

    transition:
        transform 0.3s var(--ease-spring),
        box-shadow 0.3s var(--ease-smooth);
}

.hp-bubble:hover {
    transform: scale(1.12) translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0, 42, 102, 0.18);
    animation-play-state: paused;
    z-index: 10;
}

/* Entrance: each bubble fades + zooms in from slightly smaller */
@keyframes hp-bubble-enter {
    from {
        opacity: 0;
        transform: scale(0.6);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Float: gentle vertical oscillation */
@keyframes hp-bubble-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(0.6deg);
    }

    50% {
        transform: translateY(-14px) rotate(0deg);
    }

    75% {
        transform: translateY(-6px) rotate(-0.4deg);
    }
}

/* Alternate float — mirror phase for natural stagger */
@keyframes hp-bubble-float-alt {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(-0.5deg);
    }

    50% {
        transform: translateY(-5px) rotate(0.3deg);
    }

    75% {
        transform: translateY(-12px) rotate(0deg);
    }
}

/* Slow drift — largest bubbles move least */
@keyframes hp-bubble-drift {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    33% {
        transform: translateY(-6px) translateX(3px);
    }

    66% {
        transform: translateY(-10px) translateX(-2px);
    }
}

/* ── SIZE VARIANTS ──────────────────────────────────────────── */
/* Sizes mapped from raw.css Ellipse dimensions */
.hp-bubble--xl {
    width: 144px;
    height: 144px;
}

/* Ellipse 8  */
.hp-bubble--lg {
    width: 130px;
    height: 130px;
}

/* Ellipse 12 */
.hp-bubble--mlg {
    width: 125px;
    height: 125px;
}

/* Ellipse 3  */
.hp-bubble--md {
    width: 118px;
    height: 118px;
}

/* Ellipse 9, 10 */
.hp-bubble--sm {
    width: 112px;
    height: 112px;
}

/* Ellipse 6  */
.hp-bubble--msm {
    width: 102px;
    height: 102px;
}

/* Ellipse 4, 5 */
.hp-bubble--xs {
    width: 86px;
    height: 86px;
}

/* Ellipse 11 */
.hp-bubble--xxs {
    width: 75px;
    height: 75px;
}

/* Ellipse 7  */

/* ── COLOUR FILLS (placeholder for images) ──────────────────── */
.hp-bubble--sky {
    background: var(--color-bubble-1);
}

.hp-bubble--slate {
    background: var(--color-bubble-2);
}

.hp-bubble--mint {
    background: var(--color-bubble-3);
}

.hp-bubble--blush {
    background: var(--color-bubble-4);
}

.hp-bubble--grey {
    background: var(--color-bubble-5);
}

.hp-bubble--navy {
    background: rgba(0, 42, 102, 0.12);
}

/* ── LEFT BUBBLES — Ellipse 3–7 ─────────────────────────────── */
/* Positions: left% = raw_left / 1840,  top% = (raw_top - 3547) / 679 */

/* Ellipse 3 — 125×125, raw left=332, top=3632 */
.hp-bubble--e3 {
    left: 60%;
    top: 5.5%;
    animation-delay: 0s, 0s;
    animation-duration: 0.7s, 6.2s;
    animation-name: hp-bubble-enter, hp-bubble-float;
}

/* Ellipse 4 — 102×102, raw left=117, top=3694 */
.hp-bubble--e4 {
    left: 4.5%;
    top: 21.8%;
    animation-delay: 0.1s, 0s;
    animation-duration: 0.7s, 5.8s;
    animation-name: hp-bubble-enter, hp-bubble-float-alt;
}

/* Ellipse 5 — 102×102, raw left=229, top=3835 */
.hp-bubble--e5 {
    left: 45%;
    top: 42.4%;
    animation-delay: 0.18s, 0s;
    animation-duration: 0.7s, 7.1s;
    animation-name: hp-bubble-enter, hp-bubble-float;
}

/* Ellipse 6 — 112×112, raw left=357, top=4028 */
.hp-bubble--e6 {
    left: 58.5%;
    top: 75.8%;
    animation-delay: 0.26s, 0s;
    animation-duration: 0.7s, 6.5s;
    animation-name: hp-bubble-enter, hp-bubble-drift;
}

/* Ellipse 7 — 75×75, raw left=129, top=3998 */
.hp-bubble--e7 {
    left: 5.5%;
    top: 66.4%;
    animation-delay: 0.34s, 0s;
    animation-duration: 0.7s, 5.4s;
    animation-name: hp-bubble-enter, hp-bubble-float-alt;
}

/* ── RIGHT BUBBLES — Ellipse 8–12 ───────────────────────────── */
/* Positions mirrored: right% = (1840 - raw_left - size) / 1840 */

/* Ellipse 8  — 144×144, raw left=1441, top=3607 */
.hp-bubble--e8 {
    right: 50.6%;
    top: 5.8%;
    animation-delay: 0.08s, 0s;
    animation-duration: 0.7s, 7s;
    animation-name: hp-bubble-enter, hp-bubble-drift;
}

/* Ellipse 9  — 118×118, raw left=1671, top=3712 */
.hp-bubble--e9 {
    right: 3.5%;
    top: 24.3%;
    animation-delay: 0.16s, 0s;
    animation-duration: 0.7s, 6s;
    animation-name: hp-bubble-enter, hp-bubble-float-alt;
}

/* Ellipse 10 — 118×118, raw left=1542, top=3870 */
.hp-bubble--e10 {
    right: 35.5%;
    top: 47.6%;
    animation-delay: 0.24s, 0s;
    animation-duration: 0.7s, 5.6s;
    animation-name: hp-bubble-enter, hp-bubble-float;
}

/* Ellipse 12 — 130×130, raw left=1638, top=4035 */
.hp-bubble--e12 {
    right: 3.8%;
    top: 71.9%;
    animation-delay: 0.32s, 0s;
    animation-duration: 0.7s, 6.8s;
    animation-name: hp-bubble-enter, hp-bubble-float-alt;
}

/* Ellipse 11 — 86×86, raw left=1382, top=4045 */
.hp-bubble--e11 {
    right: 60.5%;
    top: 73.5%;
    animation-delay: 0.4s, 0s;
    animation-duration: 0.7s, 7.4s;
    animation-name: hp-bubble-enter, hp-bubble-drift;
}


/* =========================================================================
       DECORATIVE: subtle pulse ring behind large bubbles on hover
       ========================================================================= */
.hp-bubble::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--radius-bubble) + 4px);
    border: 2px solid rgba(0, 42, 102, 0.15);
    opacity: 0;
    transform: scale(0.9);
    transition:
        opacity 0.3s var(--ease-smooth),
        transform 0.3s var(--ease-smooth);
}

.hp-bubble:hover::after {
    opacity: 1;
    transform: scale(1);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-2xl);
    gap: var(--space-lg);
}

.post-navigation .navi {
    max-width: 50%;
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
}

.post-navigation .navi.next {
    flex-direction: row-reverse;
    text-align: right;
    margin-left: auto;
}

.hp-careers-features h3 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--text-h3);
    line-height: var(--lh-h3);
    letter-spacing: var(--ls-hero);
    color: var(--color-navy);
    text-transform: capitalize;
    margin-bottom: var(--space-sm)
}

.hp-referral-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white, #FFFFFF);
    box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-banner, 30px);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hp-referral-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 5px;
}

.hp-referral-title {
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--text-h4);
    line-height: var(--lh-h4);
    letter-spacing: var(--ls-card);
    color: var(--color-navy);
    text-transform: capitalize;
}

.hp-referral-lead {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-body);
}


/* ---------- Feedback banner ---------- */
.hp-referral-feedback {
    padding: 14px 18px;
    border-radius: var(--radius-icon, 10px);
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 15px;
    line-height: 1.5;
}

.hp-referral-feedback--success {
    background: #E3F8EE;
    border: 1px solid #8FD9B3;
    color: #1C6B45;
}

.hp-referral-feedback--error {
    background: #FEF0EF;
    border: 1px solid #F3A8A2;
    color: #A12B22;
}


/* ---------- Form layout ---------- */
.hp-referral-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.hp-referral-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.hp-referral-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
    background: rgba(217, 226, 255, 0.3);
    border-radius: var(--radius-card, 20px);
    border: none;
    width: 100%;
}

.hp-referral-section__title {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--color-body, #434751);
    padding: 0;
    width: 100%;
}

.hp-referral-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.hp-referral-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex: 1;
    width: 100%;
}

.hp-referral-field--full {
    width: 100%;
}

.hp-referral-field label {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--color-body, #434751);
}

.hp-referral-field input[type="text"],
.hp-referral-field input[type="tel"],
.hp-referral-field input[type="email"],
.hp-referral-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-icon, 10px);
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: var(--color-body, #434751);
    background: var(--color-white, #FFFFFF);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-referral-field input::placeholder,
.hp-referral-field textarea::placeholder {
    color: rgba(67, 71, 81, 0.5);
}

.hp-referral-field input:focus,
.hp-referral-field textarea:focus {
    outline: none;
    border-color: var(--color-cyan, #02B6CA);
    box-shadow: 0 0 0 3px rgba(2, 182, 202, 0.15);
}

.hp-referral-field input.has-error,
.hp-referral-field textarea.has-error {
    border-color: #D9534F;
}

.hp-referral-error {
    display: block;
    min-height: 0;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 13px;
    line-height: 1.4;
    color: #D9534F;
}

.hp-referral-error:empty {
    display: none;
}

.hp-referral-field textarea {
    resize: vertical;
    min-height: 120px;
}


/* ---------- Attachment dropzone ---------- */
.hp-referral-dropzone {
    position: relative;
    width: 100%;
    min-height: 129px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed var(--color-cyan, #02B6CA);
    border-radius: var(--radius-card, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hp-referral-dropzone:hover,
.hp-referral-dropzone.is-dragover {
    background: rgba(2, 182, 202, 0.06);
}

.hp-referral-dropzone.has-file {
    border-style: solid;
}

.hp-referral-dropzone.has-error {
    border-color: #D9534F;
}

.hp-referral-dropzone__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.hp-referral-dropzone__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.hp-referral-dropzone__icon {
    display: flex;
}

.hp-referral-dropzone__text {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: rgba(67, 71, 81, 0.5);
    max-width: 260px;
    word-break: break-word;
}

/* ==========================================================================
   RESPONSIVE — Small Desktop (≤ 1280px)
   Font sizes only — no layout, spacing, or structural changes.
   All reductions are ~12–14% from the 1920px Figma base values.
   ========================================================================== */

.mq-desktop {
    display: block;
}

.mq-mobile {
    display: none;
}

@media (max-width: 1340px) {

    /* ── 1. Design token overrides (CSS vars) ──────────────────────────────── */
    :root {
        /* Prevent iOS/Android from auto-inflating our reduced sizes */
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;

        /* Font sizes — token scale */
        --text-hero: 40px;
        /* was 50px */
        --text-h2: 32px;
        /* was 40px */
        --text-h3: 21px;
        /* was 24px */
        --text-h4: 19px;
        /* was 21px */
        --text-h5: 16px;
        /* was 18px */
        --text-label: 12px;
        /* was 16px */
        --text-body: 16px;
        /* was 18px */
        --text-small: 14px;
        /* was 16px */

        /* Line heights — scaled proportionally */
        --lh-hero: 56px;
        /* was 65px */
        --lh-h2: 44px;
        /* was 50px */
        --lh-h3: 30px;
        /* was 34px */
        --lh-h4: 24px;
        /* was 27px */
        --lh-body: 25px;
        /* was 28px */
        --lh-nav: 20px;
        /* was 23px */
        --lh-label: 22px;
        /* was 26px */

        /* Button text — uses raw px not a token */
        --btn-font-size: 16px;
        /* was 18px */
        --btn-text-size: 16px;
        /* was 18px */
    }

    /* ── 2. Hard-coded font sizes not covered by tokens ───────────────────── */

    .hp-logo img,
    .custom-logo-link img,
    .hp-logo svg {
        height: 30px;
    }

    /* Header logo wordmark */
    .hp-logo__wordmark {
        font-size: 21px;
        /* was 24px */
    }

    /* Nav dropdown items */
    .hp-nav__dropdown {
        min-width: 312px;
    }

    .hp-nav__dropdown a {
        font-size: 14px;
        /* was 16px */
    }

    /* "Why Partner With HealthPlex" sub-heading */
    .hp-why-partner__heading {
        font-size: 24px;
        /* was 28px */
    }

    /* Expertise card ordinal number  e.g. "01." */
    .hp-expertise-card__num {
        font-size: 19px;
        /* was 22px */
        line-height: 25px;
        /* was 29px */
    }

    /* Location list items */
    .hp-location-item {
        font-size: 14px;
        /* was 16px */
    }

    /* Opportunity card heading */
    .hp-opp-card__title {
        font-size: 19px;
        /* was 22px */
    }

    /* Blog post card */
    .hp-post-card__date {
        font-size: 13px;
        /* was 14px */
    }

    .hp-post-card__title {
        font-size: 17px;
        /* was 20px */
    }

    .hp-post-card__excerpt {
        font-size: 14px;
        /* was 16px */
    }

    .hp-post-card__link {
        font-size: 13px;
        /* was 15px */
    }

    /* Footer */
    .hp-footer__logo {
        font-size: 21px;
        /* was 24px */
    }

    .hp-footer__logo img {
        height: 30px;
    }

    .hp-hero__inner {
        min-height: 540px;
    }

    .hp-cta-inner {
        min-height: 480px;
    }

    .hp-cta-bubbles {
        width: 320px;
    }

    .hp-bubble--xl {
        width: 122px;
        height: 122px;
    }

    .hp-bubble--lg {
        width: 111px;
        height: 111px;
    }

    .hp-bubble--mlg {
        width: 106px;
        height: 106px;
    }

    .hp-bubble--md {
        width: 100px;
        height: 100px;
    }

    .hp-bubble--sm {
        width: 95px;
        height: 95px;
    }

    .hp-bubble--msm {
        width: 87px;
        height: 87px;
    }

    .hp-bubble--xs {
        width: 73px;
        height: 73px;
    }

    .hp-bubble--xxs {
        width: 64px;
        height: 64px;
    }

    .hp-bubble--e3 {
        left: 51%;
        top: 4.7%;
    }

    .hp-bubble--e4 {
        left: 3.8%;
        top: 18.5%;
    }

    .hp-bubble--e5 {
        left: 38%;
        top: 36%;
    }

    .hp-bubble--e6 {
        left: 50%;
        top: 64%;
    }

    .hp-bubble--e7 {
        left: 4.7%;
        top: 56%;
    }

    .hp-bubble--e8 {
        right: 43%;
        top: 5%;
    }

    .hp-bubble--e9 {
        right: 3%;
        top: 20.5%;
    }

    .hp-bubble--e10 {
        right: 30%;
        top: 40%;
    }

    .hp-bubble--e11 {
        right: 51%;
        top: 62%;
    }

    .hp-bubble--e12 {
        right: 3.2%;
        top: 61%;
    }

    .hp-cta-content {
        width: 580px;
    }

    .hp-cta-title {
        font-size: 36px;
        line-height: 46px;
    }

    .hp-cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --text-hero: 40px;
        --lh-hero: 52px;
        --text-h2: 34px;
        --lh-h2: 44px;
        --section-gap: 70px;
        --container-padding: 24px;
    }

    .hp-hero__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hp-hero__content {
        padding: var(--space-5xl) var(--space-3xl);
        max-width: 100%;
    }

    .hp-hero__image {
        min-height: 360px;
    }

    .hp-hero__image img {
        border-radius: 0 0 var(--radius-banner) var(--radius-banner);
    }

    .hp-hero__video {
        min-height: 300px;
    }

    .hp-hero__video-mute {
        bottom: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .hp-about__grid {
        grid-template-columns: 1fr;
    }

    .hp-about__image {
        height: 380px;
    }

    .hp-why-partner__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-why-partner__grid--wide {
        grid-template-columns: 1fr;
    }

    .hp-partner-cta__inner {
        grid-template-columns: 1fr;
    }

    .hp-partner-cta__image {
        height: 300px;
    }

    .hp-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl) var(--space-xl);
    }

    .hp-footer__brand {
        grid-column: 1 / -1;
    }

    .hp-opportunities__grid {
        grid-template-columns: 1fr;
    }

    .mission-vision .hp-services__grid {
        grid-template-columns: 1fr;
    }

    .hp-blog__grid {
        grid-template-columns: 1fr 1fr;
    }

    .core-values .hp-services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hp-footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .hp-opportunities__grid.principles {
        grid-template-columns: 1fr 1fr;
    }

    .hp-cta-section {
        padding: 0 20px;
    }

    .hp-cta-card {
        min-height: auto;
        padding: 60px 20px 220px;
    }

    .hp-cta-inner {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        min-height: auto;
    }

    .hp-cta-content {
        width: 100%;
        max-width: 600px;
        position: relative;
        z-index: 2;
    }

    .hp-cta-title {
        font-size: 32px;
        line-height: 42px;
    }

    /* Collapse bubble clusters to a decorative strip at the bottom */
    .hp-cta-bubbles {
        position: absolute;
        width: 100%;
        height: 180px;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
    }

    .hp-cta-bubbles--right,
    .hp-cta-bubbles--left {
        display: none;
    }

    .hp-bubble--xl {
        width: 101px;
        height: 101px;
    }

    .hp-bubble--lg {
        width: 91px;
        height: 91px;
    }

    .hp-bubble--mlg {
        width: 88px;
        height: 88px;
    }

    .hp-bubble--md {
        width: 83px;
        height: 83px;
    }

    .hp-bubble--sm {
        width: 78px;
        height: 78px;
    }

    .hp-bubble--msm {
        width: 71px;
        height: 71px;
    }

    .hp-bubble--xs {
        width: 60px;
        height: 60px;
    }

    .hp-bubble--xxs {
        width: 53px;
        height: 53px;
    }

    .hp-bubble--e3 {
        left: 42%;
        top: 4%;
    }

    .hp-bubble--e4 {
        left: 3%;
        top: 15%;
    }

    .hp-bubble--e5 {
        left: 31%;
        top: 30%;
    }

    .hp-bubble--e6 {
        left: 42%;
        top: 54%;
    }

    .hp-bubble--e7 {
        left: 4%;
        top: 48%;
    }

    .hp-bubble--e8 {
        right: 35%;
        top: 4%;
    }

    .hp-bubble--e9 {
        right: 2.5%;
        top: 17%;
    }

    .hp-bubble--e10 {
        right: 24%;
        top: 34%;
    }

    .hp-bubble--e11 {
        right: 42%;
        top: 52%;
    }

    .hp-bubble--e12 {
        right: 3%;
        top: 52%;
    }
}


/* ==========================================================================
   RESPONSIVE — Mobile (≤ 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --text-hero: 28px;
        --lh-hero: 35px;
        --text-h2: 25px;
        --lh-h2: 32px;
        --text-h3: 20px;
        --section-gap: 50px;
        --container-padding: 15px;
    }

    .mq-desktop {
        display: none;
    }

    .mq-mobile {
        display: block;
    }

    .hp-btn {
        margin: 0 auto;
        justify-content: space-between;
        font-size: var(--text-medium);
    }

    .hp-hero {
        padding: 16px var(--container-padding) var(--container-padding);
    }

    .hp-page__hero {
        padding: 16px var(--container-padding) 0 var(--container-padding);
    }

    .hp-hero__image-col {
        padding: 0;
    }

    .hp-hero__video {
        min-height: 240px;
        /* Mobile slot sits inside the content column — no outer padding needed */
        border-radius: var(--radius-card-sm, 16px);
    }

    .hp-page__hero-bg {
        padding: var(--space-3xl) var(--space-xl) var(--space-3xl) var(--space-xl);
        min-height: 275px;
    }

    .hp-hero__content {
        padding: var(--space-3xl) var(--space-xl);
    }

    .hp-hero__cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Nav mobile */
    .hp-nav__item.is-open .hp-nav__chevron {
        transform: rotate(-45deg);
        border-color: var(--color-cyan);
        margin-top: 0;
    }

    .hp-nav__item.is-open .hp-nav__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hp-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: fixed;
        top: 79px;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 0 var(--space-lg) var(--space-lg);
        box-shadow: 0 20px 24px rgba(0, 0, 0, 0.10);
        z-index: 999;
    }

    body.mobile-menu__open {
        position: fixed;
        width: 100%;
        overflow: hidden;
    }

    body::after {
        content: '';
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.75);
        overflow: hidden;
        z-index: 9;
    }

    body.mobile-menu__open::after {
        display: block;
    }

    .hp-nav.is-open {
        display: flex;
    }

    .hp-nav__item {
        width: 100%;
    }

    .hp-nav__link {
        padding: 12px 12px 12px 0;
        border-bottom: 1px solid rgba(0, 42, 102, 0.06);
        width: 100%;
        justify-content: space-between;
    }

    .hp-nav__toggle {
        display: block;
        position: relative;
        width: 40px;
        height: 40px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .hp-nav__toggle span {
        position: absolute;
        left: 50%;
        width: 24px;
        height: 2px;
        background: var(--color-navy);
        border-radius: 2px;
        transform: translateX(-50%);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hp-nav__toggle span:nth-child(1) {
        top: 12px;
    }

    .hp-nav__toggle span:nth-child(2) {
        top: 19px;
    }

    .hp-nav__toggle span:nth-child(3) {
        top: 26px;
    }

    /* Open state */
    .hp-nav__toggle.is-open span:nth-child(1) {
        top: 19px;
        transform: translateX(-50%) rotate(45deg);
    }

    .hp-nav__toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hp-nav__toggle.is-open span:nth-child(3) {
        top: 19px;
        transform: translateX(-50%) rotate(-45deg);
    }

    .hp-nav__dropdown {
        min-width: 100%;
    }

    .hp-header__cta {
        display: none;
    }

    .hp-pill-tag {
        padding: 4px 12px;
        gap: var(--space-xs);
        height: 32px;
        font-size: var(--text-small);
    }

    .hp-about__highlight-text {
        font-size: var(--text-small);
        line-height: var(--lh-label);
    }

    .hp-why-partner__grid,
    .hp-why-partner__grid--wide {
        grid-template-columns: 1fr;
    }

    .hp-opportunities__grid.principles {
        grid-template-columns: 1fr;
    }

    .hp-services__grid {
        grid-template-columns: 1fr;
    }

    .hp-services__grid .hp-service-card.mob-col-2 {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: var(--space-md);
        gap: var(--space-lg);
    }

    .hp-services__grid .hp-service-card.mob-col-2 .hp-service-card__name {
        font-size: var(--text-h5);
        margin-bottom: 0
    }

    .core-values .hp-services__grid {
        grid-template-columns: 1fr 1fr;
    }

    .core-values .hp-services__grid .hp-opp-card__icon img {
        height: 55px;
    }

    .hp-services__grid.col-2 {
        grid-template-columns: 1fr;
    }

    .hp-partner-cta {
        margin: 0 var(--container-padding-sm);
        padding: var(--space-3xl) var(--space-xl);
    }

    .hp-partner-cta__inner {
        grid-template-columns: 1fr;
    }

    .hp-blog__grid {
        grid-template-columns: 1fr;
    }

    .hp-expertise__cards-active {
        padding: 0 var(--space-sm);
    }

    .hp-opportunities.white {
        padding: var(--space-4xl) 0 0;
    }

    .custom-arrow {
        width: 32px;
        height: 32px;
        top: calc(100% + 25px);
    }

    .arrow-left,
    .arrow-right {
        width: 15px;
        height: 15px;
    }


    .hp-services__grid.hp-services__grid-icon.col-3 {
        grid-template-columns: 1fr;
    }

    .hp-services__grid.hp-services__grid-image {
        grid-template-columns: 1fr;
    }

    .hp-services__grid.hp-services__grid-image.col-4 {
        grid-template-columns: 1fr;
    }

    .single-hp_expertise .mission-vision .hp-services__grid {
        grid-template-columns: 1fr;
    }

    .hp-services__grid.hp-services__grid-icon {
        grid-template-columns: 1fr;
    }

    .hp-opportunities__grid.manage-services {
        grid-template-columns: 1fr;
    }

    .approaches_list.navy.col-3 {
        grid-template-columns: 1fr;
    }

    .single-hp_expertise .horizontal .hp-service-card {
        flex-direction: column;
    }

    .single-hp_expertise .horizontal .hp-service-card .hp-service-card-img {
        width: 100%;
        border-radius: var(--radius-card-sm);
    }

    .single-hp_expertise .hp-services-rel.white:not(.mission-vision) {
        padding: var(--space-3xl) 0;
    }

    .hp-blog__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .hp-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hp-locations__inner {
        background-image: none;
    }

    .hp-locations__sidebar {
        max-width: 100%;
        min-height: auto;
        padding: var(--space-xl);
    }

    .hp-expertise__cards {
        padding: 0 var(--space-lg);
    }

    /*.hp-expertise-card {
        width: 280px;
        height: 320px;
    }*/

    .hp-cta-title {
        font-size: 26px;
        line-height: 36px;
    }

    .hp-cta-body {
        font-size: 16px;
        line-height: 26px;
    }

    .hp-cta-btn--primary,
    .hp-cta-btn--outline {
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }

    .hp-service-card {
        aspect-ratio: auto;
    }

    .hp-service-card__content {
        margin-top: 0;
        margin-bottom: auto;
    }

    .hp-service-card__icon-wrap {
        position: static;
    }

    .hp-opp-card {
        padding: var(--space-md);
    }

    .hp-about__grid.reverse .hp-about__image {
        order: unset;
    }

    .hp-about__grid.reverse {
        margin-top: var(--space-4xl);
    }

    .hp-cta-card {
        padding: 60px 20px;
    }

    .hp-team-card__content {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .hp-team-card__profile {
        max-width: unset;
        text-align: center;
    }

    .hp-team__dir.practitioners {
        grid-template-columns: 1fr 1fr;
    }

    .hp-team__dir.practitioners .hp-team-card__name {
        font-size: var(--text-body);
    }

    .hp-team__dir.practitioners .hp-team-card__desc {
        font-size: var(--text-small);
    }

    .hp-opp-card.path::after {
        top: 100%;
        left: calc(50% - 43px);
    }

    .hp-opp-card.arrow::after {
        top: calc(100% + 30px);
        right: 43%;
        transform: rotate(90deg);
    }

    .hp-referral-card {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .hp-referral-row {
        flex-direction: column;
        gap: 15px;
    }

    .hp-referral-title {
        font-size: 26px;
        line-height: 32px;
    }

    .single-hp_expertise .hp-services:not(.mission-vision) {
        padding: var(--space-3xl) var(--space-xs);
    }

    .hp-cta-section.white {
        padding: 0;
    }

    .hp-cta-section.white .hp-cta-card {
        padding: 40px 0;
    }

    .single-hp_expertise .hp-about__content.single-responsive .hp-services__header {
        align-items: center;
    }

    .single-hp_expertise .hp-about__content.single-responsive .hp-services__header .hp-services__lead {
        text-align: center;
    }

    .single-hp_expertise .hp-about__content.single-responsive {
        padding: var(--space-3xl) 22px;
        background: var(--color-card-bg);
        border-radius: var(--radius-card);
    }

    .single-hp_expertise .single-responsive .hp-service-card {
        background: var(--color-white);
        padding-top: 66.5%;
    }

    .hp-footer__tagline,
    .hp-footer__brand ul.contact-details {
        max-width: max-content;
    }

    .hp-footer__col ul.open-hours li {
        display: flex;
        justify-content: flex-start;
    }

    .hp-footer__col ul.open-hours li span {
        display: inline-block;
    }

    .hp-footer__col ul.open-hours li span:first-child {
        width: 50%;
    }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hp-hero__video {
        animation: none;
    }
}
