/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f8f7f3;
    color: #171717;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(248, 247, 243, 0.88);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid #e5e2db;
}

.nav-inner {
    height: 74px;

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

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: #8a7654;
}

.nav-inner nav {
    display: flex;
    gap: 27px;
}

.nav-inner nav a {
    position: relative;

    color: #555;

    font-size: 12px;
    font-weight: 600;

    transition: 0.3s ease;
}

.nav-inner nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #171717;

    transition: 0.3s ease;
}

.nav-inner nav a:hover {
    color: #171717;
}

.nav-inner nav a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 11px 18px;

    background: #171717;
    color: white;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;

    transition: 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
}

/* =====================================================
   MOBILE MENU
===================================================== */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid #ddd9d0;
    border-radius: 50%;

    background: white;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 17px;
    height: 1.5px;

    background: #171717;
}

.mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: flex;
    flex-direction: column;

    padding: 25px;

    background: #f8f7f3;

    transform: translateX(100%);

    transition: transform 0.45s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 25px;

    border-bottom: 1px solid #ddd9d0;

    color: #888;

    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.menu-close {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid #ddd9d0;
    border-radius: 50%;

    background: white;

    font-size: 25px;
    font-weight: 300;

    cursor: pointer;
}

.mobile-menu nav {
    display: flex;

    flex-direction: column;

    margin-top: 45px;
}

.mobile-menu nav a {
    padding: 18px 0;

    border-bottom: 1px solid #ddd9d0;

    font-family: "Playfair Display", serif;

    font-size: 32px;

    transition: 0.3s ease;
}

.mobile-menu nav a:hover {
    color: #8a7654;

    padding-left: 10px;
}

.mobile-menu-footer {
    margin-top: auto;

    display: flex;

    justify-content: space-between;

    color: #999;

    font-size: 10px;

    letter-spacing: 1px;
}

body.menu-open {
    overflow: hidden;
}

/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    padding: 120px 0 80px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    top: -200px;
    right: -200px;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    background: #ebe7de;

    z-index: -1;
}

.hero-grid {
    display: grid;

    grid-template-columns: 1fr 0.75fr;

    gap: 80px;

    align-items: center;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 13px;

    border: 1px solid #ddd9d0;

    border-radius: 50px;

    background: white;

    font-size: 11px;
    font-weight: 600;

    animation: fadeUp 0.7s ease both;
}

.status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #4d8b58;

    box-shadow: 0 0 0 5px rgba(77, 139, 88, 0.1);
}

.small-title {
    margin-top: 32px;

    color: #8b8b8b;

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: 700;

    animation: fadeUp 0.7s ease 0.1s both;
}

.hero h1 {
    max-width: 720px;

    margin-top: 17px;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -3px;

    animation: fadeUp 0.7s ease 0.2s both;
}

.hero h1 span {
    color: #8a7654;
    font-style: italic;
}

.hero-text {
    max-width: 570px;

    margin-top: 27px;

    color: #6b6b6b;

    font-size: 16px;

    animation: fadeUp 0.7s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 32px;

    animation: fadeUp 0.7s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 20px;

    border-radius: 50px;

    font-size: 12px;

    font-weight: 700;

    transition: 0.3s ease;
}

.btn-dark {
    background: #171717;
    color: white;
}

.btn-light {
    border: 1px solid #d5d2ca;
    background: white;
}

.btn:hover {
    transform: translateY(-3px);
}

.hero-details {
    display: flex;

    gap: 40px;

    margin-top: 52px;

    animation: fadeUp 0.7s ease 0.5s both;
}

.hero-details div {
    display: flex;
    flex-direction: column;
}

.hero-details strong {
    font-family: "Playfair Display", serif;

    font-size: 25px;
}

.hero-details span {
    margin-top: 1px;

    color: #929292;

    font-size: 10px;
}


/* =====================================================
   HERO PHOTO
===================================================== */

.hero-photo-wrap {
    position: relative;

    width: 100%;
    max-width: 430px;

    justify-self: end;

    animation: photoReveal 1s ease 0.3s both;
}

.hero-photo {
    position: relative;

    width: 100%;
    height: 560px;

    overflow: hidden;

    border-radius: 220px 220px 15px 15px;

    background: #ddd8ce;

    z-index: 2;
}

.hero-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
       Adjust this if her face needs to move up/down.
       25% normally works well for a portrait.
    */
    object-position: center 25%;

    transition: transform 0.7s ease;
}

.hero-photo:hover img {
    transform: scale(1.035);
}

.photo-decoration {
    position: absolute;

    top: 35px;
    right: -30px;

    width: 100%;
    height: 100%;

    border: 1px solid #c8c0b2;

    border-radius: 220px 220px 15px 15px;

    transform: rotate(4deg);

    z-index: 1;
}

