/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-navy: #062B57;
    --warm-sand: #F4F0EC;
    --soft-gold: #D8A24A;
    --steel-blue: #7F95B2;
    --grid-gray: #D9D6D2;
    --white: #FFFFFF;
    --navy-light: rgba(6, 43, 87, 0.05);
    --transition: 0.3s ease;
    --max-width: 1120px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--warm-sand);
    color: var(--deep-navy);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--deep-navy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--soft-gold);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(244, 240, 236, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--grid-gray);
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(6, 43, 87, 0.06);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--deep-navy);
}

.nav-logo span {
    color: var(--soft-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--steel-blue);
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--deep-navy);
}

.nav-cta {
    display: none;
}

@media (min-width: 769px) {
    .nav-cta {
        display: block;
        margin-left: 1rem;
    }
    
    .nav-cta .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
    position: relative;
}

.nav-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--deep-navy);
    margin: 4px 0;
    transition: var(--transition);
}

.nav-mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--warm-sand);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--grid-gray);
        box-shadow: 0 4px 20px rgba(6, 43, 87, 0.08);
    }

    .nav-links.mobile-open {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(127, 149, 178, 0.1);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(216, 162, 74, 0.05);
    }

    .nav-mobile-toggle {
        display: block;
    }
    
    .nav-cta {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        border-top: 1px solid rgba(127, 149, 178, 0.2);
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* ===== HERO ===== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--warm-sand) 0%, #f8f5f1 100%);
}

.hero .container {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Sharp background portrait with left-edge fade only */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: url('../img/hero2.png') no-repeat center right;
    background-size: cover;
    z-index: 1;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 8%,
        rgba(0, 0, 0, 0.7) 15%,
        rgba(0, 0, 0, 0.95) 25%,
        rgb(0, 0, 0) 35%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 8%,
        rgba(0, 0, 0, 0.7) 15%,
        rgba(0, 0, 0, 0.95) 25%,
        rgb(0, 0, 0) 35%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 620px;
}

/* Desktop editorial layout: explicit two-column proportions */
@media (min-width: 1024px) {
    .hero .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: 46% 54%;
        align-items: center;
    }
    
    .hero-content {
        padding-left: max(120px, calc((100vw - 1400px) / 2 + 120px));
        padding-right: 3rem;
        max-width: none;
    }
    
    .hero::before {
        width: 54%;
    }
}

.hero-subtitle {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--steel-blue);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero h1 {
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--steel-blue);
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.hero-metrics {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grid-gray);
}

@media (min-width: 1024px) {
    .hero-metrics {
        gap: 0;
        justify-content: space-between;
    }
    
    .metric {
        flex: 1;
        text-align: left;
    }
}

.metric {
    text-align: left;
}

.metric-number {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-navy);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--steel-blue);
    margin-top: 0.25rem;
}

/* Subtle decorative elements */
.hero-decoration {
    position: absolute;
    top: -8%;
    left: -5%;
    width: 450px;
    height: 450px;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
    animation: heroFloat 25s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(1deg) scale(1.02); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--deep-navy);
    color: var(--white);
}

.btn-primary:hover {
    background: #0a3d7a;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 43, 87, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--deep-navy);
    border: 1.5px solid var(--grid-gray);
}

.btn-secondary:hover {
    border-color: var(--deep-navy);
    color: var(--deep-navy);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--soft-gold);
    border-radius: 2px;
}

.section-header p {
    color: var(--steel-blue);
    margin-top: 1rem;
    max-width: 560px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--grid-gray);
    transition: all var(--transition);
}

.card:hover {
    border-color: var(--steel-blue);
    box-shadow: 0 4px 20px rgba(6, 43, 87, 0.06);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--grid-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

a.timeline-item {
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    margin-left: -1.5rem;
}

a.timeline-item:hover {
    background: var(--white);
    box-shadow: 0 4px 16px rgba(6, 43, 87, 0.05);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--soft-gold);
    border: 2px solid var(--warm-sand);
    margin-left: -4px;
}

.timeline-item.current::before {
    background: var(--deep-navy);
    box-shadow: 0 0 0 4px rgba(6, 43, 87, 0.1);
}

.timeline-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--soft-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-role {
    font-size: 0.875rem;
    color: var(--steel-blue);
    margin-bottom: 0.75rem;
}

.timeline-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.timeline-achievements {
    list-style: none;
}

.timeline-achievements li {
    font-size: 0.8125rem;
    line-height: 1.5;
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.timeline-achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--soft-gold);
}

