/* ===== DESIGN SYSTEM — Premium Professional ===== */

:root {
    /* Colors – Light */
    --bg: #ffffff;
    --bg-secondary: #f8f9fc;
    --text: #111111;
    --text-secondary: #4a5568;
    --text-tertiary: #888888;
    --border: #e2e8f0;
    --border-light: #f0f0f0;
    --accent: #059669;
    --accent-hover: #047857;
    --accent-light: rgba(5, 150, 105, 0.1);
    --accent-glow: rgba(5, 150, 105, 0.25);
    --gradient-start: #059669;
    --gradient-end: #047857;
    --link: #111111;
    --link-hover: #059669;
    --card-bg: #ffffff;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 6px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 20px 60px rgba(5, 150, 105, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    --tag-bg: #ecfdf5;
    --tag-text: #059669;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    /* CTA button colors */
    --accent-cta-bg: #d7faea;
    --accent-cta-bg-hover: #c8f3df;
    --accent-cta-text: #0f3022;
    --accent-cta-text-hover: #0a241a;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg: #080b0f;
    --bg-secondary: #0e1117;
    --text: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-tertiary: #666677;
    --border: #1a2030;
    --border-light: #131820;
    --accent: #34d399;
    --accent-hover: #6ee7b7;
    --accent-light: rgba(52, 211, 153, 0.12);
    --accent-glow: rgba(52, 211, 153, 0.22);
    --gradient-start: #34d399;
    --gradient-end: #059669;
    --link: #f0f0f5;
    --link-hover: #34d399;
    --card-bg: #0d1117;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 6px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 20px 60px rgba(52, 211, 153, 0.08), 0 8px 24px rgba(0, 0, 0, 0.4);
    --tag-bg: #0d2018;
    --tag-text: #6ee7b7;
    --nav-bg: rgba(8, 11, 15, 0.92);
    /* CTA button colors – dark */
    --accent-cta-bg: #0d2a1e;
    --accent-cta-bg-hover: #123524;
    --accent-cta-text: #6ee7b7;
    --accent-cta-text-hover: #a5edd0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    transition: background-color var(--transition-slow), color var(--transition-slow);
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 3000;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--text);
    color: var(--bg);
    font-size: 0.875rem;
    font-weight: 600;
    transition: top var(--transition);
}

