/* ── alok.ai · editorial design system ── */
:root {
    --bg: #faf9f6;
    --bg-alt: #f3f1ec;
    --bg-card: #ffffff;
    --text: #1a1a1a;
    --text-2: #4a4a4a;
    --text-3: #777;
    --accent: #2d5f4f;
    --accent-dim: rgba(45, 95, 79, 0.07);
    --accent-hover: #234d3f;
    --border: #e5e2dc;
    --border-2: #d5d1ca;
    --code-bg: #f0ede7;
    --serif: 'Crimson Pro', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --max-w: 720px;
    --max-w-wide: 1080px;
    --violet: #6c5ce7;
    --violet-dim: rgba(108, 92, 231, 0.08);
    --amber: #b87333;
    --amber-dim: rgba(184, 115, 51, 0.08);
    --rose: #c44569;
    --emerald: #2d7d5f;
    --cyan: var(--accent);
    --cyan-dim: var(--accent-dim);
    --cyan-glow: var(--accent-dim);
    --bg-0: var(--bg);
    --bg-1: var(--bg-alt);
    --bg-2: var(--bg-card);
    --bg-3: var(--bg-alt);
    --bg-4: var(--border);
    --text-0: var(--text);
    --text-1: var(--text-2);
}

[data-theme="dark"] {
    --bg: #0e0f13;
    --bg-alt: #16171d;
    --bg-card: #1c1d24;
    --text: #e8e6e1;
    --text-2: #b0ada6;
    --text-3: #7a776f;
    --accent: #5cb89c;
    --accent-dim: rgba(92, 184, 156, 0.1);
    --accent-hover: #7ccdb4;
    --border: #2a2b33;
    --border-2: #3a3b44;
    --code-bg: #1a1b22;
    --violet: #9b8afb;
    --violet-dim: rgba(155, 138, 251, 0.12);
    --amber: #d4955a;
    --amber-dim: rgba(212, 149, 90, 0.12);
    --rose: #e05a7f;
    --emerald: #5cb89c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text-2);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Accent stripe at very top */
body::before {
    content: '';
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--violet), var(--amber));
    z-index: 200;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--text);
    font-weight: 400;
}

a { color: var(--accent); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── NAV ── */
nav {
    position: fixed; top: 3px; left: 0; right: 0; z-index: 100;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
[data-theme="dark"] nav {
    background: rgba(14, 15, 19, 0.92);
}
.nav-inner {
    max-width: var(--max-w-wide); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 56px; padding: 0 2rem;
}
.nav-wordmark {
    font-family: var(--serif); font-weight: 400;
    font-size: 1.15rem; color: var(--text); text-decoration: none;
    letter-spacing: -0.01em;
}
.nav-wordmark span { color: var(--accent); }
.nav-links { display: flex; gap: 0.1rem; list-style: none; }
.nav-links a {
    color: var(--text-3); text-decoration: none; font-size: 0.8rem;
    font-weight: 450; padding: 0.35rem 0.7rem; border-radius: 6px;
    transition: all 0.2s; letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text); background: var(--accent-dim);
}
.nav-toggle {
    display: none; background: none; border: none;
    color: var(--text); cursor: pointer;
}

/* ── THEME TOGGLE ── */
.theme-toggle {
    background: none; border: 1px solid var(--border); border-radius: 6px;
    color: var(--text-3); cursor: pointer; padding: 0.35rem;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.25s; margin-left: 0.5rem;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ── HERO ── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; padding: 8rem 2rem 5rem; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: var(--border);
}
.hero-pattern, .hero-orb, .hero-orb-1, .hero-orb-2 { display: none; }

.hero-inner {
    max-width: var(--max-w-wide); margin: 0 auto; width: 100%; position: relative;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center;
}
.hero-text { animation: fadeUp 0.7s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent); margin-bottom: 1.5rem;
}
.hero-eyebrow .line { width: 28px; height: 1px; background: var(--accent); opacity: 0.4; }

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 400; letter-spacing: -0.03em;
    line-height: 1.05; margin-bottom: 1.5rem;
}
.hero h1 .em {
    display: block;
    font-style: italic;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    background: none; -webkit-background-clip: unset; background-clip: unset;
}

