/* ==========================================================================
   10C / Immutrin – Amalgamated Styles
   Order: Tokens → Base → Typography → Layout → Components → Header/Nav → Sections → Utilities
   ========================================================================== */

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
    --header-offset: 96px;

    --nav-blue-top: #0b2f4a;
    --nav-blue-bottom: #0e4165;

    --text: #10344f;
    --link-hover: #d9d9d9;

    --shadow-strong: 0 5px 16px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 5px 16px rgba(0, 0, 0, 0.3);

    --border-radius: 6px;
}

/* ==========================================================================
   Base / document
   ========================================================================== */

html,
body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family:
        "Roboto",
        system-ui,
        -apple-system,
        Segoe UI,
        Arial,
        sans-serif;
    font-size: 16px;
    font-weight: 400;
    transform: none !important;
    color: #10344f;
}

html {
    scroll-padding-top: var(--header-offset);
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/*** Fixed header offset (keeps content from sliding under header) ***/
body {
    /* padding-top: var(--header-offset); */
}

#page,
#content {
    transform: none !important;
}

#page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: visible;
}

#page::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    opacity: 0;
    background: #000;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#page > #content {
    position: relative;
    z-index: 2;
}

#page > #content .content-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1 {
    max-width: 577px;
    margin: 0 0 30px;

    display: inline-block;
    text-align: left;

    /* font-size: clamp(2rem, 3.6vw, 3.25rem); */
    /* font-size: 64px; */
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 300;
    text-shadow: var(--shadow-strong);
}

h2 {
    font-weight: 300;
    /* font-size: 40px; */
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p,
li {
    max-width: 800px;
    margin: 0 0 20px;
    font-size: 18px;
    /* color: var(--text); */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625;
}

li {
    margin-bottom: 5px;
}

.hero1_wrapper h1,
.hero1_wrapper h2,
.hero1_wrapper p {
    color: white;
}

.about-text-wrapper p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
}

.lead-paragraph {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 600;
    opacity: 1;
}

.p-heading-text {
    font-weight: 300;
    font-size: clamp(1.3rem, 1.5vw, 1.6rem);
}

.p-heading-text .smaller-title {
    font-size: clamp(1.15rem, 1.5vw, 1.15rem);
}

.p-heading-text.larger-type {
    line-height: 1.35;
}

.p-heading-text.news-heading {
    font-size: 1.5rem;
    line-height: 1.2;
}

.tenc_title-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 300;
}

.tenc_name-wrapper .p-heading-text {
    font-size: 1.5rem;
    font-weight: 300;
}

.footer_col p {
    font-size: 0.75rem;
}

.contact5_wrapper .tenc_content-wrapper .p-heading-text {
    font-size: 1.9rem;
}

.tenc_site-header .tenc_nav-links li {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}

.tenc_site-header .tenc_nav-links li .contact-button {
    border: solid 1px white;
    padding: 14px 20px 12px;
}

.tenc_site-header .tenc_nav-links li a.contact-button:hover {
    background-color: white;
    color: #10344f;
}

.tenc_title-logo-wrapper p {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 2px;
}

.about-text-wrapper h2 {
}

.team3_wrapper .team3_grid .team3_col .tenc_title-wrapper h2 {
    font-size: 48px;
    font-weight: 300;
    margin-top: 0;
}

.team3_wrapper
    .team3_grid
    .team3_col
    .tenc_content-wrapper
    .tenc_description-wrapper
    .tenc_name-wrapper
    .p-heading-text {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.2;
}

.team3_wrapper
    .team3_grid
    .team3_col
    .tenc_content-wrapper
    .tenc_description-wrapper
    .tenc_name-wrapper
    .p-heading-text
    .smaller-title {
    font-size: 18px;
    font-weight: 400;
    font-family: "Josefin Sans", sans-serif;
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
    text-decoration: none;
    text-underline-offset: 0.2em;
    color: var(--text);
}

a:hover,
a:focus-visible {
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.tenc_button-wrapper {
    margin-top: 15px;
}

.tenc_button-wrapper.tenc_button-icon-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 3px; /* spacing between text + arrow */
}

.tenc_button_custom {
    padding: 12px 10px 10px 0;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
    display: inline-block;
    text-align: center;
    font-family: "Josefin Sans", sans-serif;
    color: #10344f;
}

/* Base icon wrapper */
.tenc_card-link .tenc_button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -1.2px;
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

/* Make the SVG actually animate colour */
.tenc_card-link .tenc_button-icon svg path {
    transition:
        fill 250ms ease,
        stroke 250ms ease;
    will-change: fill, stroke;
}

/* Hover: move + turn white */
.tenc_card-link:hover .tenc_button-icon {
    transform: translateX(4px);
}

.tenc_card-link:hover .tenc_button-icon svg path {
    fill: #fff;
    stroke: #fff;
}

.tenc_card-link .tenc_button-icon {
    transition:
        transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 200ms ease;
}

.tenc_card-link:hover .tenc_button-icon {
    transform: translateX(6px);
    opacity: 0.95;
}

