:root {
    --burg: #6B1E2B;
    --burg-deep: #4A0D18;
    --burg-mid: #8B2635;
    --burg-light: #B85A68;
    --beige: #F2EBE0;
    --beige-mid: #E8DDD0;
    --beige-dark: #C9B99A;
    --white: #FDFAF6;
    --brown-warm: #7A5230;
    --text: #2C1810;
    --text-mid: #6B4C3B;
    --text-light: #9E7E6A;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--beige);
}

::-webkit-scrollbar-thumb {
    background: var(--burg);
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 5vw;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(253, 250, 246, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 30, 43, 0.1);
    padding: 1rem 5vw;
    box-shadow: 0 2px 30px rgba(107, 30, 43, 0.06);
}

.nav-logo {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.3s;
}

nav.scrolled .nav-logo {
    color: var(--burg);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(253, 250, 246, 0.85);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--beige-dark);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

nav.scrolled .nav-menu a {
    color: var(--text-mid);
}

nav.scrolled .nav-menu a:hover {
    color: var(--burg);
}

/* ─── HERO ─── */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 55% 45%;
    position: relative;
    overflow: hidden;
}

.hero-left {
    background: var(--burg-deep);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 5vw 5rem 7vw;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, transparent 40%, rgba(74, 13, 24, 0.7) 100%);
    z-index: 1;
}

/* geometric accent lines */
.hero-left::after {
    content: '';
    position: absolute;
    top: 3rem;
    left: 5vw;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(242, 235, 224, 0.15);
    border-radius: 50%;
    z-index: 2;
}

.hero-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0.45;
    filter: grayscale(20%);
}

.hero-text {
    position: relative;
    z-index: 3;
    animation: fadeUp 1s ease both;
}

.hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--beige-dark);
    border-top: 1px solid var(--beige-dark);
    padding-top: 0.6rem;
    margin-bottom: 1.5rem;
}

.hero-name {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-name em {
    font-style: italic;
    font-weight: 400;
    color: var(--beige-dark);
}

.hero-desc {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(242, 235, 224, 0.75);
    max-width: 380px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-light {
    background: var(--beige);
    color: var(--burg-deep);
}

.btn-light:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--beige);
    border: 1px solid rgba(242, 235, 224, 0.4);
}

.btn-ghost:hover {
    border-color: var(--beige);
    background: rgba(242, 235, 224, 0.08);
}

.hero-right {
    background: var(--beige);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 4vw 4rem;
    position: relative;
}

.hero-right-photo {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    display: block;
    box-shadow: -20px 20px 60px rgba(107, 30, 43, 0.2);
    position: relative;
    z-index: 2;
}

.hero-right::before {
    content: '';
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    width: 160px;
    height: 160px;
    border: 2px solid var(--beige-mid);
    z-index: 1;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    width: 100%;
    max-width: 380px;
}

.hero-stat {
    flex: 1;
    text-align: center;
    border-top: 2px solid var(--burg);
    padding-top: 1rem;
}

.stat-n {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--burg);
    line-height: 1;
}

.stat-l {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.3rem;
}

/* ─── SECTIONS ─── */
section {
    padding: 7rem 7vw;
}

.eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burg);
    border-left: 3px solid var(--burg);
    padding-left: 0.8rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.section-h {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-h em {
    font-style: italic;
    font-weight: 400;
    color: var(--burg);
}

.rule {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--burg), var(--beige-dark));
    margin: 1.5rem 0;
}

.lead {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 600px;
}

/* ─── ABOUT ─── */
#about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
    margin-top: 3rem;
}

.about-img-wrap {
    position: relative;
}

.about-img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-img-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 60%;
    background: var(--beige);
    z-index: -1;
}

.about-img-label {
    position: absolute;
    bottom: 2rem;
    left: -1.5rem;
    background: var(--burg);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    font-family: 'Bodoni Moda', serif;
}

.about-img-label strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.about-img-label span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
}

.about-body p {
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--text-mid);
    margin-bottom: 1.2rem;
}

.creds-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2rem;
}

.cred-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--beige);
    color: var(--burg);
    padding: 0.45rem 1rem;
    border: 1px solid var(--beige-dark);
}

/* ─── SERVICES ─── */
#services {
    background: var(--burg-deep);
}

#services .eyebrow {
    color: var(--beige-dark);
    border-color: var(--beige-dark);
}

#services .section-h {
    color: var(--white);
}

#services .section-h em {
    color: var(--beige-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    margin-top: 3.5rem;
    background: rgba(242, 235, 224, 0.1);
    border: 1px solid rgba(242, 235, 224, 0.1);
}

.service-card {
    background: var(--burg-deep);
    padding: 2.8rem 2.2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.35s;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--beige-dark);
    transform: scaleX(0);
    transition: transform 0.35s;
    transform-origin: left;
}

