
/* ── Variables & Reset ── */
:root {
    --bg:           #FAFAF7;
    --bg-alt:       #F2F2EE;
    --text:         #1C1C1A;
    --muted:        #6B6B65;
    --accent:       #2D5A3D;
    --accent-light: #EAF2EC;
    --accent-mid:   #4A8C62;
    --border:       #E2E2DC;
    --serif:        'EB Garamond', Georgia, serif;
    --sans:         'Inter', system-ui, sans-serif;
    /* Cursor variables */
    --cursor-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M8 28 C8 28 6 16 16 8 C26 2 28 4 28 4 C28 4 30 6 24 16 C18 24 8 28 8 28Z' fill='%232d6a4f' stroke='%231b4332' stroke-width='1'/%3E%3Cpath d='M8 28 C12 20 18 14 26 6' stroke='%231b4332' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 4 28, auto;
    --cursor-pointer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M8 28 C8 28 6 16 16 8 C26 2 28 4 28 4 C28 4 30 6 24 16 C18 24 8 28 8 28Z' fill='%2395d5b2' stroke='%2352b788' stroke-width='1'/%3E%3Cpath d='M8 28 C12 20 18 14 26 6' stroke='%2352b788' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 4 28, pointer;
}
/* GitHub code link in paper rows */
.paper-link i {
  font-size: 0.72rem;
  margin-right: 0.18rem;
}
/* ── Collapsible Section Toggle ── */
.collapsible-extra {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}
.collapsible-extra.open {
    max-height: 4000px;
}
.section-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.38rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--muted);
    cursor: var(--cursor-pointer);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.section-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}
.section-toggle-btn i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}
.section-toggle-btn.open i {
    transform: rotate(180deg);
}

/* ── Awards Collapse Toggle ── */
.awards-hidden {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}
.awards-hidden.open {
    max-height: 2000px;
}
.awards-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.38rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--muted);
    cursor: var(--cursor-default);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.awards-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}
.awards-toggle-btn i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}
.awards-toggle-btn.open i {
    transform: rotate(180deg);
}
/* ── Languages ── */
.lang-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.lang-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.95rem 0; border-bottom: 1px solid var(--border);
    gap: 1.5rem;
}
.lang-item:last-child { border-bottom: none; }
.lang-left { display: flex; flex-direction: column; gap: 0.2rem; min-width: 160px; }
.lang-name { font-weight: 600; font-size: 0.92rem; }
.lang-cert {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
    color: var(--accent); background: var(--accent-light);
    border: 1px solid #C4D9CB; border-radius: 4px;
    padding: 0.15rem 0.5rem; display: inline-block; width: fit-content;
}
.lang-right {
    display: flex; align-items: center; gap: 1rem; flex: 1; justify-content: flex-end;
}
.lang-level {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
    min-width: 90px; text-align: right;
}
.level-native     { color: var(--accent); }
.level-advanced   { color: #7C3AED; }
.level-intermediate { color: #B45309; }
.level-beginner   { color: var(--muted); }

.lang-bar {
    width: 140px; height: 5px; background: var(--border);
    border-radius: 99px; overflow: hidden; flex-shrink: 0;
}
.lang-fill {
    height: 100%; border-radius: 99px; background: var(--accent-mid);
    transition: width 0.6s ease;
}

/* ── Paper Tags (refined) ── */
.paper-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.4rem 0 0.55rem; }
.paper-tag {
    padding: 0.13rem 0.55rem; border-radius: 99px;
    font-size: 0.65rem; font-weight: 500; letter-spacing: 0.03em;
    background: transparent; color: var(--muted);
    border: 1px solid var(--border); transition: all .15s;
}
.paper-tag:hover { background: var(--accent-light); color: var(--accent); border-color: #C4D9CB; }

/* Dark mode adjustments */
[data-theme="dark"] .lang-fill { background: var(--accent); }

@media (max-width: 660px) {
    .lang-bar { width: 80px; }
    .lang-right { gap: 0.6rem; }
}
/* ── Dark Mode ── */
[data-theme="dark"] {
    --bg:           #0F0F0D;
    --bg-alt:       #1A1A17;
    --text:         #E8E8E3;
    --muted:        #8A8A82;
    --accent:       #6BBF87;
    --accent-light: #1A2E22;
    --accent-mid:   #4A8C62;
    --border:       #2A2A26;
}
[data-theme="dark"] nav {
    background: rgba(15,15,13,0.93);
}
[data-theme="dark"] .social-link,
[data-theme="dark"] .meeting-card { background: var(--bg-alt); }
[data-theme="dark"] .btn-secondary { color: var(--text); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
    background: var(--bg); color: var(--text);
    font-family: var(--sans); line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,250,247,0.93); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: 56px; display: flex; align-items: center; padding: 0 2rem;
}
.nav-inner {
    max-width: 1100px; margin: 0 auto; width: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--text); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.09em;
    text-transform: uppercase; color: var(--muted); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); text-decoration: none; }
