@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
    --ink: #17140f;
    --ink-soft: #4a463e;
    --paper: #f7f3ea;
    --surface: #fffdf9;
    --line: #e6ddc9;
    --line-soft: #efe8d8;
    --gold: #a3792f;
    --gold-deep: #7c5a22;
    --gold-wash: #f3e9d3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--paper); color: var(--ink); line-height: 1.6; }
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
section { margin: 0; }

nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(247, 243, 234, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 50; max-width: 900px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
nav h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; letter-spacing: 0.2px; color: var(--ink); }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.nav-links a {
    text-decoration: none; color: var(--ink-soft); font-weight: 600;
    letter-spacing: 0.4px; text-transform: uppercase; font-size: 11.5px;
    position: relative; padding-bottom: 3px; transition: color 0.2s;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
    background: var(--gold); transition: width 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); padding: 6px 10px; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; position: absolute; top: 100%; left: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,0.06); padding: 8px 24px 16px; }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 14px 0; border-top: 1px solid var(--line-soft); }
    .nav-links a:first-child { border-top: none; }
}

/* Profile header */
.profile-header { background: var(--surface); margin-bottom: 8px; }
.banner { position: relative; height: 300px; overflow: hidden; background: #0a0a0a; }
.banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-text {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(255, 253, 249, 0.92);
    border: 1px solid rgba(163, 121, 47, 0.35);
    border-radius: 4px;
    padding: 26px 40px;
    max-width: 560px;
    width: max-content;
    text-align: center;
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}
.banner-name {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ink);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 0 0 6px;
}
.banner-headline {
    color: var(--gold-deep);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.banner-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: var(--ink-soft);
    font-size: 15px;
    margin: 0 0 12px;
}
.banner-location {
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0;
}
.banner-location::before { content: "— "; color: var(--gold); }

@media (max-width: 640px) {
    .banner { height: 340px; }
    .banner-text { left: 16px; right: 16px; top: 50%; transform: translateY(-50%); width: auto; max-width: none; padding: 20px 20px; }
    .banner-name { font-size: 24px; }
}

.section-pad { padding: 34px 0; }
.section-pad + .section-pad { border-top: 8px solid var(--paper); }
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px; font-weight: 700; margin-bottom: 18px; color: var(--ink);
}
section.section-pad > .container {
    background: var(--surface);
    border-radius: 3px;
    padding: 30px 32px;
    border: 1px solid var(--line);
}

/* About / personality statement */
.about-statement {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink);
    max-width: 680px;
}
.about-statement .accent { color: var(--gold-deep); font-style: italic; }

/* Skills */
.skills-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-pill {
    display: inline-block;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--gold);
    border-radius: 2px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* List items (education / experience) */
.li-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
}
.li-item:last-child { border-bottom: none; padding-bottom: 0; }
.li-item:first-child { padding-top: 0; }
.li-logo {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 2px;
    background: var(--ink);
    color: var(--gold-wash);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.3px;
}
.li-body h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.li-sub { font-size: 13px; color: var(--gold-deep); font-weight: 600; margin-bottom: 6px; }
.li-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; max-width: 620px; }
.li-desc-list { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; max-width: 620px; margin: 0; padding-left: 18px; }
.li-desc-list li { margin-bottom: 2px; }
.li-desc-list li::marker { color: var(--gold); }

/* Grouped company entry (LinkedIn-style multi-role) */
.li-group-header h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.li-group-sub { font-size: 13px; color: var(--gold-deep); font-weight: 600; margin-bottom: 10px; }
.li-roles { display: flex; flex-direction: column; gap: 14px; }
.li-role { display: flex; gap: 14px; }
.li-role-rail { flex-shrink: 0; width: 46px; display: flex; flex-direction: column; align-items: center; }
.li-role-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-top: 4px; }
.li-role-line { flex: 1; width: 1px; background: var(--line); margin-top: 4px; }
.li-role-body h5 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 1px; }
.li-role-dates { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.li-role-body .li-desc { margin-top: 0; }

/* Footer */
.footer { padding: 36px 0; color: var(--ink-soft); font-size: 12.5px; text-align: center; border-top: 1px solid var(--line); }