.photo-label {
    position: absolute;

    right: -25px;
    bottom: 35px;

    display: flex;
    flex-direction: column;

    padding: 13px 17px;

    background: #171717;
    color: white;

    z-index: 4;

    font-size: 9px;

    letter-spacing: 1.5px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.photo-label span:first-child {
    color: #999;

    margin-bottom: 4px;
}

.scroll-down {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;

    color: #999;

    font-size: 9px;

    letter-spacing: 1px;
}

.scroll-down::after {
    content: "";

    width: 1px;
    height: 35px;

    background: #bbb;

    animation: scrollLine 1.8s ease infinite;
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
    padding: 120px 0;
}

.section-gray {
    background: #eeece6;
}

.section-head {
    max-width: 750px;

    margin-bottom: 65px;
}

.section-head p {
    margin-bottom: 16px;

    color: #999;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 700;
}

.section-head h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 5vw, 60px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.section-head em {
    font-style: italic;

    font-weight: 400;

    color: #8a7654;
}


/* =====================================================
   ABOUT
===================================================== */

.about-grid {
    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    gap: 100px;
}

.about-text .big-paragraph {
    max-width: 700px;

    font-family: "Playfair Display", serif;

    font-size: 30px;

    line-height: 1.35;
}

.about-text > p:not(.big-paragraph) {
    max-width: 650px;

    margin-top: 25px;

    color: #666;

    font-size: 14px;
}

.about-points {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.about-points > div {
    padding: 20px 0;

    border-top: 1px solid #d8d5ce;

    transition: 0.3s ease;
}

.about-points > div:hover {
    padding-left: 8px;
}

.about-points span {
    color: #aaa;

    font-size: 10px;
}

.about-points h3 {
    margin-top: 7px;

    font-family: "Playfair Display", serif;

    font-size: 22px;
}

.about-points p {
    margin-top: 4px;

    color: #777;

    font-size: 12px;
}


/* =====================================================
   EDUCATION
===================================================== */

.education-list {
    border-top: 1px solid #d2cfc7;
}

.education-item {
    display: grid;

    grid-template-columns: 200px 1fr;

    gap: 60px;

    padding: 45px 0;

    border-bottom: 1px solid #d2cfc7;
}

.education-year {
    color: #888;

    font-size: 12px;

    font-weight: 700;
}

.education-content {
    max-width: 750px;
}

.current {
    display: inline-block;

    padding: 5px 9px;

    border-radius: 50px;

    background: #d9d1c1;

    font-size: 9px;

    letter-spacing: 1px;

    font-weight: 700;
}

.education-content h3 {
    margin-top: 13px;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    line-height: 1.2;
}

.education-content h4 {
    margin-top: 7px;

    color: #777;

    font-size: 13px;
}

.education-content p {
    margin-top: 13px;

    color: #777;

    font-size: 13px;
}

.education-info {
    display: flex;

    gap: 50px;

    margin-top: 25px;
}

.education-info div {
    display: flex;

    flex-direction: column;
}

.education-info strong {
    font-family: "Playfair Display", serif;

    font-size: 23px;
}

.education-info span {
    color: #999;

    font-size: 9px;
}


/* =====================================================
   EXPERIENCE
===================================================== */

.experience-card {
    padding: 40px;

    border: 1px solid #ddd9d0;

    border-radius: 20px;

    background: white;

    transition: 0.4s ease;
}

.experience-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 25px 50px rgba(0,0,0,0.07);
}

.experience-header {
    display: flex;

    justify-content: space-between;

    padding-bottom: 30px;

    border-bottom: 1px solid #e4e1da;
}

.experience-date {
    color: #999;

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;
}

.experience-header h3 {
    margin-top: 10px;

    font-family: "Playfair Display", serif;

    font-size: 29px;
}

.experience-header h4 {
    margin-top: 5px;

    color: #777;

    font-size: 13px;
}

.experience-number {
    color: #d1cbc0;

    font-family: "Playfair Display", serif;

    font-size: 55px;
}

.experience-body {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;

    padding-top: 30px;
}

.experience-body > p {
    color: #666;

    font-size: 13px;
}

.experience-body ul {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.experience-body li {
    position: relative;

    padding-left: 18px;

    color: #555;

    font-size: 12px;
}

.experience-body li::before {
    content: "→";

    position: absolute;

    left: 0;

    color: #999;
}


/* =====================================================
   PROJECTS
===================================================== */

.section-dark {
    background: #171717;

    color: white;
}

.dark-head p {
    color: #777;
}

.dark-head h2 em {
    color: #c9bda9;
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.project-card {
    min-height: 390px;

    display: flex;

    flex-direction: column;

    padding: 25px;

    border: 1px solid #333;

    border-radius: 18px;

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    background: #202020;

    border-color: #555;
}

.project-top {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.project-top > span {
    color: #777;

    font-size: 11px;
}

.project-top a {
    color: #aaa;

    font-size: 10px;

    transition: 0.3s ease;
}

.project-top a:hover {
    color: white;
}

.project-content {
    margin-top: auto;
}

.project-type {
    color: #777;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 700;
}

.project-content h3 {
    margin-top: 10px;

    font-family: "Playfair Display", serif;

    font-size: 30px;
}

.project-content > p:not(.project-type) {
    margin-top: 12px;

    color: #999;

    font-size: 12px;
}

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 20px;
}

.project-tags span {
    padding: 6px 9px;

    border: 1px solid #3c3c3c;

    border-radius: 50px;

    color: #aaa;

    font-size: 9px;
}


/* =====================================================
   SKILLS
===================================================== */

.skills-list {
    border-top: 1px solid #d7d3cb;
}

.skill-row {
    display: grid;

    grid-template-columns: 230px 1fr;

    gap: 40px;

    padding: 27px 0;

    border-bottom: 1px solid #d7d3cb;
}

.skill-title {
    display: flex;

    gap: 18px;

    font-family: "Playfair Display", serif;

    font-size: 20px;
}

.skill-title span {
    color: #aaa;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;
}

.skill-items {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.skill-items span {
    padding: 7px 12px;

    border: 1px solid #d6d2c9;

    border-radius: 50px;

    font-size: 10px;

    transition: 0.3s ease;
}

.skill-items span:hover {
    background: #171717;

    border-color: #171717;

    color: white;
}


/* =====================================================
   ACHIEVEMENTS
===================================================== */

.achievement-card {
    display: grid;

    grid-template-columns: 75px 1fr;

    gap: 30px;

    padding: 40px;

    border: 1px solid #d8d4cc;

    border-radius: 20px;

    background: #f8f7f3;

    transition: 0.4s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}

.achievement-icon {
    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #171717;

    color: #d9cdbb;

    font-size: 18px;
}

.achievement-card > div:last-child > span {
    color: #999;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 700;
}

.achievement-card h3 {
    margin-top: 9px;

    font-family: "Playfair Display", serif;

    font-size: 30px;
}

.achievement-card h4 {
    margin-top: 4px;

    color: #777;

    font-size: 13px;
}

.achievement-card p {
    max-width: 700px;

    margin-top: 14px;

    color: #666;

    font-size: 13px;
}

.achievement-meta {
    display: flex;

    gap: 10px;

    margin-top: 18px;

    color: #999;

    font-size: 10px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    padding: 120px 0;

    background: #dcd5c8;
}

.contact-inner {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;
}

.contact-label {
    color: #777;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 700;
}

.contact h2 {
    margin-top: 18px;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1.02;

    letter-spacing: -2px;
}

.contact h2 em {
    color: #806d52;

    font-style: italic;

    font-weight: 400;
}

.contact-text {
    max-width: 450px;

    margin-top: 25px;

    color: #666;

    font-size: 13px;
}

.contact-links {
    display: flex;

    flex-direction: column;
}

.contact-links a {
    display: grid;

    grid-template-columns: 90px 1fr 30px;

    align-items: center;

    padding: 23px 0;

    border-bottom: 1px solid rgba(23,23,23,0.15);

    transition: 0.3s ease;
}

.contact-links a:first-child {
    border-top: 1px solid rgba(23,23,23,0.15);
}

.contact-links a:hover {
    padding-left: 8px;
}

.contact-links span {
    color: #888;

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.contact-links strong {
    font-size: 13px;
}

.contact-links b {
    font-size: 17px;

    font-weight: 400;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 28px 0;

    background: #171717;

    color: white;
}

.footer-inner {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.footer-inner p,
.footer-inner > a:last-child {
    color: #777;

    font-size: 9px;
}

.footer-inner > a:last-child:hover {
    color: white;
}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes photoReveal {

    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(0.4);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    /* Hide desktop navigation */
    .nav-inner .desktop-nav {
        display: none;
    }

    /* Hide Let's Talk */
    .nav-inner .nav-btn {
        display: none;
    }

    /* Show hamburger */
    .menu-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-photo-wrap {
        justify-self: center;
        max-width: 370px;
    }

    .hero-photo {
        height: 470px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .education-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .experience-body {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .project-card:last-child {
        grid-column: span 1;
    }

    .skill-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 750px) {

    .section {
        padding: 85px 0;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .hero-photo-wrap {
        justify-self: center;

        max-width: 370px;
    }

    .hero-photo {
        height: 470px;
    }

    .scroll-down {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .education-item {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .experience-body {
        grid-template-columns: 1fr;

        gap: 25px;
    }

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

    .project-card:last-child {
        grid-column: span 1;
    }

    .skill-row {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .contact-inner {
        grid-template-columns: 1fr;

        gap: 60px;
    }

}


@media (max-width: 520px) {

    

    .hero h1 {
        font-size: 46px;

        letter-spacing: -2px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-details {
        gap: 22px;
    }

    .hero-photo {
        height: 430px;
    }

    .experience-card {
        padding: 25px;
    }

    .experience-header h3 {
        font-size: 24px;
    }

    .experience-number {
        font-size: 38px;
    }

    .achievement-card {
        grid-template-columns: 1fr;

        padding: 25px;
    }

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;

        scroll-behavior: auto !important;

        transition: none !important;
    }

}