/* ===== EDUCATION GRID ===== */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.edu-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.75rem;
    border: 1px solid var(--grid-gray);
    transition: all var(--transition);
}

.edu-card:hover {
    border-color: var(--steel-blue);
}

.edu-card-year {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--soft-gold);
    margin-bottom: 0.5rem;
}

.edu-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.edu-card-detail {
    font-size: 0.8125rem;
    color: var(--steel-blue);
}

/* ===== SPEAKING ===== */
.speaking-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.speaking-card .video-embed {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--deep-navy);
}

.speaking-card .video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== POSTS / WRITING ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--grid-gray);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.post-card:hover {
    border-color: var(--soft-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 43, 87, 0.06);
}

/* Decorative SVG in top-right corner */
.post-card-decor {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.post-card-image-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: var(--warm-sand);
}

.post-card-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 43, 87, 0.08) 0%, rgba(216, 162, 74, 0.06) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.post-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) contrast(0.95);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.post-card:hover .post-card-image-wrap img {
    transform: scale(1.03);
    filter: saturate(1) contrast(1);
}

.post-card-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--warm-sand) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--soft-gold) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 20%, var(--grid-gray) 1px, transparent 1px),
        radial-gradient(circle at 60% 40%, var(--soft-gold) 1px, transparent 1px),
        radial-gradient(circle at 80% 25%, var(--grid-gray) 1px, transparent 1px),
        radial-gradient(circle at 30% 60%, var(--grid-gray) 1px, transparent 1px),
        radial-gradient(circle at 70% 70%, var(--soft-gold) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90% 55%, var(--grid-gray) 1px, transparent 1px);
    opacity: 0.5;
}

.post-card-placeholder svg {
    width: 60%;
    height: 60%;
    opacity: 0.12;
}

.post-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--soft-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.post-card-date {
    font-size: 0.75rem;
    color: var(--steel-blue);
    margin-bottom: 0.5rem;
}

.post-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.post-card-excerpt {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--steel-blue);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.post-card-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--soft-gold);
}

/* ===== VOLUNTEERING ===== */
.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--deep-navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40%;
    height: 140%;
    background: radial-gradient(circle, rgba(216, 162, 74, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-section .section-header h2 {
    color: var(--white);
}

.contact-section .section-header p {
    color: var(--steel-blue);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(244, 240, 236, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(244, 240, 236, 0.1);
    transition: all var(--transition);
}

.contact-item:hover {
    background: rgba(244, 240, 236, 0.08);
    border-color: rgba(216, 162, 74, 0.3);
    transform: translateY(-2px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--soft-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--deep-navy);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-details {
    flex-grow: 1;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--steel-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

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

.contact-value:hover {
    color: var(--soft-gold);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-cta {
    text-align: left;
}

.contact-cta h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--steel-blue);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-buttons .btn {
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.contact-buttons .btn-primary {
    background: var(--soft-gold);
    color: var(--deep-navy);
}

.contact-buttons .btn-primary:hover {
    background: #c4912e;
    color: var(--deep-navy);
}

.contact-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(244, 240, 236, 0.2);
}

.contact-buttons .btn-secondary:hover {
    border-color: var(--soft-gold);
    color: var(--soft-gold);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--deep-navy);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--steel-blue);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

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

/* ===== GAME SECTION ===== */
.game-section {
    background: var(--white);
    border-top: 1px solid var(--grid-gray);
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 40%;
    height: 140%;
    background: radial-gradient(circle, rgba(216, 162, 74, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.game-screen {
    display: none;
    animation: gameScreenFadeIn 0.5s ease;
}

.game-screen.active {
    display: block;
}

@keyframes gameScreenFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Start Screen */
.game-start-content {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--warm-sand);
    border-radius: 16px;
    border: 1px solid var(--grid-gray);
    position: relative;
    overflow: hidden;
}

.game-start-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(216, 162, 74, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: gameIconFloat 3s ease-in-out infinite;
}

@keyframes gameIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.game-start-content h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--deep-navy);
    position: relative;
    z-index: 1;
}

.game-start-content p {
    color: var(--steel-blue);
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.game-start-btn {
    font-size: 1rem;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1;
}

/* Game Stats */
.game-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: var(--warm-sand);
    border: 1px solid var(--grid-gray);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(216, 162, 74, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item.danger {
    border-color: #dc3c3c;
    background: rgba(220, 60, 60, 0.02);
    animation: statDanger 1s ease-in-out;
}

.stat-item.warning {
    border-color: var(--soft-gold);
    background: rgba(216, 162, 74, 0.02);
}

@keyframes statDanger {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.stat-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.stat-info {
    flex-grow: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--steel-blue);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-navy);
    transition: color 0.3s ease;
}

.stat-bar {
    width: 100%;
    height: 3px;
    background: rgba(127, 149, 178, 0.15);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.stat-fill {
    height: 100%;
    background: var(--steel-blue);
    border-radius: 2px;
    transition: width 0.8s ease, background-color 0.3s ease;
    position: relative;
}

.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: statShimmer 2s infinite;
}

@keyframes statShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-fill.high {
    background: var(--soft-gold);
}

.stat-fill.low {
    background: #dc3c3c;
}

/* Sprint Progress */
.sprint-progress {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--warm-sand);
    border-radius: 12px;
    border: 1px solid var(--grid-gray);
    position: relative;
    overflow: hidden;
}

.sprint-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--soft-gold), transparent);
    animation: progressGlow 3s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.sprint-progress-label {
    font-size: 0.75rem;
    color: var(--steel-blue);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.sprint-progress-day {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 0.75rem;
}

.sprint-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(127, 149, 178, 0.15);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.sprint-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--soft-gold), #c4912e);
    border-radius: 2px;
    transition: width 0.8s ease, background 0.3s ease;
    width: 10%;
    position: relative;
}

.sprint-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* Event Card */
.game-event-card {
    background: var(--white);
    border: 1px solid var(--grid-gray);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(6, 43, 87, 0.04);
}

.game-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--soft-gold), var(--steel-blue), var(--soft-gold));
    border-radius: 16px 16px 0 0;
}

