/* Career-page palette overrides only; layout and components remain unchanged. */

/* Shared page reset and typography */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

:root {
        --paper: #FAFAF7;
        --ivory: #F5F1E8;
        --ink: #203F56;
        --muted: #526776;
        --blue: #244A63;
        --blue-deep: #203F56;
        --blue-soft: #244A63;
        --line: rgba(32, 63, 86, .16);
}
.site-header .navbar { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; width: 100%; }
.career-entry-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.career-title-group { min-width: 0; }
.career-title-group .career-company { margin: 3px 0 0; }
.career-title-group .career-location { margin: 3px 0 0; }
.career-title-group .career-company + .career-location { margin-top: 3px; }
.site-brand {
    color: #244a63; text-decoration: none; font: 600 20px/1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .15em; white-space: nowrap;
}
.site-brand:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 5px; }
.career-footer {
                    min-height: 56px; 
                    box-sizing: border-box; 
                    display: flex; 
                    align-items: center; 
                    justify-content: space-between; 
                    gap: 24px;
                    padding: 12px clamp(24px, 4.8vw, 76px); 
                    border-top: 1px solid var(--line);
                    background: #FAFAF7; 
                    color: #203F56;
                }
.career-footer p { 
                    margin: 0; 
                    color: #203F56; 
                    font-size: 10px; 
                    letter-spacing: .08em; 
                    text-transform: uppercase; 
                }
.career-footer-links { 
                        display: flex; 
                        align-items: center; 
                        justify-content: flex-end; 
                        flex-wrap: wrap; 
                        gap: 18px; 
                    }
.career-footer a { 
                    color: #203f56; 
                    text-decoration: none; 
                }
.career-footer a:hover { color: var(--blue-soft); }
.career-footer .back-to-top { 
                                font: 20px/1 Inter, sans-serif; 
                                padding-left: 0; 
                            }
.career-footer-links svg { 
                            width: 16px; 
                            height: 16px; 
                            display: block; 
                            fill: none; 
                            stroke: currentColor; 
                            stroke-width: 1.7; 
                            stroke-linecap: round; 
                            stroke-linejoin: round; 
                        }
