:root {
    --bg: #05070b;
    --bg-soft: #0c1220;
    --bg-card: rgba(255, 255, 255, 0.08);
    --surface: #f3f6fb;
    --surface-strong: #ffffff;
    --text: #e4ebf5;
    --text-dark: #12131a;
    --muted: #8ea0b8;
    --line: rgba(255, 255, 255, 0.14);
    --line-dark: rgba(17, 32, 51, 0.12);
    --accent: #55ade8;
    --accent-strong: #355fb2;
    --accent-secondary: #6fc94a;
    --accent-lime: #d8ea5f;
    --accent-red: #e53935;
    --accent-warm: #e53935;
    --radius: 24px;
    --shadow: 0 30px 80px rgba(2, 11, 24, 0.28);
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', "Segoe UI", "Helvetica Neue", sans-serif;
    color: var(--text);
    background:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        radial-gradient(circle at top left, rgba(85, 173, 232, 0.18), transparent 26%),
        radial-gradient(circle at top right, rgba(216, 234, 95, 0.14), transparent 22%),
        radial-gradient(circle at 70% 85%, rgba(111, 201, 74, 0.16), transparent 22%),
        linear-gradient(180deg, #05070b 0%, #0a1020 40%, #101927 100%);
    background-size: 64px 64px, 64px 64px, auto, auto, auto, auto;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

main {
    display: block;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(7, 17, 31, 0.68);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(7, 17, 31, 0.9);
    border-color: var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 86px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.site-brand__mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
}

.site-brand__mark svg {
    width: 1.85rem;
    height: 1.85rem;
}

.site-brand__logo {
    display: block;
    height: 68px;
    width: auto;
    flex-shrink: 0;
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(180deg);
    transition: filter 0.2s ease;
}

.site-brand:hover .site-brand__logo {
    filter: invert(1) hue-rotate(180deg) brightness(1.15);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.site-brand__text strong {
    font-family: 'Plus Jakarta Sans', 'Inter', "Segoe UI", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-brand__z {
    color: var(--accent-red);
}

.site-brand__text small {
    color: var(--muted);
    font-size: 0.72rem;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.menu,
.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav .menu {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.primary-nav a,
.footer-links a,
.site-footer__legal a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.primary-nav a:hover,
.footer-links a:hover,
.site-footer__legal a:hover,
.footer-contact a:hover {
    color: #fff;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: #0a1019;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(85, 173, 232, 0.22);
}

.button--small {
    min-height: 42px;
    padding-inline: 1rem;
}

.button--ghost,
.button--ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.button--light {
    background: #fff;
    color: #0c2035;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(6px);
    opacity: 0.65;
}

.hero::before {
    width: 22rem;
    height: 22rem;
    left: -8rem;
    top: 2rem;
    background: radial-gradient(circle, rgba(53, 95, 178, 0.58), transparent 60%);
}

.hero::after {
    width: 24rem;
    height: 24rem;
    right: -8rem;
    top: -2rem;
    background: radial-gradient(circle, rgba(111, 201, 74, 0.34), transparent 60%);
}

.hero--home {
    padding: 7rem 0 5rem;
}

.hero--inner,
.hero--article {
    padding: 5.5rem 0 3rem;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__content--narrow {
    max-width: 760px;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
}

.hero__lead {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.12rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero__panel {
    display: grid;
    gap: 1rem;
}

.stat-card,
.card,
.industry-card,
.post-card,
.office-card,
.empty-state,
.form-shell,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 1.6rem;
}

.stat-card span,
.eyebrow,
.site-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.eyebrow::before,
.site-footer__eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    flex-shrink: 0;
    border-radius: 2px;
}

.stat-card strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.section {
    padding: 5rem 0;
}

.section--dark {
    background: rgba(2, 10, 22, 0.58);
}

.section--subtle {
    background: rgba(255, 255, 255, 0.03);
}

.section--accent {
    background: linear-gradient(135deg, rgba(53, 95, 178, 0.96) 0%, rgba(32, 142, 62, 0.96) 100%);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2,
.split-feature h2,
.cta-banner h2,
.contact-panel h2,
.form-shell h2,
.site-footer__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
}

.card-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--three,
.industry-grid,
.values-grid,
.post-grid,
.office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.industry-card,
.office-card,
.post-card {
    padding: 1.6rem;
}

.card h3,
.industry-card h3,
.feature-list h3,
.values-grid h3,
.office-card h3,
.post-card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p,
.industry-card p,
.feature-list p,
.values-grid p,
.office-card p,
.contact-panel p,
.article-content,
.post-card p,
.site-footer__copy,
.footer-contact,
.content-shell {
    color: var(--muted);
}

.split-feature,
.contact-layout,
.cta-banner {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 1rem;
}

.feature-list > div,
.values-grid > article {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.industry-grid,
.values-grid,
.post-grid,
.office-grid {
    display: grid;
    gap: 1.25rem;
}

.cta-banner {
    align-items: center;
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.contact-panel,
.form-shell {
    padding: 2rem;
}

/* --- Contact form: CF7 + placeholder shared --- */
.contact-form-content .wpcf7-form p,
.contact-placeholder-form label {
    display: block;
    margin: 0 0 1.25rem;
}

.contact-form-content .wpcf7-form p > label,
.contact-placeholder-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.55rem;
}

.contact-form-content .wpcf7-form br {
    display: none;
}

.contact-form-content input,
.contact-form-content textarea,
.contact-form-content select,
.contact-placeholder-form input,
.contact-placeholder-form textarea {
    display: block;
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.contact-form-content input:focus,
.contact-form-content textarea:focus,
.contact-placeholder-form input:focus,
.contact-placeholder-form textarea:focus {
    border-color: var(--accent);
    background: rgba(85, 173, 232, 0.06);
    box-shadow: 0 0 0 3px rgba(85, 173, 232, 0.12);
}

.contact-form-content input::placeholder,
.contact-form-content textarea::placeholder,
.contact-placeholder-form input::placeholder,
.contact-placeholder-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.contact-form-content textarea,
.contact-placeholder-form textarea {
    min-height: 130px;
    resize: vertical;
}

/* Submit button */
.contact-form-content .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    background: var(--accent);
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.contact-form-content .wpcf7-submit:hover {
    background: #4db8f0;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(85, 173, 232, 0.3);
}

.contact-form-content .wpcf7-submit:active {
    transform: translateY(0);
}

/* Response message */
.contact-form-content .wpcf7-response-output {
    margin: 1.25rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none !important;
}

.contact-form-content .wpcf7-form.sent .wpcf7-response-output {
    background: rgba(111, 201, 74, 0.1);
    border-left: 3px solid #6fc94a !important;
    color: #a8e68a;
}

.contact-form-content .wpcf7-form.failed .wpcf7-response-output,
.contact-form-content .wpcf7-form.invalid .wpcf7-response-output {
    background: rgba(229, 57, 53, 0.08);
    border-left: 3px solid rgba(229, 57, 53, 0.6) !important;
    color: #f28b87;
}

.contact-form-content .wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #f28b87;
    margin-top: 0.3rem;
    display: block;
}

.contact-form-content .wpcf7-spinner {
    display: none;
}

.admin-note {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--accent-warm);
    border-radius: 12px;
    background: rgba(255, 45, 45, 0.08);
}

.contact-placeholder-form .button {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.post-card {
    padding: 0;
    overflow: hidden;
}

.post-card__link {
    display: block;
}

.post-card__image img,
.article-image img {
    width: 100%;
    height: auto;
}

.post-card__body {
    padding: 1.5rem;
}

.post-card__meta,
.article-meta {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-card__cta {
    display: inline-flex;
    margin-top: 0.85rem;
    color: #fff;
    font-weight: 700;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.article-content,
.content-shell {
    max-width: 860px;
}

.article-content > *:first-child,
.content-shell > *:first-child {
    margin-top: 0;
}

/* --- Insights listing cards --- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.insight-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-card:hover {
    border-color: rgba(85, 173, 232, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.insight-card__graphic {
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.insight-card__graphic svg {
    width: 100%;
    height: 100%;
    display: block;
}

.insight-card__body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-card__category {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.insight-card__title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin: 0 0 0.9rem;
}

.insight-card__excerpt {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    flex: 1;
}

.insight-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.insight-card__meta-sep {
    opacity: 0.4;
}

.insight-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    transition: gap 0.2s ease;
}

.insight-card:hover .insight-card__cta {
    gap: 0.65rem;
}

/* --- Article page --- */
.article-body {
    max-width: 760px;
}

.article-body p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
}

.article-body h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 2.5rem 0 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
}

.article-body h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.75rem 0 0.6rem;
}

.pull-quote {
    margin: 2.5rem 0;
    padding: 1.75rem 2rem;
    border-left: 3px solid var(--accent);
    background: rgba(85, 173, 232, 0.05);
    border-radius: 0 16px 16px 0;
    font-size: 1.15rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

.key-takeaways {
    margin: 2.5rem 0;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.key-takeaways h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
}

.key-takeaways ul {
    margin: 0;
    padding: 0 0 0 1.25rem;
    color: var(--muted);
    line-height: 1.75;
}

.key-takeaways ul li {
    margin-bottom: 0.5rem;
}

.author-bio {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-top: 2.5rem;
}

.author-bio__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.author-bio__avatar--branded {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-bio__info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.author-bio__info span {
    font-size: 0.85rem;
    color: var(--muted);
}

.article-featured-image {
    padding: 0 0 3rem;
}

.article-featured-image__img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
}

.article-nav,
.site-footer__bottom,
.site-footer__legal {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.pagination .nav-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 15% 0%, rgba(85, 173, 232, 0.1), transparent 25%),
        radial-gradient(circle at 85% 100%, rgba(111, 201, 74, 0.1), transparent 20%),
        rgba(1, 8, 18, 0.92);
}

.site-footer__grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
}

.site-footer h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 0.65rem;
}

.site-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: transparent;
    color: #fff;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

@media (max-width: 980px) {
    .hero__grid,
    .split-feature,
    .contact-layout,
    .cta-banner,
    .site-footer__grid,
    .card-grid--services,
    .card-grid--three,
    .industry-grid,
    .values-grid,
    .post-grid,
    .office-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .site-header__nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(7, 17, 31, 0.98);
        box-shadow: var(--shadow);
    }

    .site-header__nav.is-open {
        display: flex;
    }

    .primary-nav .menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: inline-block;
    }

    .cta-banner__actions,
    .site-footer__bottom,
    .site-footer__legal,
    .article-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .hero--home {
        padding-top: 5.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .site-brand__text small {
        display: none;
    }

    .contact-panel,
    .form-shell,
    .card,
    .industry-card,
    .office-card,
    .stat-card {
        padding: 1.35rem;
    }
}

/* ============================================================
   PREMIUM UPGRADE LAYER
   ============================================================ */

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', "Segoe UI", sans-serif;
    font-weight: 700;
}

h1 {
    font-weight: 800;
}

.button {
    font-family: 'Plus Jakarta Sans', 'Inter', "Segoe UI", sans-serif;
}


/* --- Gradient text utility --- */
.text-gradient {
    background: linear-gradient(120deg, var(--accent) 10%, #7dd3fc 55%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Scroll animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--anim-delay, 0s);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Card hover glow --- */
.card,
.industry-card,
.office-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover,
.industry-card:hover {
    border-color: rgba(85, 173, 232, 0.38);
    box-shadow:
        0 0 0 1px rgba(85, 173, 232, 0.12),
        0 24px 64px rgba(0, 0, 0, 0.38),
        0 0 48px rgba(85, 173, 232, 0.07);
    transform: translateY(-3px);
}

/* --- Card icon --- */
.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(85, 173, 232, 0.14), rgba(111, 201, 74, 0.08));
    border: 1px solid rgba(85, 173, 232, 0.22);
    color: var(--accent);
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.card:hover .card__icon,
.industry-card:hover .card__icon {
    background: linear-gradient(135deg, rgba(85, 173, 232, 0.22), rgba(111, 201, 74, 0.14));
    border-color: rgba(85, 173, 232, 0.4);
}

.card__icon svg {
    width: 1.3rem;
    height: 1.3rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- Clickable card link --- */
a.card--link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.card--link p {
    flex: 1;
}

.card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    transition: gap 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

a.card--link:hover .card__cta {
    gap: 0.55rem;
    opacity: 1;
}

a.industry-card--link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.industry-card--link p {
    flex: 1;
}

a.industry-card--link:hover .card__cta {
    gap: 0.55rem;
    opacity: 1;
}

/* --- Metrics strip --- */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(85, 173, 232, 0.05), rgba(111, 201, 74, 0.03));
    overflow: hidden;
}

.metric-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid var(--line);
    transition: background 0.25s ease;
}

.metric-item:last-child {
    border-right: none;
}

.metric-item:hover {
    background: rgba(85, 173, 232, 0.05);
}

.metric-item__number {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-item__label {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Sector pills --- */
.sector-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.sector-pill {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    cursor: default;
}

.sector-pill:hover {
    border-color: rgba(85, 173, 232, 0.5);
    color: #fff;
    background: rgba(85, 173, 232, 0.08);
}

/* --- Stat card polish --- */
.stat-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    border-color: rgba(85, 173, 232, 0.3);
    box-shadow: 0 0 40px rgba(85, 173, 232, 0.06), var(--shadow);
}

.stat-card strong {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Hero headline refinement --- */
.hero h1 {
    letter-spacing: -0.035em;
}

/* --- Section accent glow backdrop --- */
.section--accent {
    position: relative;
    overflow: hidden;
}

.section--accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.06), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.04), transparent 50%);
    pointer-events: none;
}

