
:root  {
    /* brand */
    --indigo: #1E3A8A;
    --indigo-dark: #1E293B;
    --indigo-light: #3B82F6;
    --primary: #4A9EDA;
    --accent: #F2A93B;          /* warm amber 'thread': highlights and CTAs on dark bands */
    --teal-light: #2DD4BF;
    --brand: #0B8577;           /* teal: health, healing, growth (buttons, icons, links) */
    --brand-dark: #0A5A60;
    --navy: #0c1634;

    /* light body */
    --bg: #F3F8FA;
    --surface: #FFFFFF;
    --surface-alt: #E4F0F3;
    --ink: #1F2937;
    --ink-soft: #3B4A5C;
    --line: #D5E3E8;

    /* navbar: dark navy, with logo-nav-dark.png (transparent, light text) drawn on it */
    --nav-bg: var(--navy);
    --nav-line: rgba(255, 255, 255, 0.1);

    /* dark header / footer */
    --nav-text: #F8FAFC;
    --footer-text: #CBD5E1;

    --shadow: 0 8px 24px rgba(15, 40, 70, 0.08);
    --shadow-hover: 0 20px 40px rgba(15, 157, 138, 0.16);

    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

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

html  {
    scroll-behavior: smooth;
    scroll-padding-top: 240px;
}

body  {
    font-family: var(--font-main);
    color: var(--ink);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

.container  {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Material Symbols (icon font) */
.material-symbols-outlined  {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    width: 1em;
    overflow: hidden;           /* hides the ligature text until the font has loaded */
    flex-shrink: 0;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Indigo Dye Background (light) */
/* Indigo Dye Background */
.bg-animation  {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        linear-gradient(180deg, #F7FBFC 0%, #EAF3F6 50%, #F7FBFC 100%);
}

.neural-net  {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.10) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.04) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

/* Needle and Thread Animations */
.stitching-pattern  {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stitch-line  {
    stroke-dashoffset: 1000;
    animation: drawStitch 20s linear infinite;
}

.stitch-1  {
    animation-delay: 0s;
}

.stitch-2  {
    animation-delay: 7s;
}

.stitch-3  {
    animation-delay: 14s;
}

@keyframes drawStitch  {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

.needle  {
    position: absolute;
    width: 8px;
    height: 40px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(249, 115, 22, 0.6) 20%, 
        rgba(249, 115, 22, 0.85) 50%, 
        rgba(251, 146, 60, 0.6) 80%, 
        transparent 100%
    );
    border-radius: 50% 50% 50% 50% / 20% 20% 80% 80%;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
    pointer-events: none;
    filter: blur(0.5px);
}

.needle::before  {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: rgba(253, 186, 116, 0.85);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.8);
}

.needle::after  {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(249, 115, 22, 0.4) 0%, 
        rgba(249, 115, 22, 0.14) 50%,
        transparent 100%
    );
}

.needle-1  {
    animation: needleMove1 20s linear infinite;
    animation-delay: 0s;
}

.needle-2  {
    animation: needleMove2 20s linear infinite;
    animation-delay: 7s;
}

.needle-3  {
    animation: needleMove3 20s linear infinite;
    animation-delay: 14s;
}

@keyframes needleMove1  {
    0% {
        left: -5%;
        top: 100px;
        opacity: 0;
        transform: rotate(-30deg);
    }
    5% {
        opacity: 1;
    }
    10% {
        left: 10%;
        top: 80px;
        transform: rotate(-20deg);
    }
    30% {
        left: 30%;
        top: 120px;
        transform: rotate(-15deg);
    }
    50% {
        left: 50%;
        top: 80px;
        transform: rotate(-25deg);
    }
    70% {
        left: 70%;
        top: 110px;
        transform: rotate(-18deg);
    }
    85% {
        left: 85%;
        top: 90px;
        transform: rotate(-22deg);
    }
    95% {
        opacity: 1;
    }
    100% {
        left: 105%;
        top: 100px;
        opacity: 0;
        transform: rotate(-30deg);
    }
}

@keyframes needleMove2  {
    0% {
        left: -5%;
        top: 300px;
        opacity: 0;
        transform: rotate(-35deg);
    }
    5% {
        opacity: 1;
    }
    10% {
        left: 12%;
        top: 280px;
        transform: rotate(-25deg);
    }
    30% {
        left: 35%;
        top: 320px;
        transform: rotate(-20deg);
    }
    50% {
        left: 55%;
        top: 280px;
        transform: rotate(-30deg);
    }
    70% {
        left: 75%;
        top: 310px;
        transform: rotate(-23deg);
    }
    85% {
        left: 88%;
        top: 290px;
        transform: rotate(-27deg);
    }
    95% {
        opacity: 1;
    }
    100% {
        left: 105%;
        top: 300px;
        opacity: 0;
        transform: rotate(-35deg);
    }
}

@keyframes needleMove3  {
    0% {
        left: -5%;
        top: 500px;
        opacity: 0;
        transform: rotate(-28deg);
    }
    5% {
        opacity: 1;
    }
    10% {
        left: 8%;
        top: 480px;
        transform: rotate(-22deg);
    }
    30% {
        left: 28%;
        top: 520px;
        transform: rotate(-18deg);
    }
    50% {
        left: 48%;
        top: 480px;
        transform: rotate(-26deg);
    }
    70% {
        left: 68%;
        top: 510px;
        transform: rotate(-20deg);
    }
    85% {
        left: 82%;
        top: 490px;
        transform: rotate(-24deg);
    }
    95% {
        opacity: 1;
    }
    100% {
        left: 105%;
        top: 500px;
        opacity: 0;
        transform: rotate(-28deg);
    }
}

@keyframes float  {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

/* ===== Navigation (dark header) ===== */
.navbar  {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-line);
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo  { display: flex; align-items: center; text-decoration: none; }

.logo-img  {
    height: 144px;
    width: auto;
    object-fit: contain;
    display: block;
    /* transparent PNG: no box, drawn directly on the navbar */
}

.nav-links  {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a  {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after  {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover  { color: var(--accent); }

.nav-links a:hover::after  { width: 100%; }

.nav-links a.active:not(.nav-cta)  { color: var(--accent); }

.nav-links a.active:not(.nav-cta)::after  { width: 100%; }

.nav-cta  {
    background: var(--indigo-light) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
}

.nav-cta::after  { display: none !important; }

.nav-cta:hover  {
    background: var(--accent) !important;
    color: var(--navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.4);
}

.nav-cta.active  { background: var(--accent) !important; color: var(--navy) !important; }

.menu-toggle  {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span  {
    width: 25px;
    height: 3px;
    background: var(--nav-text);
    transition: all 0.3s ease;
}

/* ===== Buttons ===== */
.btn  {
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-primary  { background: var(--brand); color: #fff; }

.btn-primary:hover  {
    background: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 157, 138, 0.35);
}

.btn-outline  {
    background: transparent;
    color: var(--brand-dark);
    border: 2px solid var(--brand-dark);
}

.btn-outline:hover  { background: var(--brand-dark); color: #fff; transform: translateY(-3px); }

.btn-arrow  { font-size: 20px; transition: transform 0.3s ease; }

.btn:hover .btn-arrow  { transform: translateX(5px); }

.btn-full  { width: 100%; justify-content: center; }

/* ===== Hero (home) ===== */
.hero  {
    padding: 290px 0 110px;
    text-align: center;
}

.hero-content  { max-width: 100%; margin: 0 auto; }

.hero-badge  {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(30, 58, 138, 0.25);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 30px;
    animation: slideDown 0.6s ease;
}

.badge-dot  {
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot  {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes slideDown  {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp  {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title  {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.1;
    font-weight: 700;
    color: var(--ink);
    margin: 0 auto 28px;
    text-wrap: balance;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text  {
    background: linear-gradient(135deg, #0C1634, #0B8577);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description  {
    font-size: 21px;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 980px;
    margin: 0 auto 44px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions  {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ===== Generic sections ===== */
.section  { padding: 110px 0; }

.section-white  { background: rgba(255, 255, 255, 0.85); }

.section-alt  { background: rgba(228, 240, 243, 0.92); }

.section-header  { text-align: center; margin-bottom: 70px; }

.section-tag  {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(30, 58, 138, 0.25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.section-title  {
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
}

.section-desc  {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto;
}

/* Icon tile (shared) */
.icon-tile  {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand), #14B8A6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
    transition: transform 0.3s ease;
}

.icon-tile .material-symbols-outlined  { font-size: 30px; }

/* Shared card look */
.card-surface  {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.6s ease;
}

/* ===== Home: What we do ===== */
.feature-grid  {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card  { padding: 38px; display: flex; flex-direction: column; }

.feature-card:hover  { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(15, 157, 138, 0.4); }

.feature-card:hover .icon-tile  { transform: scale(1.08); }

.feature-card h3  {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
}

.feature-card p  { color: var(--ink-soft); line-height: 1.7; margin-bottom: 24px; }

.text-link  {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.text-link .material-symbols-outlined  { font-size: 20px; transition: transform 0.3s ease; }

.text-link:hover .material-symbols-outlined  { transform: translateX(5px); }

/* ===== Home: Who we are ===== */
.about-wrapper  {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-copy .section-title  { font-size: 40px; }

.about-copy p  { color: var(--ink-soft); font-size: 18px; line-height: 1.8; margin-bottom: 20px; }

.about-copy .btn  { margin-top: 10px; }

.about-points  { padding: 12px 34px; }

.about-point  {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.about-point:last-child  { border-bottom: none; }

.about-point-icon  {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(15, 157, 138, 0.08);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-point h4  { font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }

.about-point p  { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.chip-link  {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.chip-link .material-symbols-outlined  { font-size: 20px; color: var(--brand); }

.chip-link:hover  { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }

.subhead  {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}

.subhead .icon-tile  { width: 52px; height: 52px; margin: 0; border-radius: 12px; }

.subhead h2  { font-family: var(--font-display); font-size: 34px; line-height: 1.2; }

.subhead p  { color: var(--ink-soft); }

.tag-row  { display: flex; flex-wrap: wrap; gap: 8px; }

.tag  {
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-soft);
}

.btn-sm  { padding: 12px 22px; font-size: 14px; white-space: nowrap; }

.btn-sm .material-symbols-outlined  { font-size: 18px; }

.cta-band  {
    margin-top: 80px;
    padding: 54px 50px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0c1634, #0F3D4A);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-band h3  { font-family: var(--font-display); font-size: 28px; margin-bottom: 8px; }

.cta-band p  { color: var(--footer-text); max-width: 560px; }

.cta-band .btn-primary  { background: var(--accent); color: var(--navy); white-space: nowrap; }

.cta-band .btn-primary:hover  { background: #fff; }

/* ===== Contact ===== */
.contact-wrapper  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-intro  { font-size: 18px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 50px; }

.contact-info  { display: flex; flex-direction: column; gap: 30px; }

.contact-item  { display: flex; gap: 20px; }

.contact-icon  {
    width: 50px;
    height: 50px;
    background: rgba(15, 157, 138, 0.08);
    color: var(--brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4  { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }

.contact-item a  { color: var(--brand-dark); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }

.contact-item a:hover  { color: var(--brand); text-decoration: underline; }

.contact-item p  { color: var(--ink-soft); }

.contact-form  {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 40px;
}

.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group  { margin-bottom: 25px; }

.form-group label  { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: 14px; }

.form-group input,
.form-group select,
.form-group textarea  {
    width: 100%;
    padding: 14px 18px;
    background: #FFFFFF;
    border: 1px solid #C9DCE2;
    border-radius: 10px;
    color: var(--ink);
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder  { color: #4B6478; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus  {
    outline: none;
    border-color: var(--brand);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(15, 157, 138, 0.15);
}

.form-group textarea  { resize: vertical; }

/* ===== Footer (dark) ===== */
.footer  {
    background: var(--navy);
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
}

.footer-content  { display: grid; grid-template-columns: 2fr 3fr; gap: 80px; margin-bottom: 60px; }

.footer-logo  { height: 45px; width: auto; margin-bottom: 20px; }

.footer-tagline  { color: var(--footer-text); line-height: 1.7; }

.footer-links  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.footer-col h4  { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: white; }

.footer-col a  {
    display: block;
    color: var(--footer-text);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col a:hover  { color: var(--accent); }

.footer-bottom  {
    padding-top: 40px;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--footer-text);
}

.footer-legal  { display: flex; gap: 30px; }

.footer-legal a  { color: var(--footer-text); text-decoration: none; transition: color 0.3s ease; }

.footer-legal a:hover  { color: var(--accent); }

/* ===== Scroll animations ===== */
[data-aos]  { opacity: 0; transition: all 0.6s ease; }

[data-aos].visible  { opacity: 1; }

[data-aos="fade-up"]  { transform: translateY(30px); }

[data-aos="fade-up"].visible  { transform: translateY(0); }

[data-aos="fade-right"]  { transform: translateX(-30px); }

[data-aos="fade-right"].visible  { transform: translateX(0); }

[data-aos="zoom-in"]  { transform: scale(0.9); }

[data-aos="zoom-in"].visible  { transform: scale(1); }

/* ===== Inner pages ===== */
.page-section  { padding-top: 270px; min-height: 100vh; }

/* ===== Responsive ===== */
@media (max-width: 1100px)  {
}

@media (max-width: 1024px)  {
.contact-wrapper, .about-wrapper  { grid-template-columns: 1fr; gap: 50px; }

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

.cta-band  { flex-direction: column; align-items: flex-start; }

}

@media (max-width: 768px)  {
.container  { padding: 0 20px; }

.nav-links  {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease;
    }

.nav-links.active  { right: 0; }

.menu-toggle  { display: flex; z-index: 1001; }

.hero  { padding: 230px 0 80px; }

.hero-description  { font-size: 18px; }

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

.page-section  { padding-top: 230px; }

.section  { padding: 80px 0; }

.section-title  { font-size: 34px; }

.subhead h2  { font-size: 28px; }

.solutions-grid, .feature-grid, .tech-grid, .principles-grid,
    .ongoing-grid  { grid-template-columns: 1fr; }

.form-row  { grid-template-columns: 1fr; }

.cta-band  { padding: 40px 28px; }

.footer-content  { grid-template-columns: 1fr; gap: 40px; }

.footer-links  { grid-template-columns: 1fr; }

.footer-bottom  { flex-direction: column; gap: 20px; text-align: center; }

}



/* ===== Nav (7 pages) ===== */
.nav-links { gap: 30px; }

/* ===== Pillars (home + expertise) ===== */
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.pillar-card { padding: 38px; display: flex; flex-direction: column; }
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(15, 157, 138, 0.4); }
.pillar-card:hover .icon-tile { transform: scale(1.08); }
.pillar-card h3 { font-family: var(--font-display); font-size: 23px; margin-bottom: 12px; }
.pillar-card > p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 20px; }
.pillar-card .tag-row { margin-bottom: 24px; }
.pillar-num { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--brand-dark); margin-bottom: 8px; text-transform: uppercase; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-soft);
}

/* ===== Flagship band (health informatics) ===== */
.flagship {
    border-radius: 24px;
    padding: 60px;
    background: linear-gradient(135deg, #0c1634, #0F3D4A);
    color: #fff;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}
.flagship .section-tag { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: var(--accent); }
.flagship h2 { font-family: var(--font-display); font-size: 38px; line-height: 1.15; margin-bottom: 18px; }
.flagship p { color: var(--footer-text); font-size: 17px; line-height: 1.8; margin-bottom: 28px; }
.flagship .btn-primary { background: var(--accent); color: var(--navy); }
.flagship .btn-primary:hover { background: #fff; }
.flagship .check-list li { color: #E2E8F0; font-size: 16px; padding: 10px 0 10px 34px; }
.flagship .check-list li::before { color: var(--accent); top: 10px; }

.check-list { list-style: none; }
.check-list li {
    color: var(--ink-soft);
    padding: 7px 0 7px 30px;
    position: relative;
    font-size: 15px;
}
.check-list li::before {
    content: 'check_circle';
    font-family: 'Material Symbols Outlined';
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    position: absolute;
    left: 0;
    top: 7px;
    width: 20px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 20px;
    line-height: 1;
    color: var(--brand);
}

/* ===== Audiences ===== */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.audience-card { padding: 30px 26px; }
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.audience-card .about-point-icon { margin-bottom: 18px; width: 52px; height: 52px; }
.audience-card h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; }
.audience-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* ===== Partners (open call) ===== */
.partner-panel {
    padding: 50px;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}
.partner-panel .icon-tile { margin: 0 auto 22px; }
.partner-panel h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 12px; }
.partner-panel p { color: var(--ink-soft); font-size: 17px; line-height: 1.75; max-width: 640px; margin: 0 auto 28px; }

/* ===== Capability cards (expertise, health, training, policy) ===== */
.pillar-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 40px; }
.pillar-head .icon-tile { margin: 0; flex-shrink: 0; width: 64px; height: 64px; }
.pillar-head h2 { font-family: var(--font-display); font-size: 34px; line-height: 1.15; margin-bottom: 8px; }
.pillar-head p { color: var(--ink-soft); font-size: 17px; max-width: 760px; line-height: 1.7; }

.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cap-grid.three { grid-template-columns: repeat(3, 1fr); }
.cap-card { padding: 30px; display: flex; gap: 20px; }
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(15, 157, 138, 0.4); }
.cap-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.6); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
}
.cap-card h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.cap-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.cap-card .tag-row { margin-top: 14px; }
.cap-card.stack { flex-direction: column; gap: 16px; }

.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.chip-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 50px;
    background: var(--surface); border: 1px solid var(--line);
    color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none;
    transition: all 0.3s ease;
}
.chip-link .material-symbols-outlined { font-size: 20px; color: var(--brand); }
.chip-link:hover { border-color: var(--brand-dark); color: var(--brand-dark); transform: translateY(-2px); }

.divider-space { height: 90px; }

/* ===== About / team ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { padding: 34px 26px; text-align: center; }
.team-avatar {
    width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px;
    background: rgba(255, 255, 255, 0.6); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
}
.team-avatar .material-symbols-outlined { font-size: 46px; }
.team-card h4 { font-family: var(--font-display); font-size: 19px; margin-bottom: 4px; }
.team-role { font-size: 14px; font-weight: 600; color: var(--brand-dark); margin-bottom: 10px; }
.team-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.empty-state { padding: 50px; text-align: center; max-width: 860px; margin: 0 auto; }
.empty-state .cap-icon { margin: 0 auto 18px; width: 60px; height: 60px; }
.empty-state h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 10px; }
.empty-state p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 24px; line-height: 1.7; }

@media (max-width: 1100px) {
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { gap: 22px; }
    .nav-links a { font-size: 14px; }
}
@media (max-width: 1024px) {
    .flagship { grid-template-columns: 1fr; padding: 44px; gap: 36px; }
    .cap-grid.three, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pillar-grid, .cap-grid, .cap-grid.three, .audience-grid, .team-grid { grid-template-columns: 1fr; }
    .flagship { padding: 34px 26px; }
    .flagship h2 { font-size: 30px; }
    .pillar-head { flex-direction: column; gap: 16px; }
    .pillar-head h2 { font-size: 28px; }
    .partner-panel, .empty-state { padding: 34px 24px; }
    .nav-links { gap: 30px; }
    .nav-links a { font-size: 15px; }
}

/* ===== Page header (inner pages with several sections) ===== */
.page-header { padding: 270px 0 70px; }
@media (max-width: 768px) { .page-header { padding: 230px 0 50px; } }
.cap-card.wide { grid-column: 1 / -1; }

/* ===== Focus pass: simpler layouts ===== */
.verb { font-size: 30px !important; margin-bottom: 4px !important; }
.verb-line { font-weight: 600; color: var(--brand-dark); margin-bottom: 14px; font-size: 16px; }

.service-block { display: grid; grid-template-columns: 1fr 1.8fr; gap: 60px; align-items: start; }
.service-intro { position: sticky; top: 250px; }
.service-intro .icon-tile { width: 64px; height: 64px; }
.service-intro h2 { font-family: var(--font-display); font-size: 40px; line-height: 1.1; margin-bottom: 6px; }
.service-intro p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.cap-grid.one { grid-template-columns: 1fr; }

.method-band { display: flex; gap: 30px; align-items: center; padding: 44px; }
.method-band .icon-tile { margin: 0; width: 72px; height: 72px; }
.method-band h2 { font-family: var(--font-display); font-size: 30px; margin-bottom: 10px; }
.method-band p { color: var(--ink-soft); font-size: 17px; line-height: 1.75; max-width: 820px; }

.audience-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-chip { display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 600; font-size: 15px; }
.audience-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.audience-chip .about-point-icon { width: 44px; height: 44px; }

@media (max-width: 1100px) { .audience-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) {
    .service-block { grid-template-columns: 1fr; gap: 30px; }
    .service-intro { position: static; }
}
@media (max-width: 768px) {
    .audience-strip { grid-template-columns: 1fr; }
    .method-band { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
    .service-intro h2 { font-size: 32px; }
}


/* ===== Health Informatics & Research focus ===== */
.hero-title { font-size: clamp(38px, 5.2vw, 72px); }
.hero-pillars {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
    margin: -12px auto 40px; animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-pillars li {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
    background: var(--navy); color: #fff; border-radius: 50px;
    font-weight: 600; font-size: 15px;
}
.hero-pillars .material-symbols-outlined { color: var(--teal-light); font-size: 20px; }
.team-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.cap-grid .cap-card { height: 100%; }
@media (max-width: 768px) {
    .team-grid.two { grid-template-columns: 1fr; }
    .hero-pillars { flex-direction: column; align-items: center; }
}


/* ===== Home hero + 4-service grid ===== */
.hero-description + .hero-description { margin-top: -20px; }
.feature-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { padding: 30px; }
@media (max-width: 1200px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===== Home: About at top ===== */
.hero-about { padding: 250px 0 90px; text-align: left; }
.hero-about .hero-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 28px; }
.hero-about .about-copy .section-title { font-size: clamp(34px, 4.2vw, 48px); }
@media (max-width: 1024px) { .hero-about { padding: 240px 0 70px; } }

/* Blog listing and full articles */
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.blog-card { padding: 38px; display: flex; flex-direction: column; align-items: flex-start; }
.blog-card .tag-row { margin-bottom: 24px; }
.blog-card h2 { font-family: var(--font-display); font-size: 28px; line-height: 1.25; margin-bottom: 16px; }
.blog-card h2 a { color: var(--ink); text-decoration: none; }
.blog-card h2 a:hover { color: var(--brand-dark); }
.blog-card p { color: var(--ink-soft); line-height: 1.8; margin-bottom: 28px; }
.blog-read-more, .blog-back { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-dark); font-weight: 600; text-underline-offset: 5px; }
.blog-read-more { margin-top: auto; }
.blog-back { margin-bottom: 28px; }
.blog-reading { max-width: 840px; }
.blog-reading .tag-row { margin-bottom: 20px; }
.blog-reading .section-title { text-align: left; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.15; overflow-wrap: anywhere; }
.blog-lead { color: var(--ink-soft); font-size: 20px; margin-top: 22px; }
.blog-prose { font-size: 18px; line-height: 1.9; color: var(--ink-soft); }
.blog-prose p { margin-bottom: 24px; }
.blog-prose h2 { font-family: var(--font-display); color: var(--ink); font-size: 28px; line-height: 1.3; margin: 40px 0 18px; }
.blog-prose a { color: var(--brand-dark); text-underline-offset: 4px; }
.blog-sample-note { border-left: 3px solid var(--brand); padding: 16px 20px; background: var(--surface-alt); font-size: 15px; }
.blog-article-end { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 28px; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
@media (min-width: 769px) and (max-width: 1000px) { .nav-links { gap: 12px; } .nav-links a { font-size: 12px; } }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } .blog-card { padding: 28px; } .blog-prose { font-size: 17px; } }

/* Editorial pages and team profiles */
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10010; background: var(--navy); color: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.menu-toggle { border: 0; background: transparent; cursor: pointer; padding: 10px; }
.post-meta { font-size: 14px !important; color: var(--ink-soft); margin: 16px 0 !important; }
.age-tag.is-new { background: #d5f4eb; color: #075d4c; border-color: #99d9c7; }
.blog-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.blog-category { margin-bottom: 64px; scroll-margin-top: 220px; }
.blog-category > h2 { font-family: var(--font-display); font-size: 30px; display: flex; align-items: center; gap: 12px; }
.category-count { font-family: var(--font-main); font-size: 14px; border-radius: 30px; padding: 4px 12px; background: var(--surface-alt); }
.category-description { color: var(--ink-soft); margin: 10px 0 26px; }
.category-empty { padding: 24px; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-soft); }
[hidden] { display: none !important; }
.blog-list-action { margin-top: 30px; }
.blog-card { min-width: 0; }
.blog-prose ul { padding-left: 24px; margin-bottom: 28px; }
.blog-prose li { margin: 12px 0; }
.blog-prose a { overflow-wrap: anywhere; }
.blog-prose h2 { scroll-margin-top: 220px; }
.members-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; max-width: 1000px; margin: auto; }
.member-card { overflow: hidden; }
.member-photo { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center top; }
.member-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; background: linear-gradient(135deg,#e4f0f3,#c7e5df); color: var(--brand-dark); font-size: 14px; }
.member-placeholder .material-symbols-outlined { font-size: 92px; }
.member-copy { padding: 32px; }
.member-copy h2 { font-family: var(--font-display); font-size: 26px; margin: 18px 0 8px; line-height: 1.3; }
.member-role { font-weight: 600; color: var(--brand-dark); margin-bottom: 16px; }
.member-copy > p:last-of-type { color: var(--ink-soft); line-height: 1.8; margin-bottom: 20px; }
.team-preview-note { max-width: 1000px; margin: 0 auto 32px; padding: 18px 24px; border-left: 3px solid var(--brand); background: var(--surface-alt); }
@media (min-width: 981px) { .nav-links { gap: 18px; } .nav-links a { font-size: 13px; } }
@media (max-width: 980px) {
 .nav-links { position: fixed; top: 0; right: -100%; width: min(85%,380px); height: 100dvh; background: var(--navy); flex-direction: column; justify-content: center; gap: 26px; padding: 32px; transition: right .3s ease; }
 .nav-links.active { right: 0; }
 .nav-links a { font-size: 16px; }
 .menu-toggle { display: flex; z-index: 1001; }
}
@media (max-width: 640px) {
 .members-grid { grid-template-columns: 1fr; }
 .member-copy { padding: 24px; }
 .member-photo { height: 260px; }
 .blog-category > h2 { font-size: 25px; }
 .blog-jump .chip-link { padding: 9px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } [data-aos] { opacity: 1; transform: none; } }

/* Full blog article paragraph alignment */
.blog-prose p { text-align: justify; text-justify: inter-word; }

/* Keep article text readable on narrow screens. */
@media (max-width: 768px) { .blog-prose p { text-align: left; text-justify: auto; } }

/* Contact is unavailable until approved details and delivery are configured. */
.contact-disabled-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-unavailable { color: var(--ink-soft); }
.contact-unavailable-notice { padding: 16px; margin-bottom: 24px; background: var(--surface-alt); border-left: 3px solid var(--brand); color: var(--ink-soft); }
.contact-disabled-fields :disabled { opacity: .6; cursor: not-allowed; }
.contact-disabled-fields .btn:disabled { transform: none; box-shadow: none; }
