/* =====================================================================
   DataInferix — Style system
   Single-file stylesheet optimized for Cloudflare Pages static hosting.
   All colors are centralized in :root variables for easy theming.
   ===================================================================== */

:root {
    --primary: #0A1F44;            /* deep navy */
    --primary-dark: #060F26;
    --primary-soft: #E8EEF7;
    --accent: #0891B2;             /* modern teal-blue */
    --accent-hover: #077A98;
    --accent-soft: #E0F6FB;

    --background: #FFFFFF;
    --surface: #F8FAFC;
    --surface-2: #F1F5F9;

    --text: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --border-strong: #CBD5E1;

    --success: #059669;
    --warning: #D97706;
    --error: #DC2626;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);

    --header-h: 68px;
    --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { margin: 0 0 0.75rem; font-weight: 700; line-height: 1.25; color: var(--primary); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--text-muted); }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 680px; }

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.2;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost { background: transparent; color: var(--primary); border-color: transparent; }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); }

.btn-light { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-light:hover { background: rgba(255,255,255,0.1); color: #fff; }

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.875rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    height: var(--header-h);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--header-h);
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}
.logo:hover { color: var(--primary); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-list a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    position: relative;
}
.nav-list a:hover, .nav-list a.active { color: var(--primary); }
.nav-list a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.auth-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-menu { position: relative; }
.user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem 0.35rem 0.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
}
.avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
}
.user-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.35rem;
    list-style: none;
    margin: 0;
    display: none;
    z-index: 120;
}
.user-dropdown.open { display: block; }
.user-dropdown li { padding: 0; }
.user-dropdown a, .user-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--surface); color: var(--primary); }
.user-dropdown .divider { height: 1px; background: var(--border); margin: 0.35rem 0; }

.hamburger {
    display: none;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 150ms ease, opacity 150ms ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 500px at 80% -10%, var(--primary-soft), transparent 60%),
        linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
    padding: 4rem 0 5rem;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    margin-left: auto;
}
.hero-grid {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.grid-line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: rgba(10, 31, 68, 0.08);
}
.grid-line:nth-child(1) { top: 25%; }
.grid-line:nth-child(2) { top: 50%; }
.grid-line:nth-child(3) { top: 75%; }
.grid-line:nth-child(4) { left: 25%; right: auto; top: 0; bottom: 0; width: 1px; height: 100%; }
.node {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.15);
}
.node.n1 { top: 25%; left: 25%; }
.node.n2 { top: 50%; left: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(10, 31, 68, 0.15); }
.node.n3 { top: 25%; left: 75%; }
.node.n4 { top: 75%; left: 25%; }
.node.n5 { top: 75%; left: 75%; background: var(--primary); box-shadow: 0 0 0 4px rgba(10, 31, 68, 0.15); }
.node.n6 { top: 15%; left: 55%; width: 8px; height: 8px; }
.node.n7 { top: 85%; left: 40%; width: 10px; height: 10px; background: var(--primary); box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.1); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--surface); }

.section-head {
    max-width: 760px;
    margin-bottom: 2.5rem;
}
.section-head p { color: var(--text-muted); }

/* Card grid (services, research domains) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.25rem;
}
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card-link { font-weight: 600; color: var(--accent); font-size: 0.9rem; }
.card-link:hover { color: var(--accent-hover); }

/* Pillars (Why DataInferix) */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.pillar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.section-alt .pillar { background: #fff; }
.pillar-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
}

.split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Tool grid */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.tools-category { margin-bottom: 3rem; }
.tool-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.tool-icon {
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-sm);
    margin-bottom: 0.25rem;
}
.tool-icon svg { width: 22px; height: 22px; }
.status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    align-self: flex-start;
    margin: 0.25rem 0 0.5rem;
}
.status-soon { background: var(--surface-2); color: var(--text-muted); }
.status-avail { background: var(--accent-soft); color: var(--accent); }

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.25rem;
}
.project-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.project-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.25rem; }
.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: var(--primary-soft);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.project-footer { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Filter bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    transition: all 120ms ease;
}
.filter-btn:hover { color: var(--primary); border-color: var(--border-strong); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Resources */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.25rem;
}
.resource-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.resource-card h3 { margin-top: 0.25rem; }

/* Publications */
.pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.pub-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pub-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; }

/* Services */
.service-stack { display: flex; flex-direction: column; gap: 2rem; }
.service {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}
.service-icon {
    width: 56px; height: 56px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center; justify-content: center;
}
.service-icon svg { width: 28px; height: 28px; }
.service-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.35rem 1.25rem;
}
.service-list li {
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text);
}
.service-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.6rem;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Page head */
.page-head {
    padding: 4rem 0 2rem;
    background:
        radial-gradient(900px 300px at 90% -20%, var(--primary-soft), transparent 60%),
        var(--surface);
}
.page-head .lead { margin-top: 0.75rem; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5rem; }

