*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --sand: #f5f0e8;
    --sand-dark: #e0d8c8;
    --ink: #1e1a14;
    --ink-light: #6b5c44;
    --amber: #c97d2e;
    --amber-light: #f4e4c8;
    --white: #fefcf8;
    --card: #fffdf8;
    --radius: 16px;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--sand);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16px;
}
/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--sand-dark);
    padding: 0 6vw;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: 'Lora', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -.01em;
}
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    color: var(--ink-light);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover {
    color: var(--amber);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .3s;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--sand-dark);
    padding: 0 6vw;
    z-index: 99;
}
.mobile-menu.open {
    display: block;
}
.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--sand-dark);
}
.mobile-menu a:last-child {
    border-bottom: none;
}
main {
    padding-top: 60px;
}
/* HERO */
.hero-section {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    padding: 60px 6vw;
    max-width: 1100px;
    margin: 0 auto;
    gap: 60px;
}
.hero-text {
    flex: 1;
    min-width: 0;
}
.hero-photo-wrap {
    flex-shrink: 0;
    width: clamp(200px, 28vw, 340px);
    height: clamp(240px, 34vw, 420px);
    border-radius: 220px 220px 180px 180px;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 20px 60px rgba(30, 26, 20, .12);
    background: var(--amber-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.hero-tag {
    display: inline-block;
    background: var(--amber-light);
    color: var(--amber);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}
.hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.12;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.hero-title {
    font-family: 'Lora', serif;
    font-size: clamp(18px, 2.5vw, 26px);
    font-style: italic;
    color: var(--amber);
    margin-bottom: 22px;
    font-weight: 400;
}
.hero-sub {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--ink-light);
    max-width: 480px;
    margin-bottom: 38px;
    font-weight: 300;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--ink);
    color: var(--white);
    border: 2px solid var(--ink);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, border-color .2s, transform .15s;
}
.btn-primary:hover {
    background: var(--amber);
    border-color: var(--amber);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--sand-dark);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .2s, transform .15s;
}
.btn-outline:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}
/* SECTIONS */
.section-inner {
    padding: 80px 6vw;
    max-width: 1100px;
    margin: 0 auto;
}
.section-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Lora', serif;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 18px;
}
.divider {
    width: 40px;
    height: 3px;
    background: var(--amber);
    border-radius: 2px;
    margin-bottom: 40px;
}
/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
}
.about-text p {
    color: var(--ink-light);
    margin-bottom: 16px;
    font-size: 16px;
}
.about-text p:last-child {
    margin-bottom: 0;
}
.about-text a {
    color: var(--amber);
    text-decoration: none;
    border-bottom: 1px solid var(--amber-light);
    transition: border-color .2s;
}
.about-text a:hover {
    border-color: var(--amber);
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.stat-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--sand-dark);
    padding: 22px 18px;
}
.stat-num {
    font-family: 'Lora', serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-desc {
    font-size: 13px;
    color: var(--ink-light);
}
/* SKILLS */
.skills-bg {
    background: var(--white);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}
.skill-card {
    background: var(--card);
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: border-color .2s, transform .2s;
}
.skill-card:hover {
    border-color: var(--amber);
    transform: translateY(-3px);
}
.skill-icon {
    font-size: 26px;
    margin-bottom: 12px;
}
.skill-card h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    background: var(--sand);
    color: var(--ink-light);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 100px;
}
/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}
.project-card {
    background: var(--card);
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .2s, transform .2s;
}
.project-card:hover {
    border-color: var(--amber);
    transform: translateY(-3px);
}
.project-type {
    display: inline-block;
    background: var(--amber-light);
    color: var(--amber);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 3px 12px;
    border-radius: 100px;
    width: fit-content;
}
.project-card h3 {
    font-family: 'Lora', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
}
.project-card p {
    font-size: 14px;
    color: var(--ink-light);
    flex: 1;
    line-height: 1.65;
}
.project-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--amber);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
    width: fit-content;
}
.project-link:hover {
    gap: 10px;
}
.project-no-link {
    font-size: 13px;
    color: var(--ink-light);
    opacity: .6;
    font-style: italic;
}
/* CONTACT */
.contact-box {
    background: var(--ink);
    border-radius: 28px;
    padding: 64px 48px;
    text-align: center;
}
.contact-box .section-label {
    color: var(--amber);
}
.contact-box .section-title {
    color: var(--white);
}
.contact-box p {
    color: rgba(254, 252, 248, .55);
    max-width: 460px;
    margin: 0 auto 38px;
}
.contact-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-link {
    background: rgba(255, 252, 248, .07);
    color: var(--white);
    border: 1px solid rgba(255, 252, 248, .15);
    padding: 11px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, border-color .2s;
}
.contact-link:hover {
    background: var(--amber);
    border-color: var(--amber);
}
footer {
    text-align: center;
    padding: 28px 6vw;
    border-top: 1px solid var(--sand-dark);
    font-size: 13px;
    color: var(--ink-light);
}
/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-tag {
    animation: fadeUp .5s .1s both;
}
.hero h1 {
    animation: fadeUp .5s .22s both;
}
.hero-title {
    animation: fadeUp .5s .32s both;
}
.hero-sub {
    animation: fadeUp .5s .42s both;
}
.hero-cta {
    animation: fadeUp .5s .54s both;
}
.hero-photo-wrap {
    animation: fadeUp .6s .2s both;
}
/* RESPONSIVE */
@media (max-width: 720px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero-section {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        padding: 40px 6vw 60px;
        gap: 36px;
        min-height: auto;
    }
    .hero-sub {
        max-width: 100%;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-photo-wrap {
        width: 180px;
        height: 220px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-box {
        padding: 40px 24px;
    }
    .section-inner {
        padding: 60px 6vw;
    }
}