.career-header {
    min-height: 74px; box-sizing: border-box; padding: 0 clamp(24px, 4.8vw, 76px);
    border-bottom: 1px solid rgba(32,63,86,.16); background: #FAFAF7;
    display: flex; align-items: center;
}
.career-header-inner {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; gap: 28px;
}
.career-header .site-brand {
    color: #244a63; text-decoration: none; font: 600 20px/1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .15em; white-space: nowrap;
}
.career-nav-links {
    display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px, 2.1vw, 32px);
}
.career-nav-links a {
    padding: 28px 0 24px; border-bottom: 2px solid transparent;
    color: #203F56; font-size: 11px; font-weight: 400; letter-spacing: 0;
    text-decoration: none; white-space: nowrap;
}
.career-nav-links a:hover, .career-nav-links a[aria-current="page"] {
    border-bottom-color: #244a63; color: #203f56;
}
.career-nav-links a:focus-visible, .career-header .site-brand:focus-visible {
    outline: 2px solid var(--blue-soft); outline-offset: 4px;
}
/* Career hero matched to the full-width Let’s Collab hero. */
/* Hero styling mirrors the work-with-me repository's .hero rules. */
.career-hero {
    background: var(--blue);
    color: var(--paper);
    padding: clamp(42px, 5vw, 62px) clamp(24px, 4.8vw, 76px);
    overflow: hidden;
}
.career-hero-inner { max-width: none; margin: 0; }
.career-hero h1 {
    margin: 0; max-width: 1050px;
    font: 600 clamp(44px, 5.4vw, 76px)/.98 "Cormorant Garamond", Georgia, serif;
    letter-spacing: -.025em;
}
.career-hero p:last-child {
    margin: 18px 0 0; max-width: 760px;
    color: rgba(250,250,247,.94); font-size: clamp(15px, 1.5vw, 21px); line-height: 1.55;
}
.career-main { max-width: 1400px; margin: 0 auto; padding: 22px clamp(24px, 5vw, 78px) 42px; }
.career-section + .career-section { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.career-section-label { color: var(--blue-soft); margin: 0 0 12px; }
.career-section h2 {
    font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(32px, 3.5vw, 42px);
    line-height: 1.05; font-weight: 600; color: #203F56; margin: 0 0 18px;
}
.career-timeline { position: relative; margin-left: 5px; }
.career-entry { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 20px; }
.career-entry + .career-entry { margin-top: 0; }
.career-marker { display: flex; flex-direction: column; align-items: center; }
.career-marker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-top: 8px; flex: 0 0 auto; }
.career-entry:not(:last-child) .career-marker::after { content: ""; width: 1px; flex: 1; min-height: 30px; background: rgba(32,63,86,.22); }
.career-entry-content { padding: 14px 18px 16px; margin-bottom: 12px; background: #F2F0E9; border: 1px solid rgba(32,63,86,.12); border-radius: 5px; }
.career-entry:last-child .career-entry-content { padding-bottom: 16px; }

.career-entry h3 { margin: 0; color: var(--blue-deep); font: 600 22px/1.12 "Cormorant Garamond", Georgia, serif; }
.career-dates { color: var(--blue-soft); font-size: 11px; line-height: 1.5; font-weight: 600; white-space: nowrap; text-align: right; }
.career-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 150px; flex: 0 0 auto; }
.career-meta .career-location { margin: 0; text-align: right; }
.career-company { margin: 3px 0 0; color: var(--ink); font: 500 16px/1.3 "Cormorant Garamond", Georgia, serif; }
.career-location { margin: 4px 0 8px; color: var(--muted); font-size: 12px; }
.career-description { max-width: 760px; margin: 0; color: #203F56; font-size: 13px; line-height: 1.65; }
.career-rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 26px; }
.education-entry {
    padding: 14px 18px 16px;
    margin: 0 0 12px;
    background: #F2F0E9;
    border: 1px solid rgba(217,221,217,.55);
    border-radius: 5px;
}
.education-entry:last-child { margin-bottom: 0; }
.education-entry h3 {
    margin: 0;
    color: var(--blue-deep);
    font: 600 22px/1.12 "Cormorant Garamond", Georgia, serif;
}
.education-entry .career-company {
    margin: 3px 0 0;
    color: var(--ink);
    font: 500 16px/1.3 "Cormorant Garamond", Georgia, serif;
}
.education-entry .career-description {
    max-width: 760px;
    margin: 0;
    color: #526776;
    font-size: 13px;
    line-height: 1.65;
}
@media (max-width: 900px) {
    .career-header-inner { gap: 18px; }
    .career-header .site-brand { font-size: 17px; }
    .career-nav-links { gap: 14px; }
    .career-nav-links a { padding: 28px 0 24px; }
}
@media (max-width: 760px) {
    .career-header { min-height: 0; padding: 18px clamp(24px, 5vw, 78px); }
    .career-header-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
    .career-nav-links { width: 100%; justify-content: space-between; gap: 10px; }
    .career-nav-links a { font-size: 10px; letter-spacing: 0; padding: 10px 0 13px; }
    .career-header .site-brand { font-size: 16px; letter-spacing: .07em; }
    .career-footer { align-items: center; flex-direction: row; gap: 14px; padding: 12px 24px; }
    .career-footer-links { justify-content: flex-start; gap: 14px; }
}
@media (max-width: 640px) {
    .career-hero { padding: 46px clamp(24px, 4.8vw, 76px) 42px; }
    .career-hero h1 { font-size: clamp(42px, 11vw, 58px); }
    .career-hero p:last-child { font-size: clamp(15px, 1.5vw, 21px); }
    .career-main { padding: 22px 24px 36px; }
    .career-section + .career-section { margin-top: 12px; padding-top: 22px; }
    .career-entry { grid-template-columns: 14px minmax(0,1fr); column-gap: 13px; }
    .career-entry-head { display: flex; flex-direction: column; gap: 2px; }
    .career-meta { align-items: flex-start; margin-top: 3px; }
    .career-meta .career-location { text-align: left; }
    .career-dates { display: block; text-align: left; margin-top: 5px; }
    .career-meta { align-items: flex-start; margin-top: 5px; }
    .career-meta .career-location { text-align: left; }
    .career-entry h3 { font-size: 19px; }
    .career-description { font-size: 13px; }
}