.service-card:hover {
    background: rgba(107, 30, 43, 0.6);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.svc-num {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(242, 235, 224, 0.08);
    line-height: 1;
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
}

.svc-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.svc-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(242, 235, 224, 0.55);
}

/* ─── EXPERIENCE ─── */
#experience {
    background: var(--beige);
}

.exp-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 5rem;
    margin-top: 3.5rem;
}

.exp-nav {
    position: sticky;
    top: 8rem;
    align-self: start;
}

.exp-filter-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.exp-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.exp-tab {
    padding: 1rem 1.2rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-mid);
    cursor: pointer;
    border-left: 2px solid var(--beige-dark);
    transition: all 0.25s;
    background: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
    text-align: left;
}

.exp-tab.active,
.exp-tab:hover {
    border-left-color: var(--burg);
    color: var(--burg);
    background: rgba(107, 30, 43, 0.04);
    padding-left: 1.6rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    padding: 0 0 3rem 2rem;
    border-left: 1px solid var(--beige-dark);
    position: relative;
}

.timeline-item:last-child {
    border-color: transparent;
    padding-bottom: 0;
}

.t-dot {
    position: absolute;
    left: -5px;
    top: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--burg);
    border: 2px solid var(--beige);
}

.t-period {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burg);
    margin-bottom: 0.4rem;
}

.t-role {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.t-company {
    font-size: 0.83rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.9rem;
}

.t-location {
    font-size: 0.75rem;
    color: var(--beige-dark);
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.t-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--text-mid);
    max-width: 520px;
}

ul.t-desc {
    list-style-type: none;
    padding-left: 0;
}

ul.t-desc li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

ul.t-desc li::before {
    content: "•";
    color: var(--burg);
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    top: -0.1rem;
}

.t-tag {
    display: inline-block;
    margin-top: 0.8rem;
    margin-right: 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    background: rgba(107, 30, 43, 0.08);
    color: var(--burg);
}

.career-break {
    background: rgba(201, 185, 154, 0.2);
    border: 1px dashed var(--beige-dark);
    padding: 1rem 1.5rem;
    margin: 0 0 3rem 2rem;
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}

/* ─── EDUCATION ─── */
#education {
    background: var(--white);
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.edu-card {
    padding: 2rem 1.8rem;
    border: 1px solid var(--beige-mid);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--burg), var(--beige-dark));
}

.edu-card:hover {
    box-shadow: 0 12px 40px rgba(107, 30, 43, 0.1);
    transform: translateY(-4px);
}

.edu-inst {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burg);
    margin-bottom: 0.6rem;
}

.edu-deg {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.edu-field {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ─── CONTACT ─── */
#contact {
    background: var(--beige);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    min-height: 60vh;
}

.contact-left {
    background: var(--burg);
    padding: 7rem 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-left .section-h {
    color: var(--white);
}

.contact-left .section-h em {
    color: var(--beige-dark);
}

.contact-left .eyebrow {
    color: var(--beige-dark);
    border-color: var(--beige-dark);
}

.contact-left .rule {
    background: linear-gradient(90deg, var(--beige-dark), transparent);
}

.contact-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(242, 235, 224, 0.7);
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(242, 235, 224, 0.85);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.25s;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(242, 235, 224, 0.1);
}

.contact-link:hover {
    color: var(--white);
}

.contact-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(242, 235, 224, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.contact-right {
    padding: 7rem 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.contact-photo {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(107, 30, 43, 0.15);
}

.contact-right-text {
    text-align: center;
    margin-top: 2rem;
    font-family: 'Bodoni Moda', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-light);
}

/* ─── FOOTER ─── */
footer {
    background: var(--burg-deep);
    padding: 2rem 7vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(242, 235, 224, 0.1);
}

.footer-logo {
    font-family: 'Bodoni Moda', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--beige);
}

.footer-copy {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(242, 235, 224, 0.35);
}

.footer-li a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(242, 235, 224, 0.45);
    text-decoration: none;
}

.footer-li a:hover {
    color: var(--beige);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-d1 {
    transition-delay: 0.1s;
}

.anim-d2 {
    transition-delay: 0.2s;
}

.anim-d3 {
    transition-delay: 0.3s;
}

.anim-d4 {
    transition-delay: 0.4s;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
    #hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        display: none;
    }

    .hero-left {
        padding: 7rem 6vw 5rem;
        min-height: 100vh;
    }

    .hero-photo-bg {
        opacity: 0.3;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-wrap {
        max-width: 380px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .exp-grid {
        grid-template-columns: 1fr;
    }

    .exp-nav {
        display: none;
    }

    .edu-grid {
        grid-template-columns: 1fr 1fr;
    }

    #contact {
        grid-template-columns: 1fr;
    }

    .contact-right {
        display: none;
    }

    footer {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }

    nav {
        padding: 1rem 5vw;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 560px) {
    .edu-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 5rem 5vw;
    }
}