.skip-link:focus-visible {
    top: 12px;
    color: var(--bg);
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

a:hover {
    color: var(--link-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

::selection {
    background-color: var(--text);
    color: var(--bg);
}

[data-theme="dark"] ::selection {
    background-color: var(--text);
    color: var(--bg);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 80px 0;
}

#blog.section {
    padding-top: 24px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--transition-slow);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow: 0 1px 0 var(--border), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    transition: opacity var(--transition);
}

.nav-logo:hover {
    opacity: 0.7;
    color: var(--text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 8px;
    transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover {
    color: var(--text);
    background-color: var(--tag-bg);
}

.nav-link.active {
    color: var(--accent);
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all var(--transition);
    background: transparent;
}

.theme-btn:hover {
    background-color: var(--tag-bg);
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle:hover {
    background-color: var(--tag-bg);
}

.menu-toggle .bar {
    display: block;
    width: 18px;
    height: 1.5px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
}

.hero-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(2.75rem, 5.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 16px;
}

/* Availability pill above the name */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(5, 150, 105, 0.2);
    padding: 5px 14px 5px 10px;
    border-radius: 999px;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

[data-theme="dark"] .hero-badge {
    border-color: rgba(52, 211, 153, 0.2);
}

/* Pulsing green dot */
.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.75);
    }
}


.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-actions-secondary {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-cta {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-cta-text, #0f3022);
    padding: 12px 28px;
    background: var(--accent-cta-bg, #d7faea);
    border-radius: 10px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(88, 150, 123, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: var(--accent-cta-bg-hover, #c8f3df);
    box-shadow: 0 8px 25px rgba(88, 150, 123, 0.35);
    color: var(--accent-cta-text-hover, #0a241a);
    filter: none;
}

.hero-secondary-cta {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-secondary-cta:hover {
    color: var(--text);
}

.hero-image {
    flex-shrink: 0;
    align-self: center;
}

.hero-photo {
    width: 320px;
    height: 440px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    cursor: zoom-in;
    filter: grayscale(10%);
    transition: filter var(--transition-slow), transform var(--transition-slow), box-shadow var(--transition-slow);
    border: 3px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 0 3px var(--accent-light), 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hero-photo:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ===== SECTION HEADERS ===== */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
}

.section-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
}

.section-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    transition: all var(--transition);
    white-space: nowrap;
}

.section-link:hover {
    color: var(--accent-hover);
    letter-spacing: 0.02em;
}

/* ===== WHY HIRE ME ===== */
.hire-section {
    padding-top: 32px;
}

.hire-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hire-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.hire-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.hire-card-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hire-card-text:last-child {
    margin-bottom: 0;
}

.hire-list {
    list-style: disc;
    margin-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hire-list li {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.hire-proof-card {
    background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--card-bg) 100%);
    border-color: var(--border);
}

.hire-metrics {
    display: grid;
    gap: 14px;
}

.hire-metric {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 12px 14px;
    background: var(--card-bg);
}

.hire-metric-number {
    display: block;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--text);
    margin-bottom: 6px;
}

.hire-metric-label {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-tertiary);
}

/* ===== BLOG LIST ===== */
.blog-list {
    display: flex;
    flex-direction: column;
}

.blog-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    transition: all var(--transition);
}

.blog-item:first-child {
    border-top: 1px solid var(--border-light);
}

.blog-item:hover {
    padding-left: 12px;
    color: var(--accent);
    border-bottom-color: var(--accent-light);
}

.blog-item-title {
    font-size: 0.9375rem;
    font-weight: 500;
}

.blog-item-meta {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 400;
    flex-shrink: 0;
    margin-left: 20px;
}

/* ===== MY STORY SECTION ===== */
.story-section {
    padding-top: 120px;
}

.story-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.03em;
    color: var(--text);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.story-hero-image {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 48px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.story-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform var(--transition-slow);
}

.story-photo:hover {
    transform: scale(1.02);
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 640px;
    margin: 0 auto;
}

.story-lead {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.65;
    color: var(--text);
    letter-spacing: -0.01em;
}

.story-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.story-body p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.story-body strong {
    color: var(--text);
    font-weight: 600;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 12px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.story-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.highlight-number {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.highlight-label {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ===== PROJECTS ACCORDION ===== */
.projects-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.accordion-item {
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition);
}

.accordion-item:hover {
    background-color: var(--bg-secondary);
}

.accordion-item.active {
    background-color: var(--bg-secondary);
}

.accordion-header {
    width: 100%;
    display: grid;
    grid-template-columns: 40px minmax(200px, auto) 1fr 40px;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    text-align: left;
    background: none;
    cursor: pointer;
    color: var(--text);
}

.accordion-num {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.accordion-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.accordion-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.accordion-desc-short {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.accordion-icon {
    display: flex;
    justify-content: flex-end;
    color: var(--text-tertiary);
    font-size: 1rem;
    transition: transform var(--transition);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.accordion-item.active .accordion-body {
    max-height: 1500px;
    opacity: 1;
}

.accordion-body-inner {
    padding: 0 0 32px 56px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.accordion-section {
    margin-bottom: 24px;
}

.accordion-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.accordion-section p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.accordion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.accordion-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 999px;
}

.accordion-links {
    display: flex;
    gap: 16px;
}

.accordion-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.accordion-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.accordion-link .link-arrow {
    font-size: 0.7rem;
    opacity: 0.5;
}

.accordion-metrics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .accordion-header {
        grid-template-columns: 30px 1fr 30px;
        grid-template-rows: auto auto;
        gap: 8px;
    }

    .accordion-desc-short {
        grid-column: 2 / 3;
        grid-row: 2;
        font-size: 0.875rem;
        white-space: normal;
    }

    .accordion-title-wrap {
        grid-column: 2 / 3;
        grid-row: 1;
    }

    .accordion-icon {
        grid-column: 3 / 4;
        grid-row: 1;
    }

    .accordion-body-inner {
        padding: 0 0 24px 38px;
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===== IMAGE LIGHTBOX ===== */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
    padding: 24px;
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image {
    max-width: min(100%, 1000px);
    max-height: min(100vh - 80px, 100%);
    width: auto;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}



/* ===== CAREER ARC TIMELINE ===== */
.arc-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.arc-header {
    margin-bottom: 60px;
}

.arc-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0;
}

.arc-timeline {
    display: flex;
    flex-direction: column;
}

.arc-item {
    display: flex;
    position: relative;
    padding-bottom: 40px;
}

.arc-item:last-child {
    padding-bottom: 0;
}

.arc-year {
    width: 60px;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    flex-shrink: 0;
    text-align: right;
    padding-right: 20px;
    padding-top: 4px;
}

.arc-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
    flex-shrink: 0;
    margin-right: 32px;
}

.arc-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text);
    border-radius: 50%;
    margin-top: 8px;
    position: relative;
    z-index: 2;
}

.arc-line {
    width: 1px;
    background-color: var(--border);
    flex-grow: 1;
    margin-top: 8px;
}

.arc-content {
    flex-grow: 1;
    padding-bottom: 16px;
}

.arc-content-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.arc-role {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.arc-badge {
    font-size: 0.6875rem;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 500;
}

.badge-dark {
    background-color: var(--text);
    color: var(--bg);
}

.badge-light {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.arc-company {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.arc-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

@media (max-width: 768px) {
    .arc-year {
        width: 40px;
        padding-right: 12px;
    }

    .arc-divider {
        margin-right: 20px;
    }

    .arc-title {
        font-size: 2.5rem;
    }
}

/* ===== SKILLS GRID ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 28px;
}

.skill-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-group-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--tag-bg);
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition);
}

.skill-tag:hover {
    background: var(--accent-light);
    color: var(--accent);
    box-shadow: 0 2px 8px var(--accent-glow);
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-list {
    display: grid;
    gap: 16px;
}

.cert-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: all var(--transition);
}

.cert-item:hover {
    border-color: var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cert-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.cert-issuer {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.achievement-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    gap: 16px;
    transition: all var(--transition);
    align-items: flex-start;
}

.achievement-item:hover {
    border-color: var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.achievement-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.achievement-content {
    flex: 1;
}

.achievement-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px 0;
}

.achievement-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding-bottom: 80px;
    padding-top: 40px;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-left {
    display: flex;
    flex-direction: column;
}

.contact-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.contact-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text);
    margin: 0;
}

.contact-right {
    display: flex;
    flex-direction: column;
}

.contact-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.contact-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition);
    color: var(--text);
}

.contact-card-link:hover {
    border-color: var(--border);
    background: var(--bg-secondary);
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    font-weight: 600;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

.contact-icon {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.contact-card-link:hover .contact-icon {
    color: var(--text);
}

.contact-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 992px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 2.8rem;
    }

    .contact-subgrid {
        grid-template-columns: 1fr;
    }

    .contact-card-link {
        padding: 20px 24px;
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-style: italic;
    text-align: center;
    align-self: center;
}

.footer-nav {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 8px;
}

.footer-socials a {
    color: var(--text-tertiary);
    font-size: 1.0625rem;
    transition: color var(--transition), transform var(--transition);
}

.footer-socials a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-nav,
    .footer-socials {
        justify-content: center;
    }
}

/* ===== BOOKS SECTION ===== */
.books-section {
    padding-bottom: 60px;
}

.books-intro {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 40px;
}

.books-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 780px;
}

.book-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
}

.book-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
    border-color: var(--accent-light);
}

.book-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
    cursor: pointer;
    padding: 4px 0;
    user-select: none;
    transition: opacity var(--transition);
}

.book-card-header:hover {
    opacity: 0.8;
}

.book-card-header:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 8px;
}

.book-chevron {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color var(--transition);
    flex-shrink: 0;
    margin-top: 6px;
}

.book-card.open .book-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

/* Collapsible notes wrapper */
.book-notes {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    opacity: 0;
}

.book-card.open .book-notes {
    max-height: 800px;
    opacity: 1;
    margin-top: 24px;
}

.book-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.book-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.book-author {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-style: italic;
}

.book-lessons {
    margin-bottom: 24px;
}

.book-lessons-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.book-lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.book-lesson-list li {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.book-lesson-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.book-lesson-list li strong {
    color: var(--text);
    font-weight: 600;
}

.book-takeaway {
    background: var(--accent-light);
    border-radius: var(--radius);
    padding: 20px;
    border-left: 3px solid var(--accent);
}

.book-takeaway-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 8px;
}

.book-takeaway p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Duplicate footer-content rules removed — canonical definitions are above at line ~1200 */

/* ===== HOW I THINK / PHILOSOPHY ===== */
.philosophy-section {
    padding-top: 24px;
    padding-bottom: 40px;
}

.philosophy-content {
    max-width: 640px;
    border-left: 3px solid var(--accent);
    padding-left: 28px;
}

.philosophy-heading {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.philosophy-text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.philosophy-text:last-child {
    margin-bottom: 0;
}

/* ===== PROJECT CONSTRAINT STORIES ===== */
.project-constraint-story {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.constraint-row {
    display: flex;
    gap: 10px;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.constraint-label {
    flex-shrink: 0;
    width: 72px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    padding-top: 2px;
}

.constraint-value {
    color: var(--text-secondary);
    flex: 1;
}

.constraint-numbers .constraint-value {
    color: var(--accent);
    font-weight: 600;
}

/* ===== FEATURED PROJECT ===== */
.project-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, 38%) 1fr;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--card-bg) 100%);
    position: relative;
    overflow: hidden;
    align-items: start;
}

.project-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    z-index: 1;
}

