/* =========================================================
   RESET & GLOBAL
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f2ede5;
    color: #182019;
    overflow-x: hidden;
}


/* =========================================================
   NOISE EFFECT
========================================================= */

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.045;
    z-index: 20;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}


/* =========================================================
   NAVBAR
========================================================= */

.nav {
    height: 82px;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 30;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5vw;

    background: rgba(242, 237, 229, 0.78);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(24, 32, 25, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #182019;
    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.05;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid #ad7650;
    border-radius: 50%;

    color: #ad7650;

    font-family: "Playfair Display", serif;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -3px;
}

.brand small {
    color: #ad7650;
    font-size: 9px;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: #182019;
    text-decoration: none;

    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #a86e49;
}

.menu-btn {
    display: none;

    background: none;
    border: 0;

    cursor: pointer;
}

.menu-btn span {
    display: block;

    width: 23px;
    height: 1px;

    margin: 5px;

    background: #182019;
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    min-height: 100vh;

    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;

    gap: 5vw;

    padding: 130px 8vw 70px;
}

.hero-glow {
    width: 650px;
    height: 650px;

    position: absolute;
    right: -180px;
    top: 100px;

    border-radius: 50%;

    background: #d7c5ad;

    filter: blur(80px);
    opacity: 0.3;

    pointer-events: none;
}

.eyebrow,
.section-label,
.mini-label,
.type {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    margin: 28px 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(62px, 8vw, 120px);
    font-weight: 600;

    line-height: 0.88;
    letter-spacing: -5px;
}

.hero h1 em,
h2 em {
    color: #a86e49;
    font-weight: 500;
}

.hero-text {
    max-width: 490px;

    color: #5b6059;

    font-size: 15px;
    line-height: 1.8;
}

.magnetic-btn {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    margin-top: 35px;
    padding: 17px 20px 17px 25px;

    color: #fff;
    background: #1b241d;

    border-radius: 100px;

    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;

    transition: 0.3s ease;
}

.magnetic-btn i {
    font-style: normal;
    font-size: 18px;
}

.magnetic-btn:hover {
    background: #a86e49;
    transform: translateY(-4px);
}


/* =========================================================
   HERO IMAGE / VISUAL
========================================================= */

.hero-visual {
    height: 650px;

    position: relative;

    display: grid;
    place-items: center;
}


/* Main Shape */

.portrait-card {
    width: min(390px, 80%);
    height: 530px;

    position: relative;
    overflow: hidden;

    background: #dfd3c3;

    border-radius: 210px 210px 30px 30px;

    box-shadow: 0 30px 80px rgba(46, 38, 28, 0.18);

    transform: rotate(2deg);
}


/* =========================================================
   JPG PHOTO
========================================================= */

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #dfd3c3;
}

    border-radius: inherit;

    transition: transform 0.7s ease;
}


/* Image hover */

.portrait-card:hover .hero-photo {
    transform: scale(1.04);
}


/* =========================================================
   HERO CAPTION
========================================================= */

.portrait-caption {
    position: absolute;

    left: 35px;
    bottom: 28px;

    display: flex;
    gap: 15px;

    color: #fff;

    font-size: 9px;
    letter-spacing: 2px;

    z-index: 2;
}


/* =========================================================
   FLOATING NOTE
========================================================= */

.floating-note {
    position: absolute;

    right: -5px;
    top: 105px;

    color: #a86e49;

    font-size: 10px;
    line-height: 2.2;
    letter-spacing: 4px;
}

.floating-note span {
    color: #6c725f;
}


/* =========================================================
   FLOATING CIRCLES
========================================================= */

.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);
}

.orb-one {
    width: 85px;
    height: 85px;

    left: 20px;
    bottom: 40px;

    background: #a86e49;

    opacity: 0.6;
}

.orb-two {
    width: 35px;
    height: 35px;

    right: 20px;
    bottom: 140px;

    background: #68745e;
}


/* =========================================================
   SCROLL CUE
========================================================= */

.scroll-cue {
    position: absolute;

    left: 8vw;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 8px;
    letter-spacing: 3px;
}

.scroll-cue b {
    width: 60px;
    height: 1px;

    background: #182019;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.section {
    padding: 130px 8vw;
}

.section-label {
    margin-bottom: 55px;

    color: #a86e49;
}


/* =========================================================
   ABOUT SECTION
========================================================= */

.intro {
    color: #f4eee5;
    background: #1b241d;
}

.intro .section-label {
    color: #c28a65;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 9vw;
}

.intro h2,
.skills h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 5.5vw, 78px);
    font-weight: 500;

    line-height: 0.95;
    letter-spacing: -3px;
}

.intro-copy {
    max-width: 560px;

    color: #c8c8bf;

    font-size: 15px;
    line-height: 1.9;
}

.intro-copy p + p {
    margin-top: 20px;
}

.quote {
    margin-top: 45px;
    padding-left: 25px;

    color: #e6d8c8;

    border-left: 2px solid #a86e49;

    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-style: italic;

    line-height: 1.4;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.section-head {
    display: grid;
    grid-template-columns: 1fr 0.6fr;

    gap: 7vw;

    margin-bottom: 80px;
}

.section-head h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(44px, 5vw, 70px);
    font-weight: 500;

    line-height: 0.95;
    letter-spacing: -3px;
}