.career-filters {
    display: grid; grid-template-columns: .8fr 1.2fr .9fr .9fr; gap: 12px;
    margin: 0 0 28px; padding: 0 0 18px; border-bottom: 1px solid var(--line);
}
.career-filter {
    appearance: none; border: 1px solid rgba(36,74,99,.18); border-radius: 4px;
    background: #E6F0F2; color: var(--blue-deep); cursor: pointer;
    padding: 12px 14px; margin: 0;
    font: 500 16px/1.2 "Cormorant Garamond", Georgia, serif;
    transition: background 180ms ease, border-color 180ms ease;
}
.career-filter:first-child { padding-left: 14px; }
.career-filter:hover, .career-filter[aria-pressed="true"] {
    color: #FAFAF7; border-color: #244A63; background: #244A63;
}
.career-filter:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; }
.recognition-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.recognition-item {
    min-width: 0; padding: 20px 18px 18px; background: #E6F0F2; border: 1px solid rgba(36,74,99,.18); border-radius: 4px;
}
.recognition-type {
    margin: 0 0 9px; color: var(--blue-soft); font-size: 9px;
    font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
}
.recognition-item h3 {
    margin: 0 0 5px; color: #203F56;
    font: 600 24px/1.12 "Cormorant Garamond", Georgia, serif;
}
.recognition-source { margin: 0 0 10px; color: var(--ink); font-size: 12px; font-weight: 500; }
.recognition-description { margin: 0; max-width: 58ch; color: #203F56; font-size: 12px; line-height: 1.65; }
.recognition-link {
    display: inline-block; margin-top: 13px; color: #263e5b;
    font-size: 10px; font-weight: 600; letter-spacing: .1em;
    text-decoration: none; text-transform: uppercase;
    border-bottom: 1px solid rgba(38,62,91,.35); padding-bottom: 3px;
}
.recognition-link:hover { border-bottom-color: currentColor; color: var(--blue-soft); }
@media (max-width: 900px) { .recognition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .career-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 28px; }
    .career-filter, .career-filter:first-child { text-align: left; padding: 13px 8px; font-size: 9px; }
    .recognition-grid { grid-template-columns: minmax(0,1fr); }
    .recognition-item h3 { font-size: 24px; }
}


/* Mobile header and hero follow the Let's Collab responsive reference.
    All rules are mobile-only so desktop styling remains untouched. */
@media (max-width: 900px) {
    .career-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 18px clamp(24px, 4.8vw, 76px) 0;
    }
    .career-header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .career-header .site-brand {
        font-size: 20px;
        letter-spacing: .15em;
    }
    .career-nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    .career-nav-links a {
        padding: 10px 0 13px;
        font-size: 10px;
    }
}
@media (max-width: 640px) {
    .career-hero {
        padding: 46px clamp(24px, 4.8vw, 76px) 42px;
    }
    .career-hero h1 {
        font-size: clamp(42px, 11vw, 58px);
        line-height: .98;
    }
    .career-hero p:last-child {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.55;
    }
}
@media (max-width: 380px) {
    .career-header .site-brand { font-size: 17px; }
    .career-nav-links { gap: 8px; }
    .career-nav-links a { font-size: 9px; }
}
