@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Balsamiq+Sans:wght@400;700&display=swap');

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

:root {
    --cream: oklch(98.4% 0.003 247.858);   /* page background */
    --soft-peach: oklch(96% 0.005 248);     /* tags, badges, nav hover */
    --coral: oklch(44.3% 0.11 240.79);        /* primary accent */
    --warm-yellow: oklch(91% 0.006 248);     /* border/stroke */
    --teal: oklch(44.3% 0.11 240.79);         /* primary button */
    --dark-brown: oklch(22% 0.018 258);      /* headings, logo */
    --text-dark: oklch(22% 0.018 258);       /* primary text */
    --text-light: oklch(48% 0.012 252);      /* body/secondary text */
    --white: oklch(100% 0 0);                /* card surfaces */
    --dusty-blue: oklch(70% 0.035 248);      /* timeline, secondary accents */
    --warm-beige: oklch(91% 0.006 248);      /* card borders */
    --sage-green: oklch(44.3% 0.11 240.79);   /* project link accent */
    --site-max-width: 1080px;
    --site-gutter: 18px;
    --grid-gap: 1.6rem;
    --content-span-9: 75%;
    --fixed-nav-offset: 6.25rem;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 23px;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--cream);
}

.container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-gutter);
}

/* Whimsical decorative elements */
.floating-element {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.sun-doodle {
    width: 60px;
    height: 60px;
    background: var(--soft-peach);
    border-radius: 50%;
    position: relative;
}

.sun-doodle::before {
    content: '☀️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.flower-doodle {
    font-size: 2rem;
    color: var(--dusty-blue);
}

/* Header */
header {
    background-color: var(--cream);
    background-image: radial-gradient(oklch(22% 0.018 258 / 0.13) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    padding: var(--fixed-nav-offset) 0 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 54vh;
}

/* Top Navigation Bar */
.top-nav {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gap);
    width: min(100%, var(--site-max-width));
    max-width: var(--site-max-width);
    margin: 0 auto;
    background: transparent;
    padding: 0.9rem var(--site-gutter);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.nav-container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gap);
    grid-column: 2 / span 10;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.6rem var(--site-gutter);
    border: 1.5px solid oklch(22% 0.018 258 / 0.15);
    border-radius: 50px;
    background: oklch(100% 0 0 / 0.85);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'DM Sans', sans-serif;
    grid-column: 1 / span 2;
    justify-self: start;
    font-size: 1.1rem;
    color: var(--dark-brown);
    font-weight: 700;
    text-decoration: none;
    padding: 2px 10px;
    border-radius: 4px;
    background: linear-gradient(oklch(82% 0.07 240.79), oklch(82% 0.07 240.79)) no-repeat left center / 0% 100%;
    transition: background-size 0.28s ease, color 0.28s ease;
}

.logo:hover {
    background-size: 100% 100%;
    color: var(--dark-brown);
}

.nav-links {
    grid-column: 9 / span 2;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    padding: 2px 10px;
    border-radius: 4px;
    background: linear-gradient(oklch(82% 0.07 240.79), oklch(82% 0.07 240.79)) no-repeat left center / 0% 100%;
    transition: background-size 0.28s ease, color 0.28s ease;
}

.nav-links a:hover {
    background-size: 100% 100%;
    color: var(--dark-brown);
}

.nav-contact-icons {
    grid-column: 11 / span 2;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.5rem;
}

.nav-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), color 0.2s ease;
}

.nav-icon-link svg {
    width: 22px;
    height: 22px;
}

.nav-icon-link--email:hover {
    transform: rotate(-14deg);
    color: var(--teal);
}

.nav-icon-link--linkedin:hover {
    transform: rotate(14deg);
    color: var(--teal);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: center;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-gutter);
    min-height: 36vh;
}

.hero-content {
    grid-column: 2 / span 5;
    text-align: left;
}


.hero-content h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 34px;
    line-height: 42px;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-content h1 .highlight {
    background: oklch(82% 0.07 240.79);
    color: var(--dark-brown);
    padding: 2px 10px;
    border-radius: 4px;
    display: inline;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}