.event-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--soft-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.event-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-weight: 500;
}

.event-difficulty {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    background: rgba(127, 149, 178, 0.1);
    color: var(--steel-blue);
}

.event-difficulty.medium {
    background: rgba(216, 162, 74, 0.1);
    color: var(--soft-gold);
}

.event-difficulty.hard {
    background: rgba(220, 60, 60, 0.1);
    color: #dc3c3c;
}

/* Game Options */
.game-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.game-option {
    background: var(--warm-sand);
    border: 1px solid var(--grid-gray);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--deep-navy);
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.game-option::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(216, 162, 74, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.game-option:hover::before {
    width: 200%;
    height: 200%;
}

.game-option:hover {
    border-color: var(--soft-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(6, 43, 87, 0.08);
}

.game-option:active {
    transform: translateY(0);
}

/* Game Over Screen */
.game-over-content {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--warm-sand);
    border-radius: 16px;
    border: 1px solid var(--grid-gray);
    position: relative;
    overflow: hidden;
}

.game-over-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(216, 162, 74, 0.03) 0%, transparent 70%);
    animation: gameOverGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gameOverGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.game-over-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: gameOverIconPulse 2s ease-in-out infinite;
}

@keyframes gameOverIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.game-over-content h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--deep-navy);
    position: relative;
    z-index: 1;
}

.game-over-content > p {
    color: var(--steel-blue);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.game-over-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-over-stat {
    background: var(--white);
    border: 1px solid var(--grid-gray);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.game-over-stat .stat-label {
    font-size: 0.75rem;
    color: var(--steel-blue);
    margin-bottom: 0.25rem;
}

.game-over-stat .stat-value {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--soft-gold);
}

.pm-archetype {
    background: var(--white);
    border: 1px solid var(--grid-gray);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.archetype-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.archetype-info {
    text-align: left;
}

.archetype-name {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 0.25rem;
}

.archetype-desc {
    font-size: 0.85rem;
    color: var(--steel-blue);
    line-height: 1.4;
}

.game-cta {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.game-cta p {
    font-size: 1rem;
    color: var(--steel-blue);
    margin-bottom: 1.5rem;
}

/* ===== EASTER EGG: STAKEHOLDER POPUP ===== */
.stakeholder-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 43, 87, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.stakeholder-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.stakeholder-popup {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(6, 43, 87, 0.3);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
}

.stakeholder-popup-overlay.active .stakeholder-popup {
    transform: scale(1) translateY(0);
}

.stakeholder-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--steel-blue);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all var(--transition);
}

.stakeholder-popup-close:hover {
    background: var(--warm-sand);
    color: var(--deep-navy);
}

.stakeholder-popup-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: stakeholderPulse 2s ease-in-out infinite;
}

