/* Reset & Global Variables */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-sans: 'General Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bg-main: #ffffff;
    --text-primary: #0a0a0c;
    --text-muted: #64748b;
    --border-subtle: #e2e8f0;
    --badge-bg: #f3f4f6;
    --badge-text: #475569;

    /* Per-project accent color themes */
    --accent-coral: #ff6b4a;
    --accent-coral-glow: rgba(255, 107, 74, 0.25);
    --accent-indigo: #6366f1;
    --accent-indigo-glow: rgba(99, 102, 241, 0.25);
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.25);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px; /* Global offset for fixed header */
    background-color: #FFFFFF;
}

body {
    font-family: var(--font-sans);
    background: transparent;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

/* Smooth Pastel Yellow to White Gradient Background */
.ambient-mesh-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(180deg, #F9F0C7 0%, #FAF3D2 22%, #FCF8E3 48%, #FEFCF5 72%, #FFFFFF 100%);
    transform: translateZ(0);
}

/* Redline Spec: Header Pill Wrapper (Top 40px margin) */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1120px;
    padding: 40px 24px 0; /* 40px top spacing per spec */
    z-index: 100;
    pointer-events: none;
}

.unified-nav-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    pointer-events: auto;
}

.logo a {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Redline Spec: Hero Section (64px top gap, 82px side padding, 44px badge gap, 64px bottom gap) */
.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    padding-top: 104px;   /* Account for fixed header */
    padding-left: 82px;   /* 82px left side padding per spec */
    padding-right: 82px;  /* 82px right side padding per spec */
    padding-bottom: 64px; /* 64px bottom spacing per spec */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-weight: 800;
    font-size: 4.25rem;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 450;
    color: var(--text-muted);
    max-width: 760px;
    line-height: 1.5;
    margin-bottom: 44px; /* 44px gap to badges per spec */
}

.hero-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background-color: var(--badge-bg);
    color: var(--badge-text);
    padding: 8px 24px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Selected Work Section */
