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

html {
    scroll-behavior: smooth;
    font-size: 112.5%; /* 18px base */
}

/* ---------- Theme tokens ---------- */

:root {
    --bg: #fbfaf7;
    --bg-tint: #f4f1ea;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --text: #16202e;
    --muted: #5a6472;
    --faint: #8a94a3;
    --accent: #0d6d65;
    --accent-2: #b45309;
    --accent-soft: #e3f2f0;
    --border: #e7e1d6;
    --border-strong: #d8d0c2;
    --ring: rgba(13, 109, 101, 0.24);
    --shadow-sm: 0 1px 2px rgba(23, 32, 46, 0.05);
    --shadow: 0 1px 2px rgba(23, 32, 46, 0.05), 0 10px 30px rgba(23, 32, 46, 0.07);
    --shadow-lg: 0 24px 60px rgba(23, 32, 46, 0.12);
}

body.dark {
    --bg: #0a0e14;
    --bg-tint: #10161f;
    --surface: #121a24;
    --surface-2: #16202c;
    --text: #eef2f7;
    --muted: #9aa6b6;
    --faint: #6b7787;
    --accent: #2fe0cb;
    --accent-2: #f6b26b;
    --accent-soft: rgba(47, 224, 203, 0.12);
    --border: #24303d;
    --border-strong: #30404f;
    --ring: rgba(47, 224, 203, 0.32);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 34px rgba(0, 0, 0, 0.32);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background 0.25s ease, color 0.25s ease;
}

@media (max-width: 760px) {
    html { font-size: 106.25%; }
}

a { color: inherit; }

h1, h2, h3, h4,
.brand-name,
.display {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -0.012em;
}

h1, h2 { font-style: italic; }

.shell {
    width: min(1000px, calc(100% - 2.6rem));
    margin: 0 auto;
}

main section { scroll-margin-top: 96px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 0 0 8px 0;
    z-index: 200;
    font-weight: 700;
    font-size: 0.85rem;
}
.skip-link:focus { left: 0; }

/* ---------- Nav ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    font-style: italic;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 1.05rem;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1.5px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.menu a:hover,
.menu a.active {
    color: var(--text);
    border-color: var(--accent);
}

.theme-toggle {
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

/* ---------- Hero ---------- */

.hero {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: center;
}

.hero-photo {
    position: relative;
}

.hero-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 12px -12px -12px 12px;
    border-radius: 24px;
    border: 1.5px solid var(--accent);
    opacity: 0.32;
    z-index: -1;
}

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

.availability {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.1rem;
}
.availability .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 25%, transparent);
}

h1 {
    font-size: clamp(2rem, 4vw, 2.95rem);
    line-height: 1.14;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.tagline {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    color: var(--accent);
    font-size: clamp(1.1rem, 1.9vw, 1.35rem);
    margin-bottom: 1.15rem;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 60ch;
    margin-bottom: 1.5rem;
}

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

.btn {
    text-decoration: none;
    border-radius: 10px;
    padding: 0.72rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}
.btn-primary:hover {
    box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 38%, transparent);
}

.btn-secondary {
    border-color: var(--border-strong);
    background: transparent;
    color: var(--text);
}
.btn-secondary:hover { border-color: var(--accent); }

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.3rem;
}
.hero-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-links a:hover {
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

/* ---------- Stats ---------- */

.stats {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stats > div {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 1.1rem 1.2rem;
}

.stat-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
}

/* ---------- Credentials strip ---------- */

.creds {
    margin-top: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-tint);
    padding: 1rem 1.2rem;
}
.creds-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--faint);
    flex-shrink: 0;
}
.creds-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.creds-list li {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}
.creds-list li span { color: var(--accent); }

/* ---------- Section headers ---------- */

.page-head {
    margin: 3.4rem 0 1.9rem;
}
.page-head .eyebrow { margin-bottom: 0.55rem; }

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.25rem);
    font-weight: 500;
    margin-bottom: 0.55rem;
}