.hamburger { display: none; background: none; border: none; cursor: var(--cursor-pointer); font-size: 1.2rem; color: var(--text); }

/* ── Layout ── */
main { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 2rem 0}
section:last-of-type { border-bottom: none; }

.section-label {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 2.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Hero ── */
#hero { padding-top: 9rem; padding-bottom: 5rem; }
.hero-grid {
    display: grid; grid-template-columns: 1fr 170px; gap: 3rem; align-items: start;
}
.hero-tagline {
    font-size: 0.73rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem;
}
.hero-name {
    font-family: var(--serif); font-size: 3.4rem; font-weight: 400;
    line-height: 1.1; margin-bottom: 0.2rem;
}
.hero-pronouns { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.3rem; }
.hero-statement {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text);
    max-width: 520px;
    margin-bottom: 1.8rem;
    font-style: italic;
}

.hero-meta { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.8rem; font-size: 0.84rem; color: var(--muted); }
.hero-meta span { display: flex; align-items: center; gap: 0.5rem; }
.hero-meta i { width: 14px; color: var(--accent); font-size: 0.8rem; }

.social-links { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.5rem; }
.social-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.32rem 0.75rem; border: 1px solid var(--border); border-radius: 4px;
    font-size: 0.76rem; font-weight: 500; color: var(--muted); background: white;
    transition: all .2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); text-decoration: none; }
.social-link i { font-size: 0.82rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.52rem 1.15rem; background: var(--accent); color: white;
    border-radius: 5px; font-size: 0.8rem; font-weight: 500; transition: background .2s;
}
.btn-primary:hover { background: #224030; text-decoration: none; color: white; }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.52rem 1.15rem; border: 1px solid var(--border); border-radius: 5px;
    font-size: 0.8rem; font-weight: 500; color: var(--text); background: transparent; transition: all .2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.hero-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}
.photo-placeholder { font-size: 0.7rem; color: var(--accent-mid); text-align: center; padding: 1rem; border: 1.5px dashed var(--accent-mid); border-radius: 6px; margin: 6px; }

/* ── Tags ── */
.tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.tag {
    padding: 0.32rem 0.8rem; border-radius: 99px; font-size: 0.76rem; font-weight: 500;
    background: var(--accent-light); color: var(--accent); border: 1px solid #C4D9CB;
}

/* ── About ── */
.about-body { font-family: var(--serif); font-size: 1.12rem; line-height: 1.82; max-width: 680px; }
.about-body p + p { margin-top: 1.1rem; }

/* ── Research ── */
.research-group + .research-group { margin-top: 3rem; }
.group-title {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
    color: var(--muted); padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem;
}
.paper-list { list-style: none; display: flex; flex-direction: column; gap: 1.6rem; }
.paper-item { display: flex; gap: 1rem; }
.paper-num { min-width: 22px; font-size: 0.73rem; color: var(--muted); padding-top: 0.2rem; font-weight: 600; }
.paper-body { flex: 1; }
.paper-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; margin-bottom: 0.22rem; line-height: 1.4; }
.paper-authors { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.25rem; }
.paper-venue { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-bottom: 0.5rem; }
.paper-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }

.badge {
    display: inline-block; padding: 0.18rem 0.55rem; border-radius: 4px;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em;
}
.badge-wp  { background: #FEF3C7; color: #92400E; }
.badge-ip  { background: #EDE9FE; color: #5B21B6; }
.badge-pub { background: var(--accent-light); color: var(--accent); }

.abstract-btn {
    background: none; border: none; cursor: var(--cursor-pointer); font-size: 0.73rem;
    font-weight: 500; color: var(--muted); padding: 0; transition: color .2s;
}
.abstract-btn:hover { color: var(--accent); }
.abstract-body {
    display: none; margin-top: 0.75rem; font-size: 0.86rem; color: var(--muted);
    line-height: 1.65; padding: 0.8rem 1rem;
    background: var(--bg-alt); border-left: 2px solid var(--accent-mid); border-radius: 0 4px 4px 0;
}
.abstract-body.open { display: block; }
.research-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
    z-index: 9000; display: grid; place-items: center; padding: 1.5rem;
    pointer-events: none;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.research-modal-overlay.open {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    pointer-events: all;
}
.research-modal-box {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 14px; padding: 2rem 2.25rem;
    max-width: 600px; width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    transform: translateY(20px) scale(0.97); opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease;
    max-height: 85vh; overflow-y: auto;
}
.research-modal-overlay.open .research-modal-box { transform: translateY(0) scale(1); opacity: 1; }
.research-modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.5rem; }
.research-modal-title { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--text, #111); }
.research-modal-close {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid var(--border, #e5e7eb); background: var(--bg-alt, #f5f5f5);
    color: var(--muted, #6b7280); display: grid; place-items: center;
    font-size: 0.9rem; cursor: var(--cursor-pointer); transition: background 0.15s, color 0.15s;
}
.research-modal-close:hover { background: var(--accent-light); color: var(--accent); }
.research-modal-authors { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.research-modal-divider { height: 1px; background: var(--border, #e5e7eb); margin: 0.75rem 0 1rem; }
.research-modal-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.5rem; }
.research-modal-text { font-size: 0.86rem; color: var(--muted); line-height: 1.8; }
.research-modal-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.25rem; }

.paper-link {
    font-size: 0.73rem; font-weight: 500; color: var(--accent);
    padding: 0.14rem 0.5rem; border: 1px solid #C4D9CB; border-radius: 3px; transition: background .15s;
}
.paper-link:hover { background: var(--accent-light); text-decoration: none; }

/* ── Experience / Education ── */
.timeline { list-style: none; }
.tl-item {
    display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem;
    padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.tl-item:last-child { border-bottom: none; }
.tl-date { font-size: 0.77rem; color: var(--muted); font-weight: 500; padding-top: 0.1rem; }
.tl-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.14rem; }
.tl-sub { font-size: 0.86rem; color: var(--muted); margin-bottom: 0.28rem; }
.tl-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ── Education extras ── */
.edu-meta {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 1rem; margin: 0.45rem 0 0.6rem;
}
.edu-gpa {
    font-size: 0.78rem; font-weight: 600; color: var(--accent);
    display: flex; align-items: center; gap: 0.3rem;
}
.edu-gpa i { font-size: 0.65rem; }
.edu-conc {
    font-size: 0.78rem; color: var(--muted); font-style: italic;
    display: flex; align-items: center; gap: 0.3rem;
}
.edu-conc i { font-size: 0.72rem; color: var(--muted); }
.edu-pills {
    display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.1rem;
}
.edu-pill {
    padding: 0.22rem 0.7rem; border-radius: 99px;
    font-size: 0.72rem; font-weight: 500;
}
.pill-minor {
    background: #EEF2FF; color: #3730A3; border: 1px solid #C7D2FE;
}

/* ── Featured / Press ── */
.featured-track-wrap {
    overflow-x: auto; padding-bottom: 1rem;
    /* hide scrollbar visually but keep it functional */
    scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.featured-track-wrap::-webkit-scrollbar { height: 4px; }
.featured-track-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.featured-track {
    display: flex; gap: 1.1rem;
    width: max-content; /* lets cards overflow naturally */
}

.feat-card {
    width: 230px; border: 1px solid var(--border); border-radius: 10px;
    overflow: hidden; background: white; display: flex; flex-direction: column;
    flex-shrink: 0; transition: box-shadow .2s, border-color .2s; text-decoration: none;
    color: var(--text);
}
.feat-card:hover {
    border-color: var(--accent); box-shadow: 0 4px 18px rgba(45,90,61,.1);
    text-decoration: none; color: var(--text);
}
.feat-img-wrap {
    width: 100%; height: 130px; overflow: hidden; background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
}
.feat-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.feat-img-icon i { font-size: 2rem; color: var(--muted); }

.feat-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.feat-source { font-size: 0.7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.feat-title { font-size: 0.84rem; font-weight: 500; line-height: 1.4; flex: 1; }
.feat-type { font-size: 0.72rem; color: var(--accent); font-weight: 500; margin-top: auto; }

[data-theme="dark"] .feat-card { background: var(--bg-alt); }


/* ── Awards List ── */
.awards-list { list-style: none; }
.award-item {
    display: flex; gap: 1rem;
    padding: 1.1rem 0; border-bottom: 1px solid var(--border);
}
.award-item:last-child { border-bottom: none; }
.award-num { min-width: 22px; font-size: 0.73rem; color: var(--muted); font-weight: 600; padding-top: 0.15rem; }
.award-body { flex: 1; }

/* ── Awards Table ── */
.awards-tbl { width: 100%; border-collapse: collapse; }
.awards-tbl tr { border-bottom: 1px solid var(--border); }
.awards-tbl tr:last-child { border-bottom: none; }
.awards-tbl td { padding: 0.85rem 0.5rem; font-size: 0.86rem; vertical-align: top; }
.awards-tbl td:first-child { width: 38px; font-size: 0.73rem; font-weight: 700; color: var(--muted); padding-top: 1rem; }
.awards-tbl td:nth-child(2) { font-weight: 500; }
.awards-tbl td:last-child { color: var(--muted); font-size: 0.8rem; text-align: right; }

/* ── Contact ── */
.contact-lead { font-family: var(--serif); font-size: 1.3rem; line-height: 1.65; max-width: 540px; margin-bottom: 2.5rem; }
.meeting-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.meeting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 440px; margin-bottom: 2rem; }
.meeting-card {
    border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem;
    background: white; display: block; transition: border-color .2s, box-shadow .2s;
}
.meeting-card:hover { border-color: var(--accent); box-shadow: 0 2px 14px rgba(45,90,61,.1); text-decoration: none; }
.meeting-mins { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 0.25rem; }
.meeting-desc { font-size: 0.77rem; color: var(--muted); margin-bottom: 0.75rem; }
.meeting-cta { font-size: 0.76rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 0.3rem; }
.contact-email { font-size: 0.88rem; color: var(--muted); }
.contact-email a { font-weight: 500; }

/* ── Footer ── */
footer {
    text-align: center; padding: 2.5rem 1rem;
    font-size: 0.76rem; color: var(--muted); border-top: 1px solid var(--border);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 660px) {
    html { font-size: 15px; }
    nav { padding: 0 1.2rem; }
    main { padding: 0 1.2rem; }
    .nav-links { display: none; }
    .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 56px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 1rem 1.2rem; gap: 1rem; z-index: 99;
    }
    .hamburger { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-photo-wrap { order: -1; width: 120px; height: 120px; }
    .hero-name { font-size: 2.5rem; }
    .tl-item { grid-template-columns: 1fr; gap: 0.2rem; }
    .meeting-grid { grid-template-columns: 1fr; max-width: 260px; }
}
/* ── Award detail rows ── */
.award-meta-row {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.award-org {
    font-size: 0.82rem; color: var(--muted);
}
.award-date {
    font-size: 0.77rem;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
}
/* Featured subsections */
.featured-sub-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.4rem;
}
.featured-sub + .featured-sub {
    margin-top: 2.8rem;
}

/* Conference table */
.conf-tbl {
    width: 100%;
    border-collapse: collapse;
}
.conf-tbl tr {
    border-bottom: 1px solid var(--border);
}
.conf-tbl tr:last-child {
    border-bottom: none;
}
.conf-tbl td {
    padding: 0.85rem 0.5rem;
    font-size: 0.86rem;
    vertical-align: top;
}
.conf-tbl td:first-child {
    width: 38px;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--muted);
    padding-top: 1rem;
}
.conf-tbl td:nth-child(2) {
    font-weight: 500;
}
.conf-tbl td:last-child {
    color: var(--muted);
    font-size: 0.80rem;
    text-align: right;
    white-space: nowrap;
}
.conf-badge {
    display: inline-block;
    padding: 0.12rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-left: 0.45rem;
}
.conf-badge-oral {
    background: #EAF2EC;
    color: var(--accent);
    border: 1px solid #C4D9CB;
}
.conf-badge-poster {
    background: #EDE9FE;
    color: #5B21B6;
}
.conf-paper-title {
    font-size: 0.75rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 0.3rem;
    font-weight: 400;
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
    position: fixed;
    top: 56px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    z-index: 200;
    transition: width 0.08s linear;
}

/* ── Back to Top Button ── */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--accent);
    border: 1px solid var(--border);
    font-size: 1rem;
    cursor: var(--cursor-pointer);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s, background 0.2s;
    z-index: 150;
}
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#back-to-top:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}
@media (max-width: 660px) {
    #back-to-top { bottom: 1.2rem; right: 1.2rem; width: 36px; height: 36px; font-size: 0.9rem; }
}
/* Experience Professional/Fun Toggle */
/* Experience toggle switch */
.exp-filter-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.exp-toggle-label {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
}
.exp-toggle-switch {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.exp-toggle-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.exp-toggle-track {
    display: block;
    width: 42px;
    height: 24px;
    background: var(--border);
    border-radius: 99px;
    border: 1px solid var(--border);
    transition: background 0.22s ease, border-color 0.22s ease;
    position: relative;
}
.exp-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: transform 0.22s ease;
}
/* Checked state — purple for Fun */
.exp-toggle-switch input:checked ~ .exp-toggle-track {
    background: #7C3AED;
    border-color: #7C3AED;
}
.exp-toggle-switch input:checked ~ .exp-toggle-track .exp-toggle-thumb {
    transform: translateX(18px);
}
/* Highlight the active label */
.exp-filter-row:has(input:checked) #exp-fun-label {
    color: #7C3AED;
    font-weight: 700;
}
/* Focus ring for accessibility */
.exp-toggle-switch input:focus-visible ~ .exp-toggle-track {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.exp-filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}
.exp-filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.exp-filter-btn.active-fun {
    background: #7C3AED;
    color: white;
    border-color: #7C3AED;
}
/* Fun items hidden by default */
.tl-item[data-exp-type="fun"] {
    display: none;
}
.tl-item[data-exp-type="fun"].exp-visible {
    display: grid;
}
/* Small badge on fun items */
.tl-fun-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7C3AED;
    background: #EDE9FE;
    border: 1px solid #C4B5FD;
    border-radius: 4px;
    padding: 0.13rem 0.5rem;
    margin-bottom: 0.3rem;
}
/* Default cursor: green leaf */
*, *::before, *::after {
    cursor: var(--cursor-default);
}

/* Hover cursor: light leaf on all interactive elements AND their children */
a, a *, a *::before, a *::after,
button, button *, button *::before, button *::after,
[role="button"], [role="button"] *,
[role="link"], [role="link"] *,
label, input[type="submit"], input[type="button"],
.btn, .btn *,
.feat-card, .feat-card *,
.meeting-card, .meeting-card *,
.social-link, .social-link *,
.btn-primary, .btn-primary *,
.btn-secondary, .btn-secondary *
.exp-toggle-switch, .exp-toggle-switch * {   /* 👈 add this line */
    cursor: var(--cursor-pointer);
}