/* CTA band */
.cta-band {
    background: var(--primary);
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 1.5rem; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.cta-band .btn-primary:hover { background: var(--surface); color: var(--primary); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field input, .field textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-success { color: var(--success); font-weight: 600; }
.form-error { color: var(--error); font-weight: 600; }
.form-info { color: var(--text-muted); font-size: 0.9rem; }

.contact-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.info-row .info-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.35rem;
}
.info-row a { font-weight: 600; }

/* Footer */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 3.5rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 2rem;
}
.foot-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.9rem; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.foot-col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.foot-col a:hover { color: #fff; }
.foot-col .muted { color: rgba(255,255,255,0.6); }
.foot-col .logo { color: #fff; margin-bottom: 0.5rem; }

.socials { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.socials a {
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    transition: background-color 120ms ease;
}
.socials a:hover { background: rgba(255,255,255,0.18); color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.25rem;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
}
.footer-bottom p { margin: 0; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}
.modal[hidden] { display: none; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}
.modal-panel {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 460px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}
.modal-close {
    position: absolute;
    top: 0.75rem; right: 0.75rem;
    background: transparent;
    border: 0;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    width: 36px; height: 36px;
    border-radius: 50%;
}
.modal-close:hover { background: var(--surface); color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 380px; margin: 2rem auto 0; }
    .split { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .service { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }

    .hamburger { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 200ms ease;
        box-shadow: var(--shadow);
        z-index: 90;
    }
    .main-nav.open { transform: translateY(0); }
    .nav-list {
        flex-direction: column;
        padding: 1rem 1.25rem 1.5rem;
        gap: 0.75rem;
    }
    .nav-list li { width: 100%; }
    .nav-list a { display: block; padding: 0.5rem 0; font-size: 1rem; }

    .auth-controls .btn-ghost,
    .auth-controls .btn-primary { display: none; }
    /* On mobile the user is invited to log in from the dropdown menu */

    .section { padding: 3rem 0; }
    .page-head { padding: 3rem 0 1.5rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .foot-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .filter-bar { gap: 0.4rem; }
    .filter-btn { font-size: 0.78rem; padding: 0.4rem 0.8rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Focus visible accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Print */
@media print {
    .site-header, .site-footer, .hamburger, .filter-bar { display: none; }
    body { color: #000; }
}

/* =====================================================
   ABOUT PAGE — PROFESSIONAL LAYOUT
   ===================================================== */

/* Intro: text left + facts card right */
.about-intro {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: start;
}
.about-intro h2 { max-width: 560px; }
.intro-text p { color: var(--text-muted); font-size: 1.02rem; }

.glance-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}
.glance-card h3 {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.glance-row {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
}
.glance-row:first-of-type { border-top: 0; padding-top: 0; }
.glance-label { flex: 0 0 92px; font-weight: 600; font-size: 0.85rem; color: var(--text); }
.glance-value { font-size: 0.9rem; color: var(--text-muted); }

/* Mission & Vision: equal-height cards, top accent bar */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
.mv-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: var(--shadow-sm);
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.mv-icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mv-icon svg { width: 24px; height: 24px; }
.mv-card h3 { font-size: 1.35rem; margin: 0; }
.mv-card p { color: var(--text-muted); margin: 0; }

/* Beliefs: heading left, numbered list right (no orphan cards) */
.beliefs {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.beliefs-left h2 { max-width: 340px; }
.belief-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.belief-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}
.belief-item:first-child { border-top: 0; padding-top: 0.25rem; }
.belief-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.belief-item h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.belief-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Audience cards */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}
.audience-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.audience-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.audience-card svg {
    width: 26px; height: 26px;
    color: var(--accent);
    margin: 0 auto 0.7rem;
}
.audience-card h3 { font-size: 0.95rem; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .about-intro { grid-template-columns: 1fr; gap: 2.5rem; }
    .beliefs { grid-template-columns: 1fr; gap: 2rem; }
    .beliefs-left h2 { max-width: none; }
    .mv-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   HERO RIGHT — PROFESSIONAL STATS PANEL
   ===================================================== */
.hero-visual {
    aspect-ratio: auto;
    max-width: 540px;
}
.stats-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.stats-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.stats-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}
.stats-panel-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.stat-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.stat-tile:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}
.stat-tile .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.stat-tile .stat-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}
.stats-panel-foot {
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .hero-visual {
        margin: 2.5rem auto 0;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .stats-panel { padding: 1.5rem; }
    .stat-tile .stat-num { font-size: 1.6rem; }
}