/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Avenir', 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a{
    color: #05A0D1;
    text-decoration:none;
    cursor: pointer;
}

button {
    cursor: pointer;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1a1a1a;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero proof line: one-line evidence-backed subhead under the h1, added 2026-07-31 so the hero
   names the actual differentiator (engineer-turned-designer, shipped-at-scale) instead of staying
   generic. Bottom margin gives clearance before the CTA buttons below it. */
.hero-proof-line {
    font-size: 18px;
    color: #666;
    max-width: 640px;
    margin: 16px auto 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 8px 0px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}


.secondary-button {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    /*color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    color:#764ba2;
    text-decoration: none;
    border-bottom-width: 2px;
    border-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left-width: 2px;
    border-right-width: 2px;
    border-style: solid;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 8px 0px;
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}


/* Highlights Strip — cross-case-study proof points, shown before the project grid
   so a visitor gets a portfolio-wide hook before picking which case study to open. */
.highlights-strip {
    padding: 48px 0;
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}

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

.highlight-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-label {
    font-size: 14px;
    color: #666;
}

@media (max-width: 480px) {
    .highlight-number {
        font-size: 24px;
    }
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: #fafafa;
}

.projects h2 {
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 64px;
}

/*cards slide on top of one another */
.project-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));*/
    gap: 32px;
}