.sub {
    color: var(--muted);
    max-width: 64ch;
    font-size: 1.02rem;
}

main { padding-bottom: 1rem; }
main section + section { margin-top: 3rem; }

.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.6rem 0 0;
}
.chip-list li {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.32rem 0.6rem;
    background: var(--bg-tint);
}

.link-arrow {
    text-decoration: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent);
    transition: border-color 0.2s ease;
}
.link-arrow:hover { border-color: var(--accent); }

/* ---------- Cards (generic) ---------- */

.card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    box-shadow: var(--shadow);
}
.card h3 {
    font-size: 1.1rem;
    font-style: normal;
    margin-bottom: 0.45rem;
}
.card p {
    color: var(--muted);
    font-size: 0.95rem;
}
.card .chip-list { flex: 1; }

.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.level {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    margin-bottom: 0.85rem;
    align-self: flex-start;
}

.card p + .link-arrow,
.card .chip-list + .link-arrow {
    margin-top: 0.9rem;
    align-self: flex-start;
}

/* ---------- Experience timeline ---------- */

.exp-list {
    list-style: none;
    display: grid;
    gap: 0;
    position: relative;
}
.exp-list::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-strong);
}

.exp-item {
    position: relative;
    padding: 0 0 1.9rem 2.2rem;
}
.exp-item:last-child { padding-bottom: 0; }

.exp-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--accent);
    z-index: 1;
}

.exp-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.15rem;
}
.exp-top h3 {
    font-size: 1.12rem;
    font-style: normal;
}
.exp-role {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}
.exp-date {
    display: block;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: var(--faint);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.7rem;
}
.exp-item ul {
    margin-left: 1.05rem;
    color: var(--muted);
    font-size: 0.95rem;
}
.exp-item li + li { margin-top: 0.35rem; }
.exp-item strong { color: var(--text); font-weight: 700; }

.edu-row {
    margin-top: 1.9rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border);
}
.edu-list {
    list-style: none;
    margin-top: 0.7rem;
    display: grid;
    gap: 0.5rem;
}
.edu-list li { color: var(--muted); font-size: 0.94rem; }
.edu-list strong { color: var(--text); }
.edu-date {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.76rem;
    color: var(--faint);
    margin-left: 0.4rem;
}

/* ---------- Projects ---------- */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}
.project-card { position: relative; overflow: hidden; }
.project-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: opacity 0.2s ease;
}
.project-card:hover::before { opacity: 1; }
.project-card p { flex: 1; }
.project-card .chip-list { margin-top: 0.95rem; flex: initial; }

/* ---------- Achievements ---------- */

.award-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.award-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.3rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.award-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.award-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
}
.award-item h4 {
    font-style: normal;
    font-size: 1.02rem;
    margin-bottom: 0.25rem;
}
.award-item p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Talks ---------- */

.talk-list {
    list-style: none;
    display: grid;
    gap: 0;
}
.talk-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.3rem;
    align-items: start;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border);
}
.talk-item:first-child { padding-top: 0; }
.talk-item:last-child { border-bottom: none; }
.talk-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 0.3rem 0.6rem;
    text-align: center;
    align-self: start;
}
.talk-body h3 { font-size: 1.05rem; font-style: normal; margin-bottom: 0.3rem; }
.talk-body p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Blog ---------- */

.post-list {
    list-style: none;
    display: grid;
    gap: 0;
}
.post-list li {
    display: flex;
    gap: 1.1rem;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}
.post-list li:last-child { border-bottom: none; }
.post-date {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: var(--faint);
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 6.5rem;
}
.post-list a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.post-list a:hover { color: var(--accent); }

.blog-grid,
.testimonials-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-card .meta { color: var(--faint); font-size: 0.84rem; margin-bottom: 0.6rem; }

.blog-platforms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}
.blog-platform {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    text-decoration: none;
}
.blog-platform .platform-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
}
.blog-platform h3 { margin-bottom: 0.3rem; }
.blog-platform p { margin-bottom: 0.6rem; }