.work-section {
    position: relative;
    z-index: 1;
    padding: 64px 24px 120px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    scroll-margin-top: 76px; /* Prevents header overlap when scrolled via anchor */
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 450;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Base Project Card Structure */
.project-card {
    position: relative;
    background-color: #2b2c2e;
    color: #ffffff;
    border-radius: 28px;
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 2px solid transparent;
}

.project-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.project-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.project-chip {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, color 0.25s ease;
}

.project-title {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.55;
    color: #94a3b8;
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 440px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.project-link .arrow {
    transition: transform 0.2s ease;
}

.project-card:hover .project-link .arrow {
    transform: translateX(4px);
}

/* Hover Accent Themes */
.coral-theme:hover {
    transform: translateY(-6px);
    border-color: var(--accent-coral);
    box-shadow: 0 20px 40px var(--accent-coral-glow), 0 0 0 6px rgba(255, 107, 74, 0.15);
}
.coral-theme:hover .project-title { color: var(--accent-coral); }
.coral-theme:hover .project-chip { background: rgba(255, 107, 74, 0.2); color: #ffaa99; }
.coral-theme:hover .project-link { color: var(--accent-coral); }

.indigo-theme:hover {
    transform: translateY(-6px);
    border-color: var(--accent-indigo);
    box-shadow: 0 20px 40px var(--accent-indigo-glow), 0 0 0 6px rgba(99, 102, 241, 0.15);
}
.indigo-theme:hover .project-title { color: #818cf8; }
.indigo-theme:hover .project-chip { background: rgba(99, 102, 241, 0.2); color: #c7d2fe; }
.indigo-theme:hover .project-link { color: #818cf8; }

.emerald-theme:hover {
    transform: translateY(-6px);
    border-color: var(--accent-emerald);
    box-shadow: 0 20px 40px var(--accent-emerald-glow), 0 0 0 6px rgba(16, 185, 129, 0.15);
}
.emerald-theme:hover .project-title { color: #34d399; }
.emerald-theme:hover .project-chip { background: rgba(16, 185, 129, 0.2); color: #a7f3d0; }
.emerald-theme:hover .project-link { color: #34d399; }

/* Visual Mockup Styling */
.project-visual {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-mockup {
    background: #ffffff;
    color: #0f172a;
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease;
}

.main-phone {
    width: 200px;
    height: 310px;
    padding: 16px;
    border: 6px solid #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.screen-notch {
    width: 60px;
    height: 12px;
    background: #1e293b;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 14px;
}

.app-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #cbd5e1;
    margin-bottom: 10px;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.user-desc {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 8px;
}

.user-tag {
    font-size: 0.68rem;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 16px;
    color: #475569;
}

.cta-pill {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    width: 100%;
}

.side-phone {
    position: absolute;
    width: 160px;
    padding: 14px;
    background: #ffffff;
    border: 4px solid #334155;
    z-index: 1;
}

.top-side {
    top: 20px;
    right: 20px;
}

.bottom-side {
    bottom: 20px;
    right: 30px;
}

.mini-app-card {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.mini-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e293b;
}

.mini-stats {
    display: flex;
    justify-content: space-around;
    font-size: 0.68rem;
    color: #475569;
}

.main-dash {
    width: 320px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.dash-title {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
}

.dash-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 16px;
}

.chart-graphic {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 80px;
    margin-bottom: 16px;
}

.bar {
    flex: 1;
    background: #6366f1;
    border-radius: 6px;
    opacity: 0.85;
}
.bar-1 { height: 40%; }
.bar-2 { height: 65%; }
.bar-3 { height: 50%; }
.bar-4 { height: 85%; }
.bar-5 { height: 100%; background: #4f46e5; }

.dash-badge {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 9999px;
    display: inline-block;
}

.transit-card {
    width: 280px;
    padding: 24px;
}

.transit-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 16px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.route-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.route-line {
    width: 4px;
    height: 36px;
    background: #10b981;
    border-radius: 2px;
}

.station {
    font-size: 0.9rem;
    font-weight: 700;
    display: block;
    color: #0f172a;
}

.time {
    font-size: 0.75rem;
    color: #64748b;
}

.ticket-btn {
    background: #10b981;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
}

/* Responsive Overrides */
@media (max-width: 960px) {
    .hero-container {
        padding-left: 32px;
        padding-right: 32px;
    }

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

    .project-card {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        gap: 32px;
    }

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

    .project-visual {
        height: 260px;
    }
}

@media (max-width: 640px) {
    .header-wrapper {
        padding: 20px 16px 0;
    }

    .unified-nav-pill {
        padding: 12px 20px;
    }

    .nav-links {
        gap: 16px;
    }

    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 40px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
}

/* --- NEW HOMEPAGE HERO (Sept Redesign) --- */

.first-scroll-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 800px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding-top: 279px;
    box-sizing: border-box;
}

.new-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 60px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    z-index: 1000;
    pointer-events: none;
}

.new-unified-nav-pill {
    pointer-events: auto;
    padding: 18px 44px;
    background: rgba(255, 255, 255, 0.40);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.03), 0px 2px 30px rgba(0, 0, 0, 0.08), 0px 0px 1px rgba(0, 0, 0, 0.30);
    border-radius: 90px;
    backdrop-filter: blur(7.50px);
    -webkit-backdrop-filter: blur(7.50px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1152px;
}

.new-unified-nav-pill .logo a {
    color: black;
    font-size: 24px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
}

.new-unified-nav-pill .nav-links {
    display: flex;
    gap: 46px;
    align-items: center;
}

.new-unified-nav-pill .nav-link {
    color: #475467;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.new-unified-nav-pill .nav-link:hover {
    color: #111111;
}

.new-hero-content {
    width: 100%;
    max-width: 1152px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.hero-greeting {
    color: black;
    font-size: 60px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 200;
    line-height: 76px;
    margin: 0;
}

.hero-main-title {
    color: black;
    font-size: 80px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    line-height: 76px;
    margin: 0;
}

.highlight-yellow {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.highlight-yellow::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -10px;
    bottom: 8px;
    height: 34px; 
    background-color: #FFDD03;
    z-index: -1;
}


/* --- SOULKA PROJECT CARD (Figma Redesign) --- */
.project-card-soulka,
.project-card-row {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    border-radius: 52px;
    border: 1px solid #EBF1EB;
    background: #EFFAF1;
    box-shadow: 0 3px 8px -1px rgba(50, 50, 71, 0.05);
    padding: 24px;
    display: flex;
    align-items: stretch;
    gap: 40px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.project-card-soulka:hover,
.project-card-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px -4px rgba(50, 50, 71, 0.12);
}

.project-card-soulka .card-visual,
.project-card-row .card-visual {
    width: 472px;
    height: 390px;
    flex-shrink: 0;
    border-radius: 36px;
    overflow: hidden;
    display: flex;
}

.project-card-soulka .card-visual img,
.project-card-row .card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.project-card-row.yellow-theme .card-visual img {
    object-position: center center;
}

.project-card-soulka .card-content,
.project-card-row .card-content {
    flex: 1;
    min-width: 0;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 32px;
    padding: 44px 16px 24px 0;
    box-sizing: border-box;
}

.card-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.project-card-soulka .card-title,
.project-card-row .card-title {
    color: #292929;
    font-size: 42px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    margin: 0;
}

.project-card-soulka .card-desc,
.project-card-row .card-desc {
    color: #4F5154;
    font-size: 16px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
    line-height: 25px;
    word-wrap: break-word;
    margin: 0;
    max-width: 576px;
}

.card-footer-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.project-card-soulka .card-tags,
.project-card-row .card-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.card-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #292929;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.card-view-more .view-more-arrow {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card-soulka:hover .card-view-more,
.project-card-row:hover .card-view-more {
    color: #000000;
}

.project-card-soulka:hover .card-view-more .view-more-arrow,
.project-card-row:hover .card-view-more .view-more-arrow {
    transform: translateX(4px);
}

.project-card-soulka .card-tag,
.project-card-row .card-tag {
    height: 36px;
    padding: 8px 16px;
    border-radius: 12px;
    outline: 1px #B7C8B6 solid;
    outline-offset: -1px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #4F5154;
    font-size: 12px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    box-sizing: border-box;
}

@media (max-width: 1020px) {
    .project-card-soulka .card-visual,
    .project-card-row .card-visual {
        width: 400px;
    }

    .project-card-soulka .card-title,
    .project-card-row .card-title {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .project-card-soulka,
    .project-card-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 24px;
        border-radius: 36px;
    }
    .project-card-soulka .card-visual,
    .project-card-row .card-visual,
    .project-card-soulka .card-visual img,
    .project-card-row .card-visual img {
        width: 100%;
        height: auto;
        aspect-ratio: 472 / 390;
    }
    .project-card-soulka .card-content,
    .project-card-row .card-content {
        min-height: auto;
        width: 100%;
        padding: 0;
        gap: 24px;
    }
    .project-card-soulka .card-title,
    .project-card-row .card-title {
        font-size: 32px;
    }
}


/* --- THEMES FOR OTHER PROJECT CARDS --- */
.project-card-row.blue-theme {
    background: #E4F8F7;
    border: 1px solid #DBF2F0;
}
.project-card-row.blue-theme .card-tag {
    outline: 1px #B8D8D5 solid;
}

.project-card-row.yellow-theme {
    background: #FFFBF0;
    border: 1px solid #F5EFE6;
}
.project-card-row.yellow-theme .card-tag {
    outline: 1px #DACDB9 solid;
}

/* Placeholder background colors (one shade darker) */
.project-card-row.blue-theme .card-visual {
    background-color: rgba(0, 0, 0, 0.04);
}

.project-card-row.yellow-theme .card-visual {
    background-color: rgba(0, 0, 0, 0.04);
}

/* --- ABOUT ME SECTION --- */
.about-section {
    position: relative;
    z-index: 1;
    scroll-margin-top: 136px;
    width: 100%;
    max-width: 1152px;
    margin: 120px auto 208px;
    padding: 0 24px;
    box-sizing: border-box;
}

.about-section .section-header {
    margin-bottom: 28px;
}

.about-editorial-stage {
    position: relative;
    container: about-stage / inline-size;
    width: 100%;
    padding-block: clamp(18px, 2.8cqi, 34px) clamp(18px, 3cqi, 36px);
}

.about-display-lockup {
    display: flex;
    flex-direction: column;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    color: #0a0a0c;
    text-transform: uppercase;
    line-height: 0.88;
    letter-spacing: -0.03em;
    user-select: none;
}

.about-name-line {
    display: block;
    font-size: clamp(2.55rem, 14.8cqi, 164px);
    white-space: nowrap;
}

.about-name-first {
    padding-inline-start: clamp(0.5rem, 10cqi, 115px);
}

.about-photo-frame {
    position: absolute;
    top: clamp(-14px, -1.5cqi, 0px);
    right: clamp(10px, 6.2cqi, 72px);
    width: clamp(98px, 19.5cqi, 218px);
    aspect-ratio: 4 / 4.7;
    border-radius: 16px;
    overflow: hidden;
    transform: rotate(13deg);
    box-shadow: 0 20px 44px -8px rgba(10, 10, 12, 0.18), 0 4px 12px rgba(10, 10, 12, 0.08);
    z-index: 2;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
    background-color: #f3f4f6;
}

.about-photo-frame:hover {
    transform: rotate(10deg) translateY(-4px);
    box-shadow: 0 28px 54px -8px rgba(10, 10, 12, 0.22), 0 8px 18px rgba(10, 10, 12, 0.1);
}

.about-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.about-disciplines {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    margin-block-start: clamp(14px, 2vw, 24px);
    margin-block-end: clamp(32px, 4.5vw, 52px);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555A64;
}

.about-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #FFDD03;
    box-shadow: 0 0 0 1px rgba(10, 10, 12, 0.12);
    flex-shrink: 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    padding-block-start: 30px;
    border-top: 1px solid #E5E7EB;
}

.about-lead {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1.375rem, 1rem + 1.1vw, 1.85rem);
    font-weight: 300;
    line-height: 1.38;
    color: #111111;
    margin: 0;
}

.about-highlight {
    position: relative;
    display: inline-block;
    font-weight: 600;
    z-index: 1;
}

.about-highlight::after {
    content: '';
    position: absolute;
    left: -3px;
    right: -4px;
    bottom: 3px;
    height: 10px;
    background-color: #FFDD03;
    z-index: -1;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.66;
    color: #4F5154;
}

.about-body p {
    margin: 0;
}

.about-closing {
    color: #292929;
    font-weight: 500;
    padding-block-start: 2px;
}

.about-actions {
    padding-block-start: 8px;
}

.about-resume-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #111111;
    text-decoration: none;
    padding-block: 4px;
    border-bottom: 2px solid #FFDD03;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.about-resume-link .resume-chevron {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-resume-link:hover {
    color: #000000;
}

.about-resume-link:hover .resume-chevron {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .about-section {
        margin: 80px auto 150px;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-block-start: 26px;
    }

    .about-photo-frame {
        border-radius: 12px;
        right: clamp(12px, 5cqi, 44px);
    }
}

@media (max-width: 540px) {
    .about-section .section-header {
        margin-bottom: 20px;
    }

    .about-editorial-stage {
        padding-block: 12px 20px;
    }

    .about-name-first {
        padding-inline-start: 5%;
    }

    .about-photo-frame {
        width: clamp(78px, 19.5cqi, 102px);
        top: 0;
        right: 16px;
        border-radius: 10px;
        transform: rotate(12deg);
    }

    .about-disciplines {
        gap: 8px 10px;
        font-size: 9.5px;
        letter-spacing: 0.06em;
        margin-block-end: 28px;
    }

    .about-dot {
        width: 5px;
        height: 5px;
    }

    .about-body {
        font-size: 16px;
    }
}

/* --- MOTION TRANSITION: CONFUSION TO CLARITY (Hero Yellow Language) --- */
.untangle-divider {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: clip;
    pointer-events: none;
}

.untangle-svg {
    width: 100%;
    height: clamp(84px, 11.2vw, 175px);
    display: block;
    overflow: visible;
}

/* --- CONTACT SECTION --- */
.contact-section {
    position: relative;
    z-index: 1;
    scroll-margin-top: 136px;
    width: 100%;
    max-width: 1152px;
    margin: 48px auto 40px auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.contact-top {
    display: flex;
    justify-content: space-between;
    align-items:   center;
    margin-bottom:  120px;
}

.contact-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #292929;
    margin: 0;
    line-height: 1.3;
}

.contact-email {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 20px;
    font-weight:  400;
    color: #4F5154;
    
}

.contact-divider {
    height: 1px;
    background-color: #EBF1EB;
    width: 100%;
    margin-bottom: 24px;
}

.contact-bottom {
    display: flex;
    justify-content:  center;
    align-items: center;
}

.contact-copyright {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    color: #8C8C8C;
}

.contact-socials {
    display: flex;
    gap:  32px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #111111;
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .contact-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 24px;
    }
}

.social-icon .social-img {
    width: 26.4px;
    height: 26.4px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-right-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

@media (max-width: 768px) {
    .contact-right-panel {
        align-items: flex-start;
    }
}

.copyable-email {
    user-select: all;
}

.social-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #4F5154;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-text-link:hover {
    color: #111111;
}





.social-text-link .arrow-right {
    display: none;
}

.social-text-link:hover .arrow-up-right {
    display: none;
}

.social-text-link:hover .arrow-right {
    display: inline;
}