.hero-desc {
    font-size: 1rem; color: var(--text-2); line-height: 1.8;
    max-width: 520px; margin-bottom: 2rem;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.4rem; border-radius: 6px; font-size: 0.82rem;
    font-weight: 500; text-decoration: none; transition: all 0.25s;
    cursor: pointer; border: none; font-family: var(--sans);
}
.btn-accent {
    background: var(--accent); color: #fff;
}
.btn-accent:hover {
    background: var(--accent-hover); transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 95, 79, 0.2);
}
.btn-ghost {
    background: transparent; color: var(--text-2);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent); color: var(--accent); transform: translateY(-1px);
}

/* ── BENTO CARDS ── */
.hero-bento {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.75rem; animation: fadeUp 0.7s ease 0.2s forwards; opacity: 0;
}
.bento-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 1.4rem; transition: all 0.3s;
    position: relative; overflow: hidden;
}
.bento-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.bento-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px 2px 0 0; }
.bento-card.wide { grid-column: 1 / -1; }
.bento-card .num {
    font-family: var(--serif); font-size: 2rem; font-weight: 400;
    letter-spacing: -0.03em; line-height: 1.1;
}
.bento-card .unit {
    font-size: 0.68rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-3); margin-top: 0.25rem;
    font-family: var(--mono);
}
.bento-card.c1::after { background: var(--accent); }
.bento-card.c1 .num { color: var(--accent); }
.bento-card.c2::after { background: var(--violet); }
.bento-card.c2 .num { color: var(--violet); }
.bento-card.c3::after { background: var(--amber); }
.bento-card.c3 .num { color: var(--amber); }
.bento-card.c4::after { background: var(--rose); }
.bento-card.c4 .num { color: var(--rose); }
.bento-card.c5::after { background: var(--emerald); }
.bento-card.c5 .num { color: var(--emerald); }

/* ── SECTIONS ── */
section { padding: 5rem 2rem; position: relative; }
.container { max-width: var(--max-w-wide); margin: 0 auto; }
.section-head { margin-bottom: 3rem; }
.section-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--accent); margin-bottom: 0.5rem;
}
.section-tag::before {
    content: ''; display: block; width: 20px; height: 1px;
    background: var(--accent); opacity: 0.5;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400; letter-spacing: -0.02em;
}
.section-sub { color: var(--text-3); font-size: 0.92rem; margin-top: 0.5rem; max-width: 550px; }
.sec-alt { background: var(--bg-alt); }
.sec-alt::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: var(--border);
}

/* ── PAGE HEADER (subpages) ── */
.page-header { padding: 6rem 2rem 1rem; position: relative; }
.page-header::before { display: none; }
.page-header .container { position: relative; }

/* ── BREADCRUMB ── */
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--mono); font-size: 0.72rem; color: var(--text-3);
    margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.7; }

/* ── SECTION LINK CARDS (landing page) ── */
.section-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.section-link-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 1.75rem; text-decoration: none;
    color: var(--text); transition: all 0.3s; display: block;
}
.section-link-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.section-link-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.4rem; }
.section-link-card p { font-size: 0.84rem; color: var(--text-3); line-height: 1.55; }
.section-link-card .card-arrow {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-family: var(--mono); font-size: 0.72rem; color: var(--text-3);
    font-weight: 500; margin-top: 0.75rem; transition: color 0.2s;
}
.section-link-card:hover .card-arrow { color: var(--accent); }