.blog-subhead {
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--faint);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
}
.blog-card p { flex: 1; }
.blog-card .link-arrow { margin-top: 0.9rem; align-self: flex-start; }

/* ---------- Article (single blog post) ---------- */

.article {
    max-width: 720px;
    margin: 2.6rem auto 0;
}
.back-link {
    display: inline-block;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    transition: color 0.2s ease;
}
.back-link:hover { color: var(--accent); }

.article-head { margin-bottom: 1.8rem; }
.article-head .tag-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}
.article-head h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.16;
    margin-bottom: 0.8rem;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    color: var(--faint);
    font-size: 0.88rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--border);
}
.article-meta .author { color: var(--text); font-weight: 600; }

.prose { font-size: 1.06rem; color: var(--text); }
.prose > * + * { margin-top: 1.15rem; }
.prose p { color: var(--muted); }
.prose h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.2rem;
}
.prose h3 {
    font-size: 1.15rem;
    font-style: normal;
    color: var(--text);
    margin-top: 1.5rem;
}
.prose ul, .prose ol { margin-left: 1.3rem; color: var(--muted); }
.prose li + li { margin-top: 0.4rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.4rem 0 0.4rem 1.1rem;
    color: var(--muted);
    font-style: italic;
    background: var(--bg-tint);
    border-radius: 0 8px 8px 0;
}
.prose code {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 0.9em;
    background: var(--bg-tint);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.1rem 0.35rem;
}

.article-cta {
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
}
.article-cta p { color: var(--muted); font-size: 0.95rem; margin-right: auto; }

/* ---------- Mentoring / Courses grids ---------- */

.services-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.courses-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Skills ---------- */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.skill-group h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--faint);
    margin-bottom: 0.75rem;
}

/* ---------- Testimonials / lightbox ---------- */

.quote {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.2rem;
    background: var(--surface);
}
.stars { color: #d9a521; font-size: 0.88rem; margin-bottom: 0.5rem; }
.quote p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6rem; }

.review-grid {
    margin-top: 1.6rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.review-grid img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    padding: 0.15rem;
    cursor: zoom-in;
}
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.86);
    padding: 1.2rem;
    z-index: 120;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: min(1200px, 96vw);
    max-height: 94vh;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #0a0a0a;
}
.lightbox-close {
    position: fixed;
    top: 0.9rem;
    right: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 0.42rem 0.7rem;
    cursor: pointer;
}

/* ---------- Footer ---------- */

footer {
    margin: 4rem 0 2.6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
    margin-bottom: 2rem;
}
.footer-col h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--faint);
    margin-bottom: 0.85rem;
}
.footer-col a {
    display: block;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }

.contact-card {
    margin: 1.4rem 0 1.2rem;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-soft), var(--surface));
    box-shadow: var(--shadow);
    padding: 1.6rem 1.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.contact-card-copy h4 {
    font-style: italic;
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}
.contact-card-copy p { color: var(--muted); font-size: 0.92rem; }
.contact-card-links { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.contact-btn {
    text-decoration: none;
    border-radius: 10px;
    padding: 0.62rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.18s ease;
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-btn-primary { background: var(--accent); color: #fff; }
.contact-btn-secondary {
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
}
.foot-note { margin-top: 0.8rem; font-size: 0.83rem; color: var(--faint); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
}

@media (max-width: 760px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        margin-top: 2.2rem;
    }
    .hero-photo {
        width: 240px;
        order: -1;
    }
    .hero-photo::after { inset: 8px -8px -8px 8px; }

    .projects-grid,
    .award-grid,
    .skills-grid,
    .services-grid,
    .courses-grid,
    .blog-grid,
    .blog-platforms,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .talk-item { grid-template-columns: 1fr; gap: 0.55rem; }
    .talk-tag { justify-self: start; }

    .topbar-inner { justify-content: flex-start; }
    .menu { width: 100%; justify-content: flex-start; gap: 0.9rem; }
    .menu ul { gap: 0.85rem; }

    .contact-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
    .stats { grid-template-columns: 1fr 1fr; }
}