.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    /*background-color: #ffffff; Initial color #fcebef (pink shade) */
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/*Colored cards, Vertical stacking, responsive */
.project-card-v1 {
    align-content: center;
    align-items: center;
    background: linear-gradient(125deg, var(--token-7271da1b-9f0a-41bd-91b9-d7098d8944de, #f4edff) 0%, var(--token-a37e6c3e-a10c-437b-b258-07d1d49555da, rgb(252, 235, 239)) 100%);
    border-radius: 40px;
    box-shadow: 0.6021873017743928px 1.8065619053231785px -1.25px #0000002e, 0 2.288533303243457px 6.8655999097303715px -2.5px #00000029, 0 10px 30px -3.75px #0000000f;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap; /*Set to wrap for vertical stacking */
    gap: 40px;
    /*height: 80vh;*/ /* removed this */
    justify-content:flex-start; /* Initally set to space-evenly */
    max-width: 1200px;
    min-height: 620px;
    overflow: hidden; /*defines wrapping*/
    padding: 32px 40px;
    position: sticky;
    top: 72px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform; /* original value: var(transform) */
    z-index: 1;
    cursor: pointer;
}

.project-card-v1:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/*white cards vertically stacked, but reponsive */

/* UNUSED (audit 2026-07-31): .project-card-v2 not applied by any HTML element
.project-card-v2 {
    align-content: center;
    align-items: center;
    background: white;
    background: linear-gradient(125deg, var(--token-7271da1b-9f0a-41bd-91b9-d7098d8944de, #f4edff) 0%, var(--token-a37e6c3e-a10c-437b-b258-07d1d49555da, rgb(252, 235, 239)) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
    height: 80vh;
    justify-content: flex-start;
    max-width: 1200px;
    min-height: 620px;
    overflow: hidden;
    padding: 32px 40px;
    top: 72px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: var(transform);
    cursor: pointer;
}
*/



/* UNUSED (audit 2026-07-31): .project-card-v3 not applied by any HTML element
.project-card-v3 {
    align-content: center;
    align-items: center;
    display: flex;
    padding: 32px 40px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
*/

/* UNUSED (audit 2026-07-31): .project-card-v4 not applied by any HTML element
.project-card-v4{
    align-content: center;
    align-items: center;
    background: linear-gradient(125deg, var(--token-7271da1b-9f0a-41bd-91b9-d7098d8944de, #f4edff) 0%, var(--token-a37e6c3e-a10c-437b-b258-07d1d49555da, rgb(252, 235, 239)) 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    will-change: var(transform);
    z-index: 1;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
    justify-content: flex-start;
    padding: 20px;
    position: sticky;
    top: 72px;
    width: 100%;
}
*/

/* UNUSED (audit 2026-07-31): .project-image-old / ::after not applied by any HTML element
.project-image-old {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.project-image-old::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
}
*/

/*white background*/
.project-image {
    width: 50%; /* Changed from 50% */
    height: auto;
    position: relative;
    overflow: hidden;
}

/*white background, vertical stacking*/
.project-image-v1 {
    display: block;
    width: 50%; /* Changed from 50% */
    height: relative; /* original value relative */
    /*position: relative;*/
    margin:auto;
    top: 24px;
    /*overflow: hidden;*/
    /* newly added below*/
    /*max-height: 450px;*/
    object-fit: cover;
}

/* UNUSED (audit 2026-07-31): .project-image-v2 not applied by any HTML element
.project-image-v2 {
    display: flex;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 50%;
    height: relative;
    position: relative;
    margin:auto;
    top: 24px;
    overflow: hidden;
}
*/

/* UNUSED (audit 2026-07-31): .project-container not applied by any HTML element
.project-container {
    width: 100%;
    height: 240px;
    object-position:center;
    object-fit: contain;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}
*/

.project-content {
    padding: 32px;
}

/* No pill background, solid-color text — replaced the earlier white-pill/grey-text treatment
   2026-07-31, then switched from gradient-clipped text to this solid #764ba2 the same day to
   match .project-stats strong's color, so the tag and the card's own metrics read as the same
   "accent purple" rather than two different treatments. */
.project-tag {
    display: inline-block;
    color: #764ba2;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.project-description {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Project stats: inline key-metrics row added to every project card 2026-07-31 (all 6 cards get
   equal weight, matching the site's existing equal-weight card layout — a deliberate choice, not
   a gap). Numbers match each case study's own hero stat-badges. */
.project-stats {
    display: flex;
    gap: 24px;
    margin: 16px 0 24px;
    flex-wrap: wrap;
}
.project-stats span {
    font-size: 16px;
    color: #444;
}
.project-stats strong {
    color: #764ba2;
    font-weight: 700;
    font-size: 18px;
}

/* UNUSED (audit 2026-07-31): .project-link / :hover not applied by any HTML element
.project-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #764ba2;
}
*/

/* Ways of Working */
.ways-of-working {
    padding: 80px 0;
    background-color: #ffffff;
}

.ways-pill {
    align-content: center;
    align-items: center;
    backdrop-filter: blur(7px);
    background: linear-gradient(125deg, var(--token-7271da1b-9f0a-41bd-91b9-d7098d8944de, #f4edff) 0%, var(--token-a37e6c3e-a10c-437b-b258-07d1d49555da, rgb(252, 235, 239)) 100%);
    border-radius: 32px;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3px;
    height: min-content;
    justify-content: center;
    overflow: visible;
    padding: 8px 24px 8px 20px;
    position: relative;
    width: max-content;
    font-size: 24px;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 12px;
}

.ways-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /*cursor: pointer;*/
}

/* UNUSED (audit 2026-07-31): .ways-bullet-point not applied by any HTML element
.ways-bullet-point {
    background: white;
    overflow: hidden;
    outline: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 16px;
}
*/

.ways-container {
    align-content: flex-start;
    align-items: flex-start;
    align-self: start;
    background-color: #fff;
    border-radius: 24px;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    height: min-content;
    justify-content: flex-start;
    justify-self: start;
    overflow: hidden;
    padding: 24px;
    position: relative;
    width: 100%;
}

.ways-icon-box {
    aspect-ratio: 1 / 1;
    background: linear-gradient(152deg, var(--token-7271da1b-9f0a-41bd-91b9-d7098d8944de, #f4edff) 0%, var(--token-a37e6c3e-a10c-437b-b258-07d1d49555da, rgb(252, 235, 239)) 141%);
    border-radius: 24px;
    flex: none;
    overflow: hidden;
    position: relative;
    width: 100px;
}

.ways-icon {
    flex: none;
    height: 42px;
    left: calc(50.00000000000002% - 42px / 2);
    position: absolute;
    top: calc(48.75000000000002% - 42px / 2);
    width: 42px;
}

.ways-image {
    width: 100%;
    height: 48px;
    position: relative;
    overflow: hidden;
}

.ways-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.ways-subheader {
    font-size: 48px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

/* "How I operate at Staff level" cards: replaced the generic craft-skills grid (Ideation/UX
   Design/UI Design/etc.) 2026-07-31 — that list read as proof of basic competency rather than
   differentiating a Staff-level candidate. Built from evidence already in the About bio, reusing
   the site's icon+title+description card language. */
.staff-signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.staff-signal-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 28px 24px;
}
.staff-signal-card svg {
    width: 28px;
    height: 28px;
    color: #764ba2;
    margin-bottom: 16px;
}
.staff-signal-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.staff-signal-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.ways-title {
    color: #1a1a1a;
    flex: none;
    height: auto;
    position: relative;
    white-space: pre-wrap;
    width: 100%;
    word-break: break-word;
    word-wrap: break-word;
    outline: none; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    flex-shrink: 0; 
    transform: none;"

}

.ways-subtitle {
    font-size: 16px;
    font-weight: 200;
    /*margin-bottom: 8px;*/
    color: #666666;
    outline: none; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    flex-shrink: 0; 
    transform: none;"
}

/* UNUSED (audit 2026-07-31): .ways-item / h3 not applied by any HTML element
.ways-item {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.ways-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}
*/


/* UNUSED (audit 2026-07-31): .ways-right-section-bullet / p not applied by any HTML element
.ways-right-section-bullet {
    padding-bottom: 60px;
}

.ways-right-section-bullet p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
}
*/

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fafafa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 32px;
}

.about-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.7;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.skill-tag {
    background: #f0f0f0;
    color: #666;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
}

/* Contact */
.contact {
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 32px;
}

.contact p {
    font-size: 18px;
    color: #666;
    margin-bottom: 48px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* Responsive Design */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero .subtitle {
        font-size: 20px;
    }

    .projects h2,
    .about-text h2,
    .ways-header h2,
    .contact h2 {
        font-size: 36px;
    }

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

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .ways-item {
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .container {
        padding: 0 16px;
    }

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

    /* Mobile project card adjustments */
    .project-card-v1,
    .project-card-v2,
    .project-card-v4 {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-radius: 24px;
        position: relative;
        top: 0;
        min-height: auto;
    }

    .project-card-v1 > div:first-child {
        width: 100%;
    }
    
    .project-image-v1 {
        /*max-height: 280px;*/
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .projects h2,
    .about-text h2,
    .ways-header h2,
    .contact h2 {
        font-size: 28px;
    }

    .project-content {
        padding: 24px;
    }

    .cta-button {
        padding: 12px 24px;
        /*font-size: 14px;*/
    }

    /* Mobile project card adjustments */
    .project-card-v1,
    .project-card-v2,
    .project-card-v4 {
        padding: 20px;
        gap: 16px;
    }
    
    .project-image-v1 {
        /*max-height: 220px;*/
        border-radius: 12px;
    }

}


/* ---- Moved from page-level <style> blocks ---- */
      .section-title { font-size: 32px; font-weight: 700; color: #1a1a1a; text-align: center; margin: 0 0 24px; }
          .proof-hl { font-weight: 700; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
      .hero-proof-line { font-size: 1.25rem; font-weight: 500; color: #1a1a1a; max-width: 720px; }
          h2.section-title { font-size: 32px !important; font-weight: 700 !important; margin-bottom: 24px !important; text-align: center; }
      #how-i-use-ai .staff-signal-card, #ways .staff-signal-card { text-align: center; }
      #how-i-use-ai .staff-signal-card svg, #ways .staff-signal-card svg { display: block; margin: 0 auto 16px; }
      .about-centered { text-align: center; max-width: 720px; margin: 0 auto; }
      .about-centered .about-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 24px; }
      .about-centered .about-lede { font-size: 1.15rem; color: #1a1a1a; margin-bottom: 16px; }
      .about-centered p { color: #444; line-height: 1.7; }
      .about-centered .skills { justify-content: center; }

/* Homepage "How I use AI" section: intro line and quieter two-column cards. */
#how-i-use-ai .ai-lead{max-width:720px;margin:0 auto;text-align:center;font-size:1.05rem;line-height:1.6;color:#444}
#how-i-use-ai .staff-signals-grid{grid-template-columns:repeat(2,1fr);gap:20px;margin-top:32px}
#how-i-use-ai .staff-signal-card{display:grid;grid-template-columns:44px 1fr;column-gap:16px;align-items:start;text-align:left;padding:24px}
#how-i-use-ai .staff-signal-card svg{grid-row:1 / span 2;width:44px;height:44px;margin:0;padding:11px;box-sizing:border-box;border-radius:12px;color:#764ba2;background:#f5f1fb}
#how-i-use-ai .staff-signal-card h3{margin:0 0 6px;font-size:18px}
#how-i-use-ai .staff-signal-card p{margin:0;font-size:15px}
@media(max-width:720px){#how-i-use-ai .staff-signals-grid{grid-template-columns:1fr}}