/* ── EXPERIENCE ── */
.exp-grid { position: relative; }
.exp-grid::before {
    content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 1px;
    background: linear-gradient(to bottom, var(--accent), var(--violet), var(--border));
}
.exp-item {
    display: grid; grid-template-columns: 44px 1fr; gap: 1.5rem; padding-bottom: 2.5rem;
    opacity: 0; transform: translateY(20px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.exp-item.visible { opacity: 1; transform: translateY(0); }
.exp-marker { position: relative; display: flex; justify-content: center; padding-top: 4px; }
.exp-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--accent);
    position: relative; z-index: 2;
}
.exp-item:first-child .exp-dot {
    background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim);
}
.exp-body {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 1.75rem; transition: all 0.3s;
}
.exp-body:hover { border-color: var(--border-2); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.exp-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem;
}
.exp-role { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--text); }
.exp-org { font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.exp-when {
    font-family: var(--mono); font-size: 0.7rem; color: var(--text-3);
    white-space: nowrap; padding: 0.25rem 0.6rem;
    background: var(--bg-alt); border-radius: 4px; border: 1px solid var(--border);
}
.exp-bullets { list-style: none; margin-top: 0.5rem; }
.exp-bullets li {
    position: relative; padding-left: 1rem; margin-bottom: 0.45rem;
    font-size: 0.88rem; color: var(--text-2); line-height: 1.65;
}
.exp-bullets li::before {
    content: ''; position: absolute; left: 0; top: 0.6em;
    width: 4px; height: 4px; background: var(--accent);
    border-radius: 50%; opacity: 0.5;
}

/* ── TALENT ── */
.talent-banner {
    background: var(--bg-card); border: 1px solid var(--border);
    border-left: 3px solid var(--accent); border-radius: 10px;
    padding: 1.75rem 2rem; margin-bottom: 2.5rem;
}
.talent-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.talent-header h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; color: var(--accent); }
.talent-desc { font-size: 0.85rem; color: var(--text-3); margin-bottom: 1.25rem; }
.talent-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.talent-stat { display: flex; align-items: baseline; gap: 0.4rem; }
.talent-num { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--text); }
.talent-label {
    font-family: var(--mono); font-size: 0.68rem; color: var(--text-3);
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em;
}

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.blog-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 1.75rem; text-decoration: none; display: flex;
    flex-direction: column; transition: all 0.3s;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.blog-card-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; }
.blog-card-date {
    font-family: var(--mono); font-size: 0.68rem; color: var(--accent);
    background: var(--accent-dim); padding: 0.2rem 0.55rem; border-radius: 4px;
}
.blog-card-read { font-size: 0.7rem; color: var(--text-3); }
.blog-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; line-height: 1.35; margin-bottom: 0.6rem; color: var(--text); }
.blog-card-desc { font-size: 0.84rem; color: var(--text-3); line-height: 1.55; flex: 1; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 1rem; }
.blog-card-tag {
    font-family: var(--mono); font-size: 0.62rem; padding: 0.18rem 0.5rem;
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: 4px; color: var(--text-3); font-weight: 500;
}
.blog-card-arrow {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-family: var(--mono); font-size: 0.72rem; color: var(--text-3);
    font-weight: 500; margin-top: 1rem; transition: color 0.2s;
}
.blog-card:hover .blog-card-arrow { color: var(--accent); }
.blog-empty { color: var(--text-3); font-size: 0.9rem; font-style: italic; }

/* ── PRESS ── */
.press-logos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.press-logo {
    font-family: var(--serif); font-size: 0.85rem; font-weight: 400;
    color: var(--text-3); padding: 0.45rem 1rem; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 6px; transition: all 0.2s;
    font-style: italic;
}
.press-logo:hover { color: var(--text); border-color: var(--accent); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.press-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 1.4rem 1.5rem; transition: all 0.3s; text-decoration: none; display: block;
    opacity: 0; transform: translateY(15px);
}
.press-card.visible { opacity: 1; transform: translateY(0); }
.press-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.press-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.press-source { font-family: var(--serif); font-size: 0.88rem; font-weight: 400; color: var(--accent); font-style: italic; }
.press-year {
    font-family: var(--mono); font-size: 0.66rem; color: var(--text-3);
    background: var(--bg-alt); padding: 0.15rem 0.5rem; border-radius: 4px;
    border: 1px solid var(--border);
}
.press-headline { font-size: 0.88rem; font-weight: 500; color: var(--text); line-height: 1.5; margin-bottom: 0.4rem; }
.press-context { font-size: 0.78rem; color: var(--text-3); line-height: 1.5; }
.press-arrow {
    display: inline-flex; align-items: center; gap: 0.25rem;
    font-family: var(--mono); font-size: 0.7rem; color: var(--text-3);
    font-weight: 500; margin-top: 0.5rem; transition: color 0.2s;
}
.press-card:hover .press-arrow { color: var(--accent); }