.tenc_button_custom.outline-button-white {
    border: solid 1px white;
    padding: 18px 20px 15px;
    color: white;
    letter-spacing: 1.2px;
    font-size: 14px;
}

.tenc_button_custom.outline-button-white:hover {
    background-color: white;
    color: #10344f;
}

.tenc_button_custom.outline-button-blue {
    border: solid 1px #10344f;
    padding: 18px 20px 15px;
    color: #10344f;
    letter-spacing: 1.2px;
    font-size: 14px;
}

.tenc_button_custom.outline-button-blue:hover {
    background-color: #10344f;
    color: white;
}

.tenc_button_custom.button-blue {
    border: solid 1px #10344f;
    padding: 18px 20px 15px;
    color: white;
    letter-spacing: 1.2px;
    font-size: 14px;
    background: #10344f;
}

.tenc_button_custom.button-blue:hover {
    background-color: white;
    color: #10344f;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-down {
    opacity: 0;
    transform: translateY(-40px);
    animation: fadeDown 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-up {
    opacity: 0;
    transform: translateY(40px);
}
.animate-up.in-view {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes flickUp {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* ==========================================================================
   Media elements
   ========================================================================== */

.tenc_image,
.tenc_video,
.team_image {
    width: 100%;
    display: block;
}

/* ==========================================================================
   Grid system
   ========================================================================== */

.tenc_wrapper {
    width: 100%;
    margin: 0 auto;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
    max-width: 100%;
}

.tenc_wrapper .tenc_grid {
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 0;

    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.tenc_wrapper .tenc_grid.contained-grid {
    max-width: 1280px;
}
.tenc_wrapper .tenc_grid.special-grid {
    max-width: 1800px;
}

.tenc_wrapper .tenc_grid.tenc_cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-5 {
    grid-template-columns: repeat(5, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-6 {
    grid-template-columns: repeat(6, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-7 {
    grid-template-columns: repeat(7, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-8 {
    grid-template-columns: repeat(8, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-9 {
    grid-template-columns: repeat(9, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-10 {
    grid-template-columns: repeat(10, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-11 {
    grid-template-columns: repeat(11, 1fr);
}
.tenc_wrapper .tenc_grid.tenc_cols-12 {
    grid-template-columns: repeat(12, 1fr);
}

.tenc_wrapper .tenc_col {
    padding: 15px;
    box-sizing: border-box;
}

.tenc_wrapper .tenc_col.col-start-1 {
    grid-column-start: 1;
}
.tenc_wrapper .tenc_col.col-start-2 {
    grid-column-start: 2;
}
.tenc_wrapper .tenc_col.col-start-3 {
    grid-column-start: 3;
}
.tenc_wrapper .tenc_col.col-start-4 {
    grid-column-start: 4;
}
.tenc_wrapper .tenc_col.col-start-5 {
    grid-column-start: 5;
}
.tenc_wrapper .tenc_col.col-start-6 {
    grid-column-start: 6;
}
.tenc_wrapper .tenc_col.col-start-7 {
    grid-column-start: 7;
}
.tenc_wrapper .tenc_col.col-start-8 {
    grid-column-start: 8;
}
.tenc_wrapper .tenc_col.col-start-9 {
    grid-column-start: 9;
}
.tenc_wrapper .tenc_col.col-start-10 {
    grid-column-start: 10;
}
.tenc_wrapper .tenc_col.col-start-11 {
    grid-column-start: 11;
}
.tenc_wrapper .tenc_col.col-start-12 {
    grid-column-start: 12;
}

.tenc_wrapper .tenc_col.col-span-1 {
    grid-column: span 1;
}
.tenc_wrapper .tenc_col.col-span-2 {
    grid-column: span 2;
}
.tenc_wrapper .tenc_col.col-span-3 {
    grid-column: span 3;
}
.tenc_wrapper .tenc_col.col-span-4 {
    grid-column: span 4;
}
.tenc_wrapper .tenc_col.col-span-5 {
    grid-column: span 5;
}
.tenc_wrapper .tenc_col.col-span-6 {
    grid-column: span 6;
}
.tenc_wrapper .tenc_col.col-span-7 {
    grid-column: span 7;
}
.tenc_wrapper .tenc_col.col-span-8 {
    grid-column: span 8;
}
.tenc_wrapper .tenc_col.col-span-9 {
    grid-column: span 9;
}
.tenc_wrapper .tenc_col.col-span-10 {
    grid-column: span 10;
}
.tenc_wrapper .tenc_col.col-span-11 {
    grid-column: span 11;
}
.tenc_wrapper .tenc_col.col-span-12 {
    grid-column: span 12;
}
.tenc_wrapper .tenc_col.col-full {
    grid-column: 1/-1;
}

@media (max-width: 1280px) {
    .tenc_wrapper .tenc_grid {
        grid-template-columns: 1fr;
    }
    .tenc_wrapper .tenc_grid.tenc_cols-2,
    .tenc_wrapper .tenc_grid.tenc_cols-3,
    .tenc_wrapper .tenc_grid.tenc_cols-4,
    .tenc_wrapper .tenc_grid.tenc_cols-5,
    .tenc_wrapper .tenc_grid.tenc_cols-6,
    .tenc_wrapper .tenc_grid.tenc_cols-7,
    .tenc_wrapper .tenc_grid.tenc_cols-8,
    .tenc_wrapper .tenc_grid.tenc_cols-9,
    .tenc_wrapper .tenc_grid.tenc_cols-10,
    .tenc_wrapper .tenc_grid.tenc_cols-11,
    .tenc_wrapper .tenc_grid.tenc_cols-12 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .tenc_wrapper .tenc_grid,
    .tenc_wrapper .tenc_grid.tenc_cols-2,
    .tenc_wrapper .tenc_grid.tenc_cols-3,
    .tenc_wrapper .tenc_grid.tenc_cols-4,
    .tenc_wrapper .tenc_grid.tenc_cols-5,
    .tenc_wrapper .tenc_grid.tenc_cols-6,
    .tenc_wrapper .tenc_grid.tenc_cols-7,
    .tenc_wrapper .tenc_grid.tenc_cols-8,
    .tenc_wrapper .tenc_grid.tenc_cols-9,
    .tenc_wrapper .tenc_grid.tenc_cols-10,
    .tenc_wrapper .tenc_grid.tenc_cols-11,
    .tenc_wrapper .tenc_grid.tenc_cols-12 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Fixed parallax background stage
   ========================================================================== */

.cd-background-wrapper {
    position: absolute !important;
    inset: 0;

    width: 100vw;
    height: 100%;

    z-index: -1;
    overflow: hidden;

    perspective: 4000px;
    pointer-events: none;

    transform: none !important;
}

.cd-floating-background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    transform-style: preserve-3d;
    will-change: transform;
}

.base-layer {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateZ(0) scale(1.1);
}

.layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

[data-layer-depth="350"] {
    transform: translateZ(350px);
}

/* section padding */

.team3_wrapper {
    padding-top: 90px;
    padding-bottom: 90px;
}

.board-observers.team3_wrapper {
    padding-top: 0px;
    padding-bottom: 30px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

/*** Header container ***/
.tenc_site-header {
    padding: 22px 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 999;

    background: transparent;
    backdrop-filter: none;

    transform: translateY(0);
    transition:
        transform 220ms ease,
        background-color 260ms ease,
        backdrop-filter 260ms ease;
    will-change: transform, background-color;
}

.default-header {
    background: linear-gradient(
        180deg,
        var(--nav-blue-top) 0%,
        var(--nav-blue-bottom) 100%
    );
}

/*** hidden state ***/
.tenc_site-header.is-hidden {
    transform: translateY(-110%);
    background-color: transparent;
}

/*** scrolled bg ***/
.tenc_site-header.is-blue {
    background: linear-gradient(
        180deg,
        var(--nav-blue-top) 0%,
        var(--nav-blue-bottom) 100%
    );
}

/*** reduce motion ***/
@media (prefers-reduced-motion: reduce) {
    .tenc_site-header {
        transition: none;
    }
}

/*** header inner layout ***/
.tenc_site-header .tenc_nav-container {
    margin: 0 auto;
    padding: 0 1rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*** logo behaviour (your existing) ***/
.tenc_site-header .tenc_nav-logo-wrapper .tenc_nav-logo {
    max-width: 100px;
    /* opacity: 0;
  visibility: hidden; */
    pointer-events: none;
    transform: translateY(-4px);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.tenc_site-header.is-blue:not(.is-hidden)
    .tenc_nav-logo-wrapper
    .tenc_nav-logo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/*** nav container ***/
.tenc_site-header .tenc_main-nav {
    position: relative;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 18px;
}

/*** desktop links ***/
.tenc_site-header .tenc_nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.tenc_site-header .tenc_nav-links .tenc_nav-item a {
    color: white;
}

/*** link hover/active ***/
.tenc_site-header .tenc_nav-links .tenc_nav-item a.active,
.tenc_site-header .tenc_nav-links .tenc_nav-item a:hover {
    color: #a1a1a1;
    opacity: 1;
}

/*** animated link text wrapper ***/
.tenc_site-header .tenc_nav-links .nav-link-text-wrap {
    position: relative;
    overflow: hidden;
}

.tenc_site-header .tenc_nav-links .nav-link-text {
    transform: translateY(0);
    transition: transform 0.35s ease;
    transform-style: preserve-3d;
}

.tenc_site-header .tenc_nav-links .nav-link-text.nav-link-hover-text {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
}

.tenc_site-header
    .tenc_nav-links
    .nav-link-text-wrap.is-animated
    .nav-link-text {
    animation: flickUp 0.4s ease forwards;
}

/*** Toggle wrapper is layout only (p tag resets) ***/
.tenc_site-header .tenc_menu-toggle {
    margin: 0;
    padding: 0;
    display: none; /*** hidden on desktop ***/
}

/*** Toggle button ***/
.tenc_site-header .tenc_menu-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
}

/*** Burger icon ***/
.tenc_burger {
    width: 22px;
    height: 16px;
    position: relative;
    display: inline-block;

    background: linear-gradient(currentColor, currentColor) center / 100% 2px
        no-repeat;
    transition: background-size 0.15s ease;
}

.tenc_burger::before,
.tenc_burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition:
        transform 0.22s ease,
        top 0.22s ease;
}

.tenc_burger::before {
    top: 0;
}
.tenc_burger::after {
    top: 14px;
}

/*** Open: X ***/
.tenc_menu-toggle.is-open .tenc_burger {
    background-size: 0 2px;
}
.tenc_menu-toggle.is-open .tenc_burger::before {
    top: 7px;
    transform: rotate(45deg);
}
.tenc_menu-toggle.is-open .tenc_burger::after {
    top: 7px;
    transform: rotate(-45deg);
}

/*** Mobile nav ***/
@media (max-width: 992px) {
    /*** IMPORTANT: make the header row the containing block for the dropdown ***/
    .tenc_site-header .tenc_nav-container {
        position: relative;
        padding-right: 0; /*** keep your existing tweak ***/
    }

    /*** IMPORTANT: prevent .tenc_main-nav from becoming the containing block ***/
    .tenc_site-header .tenc_main-nav {
        position: static;
    }

    /*** show toggle ***/
    .tenc_site-header .tenc_menu-toggle {
        display: block;
    }

    /*** set sizes to match your original intent (was targeting .tenc_menu-toggle a) ***/
    .tenc_site-header .tenc_nav-item a,
    .tenc_site-header .tenc_menu-btn {
        font-size: 1rem;
    }

    /*** dropdown panel (FULL WIDTH of .tenc_nav-container) ***/
    .tenc_site-header .tenc_nav-links {
        position: absolute;
        top: calc(100% + 22px);

        left: 0;
        right: 0; /*** key change: stretch across container ***/
        width: auto; /*** key change: don't force width:100% ***/

        background: linear-gradient(
            180deg,
            var(--nav-blue-top) 0%,
            var(--nav-blue-bottom) 100%
        );
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        display: none;
    }

    .tenc_site-header .tenc_nav-links .tenc_nav-item:first-child {
        margin-top: 10px;
    }

    .tenc_site-header .tenc_nav-links .tenc_nav-item {
        margin-bottom: 5px;
    }

    .tenc_site-header .tenc_nav-links .tenc_nav-item:last-child {
        margin-top: 10px;
        padding-bottom: 10px;
    }

    .tenc_site-header .tenc_nav-links.open {
        display: flex;
    }

    /*** disable fancy flick animation on mobile (your original) ***/
    .tenc_site-header
        .tenc_nav-links
        .nav-link-text-wrap.is-animated
        .nav-link-text,
    .tenc_site-header
        .tenc_nav-links
        .nav-link-text-wrap.is-animated
        .nav-link-hover-text {
        animation: none;
    }

    /*** Your existing background tweak kept as-is ***/
    .cd-floating-background {
        position: relative;
        top: 0;
        left: -25px;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/*** Anchor offset for in-page links ***/
/* .tenc-wrapper {
    scroll-margin-top: var(--header-offset);
} */

/* ==========================================================================
   10C New styles
   ========================================================================== */

main {
}

.hero1_wrapper {
    background-color: #10344f;
    position: relative;
    overflow: hidden;
}

.hero1_wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/antibody-image-new.png");
    background-size: 200%;
    background-position: center;
    filter: blur(30px);
    opacity: 0.3;
}

.hero1_wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.hero1_wrapper .tenc_col .tenc_content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tenc-hero__inner {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.tenc-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero1_grid,
.about2_grid {
    position: relative;
    z-index: 50;
}

.tenc_wrapper .tenc_grid.tenc_cols-2.about2_grid {
    margin-bottom: 90px;
}

.hero1_grid {
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Common blob styling */
.tenc-blob {
    position: absolute;
    width: 520px;
    height: auto;
    transform-origin: 50% 50%;
    opacity: 0.4; /* your “40% opaque” baseline */
    filter: blur(18px); /* big soft background */
    will-change: transform, filter, opacity;
}

/* Foreground hero blob (sharp on right) */

.hero1_grid .tenc_image-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero1_grid .tenc_image-wrapper .blob-hero {
    position: relative;
    width: 100%;
    max-width: 550px;
    opacity: 1;
    filter: blur(0px);
}

/* Initial “art direction” – tune these to match your comp */
/* .blob-1 { top: 0%;  left: -25%;  width: 150%; opacity: 0.15; filter: blur(26px); transform: rotate(-18deg) scale(2); } */
/* .blob-1 {top: 0%;  left: -25%; width: 150%; filter: blur(30px); opacity: 0.15; z-index: 1;  transform: rotate(220deg); } */
.blob-2 {
    top: -15%;
    right: -5%;
    width: 560px;
    opacity: 0.8;
    filter: blur(10px);
    z-index: 2;
}
.blob-3 {
    top: 21%;
    left: 5%;
    width: 520px;
    opacity: 1;
    filter: blur(15px);
    z-index: 2;
}
.blob-4 {
    top: 45%;
    right: 5%;
    width: 400px;
    opacity: 0.9;
    filter: blur(10px);
    z-index: 2;
}
.blob-5 {
    top: 65%;
    left: 0%;
    width: 520px;
    opacity: 0.6;
    filter: blur(8px);
    z-index: 2;
}
.blob-6 {
    bottom: -5%;
    right: 6%;
    width: 490px;
    opacity: 0.28;
    filter: blur(10px);
    z-index: 2;
}
.blob-7 {
    top: 50%;
    left: 32%;
    width: 420px;
    opacity: 0.28;
    filter: blur(10px);
    z-index: 2;
}

.blob-8 {
    top: 70%;
    left: 52%;
    width: 220px;
    opacity: 0.4;
    filter: blur(12px);
    z-index: 2;
}

.blob-9 {
    top: 50%;
    left: 22%;
    width: 290px;
    opacity: 0.2;
    filter: blur(12px);
    z-index: 2;
}

.blob-10 {
    top: 2%;
    left: 18%;
    width: 290px;
    opacity: 0.2;
    filter: blur(12px);
    z-index: 2;
}

.blob-11 {
    bottom: 0%;
    left: 13%;
    width: 240px;
    opacity: 0.4;
    filter: blur(12px);
    z-index: 2;
}

@media (min-width: 1600px) {
    .blob-7 {
        visibility: visible;
    }
}

@media (max-width: 1599px) {
    .blob-7 {
        visibility: hidden;
    }
}

/* Responsive sanity */
@media (max-width: 768px) {
    .tenc-blob {
        width: 420px;
    }
    .blob-hero {
        width: min(460px, 78vw);
        margin: 40px auto 0;
    }
    .tenc-hero__fg {
        justify-content: center;
    }
}

.team3_member-col
    .tenc_content-wrapper
    .description-wrapper
    .tenc_name-wrapper
    .p-heading-text {
    font-size: 22px;
}

.team3_member-col
    .tenc_content-wrapper
    .description-wrapper
    .tenc_name-wrapper
    .p-heading-text
    span {
    font-size: 18px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bio-list {
    list-style: none; /* remove default bullets */
    padding-left: 0;
}

.bio-list li {
    position: relative;
    padding-left: 25px; /* space for icon */
    margin-bottom: 25px;
}

.bio-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2.5px; /* aligns vertically with text */
    width: 12.69px;
    height: 13.99px;
    background-image: url("../img/icon-dark-blue.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tenc_team3_outer-wrapper {
    padding-top: 60px;
    padding-bottom: 60px;
}

.team3_wrapper .team3_grid .team3_col .tenc_content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%; /* or min-height: 100% */
    min-height: 0; /* important for nested flex */
    --cut: 60px; /* size of the angled corner */
    background: #efefef;
    position: relative;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - var(--cut)),
        calc(100% - var(--cut)) 100%,
        0 100%
    );
}

.team3_wrapper .team3_grid .team3_col .tenc_content-wrapper.no-bio {
    height: auto;
}

.team3_wrapper
    .team3_grid
    .team3_col
    .tenc_content-wrapper.no-bio
    .linkedin-wrapper {
    padding-top: 15px;
}

.team3_wrapper
    .team3_grid
    .team3_col
    .tenc_content-wrapper
    .tenc_description-wrapper {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* or min-height: 100% */
    min-height: 0; /* important for nested flex */
}

.team3_wrapper
    .team3_grid
    .team3_col
    .tenc_content-wrapper
    .tenc_description-wrapper
    .linkedin-wrapper {
    margin-top: auto;
    padding-top: 35px;
}

.team3_wrapper
    .team3_grid
    .team3_col
    .tenc_content-wrapper
    .tenc_description-wrapper
    .tenc_bio-wrapper {
    border-top: solid 1px #567183;
    margin-top: 15px;
    padding-top: 5px;
}

.team3_wrapper .team3_grid .team3_col .tenc_content-wrapper {
    background-color: #efefef;
}

.team3_wrapper
    .team3_grid
    .team3_col
    .tenc_content-wrapper
    .tenc_description-wrapper.founders {
    height: auto;
}

/* team hover styles */

.team-link-wrapper .tenc_content-wrapper {
    position: relative;
    overflow: hidden; /* helps the overlay behave cleanly with clip-path */
    transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

/* Gradient overlay (animates via opacity) */
.team-link-wrapper .tenc_content-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #184e77 0%, #0e334f 100%);
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

/* Ensure content sits above overlay */
.team-link-wrapper .tenc_content-wrapper .tenc_image-wrapper,
.team-link-wrapper .tenc_content-wrapper .tenc_description-wrapper {
    position: relative;
    z-index: 1;
}

/* Lift slightly on hover (subtle) */
.team-link-wrapper:hover .tenc_content-wrapper {
    transform: translateY(-8px);
}

.team-link-wrapper.no-linkedin:hover .tenc_content-wrapper {
    transform: translateY(0px);
}

.team-link-wrapper:hover .tenc_content-wrapper::before {
    opacity: 1;
}

.team-link-wrapper.no-linkedin:hover .tenc_content-wrapper::before {
    opacity: 0;
}

.team-link-wrapper .tenc_content-wrapper .tenc_image-wrapper .team_image {
    transform: scale(1);
    transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.team-link-wrapper:hover .tenc_content-wrapper .tenc_image-wrapper .team_image {
    transform: scale(1.01);
}

.team-link-wrapper .tenc_content-wrapper .tenc_description-wrapper {
    transition: color 250ms ease;
}

.team-link-wrapper:hover .tenc_content-wrapper .tenc_description-wrapper {
    color: #fff;
}

.team-link-wrapper.no-linkedin:hover
    .tenc_content-wrapper
    .tenc_description-wrapper {
    color: var(--text);
}

.team-link-wrapper.no-linkedin {
    pointer-events: none;
}

.team-link-wrapper.no-linkedin .linkedin-wrapper {
    opacity: 0;
}

/* Borders fade a bit too */
.team3_wrapper
    .team3_grid
    .team3_col
    .tenc_content-wrapper
    .tenc_description-wrapper
    .tenc_bio-wrapper {
    transition: border-color 250ms ease;
}

.team-link-wrapper:hover
    .tenc_content-wrapper
    .tenc_description-wrapper
    .tenc_bio-wrapper {
    border-color: rgba(255, 255, 255, 0.35);
}

.team-link-wrapper:hover
    .tenc_content-wrapper
    .tenc_description-wrapper
    .bio-list
    li::before {
    background-image: url("../img/icon-lighter-blue.svg");
}

/* Base */
.team-link-wrapper .linkedin-wrapper svg {
    display: block;
}

/* Make the icon color controllable */
.team-link-wrapper .linkedin-wrapper svg path {
    fill: #184e77;
    transition: fill 250ms ease;
}

/* Hover */
.team-link-wrapper:hover .linkedin-wrapper svg path {
    fill: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .team-link-wrapper .tenc_content-wrapper,
    .team-link-wrapper .tenc_content-wrapper::before,
    .team-link-wrapper .team_image,
    .team-link-wrapper .linked-in-icon,
    .bio-list li::before,
    .bio-list li::after {
        transition: none !important;
        transform: none !important;
    }
}

.investors4a_wrapper {
    background-color: #0b2233;
    padding-top: 90px;
    padding-bottom: 140px;
}

.investors4a_wrapper .investors4a_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center; /* <-- centers incomplete last row */
    align-items: center;
}

/* Make items 4-across */
.investors4a_wrapper .investors4a_grid > * {
    /* 4 items per row, accounting for 3 gaps */
    flex: 0 0 calc((100% - (24px * 3)) / 4);
    box-sizing: border-box;
}

/* Responsive tweaks to match your breakpoints */
@media (max-width: 1280px) {
    .investors4a_wrapper .investors4a_grid > * {
        flex-basis: calc((100% - 24px) / 2); /* 2 across */
    }
}

@media (max-width: 767px) {
    .investors4a_wrapper .investors4a_grid > * {
        flex-basis: 100%; /* 1 across */
    }
}

.investors4a_wrapper
    .investors4ab_grid
    .investors4a_col
    .tenc_title-wrapper
    h2 {
    color: white;
    font-size: 48px;
    margin-bottom: 60px;
}

.investors4a_wrapper .investors4a_grid .investors4a_col .tenc_image-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

.investors4a_wrapper .investors4a_grid .investors4a_col .tenc_image-wrapper a {
    display: inline-flex;
}

.investors4a_wrapper
    .investors4a_grid
    .investors4a_col
    .tenc_image-wrapper
    a
    .tenc_image {
    max-height: 66px;
    width: 200px;
    filter: grayscale(100%);
    transform: translateY(0) scale(1);

    transition:
        filter 350ms ease,
        transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);

    will-change: transform, filter;
}

.investors4a_wrapper
    .investors4a_grid
    .investors4a_col
    .tenc_image-wrapper
    a
    .tenc_image.frazier {
    width: 150px;
}

.investors4a_wrapper
    .investors4a_grid
    .investors4a_col
    .tenc_image-wrapper
    a
    .tenc_image.f-prime {
    width: 160px;
}

.investors4a_wrapper
    .investors4a_grid
    .investors4a_col
    .tenc_image-wrapper
    a
    .tenc_image.qiming {
    width: 165px;
    margin-top: -5px;
}

.investors4a_wrapper
    .investors4a_grid
    .investors4a_col
    .tenc_image-wrapper
    a
    .tenc_image.parkwalk {
    width: 165px;
    margin-top: -5px;
}

.investors4a_wrapper
    .investors4a_grid
    .investors4a_col
    .tenc_image-wrapper
    a
    .tenc_image.cam-ent {
    width: 300px;
}

.investors4a_wrapper
    .investors4a_grid
    .investors4a_col
    .tenc_image-wrapper
    a:hover
    .tenc_image {
    filter: grayscale(0%);
    transform: translateY(-6px) scale(1.05);
}

.news4_wrapper {
    background-color: #efefef;
    padding-top: 60px;
    padding-bottom: 120px;
}

.news4_wrapper .news4_grid .news4_col1 .tenc_title-wrapper h2 {
    font-size: 48px;
}

.news4_wrapper .news4_grid .news4_col2a .card-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%; /* or min-height: 100% */
    min-height: 0; /* important for nested flex */
    --cut: 60px; /* size of the angled corner */
    background: white;
    position: relative;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - var(--cut)),
        calc(100% - var(--cut)) 100%,
        0 100%
    );
}

.news4_wrapper .news4_grid .news4_col2a .tenc_description-wrapper {
    padding: 30px;
}

.news4_wrapper
    .news4_grid
    .news4_col2a
    .tenc_description-wrapper
    .tenc_pill-wrapper {
    display: inline-flex;
    background-color: #eeeeee;
    line-height: 1.2;
    margin-bottom: 30px;
}

.news4_wrapper
    .news4_grid
    .news4_col2a
    .tenc_description-wrapper
    .tenc_pill-wrapper
    p {
    margin-bottom: 0;
    padding: 5px 10px 2px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.p-heading-text.news-heading {
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    line-height: 1.3;
}

.news4_col2b .tenc_content-wrapper .tenc_pullout-quote-wrapper h3 {
    font-size: clamp(1.4rem, 2.4vw, 2.5rem);
    font-weight: 300;
    line-height: 1.3;
}

.news4_wrapper
    .news4_grid
    .news4_col2a
    .tenc_description-wrapper
    .tenc_button-wrapper {
}

.tenc_card-link .card-wrapper {
    position: relative;
    overflow: hidden; /* helps the overlay behave cleanly with clip-path */
    transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

/* Gradient overlay (animates via opacity) */
.tenc_card-link .card-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #184e77 0%, #0e334f 100%);
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

/* Ensure content sits above overlay */
.tenc_card-link .card-wrapper .tenc_image-wrapper,
.tenc_card-link .card-wrapper .tenc_description-wrapper {
    position: relative;
    z-index: 1;
}

.tenc_card-link:hover .card-wrapper::before {
    opacity: 1;
}

/* Lift slightly on hover (subtle) */
.tenc_card-link:hover .card-wrapper {
    transform: translateY(-8px);
}

.tenc_card-link .card-wrapper .tenc_description-wrapper {
    transition: color 250ms ease;
}

.tenc_card-link:hover .card-wrapper .tenc_description-wrapper {
    color: #fff;
}

.news4_wrapper
    .news4_grid
    .news4_col2a
    .tenc_card-link:hover
    .tenc_description-wrapper
    .tenc_pill-wrapper {
    color: #10344f;
}

.tenc_card-link:hover .card-wrapper .tenc_button_custom {
    color: white;
}

.contact5_wrapper {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact5_grid .contact5_col .tenc_content-wrapper .tenc_logo-wrapper {
    margin-bottom: 112px;
}

.contact5_grid
    .contact5_col
    .tenc_content-wrapper
    .tenc_logo-wrapper
    .tenc_contact-logo {
    width: 260px;
}

.contact5_grid .contact5_col .tenc_description-wrapper {
    margin-bottom: 76px;
}

.contact5_grid .contact5_col .tenc_description-wrapper .p-heading-text {
    color: white;
    font-size: clamp(1.4rem, 2.4vw, 2.5rem);
    font-weight: 300;
    line-height: 1.3;
    max-width: 630px;
}

.extra-wide-footer-wrapper {
    position: relative;
}

.top-footer_wrapper .top-footer_grid .top-footer_col .footer-title {
    font-family: "Josefin Sans", sans-serif;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: white;
}

.top-footer_wrapper
    .top-footer_grid
    .top-footer_col
    .tenc_description-wrapper
    p {
    color: white;
}

.top-footer_wrapper
    .top-footer_grid
    .top-footer_col
    .tenc_description-wrapper
    p
    a {
    color: white;
}

.bottom-footer_wrapper .footer_grid .footer_col .tenc_logo-wrapper {
    padding-bottom: 48px;
    border-bottom: solid 1px white;
    margin-bottom: 22px;
}

.bottom-footer_wrapper .footer_grid .footer_col .tenc_description-wrapper p {
    color: white;
    font-size: 14px;
}

.bottom-footer_wrapper
    .footer_grid
    .footer_col
    .tenc_copyright-links-wrapper
    ul {
    display: flex;
    list-style: none;
    padding-inline-start: 0;
    gap: 15px;
}

.bottom-footer_wrapper
    .footer_grid
    .footer_col
    .tenc_copyright-links-wrapper
    ul
    li
    a {
    color: white;
    font-size: 14px;
}

/* cookie css */

.cookie1-wrapper {
  display: none;
}

.cookie1-wrapper.as-show {
  display: block;
}

.cookie-banner1_content-top {
   
}
.cookie1-wrapper {
    z-index: 1000;
    background: rgba(255,255,255,0.8);
    border: solid 1px #000;
    width: 100%;
    max-width: 550px;
    display: none;
    position: fixed;
    bottom: 0;
    right: -2px;
}
.cookie-banner1_component {
    z-index: 998;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    inset: auto 0 0 auto;
    overflow: hidden;
}

.cookie-banner1_buttons-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 15px;
}



.cookie-banner1_content-top .algst-title-wrapper {
    position: relative;
}

.cookie-banner1_content-top .algst-title-wrapper .cookie-banner1_close-button {
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 24px;
}

.cookie-banner_description p {
    font-size: 14px;
}

.cookie-banner_description a {
    text-decoration: underline;
}

/* Default privacy policy page */

.default_wrapper {
    margin-top: 90px;
}

.default_wrapper .default_grid .default_col .tenc_title-wrapper,
.default_wrapper .default_grid .default_col .tenc_description-wrapper {
    max-width: 750px;
}

.default_wrapper .default_grid .default_col .tenc_description-wrapper a {
    text-decoration: underline;
}

.default_wrapper .tenc_title-wrapper h1 {
    font-weight: 300;
    /* font-size: 40px; */
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-shadow: none;
}

.default_wrapper .tenc_description-wrapper .tenc_subtitle-wrapper {
    margin-bottom: 30px;
}

.default_wrapper .tenc_description-wrapper .tenc_table-wrapper,
.default_wrapper .tenc_description-wrapper .tenc_text-wrapper {
    margin-bottom: 45px;
}

.tenc_table-item {
    border: solid 1px black;
    margin-bottom: 45px;
}

.tenc_table-item .tenc_single-table-header {
    border-bottom: solid 1px black;
    background-color: #f0f0f0;
    padding: 7.5px 30px;
}

.tenc_table-item .tenc_single-table-body {
    padding: 30px;
}

.tenc_table-wrapper {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    border: 1px solid #000;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 2fr;
    grid-auto-columns: 1fr;
    display: grid;
}

.is-5-columns {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.dpr-body-method-title,
.dpr-body-method-sub-title,
.dpr-body-method-body {
    padding: 8px 12px;
    outline: 1px solid black;
    background: white;
}

.dpr-body-method-title,
.dpr-body-method-sub-title {
    background: #ededed;
}

.tenc_text-wrapper .tenc_cookie-settings-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tenc_text-wrapper input[type="radio"] {
    accent-color: #10344f;
}

@media only screen and (max-width: 767px) {
    .is-5-columns {
        grid-template-columns: 1fr;
    }

    .resources_subpage-card_video-aspect-ratio {
        /*padding-top: auto!important*/
    }

    .dpr-body-table .dpr-table-body-item:nth-child(2n):not(:last-child) {
        margin-bottom: 20px;
    }

    .dpr-table-body-item::before {
        content: attr(data-label);
        font-weight: 700;
        display: block;
        margin-bottom: 10px;
        text-decoration: underline;
    }

    .dpr-table-title-item {
        display: none;
    }

    .dpr-body-method-body::before {
        content: attr(data-label);
        font-weight: 700;
        display: block;
        margin-bottom: 5px;
        text-decoration: underline;
    }

    .dpr-body-method-sub-title,
    .dpr-body-method-title {
        display: none;
    }

    .dpr-body-method-table
        .dpr-body-method-body:nth-child(6n + 1):not(:last-child) {
        margin-bottom: 20px;
    }

    .dpr-body-method-table-2
        .dpr-body-method-body:nth-child(4n + 1):not(:last-child) {
        margin-bottom: 20px;
    }

    .dpr-body-method-table-3
        .dpr-body-method-body:nth-child(4n + 4):not(:last-child) {
        margin-bottom: 20px;
    }

    .dpr-body-method-table-2 .dpr-body-method-body:nth-child(4n + 2) p {
        font-weight: 700;
    }

    .privacy-table1 .dpr-body-method-body:nth-child(3n + 3):not(:last-child) {
        margin-bottom: 20px;
    }

    .cookie-table-1 .dpr-body-method-body:nth-child(5n + 5):not(:last-child) {
        margin-bottom: 20px;
    }

    .dpr-body-method-table,
    .dpr-body-method-table-2,
    .dpr-body-method-table-3,
    .dpr-body-table,
    .privacy-table1,
    .cookie-table-1 {
        background-color: #ededed;
    }
}

@media (max-width: 1200px) {
    .hero1_wrapper .hero1_grid {
        padding-top: 120px;
    }

    .hero1_wrapper .hero1_grid .tenc_image-wrapper .blob-hero {
        max-width: 70%;
    }

    .tenc_grid.about2_grid {
        display: block;
        padding-top: 0;
        padding-bottom: 0;
    }

    .team3_wrapper {
        /* padding-top: 60px;
    padding-bottom: 60px; */
    }
}

@media (max-width: 992px) {
    .team3_wrapper {
        /* padding-top: 60px;
        padding-bottom: 60px; */
    }
}

@media (max-width: 767px) {
    .default_wrapper {
        margin-top: 60px;
    }

    .news4_col2a {
        order: 2;
    }

    .bottom-footer_wrapper
        .footer_grid
        .footer_col
        .tenc_copyright-links-wrapper
        ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