.project-featured .project-card-image-wrap {
    align-self: start;
    width: 100%;
    max-height: 220px;
}

.project-featured .project-card-image {
    height: 220px;
    min-height: 0;
}

.project-featured .project-card-body {
    padding: 28px;
}

.project-featured .project-card-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.project-featured .project-card-desc {
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.project-featured .project-card-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
}


/* ===== ABOUT SECTION ===== */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    max-width: 720px;
}

.about-text p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--text);
    font-weight: 600;
}

.about-subsection-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* ===== NAV RESUME LINK ===== */
.nav-resume-link {
    background: var(--accent-cta-bg);
    border-radius: 6px;
    font-weight: 600;
    color: var(--accent-cta-text) !important;
}

.nav-resume-link:hover {
    background: var(--accent-cta-bg-hover);
    color: var(--accent-cta-text-hover) !important;
    filter: none;
}

/* ===== HERO SECONDARY CTA ===== */
.hero-secondary-cta {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.hero-secondary-cta:hover {
    color: var(--text);
}

.hero-secondary-cta i {
    font-size: 0.875rem;
}

.hero-cta i {
    margin-right: 4px;
    font-size: 0.8125rem;
}

.hero-hiring {
    margin-bottom: 8px;
}

.hero-philosophy {
    margin: 0 0 28px;
    max-width: 100%;
}

.hero-philosophy .philosophy-heading {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.hero-philosophy .philosophy-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PROJECT IMPACT METRIC ===== */
.project-impact-metric {
    display: flex;
    gap: 20px;
    padding: 14px 0 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.impact-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.impact-number {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.03em;
}

.impact-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */

/* Extra-large desktop */
@media screen and (min-width: 1400px) {

    .container,
    .nav-container {
        max-width: 1200px;
    }

    .hero {
        padding: 180px 0 120px;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-photo {
        width: 260px;
        height: 260px;
    }

    .hero-layout {
        gap: 80px;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .skills-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .section {
        padding: 100px 0;
    }

    .story-hero-image {
        max-width: 900px;
    }

    .story-content {
        max-width: 720px;
    }
}

/* Large desktop */
@media screen and (min-width: 1200px) and (max-width: 1399px) {

    .container,
    .nav-container {
        max-width: 1080px;
    }

    .hero {
        padding: 160px 0 100px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-photo {
        width: 240px;
        height: 240px;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .skills-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .story-highlights {
        gap: 32px;
    }
}

/* Medium desktop */
@media screen and (min-width: 769px) and (max-width: 1199px) {

    .container,
    .nav-container {
        max-width: 900px;
    }

    .hero-photo {
        width: 200px;
        height: 200px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-featured {
        grid-column: 1 / -1;
    }

    .project-featured .project-card-image-wrap {
        max-height: 180px;
    }

    .project-featured .project-card-image {
        height: 180px;
    }
}

/* Tablet */
@media screen and (max-width: 768px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    .container,
    .nav-container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-layout {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        position: relative;
    }

    .hero-photo {
        width: 88px;
        height: 88px;
        border-radius: var(--radius-lg);
        flex-shrink: 0;
    }

    /* On tablet/mobile, float the photo top-right within the layout */
    .hero-image {
        width: auto;
        display: flex;
        justify-content: flex-start;
        position: absolute;
        top: 0;
        right: 0;
    }

    /* Hero text needs room on the right for the photo */
    .hero-text {
        width: 100%;
        padding-right: 108px;
        /* make room for the photo */
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-cred-row {
        gap: 6px;
    }

    .hero-cred-pill {
        font-size: 0.625rem;
        padding: 5px 10px;
    }

    /* Hero actions: Resume button full-width, secondary links in a row */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .hero-cta {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .hero-actions-secondary {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 16px;
        align-items: center;
    }

    .hero-secondary-cta {
        font-size: 0.875rem;
        padding: 8px 0;
        gap: 5px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-featured {
        grid-template-columns: 1fr;
    }

    .project-featured .project-card-image-wrap {
        max-height: 150px;
    }

    .project-featured .project-card-image {
        height: 150px;
    }

    .philosophy-content {
        padding-left: 20px;
    }

    .constraint-row {
        flex-direction: column;
        gap: 2px;
    }

    .constraint-label {
        width: auto;
    }

    .contact-card {
        padding: 40px 24px;
    }

    .contact-heading {
        font-size: 1.5rem;
    }

    /* Accordion mobile polish */
    .accordion-header {
        gap: 8px;
    }

    .accordion-desc-short {
        font-size: 0.8125rem;
    }

    /* Career Arc timeline mobile */
    .arc-title {
        font-size: 2.25rem;
    }

    .arc-year {
        width: 44px;
        padding-right: 10px;
        font-size: 0.75rem;
    }

    .arc-divider {
        margin-right: 16px;
    }

    .arc-role {
        font-size: 1rem;
    }

    .arc-desc {
        font-size: 0.875rem;
    }

    .exp-header {
        flex-direction: column;
        gap: 4px;
    }

    .exp-date {
        margin-left: 0;
        white-space: normal;
    }

    .blog-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .blog-item-meta {
        margin-left: 0;
    }

    /* Contact mobile */
    .contact-title {
        font-size: 2.8rem;
    }

    .contact-card-link {
        padding: 18px 20px;
    }

    /* My Story tablet */
    .section.story-section {
        padding-top: 132px;
        padding-bottom: 60px;
    }

    .story-title {
        font-size: 1.9rem;
        margin-bottom: 24px;
        line-height: 1.25;
    }

    .story-hero-image {
        margin-bottom: 36px;
    }

    .story-lead {
        font-size: 1.125rem;
    }

    .story-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

}

/* Small mobile */
@media screen and (max-width: 480px) {

    .container,
    .nav-container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 48px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.875rem;
    }

    .hero-photo {
        width: 80px;
        height: 80px;
        border-radius: var(--radius);
    }

    .hero-text {
        padding-right: 96px;
    }

    .hero-image {
        position: absolute;
        top: 0;
        right: 0;
        width: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .hero-cta {
        font-size: 0.875rem;
        padding: 10px 20px;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .hero-actions-secondary {
        gap: 12px 16px;
    }

    .hero-secondary-cta {
        font-size: 0.8125rem;
    }

    .hero-resume {
        font-size: 0.875rem;
    }

    .section {
        padding: 48px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-tags {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.375rem;
    }

    /* Contact small mobile */
    .contact-title {
        font-size: 2rem;
    }

    .contact-desc {
        font-size: 0.875rem;
    }

    .contact-card-link {
        padding: 16px 18px;
    }

    .contact-value {
        font-size: 0.875rem;
    }

    /* Career Arc small mobile */
    .arc-header {
        margin-bottom: 36px;
    }

    .arc-title {
        font-size: 1.875rem;
    }

    .arc-item {
        padding-bottom: 28px;
    }

    .arc-year {
        width: 36px;
        padding-right: 8px;
        font-size: 0.6875rem;
    }

    .arc-divider {
        margin-right: 12px;
        width: 16px;
    }

    .arc-role {
        font-size: 0.9375rem;
    }

    .arc-badge {
        font-size: 0.5625rem;
        padding: 2px 8px;
    }

    .arc-company {
        font-size: 0.8125rem;
    }

    .arc-desc {
        font-size: 0.8125rem;
    }

    .arc-content-header {
        gap: 8px;
    }

    .contact-card {
        padding: 32px 20px;
    }

    .contact-actions {
        flex-direction: column;
        gap: 12px;
    }

    .contact-heading {
        font-size: 1.375rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-copy,
    .footer-socials,
    .footer-thanks {
        justify-self: center;
    }

    .footer-thanks {
        white-space: normal;
    }

    .section-header-row {
        flex-direction: column;
        gap: 8px;
    }

    /* Philosophy mobile */
    .philosophy-content {
        padding-left: 16px;
    }

    .philosophy-heading {
        font-size: 1.125rem;
    }

    .philosophy-text {
        font-size: 0.875rem;
    }

    /* About mobile */
    .about-text p {
        font-size: 0.875rem;
    }

    /* Project cards mobile polish */
    .project-card-body {
        padding: 16px;
    }

    .project-card-image {
        height: 110px;
    }

    .project-card-tags span {
        font-size: 0.625rem;
        padding: 3px 8px;
    }

    /* Experience mobile */
    .exp-item {
        padding: 20px 0;
    }

    .exp-role {
        font-size: 0.875rem;
    }

    .exp-desc {
        font-size: 0.8125rem;
    }

    /* My Story mobile */
    .section.story-section {
        padding-top: 124px;
        padding-bottom: 48px;
    }

    .story-title {
        font-size: 1.5rem;
        margin-bottom: 18px;
        line-height: 1.28;
    }

    .story-hero-image {
        margin-bottom: 20px;
        border-radius: var(--radius-lg);
    }

    .story-lead {
        font-size: 0.975rem;
        line-height: 1.55;
    }

    .story-body p {
        font-size: 0.875rem;
        line-height: 1.65;
    }

    .story-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .highlight-number {
        font-size: 1.625rem;
    }

    .highlight-label {
        font-size: 0.75rem;
    }

    /* Constraint stories mobile */
    .constraint-row {
        flex-direction: column;
        gap: 2px;
    }

    .constraint-label {
        width: auto;
    }

    /* Featured project mobile — already stacked from tablet CSS */
    .project-featured {
        grid-template-columns: 1fr;
    }

    .project-featured .project-card-image-wrap {
        max-height: 130px;
    }

    .project-featured .project-card-image {
        height: 130px;
    }

    .project-featured .project-card-body {
        padding: 16px;
    }

    .project-featured .project-card-title {
        font-size: 1.0625rem;
    }

    /* Nav mobile */
    .nav-logo {
        font-size: 1rem;
    }

    .image-lightbox {
        padding: 12px;
    }

    .lightbox-image {
        max-height: min(100vh - 56px, 100%);
        border-radius: var(--radius);
    }

    .lightbox-close {
        top: 10px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.75rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in,
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* Dark mode auto-detect */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #09090b;
        --bg-secondary: #111114;
        --text: #f0f0f5;
        --text-secondary: #a0a0b0;
        --text-tertiary: #666677;
        --border: #1e1e2e;
        --border-light: #161622;
        --accent: #7fddb3;
        --accent-hover: #a5edd0;
        --accent-light: rgba(127, 221, 179, 0.14);
        --accent-glow: rgba(127, 221, 179, 0.26);
        --gradient-start: #3e9f79;
        --gradient-end: #2f8f6b;
        --link: #f0f0f5;
        --link-hover: #7fddb3;
        --card-bg: #12121a;
        --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.2);
        --card-shadow-hover: 0 20px 60px rgba(127, 221, 179, 0.1), 0 8px 24px rgba(0, 0, 0, 0.3);
        --tag-bg: #11261d;
        --tag-text: #9be9c8;
        --nav-bg: rgba(9, 9, 11, 0.9);
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== VISION / STEVE JOBS–STYLE (FIGMA REDESIGN) =====
   Keynote-like typography, system font stack, airy layout, monochrome accents.
   Reference: https://easy-lizard-54632605.figma.site/ */
.vision-jobs {
    --accent: #1d1d1f;
    --accent-hover: #000000;
    --accent-light: rgba(29, 29, 31, 0.06);
    --accent-glow: rgba(29, 29, 31, 0.12);
    --gradient-start: #424245;
    --gradient-end: #1d1d1f;
    --tag-bg: #f5f5f7;
    --tag-text: #1d1d1f;
    --sj-link: #0066cc;
    --sj-muted-bg: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
}

[data-theme="dark"] .vision-jobs {
    --accent: #f5f5f7;
    --accent-hover: #ffffff;
    --accent-light: rgba(245, 245, 247, 0.12);
    --accent-glow: rgba(245, 245, 247, 0.2);
    --tag-bg: #2d2d2f;
    --tag-text: #f5f5f7;
    --sj-link: #2997ff;
    --sj-muted-bg: #141416;
}

.vision-jobs .hero-title,
.vision-jobs .section-title,
.vision-jobs .contact-heading,
.vision-jobs .philosophy-heading,
.vision-jobs .project-card-title,
.vision-jobs .impact-number,
.vision-jobs .footer-logo {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
}

.vision-jobs .hero-title-line {
    display: block;
}

.vision-jobs .hero-title-line--secondary {
    margin-top: 0.06em;
    font-size: clamp(1.85rem, 4.2vw, 3.15rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    color: var(--text-secondary);
}

.vision-jobs .container,
.vision-jobs .nav-container {
    max-width: min(1180px, 94vw);
}

.vision-jobs .navbar {
    border-bottom-color: transparent;
    background-color: color-mix(in srgb, var(--bg) 78%, transparent);
}

.vision-jobs .navbar.scrolled {
    border-bottom-color: var(--border-light);
}

.vision-jobs .nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.vision-jobs .nav-link.active {
    color: var(--text);
    font-weight: 600;
}

.vision-jobs .hero {
    padding-top: 172px;
    padding-bottom: 112px;
}

.vision-jobs .hero-title {
    font-size: clamp(2.75rem, 6.5vw, 4.85rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 600;
    max-width: 820px;
}

.vision-jobs .hero-badge {
    color: var(--text-secondary);
    background: var(--sj-muted-bg);
    border-color: var(--border);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.6875rem;
}

.vision-jobs .hero-badge-dot {
    animation: none;
    opacity: 0.85;
}

.vision-jobs .hero-subtitle {
    font-size: 1.1875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 720px;
    margin-bottom: 14px;
}

.vision-jobs .hero-description {
    max-width: 640px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.0625rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.vision-jobs .hero-philosophy {
    padding: 22px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background: var(--sj-muted-bg);
    margin-bottom: 28px;
}

.vision-jobs .hero-philosophy .philosophy-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.vision-jobs .hero-philosophy .philosophy-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.vision-jobs .hero-actions {
    flex-wrap: wrap;
    gap: 12px 20px;
}

.vision-jobs .hero-cta {
    background: var(--text);
    color: var(--bg);
    border-radius: 980px;
    padding: 12px 28px;
    box-shadow: none;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.vision-jobs .hero-cta:hover {
    transform: none;
    opacity: 0.88;
    filter: none;
    color: var(--bg);
    background: var(--text);
}

[data-theme="dark"] .vision-jobs .hero-cta {
    background: #f5f5f7;
    color: #1d1d1f;
}

[data-theme="dark"] .vision-jobs .hero-cta:hover {
    color: #1d1d1f;
    opacity: 0.9;
}

.vision-jobs .hero-secondary-cta {
    font-weight: 500;
    color: var(--sj-link);
}

.vision-jobs .hero-secondary-cta:hover {
    color: var(--text);
}

[data-theme="dark"] .vision-jobs .hero-secondary-cta:hover {
    color: var(--accent-hover);
}

.vision-jobs .hero-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .vision-jobs .hero-photo {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.vision-jobs .section {
    padding-top: 108px;
    padding-bottom: 108px;
}

.vision-jobs #projects.section,
.vision-jobs #blog.section {
    background: var(--sj-muted-bg);
}

.vision-jobs .section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    letter-spacing: -0.04em;
    font-weight: 600;
}

.vision-jobs .section-header-row {
    margin-bottom: 40px;
}

.vision-jobs .section-link {
    color: var(--sj-link);
    font-weight: 500;
}

.vision-jobs .section-link:hover {
    color: var(--text);
}

.vision-jobs .project-card {
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: none;
    background: var(--card-bg);
}

[data-theme="dark"] .vision-jobs .project-card {
    box-shadow: none;
}

.vision-jobs .project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--border);
}

[data-theme="dark"] .vision-jobs .project-card:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.vision-jobs .project-card-badge {
    border-radius: 980px;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    background: color-mix(in srgb, var(--bg) 88%, var(--text));
    color: var(--text);
    border: 1px solid var(--border-light);
}

.vision-jobs .project-featured::before {
    width: 2px;
    opacity: 0.85;
}

.vision-jobs .impact-number {
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.vision-jobs .constraint-numbers .constraint-value {
    color: var(--text);
    font-weight: 600;
}

.vision-jobs .project-card-link:hover {
    color: var(--sj-link);
}

.vision-jobs .skill-tag {
    border-radius: 980px;
    border: 1px solid var(--border);
    background: transparent;
}

.vision-jobs .skill-tag:hover {
    background: var(--sj-muted-bg);
    color: var(--text);
    box-shadow: none;
}

.vision-jobs .blog-item:hover {
    color: var(--sj-link);
}

.vision-jobs .exp-role {
    background: transparent;
    border-left: none;
    padding: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.vision-jobs .contact-card {
    border-radius: 28px;
    padding-top: 88px;
    padding-bottom: 88px;
    border: 1px solid var(--border);
    background: var(--sj-muted-bg);
}

.vision-jobs .contact-card::before {
    height: 2px;
    opacity: 0.9;
}

.vision-jobs .contact-heading {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.vision-jobs .contact-email {
    border-radius: 980px;
    padding: 12px 28px;
    box-shadow: none;
    background: var(--text);
    color: var(--bg);
    font-weight: 500;
}

.vision-jobs .contact-email:hover {
    opacity: 0.88;
    color: var(--bg);
}

[data-theme="dark"] .vision-jobs .contact-email {
    background: #f5f5f7;
    color: #1d1d1f;
}

.vision-jobs .contact-resume-link {
    color: var(--sj-link);
    font-weight: 500;
}

.vision-jobs .footer-tagline {
    letter-spacing: -0.02em;
    font-style: normal;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.vision-jobs .footer-socials a:hover,
.vision-jobs .footer-nav a:hover {
    color: var(--sj-link);
}

.vision-jobs :focus-visible {
    outline-color: var(--sj-link);
}

/* ===== FIGMA-STYLE EXTRA SECTIONS (index only; My Story unchanged) ===== */
.hero-cred-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    max-width: 640px;
}

.hero-cred-pill {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 980px;
    border: 1px solid var(--border);
    background: var(--bg);
}

.sj-section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

.sj-section-title-tight {
    max-width: 720px;
    margin-bottom: 36px;
}

.sj-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sj-metric-card {
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.sj-metric-card:hover {
    border-color: var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .sj-metric-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.sj-metric-value {
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
}

.sj-metric-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.sj-metric-hint {
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-tertiary);
}

.sj-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sj-philosophy-item {
    padding: 24px 22px;
    border-radius: 18px;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.sj-phil-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.sj-phil-title {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.sj-phil-body {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.sj-section-research {
    background: var(--bg-secondary);
}

.sj-research-card {
    max-width: 800px;
    padding: 28px 28px 26px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--card-bg);
}

.sj-research-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.sj-research-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 14px;
}

.sj-research-abstract {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.sj-research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.sj-research-tags span {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 980px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.sj-research-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.sj-research-link:hover {
    color: var(--accent-hover);
}

.sj-section-now .sj-now-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.sj-now-item {
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.sj-now-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

.sj-now-text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.sj-kaggle-cta {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 720px;
    padding-top: 8px;
}

.sj-kaggle-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--accent);
}

.sj-kaggle-link:hover {
    color: var(--accent-hover);
}

@media screen and (max-width: 1024px) {
    .sj-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sj-philosophy-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .sj-metrics-grid {
        grid-template-columns: 1fr;
    }

    .sj-section-now .sj-now-grid {
        grid-template-columns: 1fr;
    }
}

.vision-jobs .hero-cred-pill {
    font-family: inherit;
    background: var(--sj-muted-bg);
}

.vision-jobs .sj-metric-value {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
}

.vision-jobs .sj-research-link,
.vision-jobs .sj-kaggle-link {
    color: var(--sj-link);
}

.vision-jobs .sj-research-link:hover,
.vision-jobs .sj-kaggle-link:hover {
    color: var(--text);
}

[data-theme="dark"] .vision-jobs .sj-research-link:hover,
[data-theme="dark"] .vision-jobs .sj-kaggle-link:hover {
    color: var(--accent-hover);
}

.vision-jobs .sj-section-research {
    background: var(--sj-muted-bg);
}

.vision-jobs #highlights.section {
    border-top: 1px solid var(--border-light);
}

/* Safe area insets */
@supports (padding: max(0px)) {
    .nav-container {
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }
}

/* ===== MOBILE VISION-JOBS OVERRIDES ===== */
@media screen and (max-width: 768px) {

    /* Hero: stack image prominently above text */
    .vision-jobs .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .vision-jobs .hero-layout {
        flex-direction: column-reverse;
        gap: 36px;
        position: relative;
        align-items: flex-start;
    }

    .vision-jobs .hero-text {
        width: 100%;
        padding-right: 0;
    }

    .vision-jobs .hero-image {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .vision-jobs .hero-photo {
        width: 240px;
        max-width: 100%;
        height: 240px;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: var(--radius-xl);
    }

    .vision-jobs .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .vision-jobs .hero-title-line--secondary {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .vision-jobs .hero-subtitle {
        font-size: 1rem;
    }

    .vision-jobs .hero-description {
        font-size: 0.9375rem;
    }

    .vision-jobs .hero-philosophy {
        padding: 16px 18px;
    }

    .vision-jobs .hero-philosophy .philosophy-heading {
        font-size: 0.6875rem;
    }

    .vision-jobs .hero-philosophy .philosophy-text {
        font-size: 0.8125rem;
    }

    /* Hero actions: Resume pill full-width, social links in a neat row */
    .vision-jobs .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .vision-jobs .hero-cta {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    /* Wrap secondary CTAs in a horizontal flex row */
    .vision-jobs .hero-actions .hero-secondary-cta {
        /* Each link sits in a row via parent flex-wrap */
    }

    /* Put secondary links in their own sub-row */
    .vision-jobs .hero-actions::after {
        display: none;
    }

    .vision-jobs .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .vision-jobs .section-title {
        font-size: clamp(1.375rem, 5vw, 2rem);
    }

    /* Accordion mobile */
    .accordion-title {
        font-size: 1rem;
        word-break: break-word;
    }

    .accordion-desc-short {
        display: none;
    }

    .accordion-badge {
        font-size: 0.5625rem;
        padding: 3px 8px;
    }

    .accordion-header {
        grid-template-columns: 24px 1fr 24px;
    }

    .accordion-num {
        font-size: 0.75rem;
    }

    /* Footer nav mobile - wrap into grid */
    .footer-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px 12px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .vision-jobs .hero-photo {
        width: 200px;
        max-width: 200px;
        height: 200px;
        border-radius: var(--radius-xl);
    }

    .vision-jobs .hero-text {
        padding-right: 0;
    }

    .vision-jobs .container {
        max-width: 100%;
    }

    /* Footer nav small - 2 columns */
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 8px;
        font-size: 0.75rem;
    }

    .footer-nav a {
        font-size: 0.75rem;
    }

    .footer-tagline {
        font-size: 0.75rem;
    }
}