@keyframes stakeholderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stakeholder-popup-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
    text-align: center;
}

.stakeholder-popup-subtitle {
    font-size: 0.875rem;
    color: var(--steel-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.stakeholder-popup-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.stakeholder-popup-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
}

/* Loading dots animation */
.stakeholder-loading {
    display: inline-flex;
    gap: 0.25rem;
}

.stakeholder-loading span {
    width: 4px;
    height: 4px;
    background: var(--steel-blue);
    border-radius: 50%;
    animation: stakeholderDot 1.4s ease-in-out infinite;
}

.stakeholder-loading span:nth-child(1) {
    animation-delay: 0s;
}

.stakeholder-loading span:nth-child(2) {
    animation-delay: 0.2s;
}

.stakeholder-loading span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes stakeholderDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Responsive Game Styles */
@media (max-width: 768px) {
    .stakeholder-popup {
        padding: 2rem 1.5rem;
    }
    
    .stakeholder-popup-title {
        font-size: 1.25rem;
    }
    
    .game-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .game-options {
        grid-template-columns: 1fr;
    }
    
    .game-over-stats {
        grid-template-columns: 1fr;
    }
    
    .pm-archetype {
        flex-direction: column;
        text-align: center;
    }
    
    .archetype-info {
        text-align: center;
    }
    
    .game-start-content,
    .game-over-content {
        padding: 2rem 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 70vh;
    }

    /* Hide background portrait on mobile */
    .hero::before {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-decoration {
        opacity: 0.08;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .speaking-card {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* Contact section mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.25rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .contact-buttons .btn {
        flex: 1;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}


/* ===== CASE STUDIES ===== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.case-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.case-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-card-company {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--soft-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-card-time {
    font-size: 0.75rem;
    color: var(--steel-blue);
}

.case-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--deep-navy);
}

.case-card-summary {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--steel-blue);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--deep-navy);
    background: var(--warm-sand);
    border: 1px solid var(--grid-gray);
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    white-space: nowrap;
}

.case-card-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--soft-gold);
    margin-top: auto;
    padding-top: 0.5rem;
    transition: color var(--transition);
}

.case-card-link:hover {
    color: var(--deep-navy);
}

.case-loading {
    text-align: center;
    padding: 3rem;
    color: var(--steel-blue);
}

/* ===== CASE PAGE ===== */
.case-page {
    max-width: 720px;
}

.case-page-header {
    margin-bottom: 3rem;
}

.case-back-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--steel-blue);
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: color var(--transition);
}

.case-back-link:hover {
    color: var(--deep-navy);
}

.case-page-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.case-page-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.case-page-summary {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--steel-blue);
}

.case-page-body {
    margin-bottom: 3rem;
}

.case-page-body h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--grid-gray);
}

.case-page-body h2:first-child {
    margin-top: 0;
}

.case-page-body p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.case-page-body ul,
.case-page-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.case-page-body li {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.case-page-body ul li {
    list-style: none;
    position: relative;
    padding-left: 1rem;
}

.case-page-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--soft-gold);
}

.case-page-body strong {
    color: var(--deep-navy);
    font-weight: 600;
}

.case-page-competencies {
    background: var(--white);
    border: 1px solid var(--grid-gray);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.case-page-competencies h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.case-page-competencies .case-card-tags {
    gap: 0.5rem;
}

.case-page-competencies .case-tag {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
}

.case-page-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
}


/* ===== PROFESSIONAL OVERVIEW ===== */
.professional-overview-grid {
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 4rem;
    align-items: start;
}

.professional-overview-title {
    position: sticky;
    top: 96px;
}

.professional-overview-title h2::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--soft-gold);
    border-radius: 2px;
    margin-top: 12px;
}

.professional-overview-content {
    display: flex;
    flex-direction: column;
}

.overview-item p {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--deep-navy);
    margin: 0;
    padding: 32px 0;
}

.overview-item:first-child p {
    padding-top: 0;
}

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

.overview-divider {
    width: 100%;
    height: 1px;
    background: var(--grid-gray);
}