.section-head p {
    align-self: end;

    color: #666b63;

    line-height: 1.8;
}

.timeline {
    max-width: 1050px;
    margin: auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 70px 30px 1fr;

    gap: 15px;

    position: relative;

    padding: 35px 0;

    border-bottom: 1px solid #d8d0c5;
}

.timeline-item .year {
    color: #a86e49;

    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 500;
}

.dot {
    width: 12px;
    height: 12px;

    position: relative;

    margin-top: 4px;

    background: #f2ede5;

    border: 3px solid #a86e49;
    border-radius: 50%;
}

.timeline-item:not(:last-child) .dot::after {
    content: "";

    width: 2px;
    height: 145px;

    position: absolute;

    top: 9px;
    left: 2px;

    background: #d2c5b7;
}

.type {
    color: #a86e49;
    font-size: 8px;
}

.role h3 {
    margin: 7px 0 10px;

    font-size: 25px;
}

.role p {
    max-width: 700px;

    color: #666b63;

    line-height: 1.7;
}


/* =========================================================
   SKILLS
========================================================= */

.skills {
    background: #ded4c5;
}

.skills-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 10vw;
}

.skills-list {
    border-top: 1px solid #aaa092;
}

.skill {
    display: grid;
    grid-template-columns: 50px 1fr 25px;
    align-items: center;

    padding: 20px 0;

    border-bottom: 1px solid #aaa092;

    transition: 0.3s ease;
}

.skill span {
    color: #a86e49;
    font-size: 9px;
}

.skill b {
    font-family: "Playfair Display", serif;

    font-size: 22px;
    font-weight: 500;
}

.skill i {
    font-style: normal;

    transition: 0.3s ease;
}

.skill:hover {
    padding-left: 12px;
}

.skill:hover i {
    color: #a86e49;

    transform: translate(4px, -4px);
}


/* =========================================================
   PROFILE
========================================================= */

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 20px;
}

.profile-card {
    min-height: 240px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 35px;

    background: #dfd4c4;

    border: 1px solid #cfc2b1;
}

.profile-card h3 {
    font-family: "Playfair Display", serif;

    font-size: 30px;
    font-weight: 500;

    line-height: 1.15;
}

.profile-card.dark {
    color: #f4eee5;

    background: #1b241d;

    border-color: #1b241d;
}


/* =========================================================
   CLOSING
========================================================= */

.closing {
    min-height: 520px;

    position: relative;
    overflow: hidden;

    display: grid;
    place-items: center;

    color: #f7efe6;

    background: #a86e49;

    text-align: center;
}

.closing-word {
    position: absolute;

    top: 70px;

    font-family: "Playfair Display", serif;
    font-size: 20vw;
    font-weight: 700;

    line-height: 0.8;

    opacity: 0.07;

    white-space: nowrap;
}

.closing-center {
    position: relative;
    z-index: 2;
}

.closing-center span {
    font-size: 9px;
    letter-spacing: 4px;
}

.closing-center h2 {
    margin-top: 30px;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 8vw, 120px);
    font-weight: 500;

    line-height: 0.85;
    letter-spacing: -5px;
}

.closing-mark {
    position: absolute;

    right: 7vw;
    bottom: 50px;

    font-family: "Playfair Display", serif;
    font-size: 70px;
    font-weight: 500;

    opacity: 0.35;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    display: flex;
    justify-content: space-between;

    padding: 28px 5vw;

    color: #9da49a;
    background: #141a16;

    font-size: 9px;
    letter-spacing: 2px;
}


/* =========================================================
   SCROLL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}


/* =========================================================
   CURSOR
========================================================= */

.cursor,
.cursor-follower {
    position: fixed;

    pointer-events: none;

    border-radius: 50%;

    z-index: 100;

    transform: translate(-50%, -50%);

    display: none;
}

.cursor {
    width: 7px;
    height: 7px;

    background: #a86e49;
}

.cursor-follower {
    width: 35px;
    height: 35px;

    border: 1px solid #a86e49;

    transition:
        width 0.25s ease,
        height 0.25s ease;
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 900px) {

    .cursor,
    .cursor-follower {
        display: block;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .nav {
        height: 70px;
    }

    .nav-links {
        position: fixed;

        top: 70px;
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;
        gap: 22px;

        padding: 30px 8vw;

        background: #f2ede5;

        border-bottom: 1px solid #ddd;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 110px;
    }

    .hero h1 {
        font-size: 64px;
    }

    .hero-visual {
        height: 480px;
    }

    .portrait-card {
        width: 290px;
        height: 410px;
    }

    .floating-note {
        right: 0;
    }

    .intro-grid,
    .section-head,
    .skills-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .section {
        padding: 90px 7vw;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 35px 20px 1fr;
        gap: 5px;
    }

    .timeline-item:not(:last-child) .dot::after {
        height: 210px;
    }

    .role h3 {
        font-size: 20px;
    }

    footer {
        flex-direction: column;
        gap: 12px;
    }

    .closing {
        min-height: 420px;
    }
}