:root {
    --ink: #201e1a;
    --muted: #746e64;
    --paper: #f8f5ef;
    --white: #fffdf9;
    --sand: #d6a06b;
    --red: #b92731;
    --line: #ded6ca;
    --heading: "Plus Jakarta Sans", sans-serif;
    --body: "Inter", sans-serif;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--body);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
strong {
    font-family: var(--heading);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.site-header {
    background: rgba(248, 245, 239, .96);
    border-bottom: 1px solid var(--line);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 11px;
    font-weight: 600;
    transition: color .18s ease;
}

.nav-links a:hover {
    color: var(--red);
}

.nav-links .nav-contact {
    padding: 10px 17px;
    border: 1px solid var(--ink);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 25px;
    cursor: pointer;
}

.eyebrow,
.section-index {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow-line {
    width: 25px;
    height: 2px;
    background: var(--red);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 17px;
    border: 1px solid var(--ink);
    font-size: 11px;
    font-weight: 700;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button-dark {
    color: white;
    background: var(--ink);
}

.button-dark:hover {
    background: var(--red);
    border-color: var(--red);
}

.button-outline {
    color: var(--ink);
    background: transparent;
}

.button-outline:hover {
    background: var(--white);
}

.status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #718665;
}

/* Supply chain illustration */
.hero-visual {
    padding: 18px;
    border: 1px solid var(--ink);
    background: var(--sand);
}

.supply-map {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: #ead0ad;
    border: 1px solid rgba(32, 30, 26, .25);
}

.supply-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(32, 30, 26, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 30, 26, .06) 1px, transparent 1px);
    background-size: 25px 25px;
}

.supply-node {
    position: absolute;
    z-index: 2;
    display: flex;
    min-width: 118px;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 13px 10px;
    background: var(--paper);
    border: 1px solid var(--ink);
    text-align: center;
}

.supply-node>i {
    margin-bottom: 4px;
    font-size: 26px;
}

.supply-node strong {
    font-size: 9px;
    letter-spacing: .04em;
}

.supply-node small {
    color: var(--muted);
    font-size: 8px;
}

.node-warehouse {
    top: 7%;
    left: 4%;
}

.node-distribution {
    top: 37%;
    left: 50%;
    transform: translateX(-50%);
    background: #f2dfc6;
}

.node-distribution>i {
    color: var(--red);
}

.node-destination {
    right: 4%;
    bottom: 7%;
}

.node-destination>i {
    color: var(--red);
}

.route {
    position: absolute;
    z-index: 1;
    height: 2px;
    background: var(--red);
    transform-origin: left center;
}

.route-one {
    top: 31%;
    left: 25%;
    width: 34%;
    transform: rotate(27deg);
}

.route-two {
    top: 63%;
    left: 58%;
    width: 34%;
    transform: rotate(28deg);
}

.route-stop {
    position: absolute;
    z-index: 3;
    width: 10px;
    height: 10px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
}

.stop-one {
    top: 27%;
    left: 24%;
}

.stop-two {
    top: 61%;
    left: 56%;
    background: var(--red);
}

.stop-three {
    right: 7%;
    bottom: 27%;
}

/* Shared section headings */
.section-space {
    padding-block: 100px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 40px;
}

.section-index {
    margin-bottom: 13px;
}

.section-title {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.06em;
}

.section-title span {
    color: #8b8174;
}

.section-intro {
    max-width: 365px;
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

/* Profile */
.profile-frame {
    align-self: start;
    padding: 12px;
    background: #ead0ad;
    border: 1px solid var(--ink);
}

.profile-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.8;
    object-fit: cover;
    background: #e7c39c;
}

.profile-facts {
    border-top: 1px solid var(--line);
}

.profile-facts>div {
    padding: 14px 12px 14px 0;
    border-bottom: 1px solid var(--line);
}

.profile-facts span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .07em;
}

.profile-facts strong {
    display: block;
    font-size: 11px;
    line-height: 1.7;
}

/* Education */
.education-card {
    background: var(--white);
    border: 1px solid var(--line);
}

.education-icon {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    background: #ead0ad;
    border: 1px solid var(--ink);
    font-size: 25px;
}

.education-period {
    padding-left: 18px;
    border-left: 1px solid var(--line);
}

.education-period span,
.education-period small {
    display: block;
    color: var(--muted);
    font-size: 9px;
}

.education-period strong {
    display: block;
    font-size: 25px;
    line-height: 1.5;
}

/* Experience */
.experience-card {
    border-color: var(--line);
}

.tag {
    padding: 5px 9px;
    background: #eee8de;
    font-size: 9px;
}

/* Areas of interest */
.interest-card {
    padding: 23px;
    background: var(--white);
    border: 1px solid var(--line);
    transition: border-color .18s ease;
}

.interest-card:hover {
    border-color: var(--ink);
}

.interest-visual {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 3vw, 32px);
    margin-block: 22px;
    border: 1px solid rgba(32, 30, 26, .08);
    background-color: #f0e5d4;
    background-image:
        linear-gradient(rgba(32, 30, 26, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 30, 26, .045) 1px, transparent 1px);
    background-size: 20px 20px;
}

.interest-visual i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 28px;
}

.interest-visual i:nth-child(2) {
    color: var(--red);
}

/* Skills */
.skills-list {
    border-top: 1px solid var(--line);
}

.skill-row {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding-block: 19px;
    border-bottom: 1px solid var(--line);
}

.skill-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    background: #eee7dc;
    font-size: 20px;
}

.skill-row h3 {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
}

.skill-row p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.skill-category {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .08em;
}

/* Contact */
.contact-links {
    border-top: 1px solid var(--line);
}

.contact-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 600;
}

.contact-links a span {
    display: flex;
    align-items: center;
    gap: 11px;
}

.contact-links a span i {
    color: var(--red);
    font-size: 17px;
}

.contact-links a>i {
    transition: transform .18s ease;
}

.contact-links a:hover>i {
    transform: translate(2px, -2px);
}

.contact-form {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
}

.demo-badge {
    padding: 5px 8px;
    border: 1px solid #e5c2bd;
    color: var(--red);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .08em;
}

.contact-form label {
    display: block;
    margin: 16px 0 7px;
    font-size: 10px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 11px;
    outline: none;
    transition: border-color .18s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--ink);
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.form-feedback {
    display: none;
    margin-top: 15px;
    padding: 12px;
    background: #f2e6d4;
    font-size: 10px;
}

/* Mobile */
@media (max-width: 767px) {
    .nav-links {
        position: absolute;
        top: 76px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 22px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav-links .nav-contact {
        margin-top: 12px;
        padding: 12px;
        text-align: center;
        border: 1px solid var(--ink);
    }

    .menu-toggle {
        display: block;
    }

    .section-space {
        padding-block: 68px;
    }

    .section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .section-intro {
        margin-top: 16px;
    }

    .supply-map {
        min-height: 320px;
    }

    .supply-node {
        min-width: 100px;
        padding: 11px 7px;
    }

    .supply-node strong {
        font-size: 8px;
    }

    .supply-node small {
        font-size: 7px;
    }

    .route-one {
        width: 29%;
    }

    .route-two {
        width: 29%;
    }

    .profile-image {
        aspect-ratio: 4 / 3.4;
    }

    .education-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .education-period {
        grid-column: 2;
        padding: 12px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .education-period strong {
        display: inline;
        margin-right: 5px;
        font-size: 20px;
    }

    .education-period span,
    .education-period small {
        display: inline;
    }

    .skill-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .skill-category {
        grid-column: 2;
        margin-top: -8px;
    }

    .contact-form {
        padding: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}