.hero-description {
    font-size: 17px;
    line-height: 25px;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Hero Image Section */
.hero-image-section {
    position: relative;
    display: flex;
    grid-column: 8 / span 4;
    justify-content: center;
    align-items: center;
}

.photo-wrapper {
    position: relative;
    display: inline-block;
}

.photo-frame {
    width: 248px;
    height: 308px;
    border-radius: 16px;
    border: 4px solid var(--coral);
    transform: rotate(2.5deg);
    overflow: hidden;
    box-shadow: 0 20px 50px oklch(22% 0.018 258 / 0.12);
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease;
}

.photo-wrapper:hover .photo-frame {
    transform: rotate(-2deg);
    box-shadow: 0 28px 60px oklch(22% 0.018 258 / 0.18);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 50%;
}

.sparkle {
    position: absolute;
    pointer-events: none;
    font-style: normal;
    line-height: 1;
}

.sparkle-1 {
    top: -20px;
    right: 40px;
    font-size: 2.2rem;
    color: var(--coral);
}

.sparkle-2 {
    top: 160px;
    left: -30px;
    font-size: 1.6rem;
    color: oklch(82% 0.07 240.79);
}

.sparkle-3 {
    bottom: 40px;
    right: -20px;
    font-size: 2.6rem;
    color: oklch(82% 0.07 240.79);
}

.hero-location {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 1.2rem;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 6px 20px oklch(44.3% 0.11 240.79 / 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px oklch(44.3% 0.11 240.79 / 0.35);
    background: oklch(37% 0.12 240.79);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--coral);
}

.btn-outline:hover {
    background: var(--coral);
    color: var(--white);
    transform: translateY(-3px);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid oklch(22% 0.018 258 / 0.2);
    background: oklch(100% 0 0 / 0.7);
    text-decoration: none;
    animation: bounce 2s ease-in-out infinite;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.scroll-indicator:hover {
    color: var(--coral);
    border-color: var(--coral);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* Navigation */
nav {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--soft-peach);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav a:hover {
    color: var(--coral);
    background: var(--soft-peach);
}

.section-breadcrumb {
    position: fixed;
    top: 50%;
    left: max(1rem, calc((100vw - var(--site-max-width)) / 2 - 7.4rem));
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.65rem 0 0.65rem 0.75rem;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    transform: translateY(-50%);
}

.section-breadcrumb::before {
    content: '';
    position: absolute;
    top: 1.1rem;
    bottom: 1.1rem;
    left: calc(0.75rem + 4px);
    width: 1.5px;
    border-radius: 999px;
    background: oklch(22% 0.018 258 / 0.14);
}

.section-breadcrumb a {
    display: grid;
    grid-template-columns: 12px max-content;
    align-items: center;
    gap: 0.55rem;
    min-height: 30px;
    padding: 0.2rem 0.45rem 0.2rem 0;
    color: oklch(48% 0.012 252 / 0.72);
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 4px;
    background: transparent;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.section-breadcrumb a::before {
    content: '';
    position: relative;
    z-index: 1;
    width: 9px;
    height: 9px;
    border: 1.5px solid oklch(22% 0.018 258 / 0.22);
    border-radius: 999px;
    background: var(--cream);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-breadcrumb a:not(.is-active):hover {
    color: var(--text-dark);
    background: transparent;
}

.section-breadcrumb a.is-active {
    color: var(--coral);
    font-weight: 700;
}

.section-breadcrumb a.is-active::before {
    border-color: var(--coral);
    background: var(--coral);
    box-shadow: 0 0 0 4px oklch(44.3% 0.11 240.79 / 0.12);
}

@media (max-width: 1280px) {
    .section-breadcrumb {
        left: 0.75rem;
        padding: 0.65rem 0.55rem 0.65rem 0.75rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .section-breadcrumb a {
        grid-template-columns: 12px max-content;
        max-width: none;
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .section-breadcrumb {
        display: none;
    }
}

/* Sections */
section {
    padding: 4.2rem 0;
    position: relative;
    scroll-margin-top: var(--fixed-nav-offset);
}

header {
    scroll-margin-top: var(--fixed-nav-offset);
}

section:nth-child(even) {
    background: var(--white);
}

h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    line-height: 36px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

h2::after {
    content: '';
    width: 80px;
    height: 6px;
    background: var(--coral);
    display: block;
    margin: 1rem auto;
    border-radius: 3px;
    position: relative;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap);
    width: var(--content-span-9);
    margin: 0 auto;
}

.projects-subsection {
    width: var(--content-span-9);
    margin: 3rem auto 1.25rem;
}

.projects-subsection h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    line-height: 36px;
    text-align: center;
    font-weight: 400;
    color: var(--text-dark);
    position: relative;
}

.projects-subsection h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    margin: 1rem auto;
    border-radius: 3px;
    background: var(--coral);
}

.project-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid var(--warm-beige);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover,
.project-card.fade-in.visible:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px oklch(22% 0.018 258 / 0.1);
    border-color: var(--sage-green);
}

.project-image {
    height: 240px;
    background: linear-gradient(135deg, var(--dusty-blue), var(--sage-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
}

.project-content {
    padding: 1.45rem;
}

.project-content p {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-light);
}

.project-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 400;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tag {
    background: var(--soft-peach);
    color: var(--text-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}


#convopal-card::after {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 0.8rem;
    color: var(--teal);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#convopal-card:hover::after {
    opacity: 1;
}

/* Experience Timeline */
#experience {
    padding: 3.3rem 0;
}

.timeline {
    position: relative;
    width: var(--content-span-9);
    max-width: 820px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--dusty-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 0.75rem 1.35rem;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 42px;
    height: 42px;
    right: -21px;
    background: var(--white);
    border: 3px solid var(--dusty-blue);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Individual timeline item icons */

.timeline-item:nth-child(1)::after {
    background-image: url('./images/journey/engie.jpg');
}

.timeline-item:nth-child(2)::after {
    background-image: url('./images/journey/dscnus_logo.jpeg');
}

.timeline-item:nth-child(3)::after {
    background-image: url('./images/journey/orbital.png');
    left: -25px;
}

.timeline-item:nth-child(4)::after {
    background-image: url('./images/journey/nuspickleballlogo.png');
}

.timeline-item:nth-child(5)::after {
    background-image: url('./images/journey/witlogo.jpeg');
    left: -25px;
}

.timeline-item:nth-child(6)::after {
    background-image: url('./images/journey/helixhouse.png');
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -21px;
}

.timeline-content {
    background: var(--white);
    padding: 1.05rem 1.15rem;
    border-radius: 10px;
    border: 2px solid var(--warm-beige);
    position: relative;
}

.timeline-content p {
    font-size: 14.5px;
    line-height: 21px;
    color: var(--text-light);
}

.timeline-content h3 {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 17px;
    line-height: 23px;
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    background: var(--cream);
    color: var(--text-dark);
    text-align: left;
    position: relative;
    padding: 3.3rem 0;
}

.contact-section h2 {
    width: var(--content-span-9);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.contact-section h2::after {
    margin: 1rem 0;
}

.contact-intro {
    width: var(--content-span-9);
    font-size: 15px;
    line-height: 22px;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.6rem;
    width: var(--content-span-9);
    margin: 0 auto;
    align-items: start;
}

.contact-section h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.field-label {
    display: block;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.contact-block {
    margin-bottom: 1.55rem;
}

.contact-block p,
.contact-social {
    font-size: 15px;
    line-height: 22px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.contact-block p {
    text-decoration: none;
}

.contact-social {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-social:hover {
    color: var(--coral);
}

.contact-email-link {
    color: var(--text-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-email-link:hover {
    color: var(--coral);
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid oklch(22% 0.018 258 / 0.18);
    background: transparent;
    padding: 0.35rem 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: var(--text-light);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: oklch(70% 0.008 248);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
}

.form-group textarea {
    height: 86px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: oklch(37% 0.12 240.79);
    transform: translateY(-3px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Decorative elements */
.section-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --fixed-nav-offset: 5.8rem;
    }

    body {
        font-size: 15px;
        line-height: 23px;
    }

    .container {
        width: min(100% - 28px, 1080px);
        padding: 0;
    }

    header {
        overflow: visible;
        min-height: auto;
        padding: var(--fixed-nav-offset) 0 2.2rem;
    }

    .top-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        margin: 0 auto;
        padding: 0.75rem 14px;
        transform: none;
        z-index: 2000;
    }

    .nav-container {
        grid-column: 1;
        grid-template-columns: auto auto 1fr auto;
        gap: 0.45rem;
        padding: 0.55rem 0.85rem;
    }

    .logo {
        grid-column: 1;
        font-size: 1rem;
    }

    .nav-links {
        grid-column: 2;
        display: flex;
        justify-content: flex-start;
    }

    .nav-links a {
        font-size: 0.95rem;
        line-height: 1.35rem;
        padding-inline: 8px;
    }

    .nav-contact-icons {
        grid-column: 4;
        gap: 0.25rem;
    }

    .nav-icon-link {
        width: 34px;
        height: 34px;
    }

    .nav-icon-link svg {
        width: 19px;
        height: 19px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        text-align: center;
        width: min(100% - 28px, 1080px);
        padding: 0;
        min-height: auto;
    }

    .hero-content {
        order: 2;
        grid-column: 1;
        text-align: center;
    }

    .hero-image-section {
        order: 1;
        grid-column: 1;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 2.45rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.55rem;
        margin-bottom: 0;
    }

    .photo-frame {
        width: min(62vw, 195px);
        height: min(76vw, 248px);
        border-width: 3px;
        border-radius: 14px;
    }

    .sparkle-1 {
        right: 18px;
        font-size: 1.45rem;
    }

    .sparkle-2 {
        top: 110px;
        left: -16px;
        font-size: 1.15rem;
    }

    .sparkle-3 {
        right: -10px;
        bottom: 28px;
        font-size: 1.65rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
    }

    .projects-subsection {
        width: 100%;
        margin: 2.3rem auto 1rem;
    }

    .projects-subsection h3 {
        font-size: 1.65rem;
        line-height: 2.1rem;
    }

    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 1.65rem;
        line-height: 2.1rem;
        margin-bottom: 2rem;
    }

    .project-image {
        height: clamp(190px, 58vw, 260px);
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
        line-height: 1.45rem;
    }

    .project-content p {
        font-size: 0.96rem;
        line-height: 1.5rem;
    }

    .tag {
        font-size: 0.82rem;
        line-height: 1.1rem;
        padding: 0.35rem 0.7rem;
    }

    .timeline::after {
        left: 16px;
    }

    .timeline {
        width: 100%;
    }

    .timeline-item {
        width: 100%;
        padding-left: 46px;
        padding-right: 0;
    }

    .timeline-item::after {
        left: 0px;
        width: 31px;
        height: 31px;
        background-size: cover;
    }

    .timeline-content {
        padding: 0.95rem;
    }

    .timeline-content h3 {
        font-size: 1rem;
        line-height: 1.35rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
        line-height: 1.35rem;
    }

    /* Individual timeline item icons */
    .timeline-item:nth-child(1)::after {
        background-image: url('./images/journey/engie.jpg');
    }

    .timeline-item:nth-child(2)::after {
        background-image: url('./images/journey/dscnus_logo.jpeg');
    }

    .timeline-item:nth-child(3)::after {
        background-image: url('./images/journey/orbital.png');
        left: 0;
    }

    .timeline-item:nth-child(4)::after {
        background-image: url('./images/journey/nuspickleballlogo.png');
    }

    .timeline-item:nth-child(5)::after {
        background-image: url('./images/journey/witlogo.jpeg');
        left: 0;
    }

    .timeline-item:nth-child(6)::after {
        background-image: url('./images/journey/helixhouse.png');
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .timeline-item:nth-child(even)::after {
        left: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        width: 100%;
    }

    .contact-section h2,
    .contact-intro {
        width: 100%;
    }

    .contact-intro,
    .contact-section h4,
    .field-label,
    .contact-block p,
    .contact-social,
    .form-group input,
    .form-group textarea {
        font-size: 0.92rem;
        line-height: 1.35rem;
    }

    .contact-block {
        margin-bottom: 1.2rem;
    }

    .form-group textarea {
        height: 78px;
    }
}

@media (max-width: 480px) {
    .container,
    .hero-section {
        width: min(100% - 24px, 1080px);
    }

    .nav-container {
        border-radius: 22px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 2.25rem;
    }

    .photo-frame {
        width: min(64vw, 176px);
        height: min(82vw, 229px);
    }

    .project-image {
        height: clamp(170px, 56vw, 230px);
    }

    .timeline::after {
        left: 14px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-item::after {
        width: 28px;
        height: 28px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Cute doodle borders */
.doodle-border {
    border: 3px dashed var(--warm-beige);
    border-radius: 15px;
    position: relative;
}

.doodle-border::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--soft-peach);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