/* ── SKILLS ── */
.skills-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.skill-tile {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 2rem 1.75rem; position: relative; overflow: hidden; transition: all 0.35s;
    opacity: 0; transform: translateY(20px);
}
.skill-tile.visible { opacity: 1; transform: translateY(0); }
.skill-tile:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.skill-tile::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.skill-tile.t1::before { background: var(--accent); }
.skill-tile.t2::before { background: var(--violet); }
.skill-tile.t3::before { background: var(--amber); }
.skill-tile h3 {
    font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
    margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.6rem;
}
.skill-tile.t1 h3 { color: var(--accent); }
.skill-tile.t2 h3 { color: var(--violet); }
.skill-tile.t3 h3 { color: var(--amber); }
.skill-tile .ico {
    width: 28px; height: 28px; border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
}
.skill-tile.t1 .ico { background: var(--accent-dim); }
.skill-tile.t2 .ico { background: var(--violet-dim); }
.skill-tile.t3 .ico { background: var(--amber-dim); }
.pill-wrap { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pill {
    font-size: 0.72rem; padding: 0.28rem 0.65rem; border-radius: 20px;
    font-weight: 450; color: var(--text-2); background: var(--bg-alt);
    border: 1px solid var(--border); transition: border-color 0.2s;
}
.skill-tile:hover .pill { border-color: var(--border-2); }

/* ── PATENTS ── */
.patent-stack { display: grid; gap: 0.75rem; }
.pat {
    display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 1.25rem 1.75rem; transition: all 0.3s;
    opacity: 0; transform: translateX(-20px);
}
.pat.visible { opacity: 1; transform: translateX(0); }
.pat:hover { border-color: var(--border-2); transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.pat-num {
    font-family: var(--mono); font-size: 0.7rem; color: var(--accent);
    background: var(--accent-dim); padding: 0.3rem 0.6rem; border-radius: 4px; white-space: nowrap;
}
.pat-title { font-weight: 500; font-size: 0.92rem; color: var(--text); }
.pat-right { display: flex; align-items: center; gap: 1rem; white-space: nowrap; }
.pat-badge {
    font-family: var(--mono); font-size: 0.65rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem; border-radius: 4px;
}
.pat-badge.granted { background: rgba(45, 125, 95, 0.08); color: var(--emerald); }
.pat-badge.pending { background: var(--amber-dim); color: var(--amber); }
.pat-date { font-size: 0.72rem; color: var(--text-3); font-family: var(--mono); }
.pat-link { color: var(--text-3); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.pat:hover .pat-link { color: var(--accent); }

/* ── PUBLICATIONS ── */
.pub-stack { display: grid; gap: 1rem; }
.pub {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 1.75rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
    transition: all 0.3s; opacity: 0; transform: translateY(15px);
}
.pub.visible { opacity: 1; transform: translateY(0); }
.pub:hover { border-color: var(--border-2); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.pub-year {
    font-family: var(--serif); font-size: 1.8rem; font-weight: 400;
    color: var(--border); line-height: 1; writing-mode: vertical-lr;
    text-orientation: mixed; transform: rotate(180deg); letter-spacing: -0.04em;
}
.pub:hover .pub-year { color: var(--accent); }
.pub-body h3 { font-family: var(--serif); font-size: 1rem; font-weight: 400; line-height: 1.45; margin-bottom: 0.35rem; }
.pub-venue { font-size: 0.82rem; color: var(--violet); font-weight: 500; font-style: italic; }
.pub-authors { font-size: 0.78rem; color: var(--text-3); margin-top: 0.1rem; }
.pub-a {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-family: var(--mono); font-size: 0.72rem; color: var(--accent);
    text-decoration: none; font-weight: 500; margin-top: 0.55rem; transition: opacity 0.2s;
}
.pub-a:hover { opacity: 0.7; }
.pub.upcoming { border-left: 3px solid var(--violet); }
.research-links { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.orcid-link {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
    color: var(--accent); text-decoration: none; background: var(--accent-dim);
    padding: 0.35rem 0.75rem; border-radius: 6px;
    border: 1px solid rgba(45, 95, 79, 0.12); transition: all 0.2s;
}
.orcid-link:hover { background: rgba(45, 95, 79, 0.12); border-color: var(--accent); }

/* ── PEER REVIEW ── */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; }
.rev {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 1.35rem; transition: all 0.3s; opacity: 0; transform: translateY(15px);
}
.rev.visible { opacity: 1; transform: translateY(0); }
.rev:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.rev-conf { font-family: var(--serif); font-size: 0.95rem; font-weight: 400; margin-bottom: 0.2rem; color: var(--text); }
.rev-track { font-size: 0.78rem; color: var(--text-3); margin-bottom: 0.4rem; line-height: 1.4; }
.rev-count { font-family: var(--mono); font-size: 0.66rem; color: var(--accent); font-weight: 500; }

/* ── EDUCATION ── */
.edu {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 2rem; display: flex; align-items: center; gap: 1.5rem; max-width: 650px;
}
.edu-icon {
    width: 52px; height: 52px; border-radius: 10px;
    background: var(--accent-dim); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.edu h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.edu-degree { color: var(--accent); font-size: 0.88rem; font-weight: 500; }
.edu-year { font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); }

/* ── CONTACT ── */
.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; max-width: 750px; }
.contact-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 1.4rem; text-decoration: none; color: var(--text);
    display: flex; align-items: center; gap: 1rem; transition: all 0.3s;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.contact-ico {
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--accent-dim); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-label {
    font-family: var(--mono); font-size: 0.65rem; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
}
.contact-val { font-size: 0.88rem; font-weight: 500; }

/* ── BEYOND WORK ── */
.beyond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.beyond-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 2rem; display: flex; align-items: flex-start; gap: 1.25rem; transition: all 0.3s;
}
.beyond-card:hover { border-color: var(--border-2); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.beyond-icon {
    width: 52px; height: 52px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pilot-ico { background: var(--accent-dim); }
.beyond-body h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.beyond-sub { font-size: 0.85rem; color: var(--text-3); margin-top: 0.15rem; }
.beyond-since {
    display: inline-block; margin-top: 0.5rem;
    font-family: var(--mono); font-size: 0.7rem; color: var(--accent);
    background: var(--accent-dim); padding: 0.2rem 0.55rem; border-radius: 4px;
}
.beyond-memberships {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 2rem; transition: all 0.3s;
}
.beyond-memberships:hover { border-color: var(--border-2); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.beyond-mem-title { font-family: var(--serif); font-size: 1rem; font-weight: 400; margin-bottom: 1rem; }
.beyond-mem-list { display: flex; flex-direction: column; gap: 0.65rem; }
.mem-item { display: flex; align-items: center; gap: 0.75rem; }
.mem-rank {
    font-family: var(--mono); font-size: 0.65rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem; border-radius: 4px; white-space: nowrap;
    background: var(--violet-dim); color: var(--violet);
}
.mem-org { font-size: 0.88rem; color: var(--text-2); font-weight: 450; }

/* ── FOOTER ── */
footer {
    padding: 3rem 2rem; text-align: center; font-size: 0.72rem;
    color: var(--text-3); border-top: 1px solid var(--border);
    font-family: var(--mono);
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .skills-mosaic { grid-template-columns: 1fr; }
    .pat { grid-template-columns: 1fr; gap: 0.5rem; }
    .pat-right { justify-content: flex-start; }
    .pub { grid-template-columns: 1fr; gap: 0.5rem; }
    .pub-year { writing-mode: horizontal-tb; transform: none; font-size: 0.85rem; color: var(--accent); }
}

@media (max-width: 640px) {
    .nav-links {
        display: none; position: absolute; top: 59px; left: 0; right: 0;
        background: rgba(250, 249, 246, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    section { padding: 3.5rem 1.25rem; }
    .hero { padding: 5.5rem 1.25rem 3rem; min-height: auto; }
    .hero-bento { grid-template-columns: 1fr 1fr; }
    .hero-cta { flex-direction: column; }
    .edu { flex-direction: column; text-align: center; }
    .beyond-grid { grid-template-columns: 1fr; }
    .beyond-card { flex-direction: column; align-items: center; text-align: center; }
    .talent-stats { gap: 1rem; }
    .talent-stat { flex-direction: column; gap: 0; }
    .section-cards { grid-template-columns: 1fr; }
    [data-theme="dark"] .nav-links {
        background: rgba(14, 15, 19, 0.97);
    }
}
