/* Public resume home page. Colours are CSS variables so light/dark is a single attribute switch. */
:root {
    --c1: #8b5cf6; --c2: #06b6d4; --c3: #ec4899; --c4: #f59e0b; --c5: #10b981; --c6: #3b82f6;
    --grad: linear-gradient(120deg, #8b5cf6, #ec4899 50%, #f59e0b);
    --grad-cool: linear-gradient(120deg, #3b82f6, #06b6d4 60%, #10b981);
}
[data-theme="dark"] {
    --bg: #0b1020; --bg-alt: #0e1530; --text: #e7eafc; --muted: #9aa3c7;
    --card: rgba(255, 255, 255, 0.055); --card-border: rgba(255, 255, 255, 0.11); --card-hover: rgba(255, 255, 255, 0.09);
    --nav-bg: rgba(11, 16, 32, 0.72); --shadow: 0 12px 40px rgba(0, 0, 0, 0.35); --chip-bg: rgba(255, 255, 255, 0.08);
    --aurora-opacity: 0.55;
}
[data-theme="light"] {
    --bg: #f5f7ff; --bg-alt: #ecefff; --text: #171a33; --muted: #5d6585;
    --card: #ffffff; --card-border: #e2e6f8; --card-hover: #ffffff;
    --nav-bg: rgba(245, 247, 255, 0.78); --shadow: 0 12px 34px rgba(79, 70, 229, 0.12); --chip-bg: #f0f2ff;
    --aurora-opacity: 0.38;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body {
    margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6; transition: background 0.3s ease, color 0.3s ease;
}
h1, h2, h3 { letter-spacing: -0.02em; }
a { color: inherit; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000; background: var(--grad); }

/* ---------- animated background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: var(--aurora-opacity); animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { background: #7c3aed; top: -16vmax; left: -10vmax; }
.aurora span:nth-child(2) { background: #0891b2; top: 20vh; right: -18vmax; animation-delay: -7s; }
.aurora span:nth-child(3) { background: #db2777; bottom: -22vmax; left: 20vw; animation-delay: -13s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.18); } }

/* ---------- navbar ---------- */
.resume-nav { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--card-border); padding: 0.55rem 0; }
.resume-nav .nav-link { color: var(--muted); font-weight: 600; font-size: 14px; padding: 0.5rem 0.8rem; border-radius: 10px; transition: color 0.2s, background 0.2s; }
.resume-nav .nav-link:hover, .resume-nav .nav-link.active { color: var(--text); background: var(--card); }
.resume-nav .nav-cta { color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35); }
.resume-nav .nav-cta:hover { color: #fff; background: var(--grad); filter: brightness(1.1); }
.navbar-toggler { border-color: var(--card-border); }
[data-theme="dark"] .navbar-toggler-icon { filter: invert(1); }
.theme-toggle { border: 1px solid var(--card-border); background: var(--card); color: var(--text); border-radius: 10px; width: 38px; height: 38px; margin-left: 0.4rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.theme-toggle:hover { background: var(--card-hover); }
[data-theme="dark"] .t-sun, [data-theme="light"] .t-moon { display: none; }

.btn-login {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
    padding: 0.5rem 1.05rem; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #7c3aed, #db2777); box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}
.btn-login:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.1); box-shadow: 0 10px 24px rgba(219, 39, 119, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-login::after, .btn-glow::after {
    content: ""; position: absolute; top: -60%; left: -70%; width: 38%; height: 220%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent); transform: rotate(20deg); animation: sweep 4.6s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -70%; } 100% { left: 140%; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding: 7.5rem 0 3rem; position: relative; overflow-x: clip; }
.eyebrow { display: inline-block; font-weight: 700; color: var(--c2); background: var(--card); border: 1px solid var(--card-border); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 14px; }
.hero-name { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 800; line-height: 1.05; margin: 0.9rem 0 0.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shimmer 7s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.hero-role { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--text); }
.hero-typed { font-size: 1.15rem; color: var(--muted); min-height: 1.9rem; margin-top: 0.2rem; }
.typed { color: var(--c2); font-weight: 700; }
.caret { color: var(--c2); animation: blink 1s steps(2) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.hero-summary { max-width: 38rem; color: var(--muted); font-size: 1.05rem; margin: 1.1rem 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 1.4rem; color: var(--muted); font-size: 14px; }
.tag-line { font-weight: 700; color: var(--c4); }

.btn-glow {
    --a: #8b5cf6; --b: #ec4899; position: relative; overflow: hidden; border: 0; color: #fff; font-weight: 700; font-size: 15px;
    padding: 0.7rem 1.35rem; border-radius: 14px; background: linear-gradient(135deg, var(--a), var(--b));
    box-shadow: 0 8px 22px color-mix(in srgb, var(--a) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}
.btn-glow:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.12) saturate(1.15); box-shadow: 0 14px 30px color-mix(in srgb, var(--a) 55%, transparent), 0 0 0 3px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-glow-purple { --a: #7c3aed; --b: #db2777; }
.btn-glow-blue { --a: #2563eb; --b: #06b6d4; }
.btn-glow-green { --a: #059669; --b: #4ade80; }
.btn-glow-orange { --a: #f97316; --b: #fbbf24; }

.photo-wrap { position: relative; width: min(380px, 78vw); aspect-ratio: 1; margin: 0 auto; }
.photo { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite; }
.photo-ring { position: absolute; inset: -10px; border-radius: 50%; z-index: 1; background: conic-gradient(from 0deg, #8b5cf6, #06b6d4, #10b981, #f59e0b, #ec4899, #8b5cf6); animation: spin 9s linear infinite; filter: blur(2px); }
.photo-ring-2 { inset: -26px; opacity: 0.35; filter: blur(22px); animation-duration: 14s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.float-badge {
    position: absolute; z-index: 3; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff;
    background: var(--bg-color, #7c3aed); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); animation: floaty 5s ease-in-out infinite;
}
.fb-1 { --bg-color: #7c3aed; top: 2%; left: -4%; }
.fb-2 { --bg-color: #2563eb; top: 14%; right: -2%; animation-delay: -1s; }
.fb-3 { --bg-color: #0891b2; bottom: 22%; left: -6%; animation-delay: -2s; }
.fb-4 { --bg-color: #ea580c; bottom: 8%; right: -3%; animation-delay: -3s; }
.fb-5 { --bg-color: #db2777; top: 46%; right: -4%; animation-delay: -1.5s; }
.fb-6 { --bg-color: #d97706; bottom: -3%; left: 22%; animation-delay: -2.5s; }

.stats-row { margin-top: 3.2rem; }
.stat-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 1.1rem 1rem; text-align: center; height: 100%; box-shadow: var(--shadow); transition: transform 0.25s, border-color 0.25s; }
.stat-card:hover { transform: translateY(-5px); border-color: var(--c1); }
.stat-value { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: 5rem 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2rem; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 800; color: var(--c2); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 0.25rem 0 0; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--grad); margin-top: 0.7rem; }

.fact-card { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 1.1rem 1.2rem; height: 100%; transition: transform 0.25s, background 0.25s, border-color 0.25s; }
.fact-card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: var(--c3); }
.fact-icon { font-size: 1.5rem; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--chip-bg); flex: none; }
.fact-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.fact-value { font-weight: 600; }
.personal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--card); border: 1px dashed var(--card-border); color: var(--muted); }
.personal strong { color: var(--text); margin-right: 0.35rem; }

.skill-card { --accent: var(--c1); background: var(--card); border: 1px solid var(--card-border); border-top: 3px solid var(--accent); border-radius: 18px; padding: 1.1rem 1.2rem 1.2rem; height: 100%; transition: transform 0.25s, box-shadow 0.25s; }
.skill-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 30%, transparent); }
.skill-title { font-weight: 800; margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.55rem; }
.skill-icon { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { background: var(--chip-bg); border: 1px solid var(--card-border); border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 12.5px; font-weight: 600; transition: background 0.2s, color 0.2s, transform 0.2s; }
.skill-card:hover .chip { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.chip:hover { background: var(--accent, var(--c1)); color: #fff; transform: translateY(-2px); }
.chips-sm .chip { font-size: 11.5px; padding: 0.15rem 0.6rem; }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 2.2rem; max-width: 780px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--c1), var(--c3), var(--c4)); }
.tl-item { position: relative; margin-bottom: 1.4rem; }
.tl-dot { position: absolute; left: -2.2rem; top: 1.3rem; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 4px solid var(--c3); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c3) 22%, transparent); }
.tl-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 1.1rem 1.3rem; transition: transform 0.25s, border-color 0.25s; }
.tl-card:hover { transform: translateX(6px); border-color: var(--c3); }
.tl-period { font-size: 13px; font-weight: 800; color: var(--c4); letter-spacing: 0.05em; }
.tl-card h3 { font-size: 1.25rem; font-weight: 800; margin: 0.15rem 0 0.5rem; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 999px; margin-right: 0.35rem; }
.pill-blue { background: rgba(59, 130, 246, 0.16); color: #60a5fa; }
.pill-green { background: rgba(16, 185, 129, 0.16); color: #34d399; }
[data-theme="light"] .pill-blue { color: #1d4ed8; }
[data-theme="light"] .pill-green { color: #047857; }

/* ---------- projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.filter-btn { border: 1px solid var(--card-border); background: var(--card); color: var(--text); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.filter-btn span { opacity: 0.6; font-size: 12px; margin-left: 4px; }
.filter-btn:hover { border-color: var(--c1); transform: translateY(-2px); }
.filter-btn.active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35); }
.project-col { transition: opacity 0.35s ease, transform 0.35s ease; }
.project-col.hide { display: none; }
.project-col.fade-in { animation: popin 0.45s ease both; }
@keyframes popin { from { opacity: 0; transform: scale(0.96) translateY(10px); } }

.project-card { --accent: var(--c1); height: 100%; background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; padding: 1.3rem 1.4rem; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.project-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.project-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 28%, transparent); }
.project-top { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 0.7rem; }
.project-icon { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 18%, transparent); flex: none; transition: transform 0.4s; }
.project-card:hover .project-icon { transform: rotate(-8deg) scale(1.12); }
.project-card h3 { font-size: 1.15rem; font-weight: 800; margin: 0; }
.project-domain { font-size: 12.5px; font-weight: 700; color: var(--accent); }
.project-desc { color: var(--muted); font-size: 14.5px; }
.contribution { margin-top: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 13.5px; background: color-mix(in srgb, var(--accent) 12%, transparent); border-left: 3px solid var(--accent); }
.contribution strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.more-btn { margin-top: 0.8rem; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 13.5px; padding: 0; cursor: pointer; }
.more-btn .more-close, .more-btn:not(.collapsed) .more-open { display: none; }
.more-btn:not(.collapsed) .more-close { display: inline; }
.more-btn::after { content: " ▾"; }
.more-btn:not(.collapsed)::after { content: " ▴"; }
.bullets { margin: 0.7rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 14px; }
.bullets li { margin-bottom: 0.35rem; }

/* ---------- clients ---------- */
.panel { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; padding: 1.3rem 1.4rem; height: 100%; box-shadow: var(--shadow); }
.panel-title { font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem; }
.panel-total { font-size: 13px; color: var(--c2); font-weight: 700; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 36px; align-items: center; gap: 0.7rem; margin-bottom: 0.55rem; }
.bar-label { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flag { margin-right: 0.45rem; font-size: 1.05rem; }
.bar-track { height: 10px; border-radius: 10px; background: var(--chip-bg); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 10px; background: var(--grad-cool); transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.bar-alt { background: var(--grad); }
.bar-num { text-align: right; font-weight: 800; font-size: 13.5px; }

/* ---------- education ---------- */
.edu-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 1.2rem; height: 100%; position: relative; overflow: hidden; transition: transform 0.25s, border-color 0.25s; }
.edu-card:hover { transform: translateY(-5px); border-color: var(--c5); }
.edu-year { position: absolute; right: 0.9rem; top: 0.5rem; font-size: 2.6rem; font-weight: 800; opacity: 0.1; }
.edu-card h3 { font-size: 1.05rem; font-weight: 800; padding-right: 3.5rem; }
.edu-inst { color: var(--muted); font-size: 14px; }

/* ---------- contact + footer ---------- */
.contact-card { text-align: center; padding: 3.2rem 1.5rem; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #5b21b6, #be185d 55%, #c2410c); box-shadow: 0 24px 60px rgba(124, 58, 237, 0.35); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 55%); animation: drift 12s ease-in-out infinite alternate; }
.contact-card > * { position: relative; }
.contact-card h2 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.contact-card p { opacity: 0.9; max-width: 36rem; margin: 0.4rem auto 1.5rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.site-footer { padding: 1.6rem 0 2.2rem; color: var(--muted); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.site-footer a { text-decoration: none; font-weight: 700; color: var(--c2); }

@media (max-width: 991px) {
    .hero { padding-top: 6.5rem; }
    .resume-nav .navbar-collapse { padding: 0.8rem 0; }
    .float-badge { display: none; }
}
@media (max-width: 575px) {
    .bar-row { grid-template-columns: 1fr 36px; }
    .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
    .bar-num { grid-row: 1; grid-column: 2; }
    .section { padding: 3.6rem 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- floating like / dislike ---------- */
.feedback {
    position: fixed; right: 18px; bottom: 18px; z-index: 1500; display: flex; align-items: center; gap: 0.45rem;
    padding: 0.4rem 0.45rem 0.4rem 1rem; border-radius: 999px; color: var(--text);
    background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--card-border); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(139, 92, 246, 0.25);
    animation: fb-float 4.5s ease-in-out infinite;
}
.feedback:hover { animation-play-state: paused; }
@keyframes fb-float { 50% { transform: translateY(-6px); } }
/* attention-grabbers: expanding pulse ring around the pill + periodic thumb wiggle (stop once a vote is cast) */
.feedback::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
    border: 2px solid rgba(139, 92, 246, 0.85); animation: fb-ring 2.2s ease-out infinite;
}
@keyframes fb-ring { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(1.3, 1.7); opacity: 0; } }
.fb-btn:not(.chosen) { animation: fb-wiggle 3.2s ease-in-out infinite; }
.fb-dislike:not(.chosen) { animation-delay: 0.25s; }
@keyframes fb-wiggle {
    0%, 60%, 100% { transform: none; }
    66% { transform: rotate(-16deg) scale(1.15); } 72% { transform: rotate(14deg) scale(1.15); }
    78% { transform: rotate(-10deg) scale(1.1); } 84% { transform: rotate(6deg); } 90% { transform: none; }
}
.feedback:hover::after, .fb-btn:not(.chosen):hover, .feedback:has(.chosen)::after, .feedback:has(.chosen) .fb-btn { animation: none; }
.fb-text { font-size: 13px; font-weight: 700; white-space: nowrap; }
.fb-btn {
    position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer;
    background: var(--card); transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.fb-btn:hover { transform: translateY(-3px) scale(1.12); }
.fb-like:hover, .fb-like.chosen { background: linear-gradient(135deg, #16a34a, #4ade80); box-shadow: 0 8px 20px rgba(34, 197, 94, 0.55); }
.fb-dislike:hover, .fb-dislike.chosen { background: linear-gradient(135deg, #dc2626, #fb7185); box-shadow: 0 8px 20px rgba(239, 68, 68, 0.5); }
.fb-btn.chosen { transform: scale(1.12); }
.fb-btn:disabled { opacity: 0.6; cursor: progress; }
.fb-burst { position: absolute; left: 50%; top: 50%; font-size: 16px; pointer-events: none; animation: fb-burst 0.9s ease-out forwards; }
@keyframes fb-burst { to { transform: translate(var(--x), var(--y)) scale(0.4); opacity: 0; } }
@media (max-width: 575px) {
    .feedback { right: 10px; bottom: 10px; padding-left: 0.8rem; }
    .fb-text { font-size: 12px; }
    .fb-btn { width: 38px; height: 38px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .feedback, .feedback::after, .fb-btn { animation: none; } .fb-burst { display: none; } }
@media print { .feedback { display: none; } }

/* feedback comment box that opens above the floating button after a vote */
.fb-pop {
    position: absolute; right: 0; bottom: calc(100% + 10px); display: flex; align-items: center; gap: 6px;
    padding: 6px 6px 6px 12px; border-radius: 16px; width: min(330px, calc(100vw - 20px)); color: var(--text);
    background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--card-border); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3); animation: fb-pop-in 0.22s ease;
}
.fb-pop[hidden] { display: none; }
@keyframes fb-pop-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
.fb-pop input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font-size: 13px; outline: none; }
.fb-pop input::placeholder { color: var(--muted); }
.fb-pop button[type="submit"] {
    border: 0; border-radius: 10px; padding: 6px 12px; font-size: 12px; font-weight: 700; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, #7c3aed, #db2777); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}
.fb-pop button[type="submit"]:disabled { opacity: 0.6; cursor: progress; }
.fb-pop #fbClose { border: 0; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; }
@media (prefers-reduced-motion: reduce) { .fb-pop { animation: none; } }

/* ---------- CV additions: headline, availability, role + highlights, AI/ML cards ---------- */
.hero-headline { font-weight: 700; letter-spacing: 0.02em; color: var(--muted); margin: -0.2rem 0 0.9rem; }
.hero-availability { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600; background: var(--card); border: 1px solid var(--card-border); }
.avail-dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); flex: none; }
.tl-role { font-weight: 700; margin: -0.2rem 0 0.5rem; color: var(--muted); }
.tl-bullets { margin: 0.85rem 0 0; }
.ai-desc { margin: 0 0 0.8rem; color: var(--muted); line-height: 1.55; }
.contact-avail, .contact-refs { opacity: 0.85; }
.contact-refs { margin: 1rem 0 0; font-size: 0.9rem; }