.section--accent .container {
    position: relative;
    z-index: 1;
}

/* --- Responsive: metrics strip --- */
@media (max-width: 980px) {
    .metrics-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric-item:nth-child(2) {
        border-right: none;
    }

    .metric-item:nth-child(1),
    .metric-item:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .metric-item {
        padding: 1.5rem 1rem;
    }

    .sector-strip {
        gap: 0.5rem;
    }
}

/* --- Industry / Verticals strip --- */
.client-strip {
    padding: 4rem 0;
    background: var(--bg-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.client-strip__label {
    text-align: center;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.client-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.client-name {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    cursor: default;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.client-name--link {
    text-decoration: none;
    cursor: pointer;
}

.client-name--link:hover {
    color: var(--accent);
    background: rgba(85, 173, 232, 0.08);
    border-color: rgba(85, 173, 232, 0.35);
}

/* --- AGILE delivery steps --- */
.delivery-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.delivery-step {
    padding: 1.5rem 1.1rem;
    border-right: 1px solid var(--line);
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    transition: background 0.25s ease;
}

.delivery-step:last-child {
    border-right: none;
}

.delivery-step:hover {
    background: rgba(85, 173, 232, 0.06);
}

.delivery-step__num {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.delivery-step__title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.delivery-step__copy {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
}

/* --- Case study outcome strip --- */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.outcome-card {
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(85, 173, 232, 0.06), rgba(111, 201, 74, 0.04));
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.outcome-card:hover {
    border-color: rgba(85, 173, 232, 0.35);
    transform: translateY(-2px);
}

.outcome-card__stat {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.outcome-card__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
}

.outcome-card__context {
    font-size: 0.8rem;
    color: var(--muted);
}

/* --- Technology pill row --- */
.tech-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-pill {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(85, 173, 232, 0.22);
    background: rgba(85, 173, 232, 0.06);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* --- Responsive additions --- */
@media (max-width: 980px) {
    .delivery-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .delivery-step:nth-child(3) {
        border-right: none;
    }

    .delivery-step:nth-child(1),
    .delivery-step:nth-child(2),
    .delivery-step:nth-child(3) {
        border-bottom: 1px solid var(--line);
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .delivery-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .delivery-step:nth-child(2) {
        border-right: none;
    }

    .delivery-step:nth-child(1),
    .delivery-step:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .delivery-step:nth-child(4) {
        border-right: none;
    }

    .delivery-step:nth-child(3),
    .delivery-step:nth-child(4) {
        border-bottom: 1px solid var(--line);
    }
}

/* ============================================================
   CONTACT PAGE COMPONENTS
   ============================================================ */

/* Quick contact strip */
.quick-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2.5rem;
    align-items: center;
    padding: 1.4rem 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(85, 173, 232, 0.05);
}

.quick-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.quick-contact-item[href]:hover {
    color: var(--accent);
}

.quick-contact-item--plain {
    color: var(--muted);
}

.quick-contact-icon {
    width: 1.1rem;
    height: 1.1rem;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Office map 3-col grid */
.office-map-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 5-card layout: first 3 in row 1, last 2 centered in row 2 */
.office-map-grid--five .office-map-card:nth-child(4) {
    grid-column: 1 / 2;
}
.office-map-grid--five .office-map-card:nth-child(5) {
    grid-column: 2 / 3;
}

.office-map-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.office-map-card:hover {
    border-color: rgba(85, 173, 232, 0.38);
    transform: translateY(-3px);
}

.office-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: rgba(5, 12, 24, 0.8);
    overflow: hidden;
}

.office-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(15%) brightness(0.82) contrast(1.05);
}

.office-map-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.office-flag {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.office-map-body h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.office-entity {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.32);
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem;
}

.office-city {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 0.85rem;
}

.office-address {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.7;
    font-style: normal;
    margin: 0 0 1.25rem;
    flex: 1;
}

.office-dir-btn {
    align-self: flex-start;
    font-size: 0.82rem;
    min-height: 38px;
    padding-inline: 1.1rem;
}

/* Delivery centres compact grid */
.dc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.dc-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dc-item:hover {
    border-color: rgba(85, 173, 232, 0.35);
    background: rgba(85, 173, 232, 0.06);
}

.dc-flag {
    font-size: 1rem;
}

.dc-city {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
}

.dc-country {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Contact detail list in panel */
.contact-detail-list {
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.contact-detail-list a {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-detail-list a:hover {
    color: #fff;
}

.response-note {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Footer office links */
.footer-offices {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.footer-office {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.footer-office__name {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.05em;
}

.footer-office__addr {
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-office__addr:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Policy / prose pages */
.policy-shell {
    max-width: 820px;
}

.policy-shell h2 {
    font-size: 1.35rem;
    margin-top: 2.5rem;
    margin-bottom: 0.6rem;
    color: #fff;
}

.policy-shell h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.policy-shell p,
.policy-shell li {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.policy-shell ul,
.policy-shell ol {
    padding-left: 1.4rem;
    margin: 0.6rem 0 1rem;
}

.policy-shell ul li,
.policy-shell ol li {
    margin-bottom: 0.35rem;
}

.policy-shell a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-shell a:hover {
    color: #fff;
}

.policy-last-updated {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(85, 173, 232, 0.1);
    border: 1px solid rgba(85, 173, 232, 0.25);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Responsive: contact maps */
@media (max-width: 980px) {
    .office-map-grid {
        grid-template-columns: 1fr;
    }

    .quick-contact-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .dc-grid {
        gap: 0.5rem;
    }
}

/* --- Job listings --- */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.6rem;
    text-decoration: none;
    color: inherit;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.job-row:last-child {
    border-bottom: none;
}

.job-row:hover {
    background: rgba(85, 173, 232, 0.07);
    padding-left: 1.9rem;
}

.job-row__main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.job-row__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.job-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(85, 173, 232, 0.1);
    border: 1px solid rgba(85, 173, 232, 0.2);
    white-space: nowrap;
}

.job-row__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.2s ease, gap 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.job-row:hover .job-row__cta {
    opacity: 1;
    gap: 0.55rem;
}

.jobs-source {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: right;
}

.jobs-source a {
    color: var(--accent);
    text-decoration: none;
}

.jobs-source a:hover {
    text-decoration: underline;
}

.jobs-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.jobs-empty p {
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

@media (max-width: 640px) {
    .job-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .job-row__title {
        white-space: normal;
    }

    .job-row__cta {
        align-self: flex-end;
    }
}
