/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #fbfaf7;
    --ink: #1a1a1a;
    --muted: #6b6b6b;
    --accent: #0d7a6f;
    --accent-soft: #d7efe9;
    --card: #ffffff;
    --border: #e8e5df;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== Soft gradient blobs in the background ===== */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.65;
    z-index: 0;
    pointer-events: none;
    animation: float 22s ease-in-out infinite;
}

/* Teal — top left (kept as is) */
.blob-1 {
    width: 380px;
    height: 380px;
    background: #a7e8dc;
    top: -100px;
    left: -100px;
    opacity: 0.5;
}

/* pink — mid right edge */
.blob-2 {
    width: 340px;
    height: 340px;
    background: #ffb8d0;
    top: 35%;
    right: -140px;
    animation-delay: -7s;
}

/* Blue — bottom left (the one you liked) */
.blob-3 {
    width: 320px;
    height: 320px;
    background: #c9d9ff;
    bottom: -100px;
    left: 20%;
    animation-delay: -14s;
}

/* peach — top right */
.blob-4 {
    width: 320px;
    height: 320px;
    background: #ffd9a0;
    top: 5%;
    right: 5%;
    animation-delay: -3s;
}

/* Green — mid left edge */
.blob-5 {
    width: 300px;
    height: 300px;
    background: #a8d8a8;
    top: 55%;
    left: -120px;
    animation-delay: -10s;
}

/* Red — bottom right edge */
.blob-6 {
    width: 300px;
    height: 300px;
    background: #ffb3b3;
    bottom: 5%;
    right: -100px;
    animation-delay: -17s;
}



@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(25px, -25px) scale(1.08); }
}


/* ===== Page container ===== */
.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    position: relative;
    z-index: 1;
}


/* ===== Hero ===== */
.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0 60px;
    animation: fadeUp 0.8s ease both;
}

.hero-content {
    /* keeps text and buttons together */
}



.hero-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(13, 122, 111, 0.18);
    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

.hero-photo:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

    /* ===== About me strip ===== */
    .about-me {
        background: var(--accent-soft);
        border-radius: 18px;
        padding: 26px 30px;
        margin-bottom: 50px;
        font-size: 15.5px;
        color: #21423d;
        line-height: 1.6;
        text-align: center;
        animation: fadeUp 0.8s ease 0.2s both;
    }

    .about-me p {
        margin: 0 auto 18px;
        max-width: 640px;
    }

    .about-skills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .skill-pill {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(13, 122, 111, 0.15);
        color: #21423d;
        padding: 5px 14px;
        border-radius: 100px;
        font-size: 13px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

  

/* Mobile: stack the photo above the text, or remove it */
@media (max-width: 700px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-photo {
        max-width: 240px;
        margin: 0 auto;
        transform: none;
    }
}



.hero {
    padding: 40px 0 60px;
    animation: fadeUp 0.8s ease both;
}

.eyebrow {
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.tagline {
    font-size: clamp(16px, 2vw, 19px);
    color: #444;
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
}

.btn-primary {
    background: var(--ink);
    color: white;
}
.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 122, 111, 0.25);
}

.btn-ghost {
    border-color: var(--border);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

/* ===== Section title ===== */
.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 20px;
    font-weight: 600;
}

/* ===== Work cards ===== */
.work {
    margin-bottom: 60px;
    animation: fadeUp 0.8s ease 0.15s both;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 24px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.25s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}

.card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.card-arrow {
    font-size: 18px;
    color: var(--accent);
    transition: transform 0.25s ease;
    display: inline-block;
}
.card:hover .card-arrow {
    transform: translateX(6px);
}

/* ===== About strip ===== */
.about-strip {
    background: var(--accent-soft);
    border-radius: 18px;
    padding: 28px 30px;
    margin-bottom: 50px;
    font-size: 16px;
    color: #21423d;
    line-height: 1.6;
    animation: fadeUp 0.8s ease 0.25s both;
}

/* ===== Footer ===== */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--accent);
}

/* ===== Animation ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
    .page { padding: 40px 18px 30px; }
    .hero { padding: 20px 0 40px; }
    .hero-links { flex-direction: column; align-items: stretch; }
    .btn { text-align: center; }
    .footer { flex-direction: column; text-align: center; }
    .blob { filter: blur(60px); }
}