@media (max-width: 768px) {
    .professional-overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .professional-overview-title {
        position: static;
    }

    .overview-item p {
        font-size: 1rem;
        padding: 24px 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .professional-overview-grid {
        gap: 2.5rem;
    }

    .overview-item p {
        font-size: 1.0625rem;
        padding: 28px 0;
    }
}

/* ===== NAV: tighter spacing on mid-width screens (8 links) ===== */
@media (min-width: 769px) and (max-width: 1180px) {
    .nav-links {
        gap: 1.1rem;
    }

    .nav-links a {
        font-size: 0.8125rem;
    }

    .nav-cta {
        margin-left: 0.25rem;
    }
}

@media (min-width: 769px) and (max-width: 960px) {
    .nav-cta {
        display: none;
    }
}

/* ===== SIDE PROJECTS ===== */
.lab-principles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: -1.5rem 0 3rem;
    list-style: none;
}

.lab-principles li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--deep-navy);
    background: var(--white);
    border: 1px solid var(--grid-gray);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
}

.lab-principles li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--soft-gold);
    margin-right: 0.5rem;
    vertical-align: middle;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    background: var(--white);
    border: 1px solid var(--grid-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.project:hover {
    border-color: var(--steel-blue);
    box-shadow: 0 8px 28px rgba(6, 43, 87, 0.06);
}

.project-visual {
    position: relative;
    background: linear-gradient(160deg, var(--warm-sand) 0%, #EDE7E0 100%);
    border-right: 1px solid var(--grid-gray);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    overflow: hidden;
}

.project-body {
    padding: 2.5rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.project-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--soft-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(6, 43, 87, 0.06);
    color: var(--deep-navy);
}

.project-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.project-status.live {
    background: rgba(46, 125, 80, 0.1);
    color: #2E7D50;
}

.project-status.building {
    background: rgba(216, 162, 74, 0.14);
    color: #A06F1C;
}

.project h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.project-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--deep-navy);
    margin-bottom: 1.75rem;
}

.project-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
    margin-bottom: 1.75rem;
}

.project-point h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--steel-blue);
    margin-bottom: 0.4rem;
}

.project-point p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--grid-gray);
    border-bottom: 1px solid var(--grid-gray);
    margin-bottom: 1.75rem;
}

.project-stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--deep-navy);
}

.project-stat-label {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--steel-blue);
    margin-top: 0.3rem;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-links .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.8125rem;
}

.project-note {
    font-size: 0.85rem;
    color: var(--steel-blue);
    margin: 0;
}

/* Job Hunter visual: logo + funnel */
.jh-logo {
    width: 128px;
    height: 128px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--grid-gray);
    padding: 10px;
    box-shadow: 0 6px 20px rgba(6, 43, 87, 0.06);
}

.jh-funnel {
    width: 100%;
    max-width: 300px;
    background: var(--white);
    border: 1px solid var(--grid-gray);
    border-radius: 12px;
    padding: 1rem 1.1rem 1.1rem;
}

.jh-funnel-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--steel-blue);
    margin-bottom: 0.75rem;
}

.jh-funnel-row {
    display: grid;
    grid-template-columns: 78px 1fr;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
    color: var(--deep-navy);
}

.jh-funnel-bar {
    height: 14px;
    border-radius: 4px;
    background: var(--steel-blue);
    opacity: 0.55;
}

.jh-funnel-row.leak .jh-funnel-bar {
    background: var(--soft-gold);
    opacity: 1;
}

.jh-funnel-caption {
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--steel-blue);
    margin: 0.6rem 0 0;
}

.jh-funnel-caption strong {
    color: #A06F1C;
}

/* Pix visual: round screen with goal ring */
.project-visual.pix-visual {
    background: radial-gradient(circle at 50% 42%, #2a3550 0%, #121a2c 70%);
}

.pix-device {
    position: relative;
    width: 232px;
    height: 232px;
}

.pix-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pix-ring-seg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke 0.4s ease;
}

.pix-ring-seg.done {
    stroke: var(--soft-gold);
}

.pix-screen {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #FFFBEA 0%, #F3EBD8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.25);
}

.pix-screen img {
    width: 150px;
    height: 150px;
    image-rendering: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.pix-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.pix-done-btn {
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--deep-navy);
    background: var(--soft-gold);
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.pix-done-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(216, 162, 74, 0.35);
}

.pix-done-btn:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.pix-done-btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.pix-caption {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    min-height: 1.2em;
    margin: 0;
}

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

    .project-visual {
        border-right: none;
        border-bottom: 1px solid var(--grid-gray);
    }
}

@media (max-width: 600px) {
    .project-body {
        padding: 1.75rem 1.25rem;
    }

    .project-visual {
        padding: 2rem 1.25rem;
    }

    .project h3 {
        font-size: 1.35rem;
    }

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

    .project-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lab-principles {
        margin-top: -1rem;
    }
}
