/* ===== Zach Burns — Portfolio Theme ===== */
/* Typography & color system customized to leadership brand */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core palette: warm ink & paper, terracotta accent — drawn from the paint-chip world of the work itself */
    --primary-color: #1c1a17;         /* Warm ink */
    --secondary-color: #b5502e;       /* Terracotta accent */
    --accent-deep: #8a3c22;           /* Terracotta, deepened for hovers/gradients */
    --accent-2: #1f6f5c;              /* Teal — swatch strip only */
    --accent-3: #c9a227;              /* Gold — swatch strip only */
    --text-color: #211d1a;            /* High-contrast body text */
    --muted-text: #6b6154;            /* Subheadings/secondary */
    --bg-color: #f6f2ea;              /* Warm cream background */
    --surface-color: #ffffff;         /* Cards/sections */
    --light-gray: #efe8db;            /* Subtle separators */
    --border-color: #e3ddd0;          /* Borders */

    /* Spacing scale */
    --space-1: 0.375rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Source Sans Pro', sans-serif;
    line-height: 1.75; /* Comfortable reading for long-form */
    letter-spacing: 0.01em; /* Slightly open for clarity */
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 1.02rem;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: var(--space-5);
}

/* Header & Navigation */
/* ===== Header / Navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.navbar {
        max-width: 960px;
    margin: 0 auto;
    padding: var(--space-3) var(--space-5);
        display: flex;
    gap: var(--space-3);
    align-items: center;
        position: relative; /* anchor dropdown panel positioning */
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.brand-text {
    color: #fff !important;
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Menu button + dropdown panel */
.menu-button {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 0.4rem 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    transition: transform 120ms ease, box-shadow 120ms ease;
}
.menu-button:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.menu-button:active { transform: translateY(0); }

.menu-panel {
    position: absolute;
    right: 1.5rem;
    top: calc(100% + 8px);
    background: #262320;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 0.4rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    display: none;
    min-width: 220px;
}
.menu-panel.open { display: block; }

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.menu-item { margin: 0; }

.menu-link {
    display: block;
    padding: 0.5rem 0.6rem;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 120ms ease;
}
.menu-link:hover { background: rgba(255,255,255,0.08); }

.logo-headshot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}


/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: var(--space-5) 0;
}

/* ===== Typography Hierarchy ===== */
h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.25rem, 3.4vw, 3rem);
    line-height: 1.15;
    font-weight: 600; /* Fraunces carries presence at lighter weights than a sans can */
    color: var(--primary-color);
    margin-bottom: var(--space-4);
    padding-bottom: calc(var(--space-2) + 10px);
    position: relative;
}

/* Signature: a paint-chip swatch strip, standing in for the old solid underline */
h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 96px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right,
        var(--secondary-color) 0 34%,
        var(--accent-2) 34% 67%,
        var(--accent-3) 67% 100%);
}

h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.3;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: var(--space-5);
    margin-bottom: var(--space-3);
    letter-spacing: 0.01em;
}

.section-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-heading svg {
    width: 1.4rem;
    height: 1.4rem;
    color: var(--secondary-color);
}

h3 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.35;
    font-weight: 600;
    color: var(--text-color);
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: var(--space-3);
    margin-bottom: var(--space-2);
}

p {
    margin-bottom: var(--space-3);
    font-weight: 500;
}

main p,
main li {
    max-width: 70ch;
}

ul,
ol {
    margin-left: 1.5rem;
    margin-bottom: var(--space-3);
    padding-left: 0.25rem;
}
li { margin-bottom: var(--space-1); }

/* Callout for leadership statement — a paint-chip tab stands in for a plain border */
.callout {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 12px);
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(28,26,23,0.08);
    margin-bottom: var(--space-5);
}
.callout::before {
    content: "";
    position: absolute;
    left: var(--space-2);
    top: var(--space-3);
    bottom: var(--space-3);
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(var(--secondary-color), var(--accent-2));
}
.callout-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--space-2);
}
.callout-body {
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Links */
a { color: var(--secondary-color); }
a:hover { color: var(--accent-deep); }
a:active { color: #6b2e19; }

/* Buttons */
.btn,
a.download-btn,
.download-btn {
    position: relative;
    display: inline-block !important;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-deep));
    color: #fff !important;
    padding: 0.9rem 1.6rem !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 22px rgba(181, 80, 46, 0.28);
    transition: transform 0.08s ease, box-shadow 0.2s ease, filter 0.2s ease;
    border: 1px solid rgba(255,255,255,0.2);
}
.download-btn:link,
.download-btn:visited {
    color: #fff !important;
}
.btn:hover, .download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(181,80,46,0.32);
    filter: brightness(1.03);
}
.btn:active, .download-btn:active {
    transform: translateY(0);
}

.download-btn::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5rem;
    vertical-align: -0.15em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.btn.secondary {
    background-color: var(--surface-color);
    color: var(--primary-color) !important;
    border: 1px solid var(--border-color);
    box-shadow: none;
}
.btn.secondary:hover { border-color: #bfc9d6; }

/* Enhance markdown resume link to look like a polished button */
a[href="/resume.pdf"] {
    position: relative;
    display: inline-block;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-deep));
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(181,80,46,0.25);
    text-decoration: none !important;
    transition: transform 0.06s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
a[href="/resume.pdf"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(181,80,46,0.3);
    filter: brightness(1.02);
}
a[href="/resume.pdf"]:active {
    transform: translateY(0);
}
/* Download icon — real SVG, not an emoji glyph */
a[href="/resume.pdf"]::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5rem;
    vertical-align: -0.15em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Sections / Cards */
.section {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--space-5);
    margin: var(--space-5) 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.section.soft {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
}

/* Hero / Intro */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #fbeee2, var(--bg-color) 65%);
    border: 1px solid rgba(181,80,46,0.15);
    border-radius: 24px;
    padding: calc(var(--space-6) + 8px) var(--space-6) var(--space-6);
    margin-bottom: var(--space-5);
    box-shadow: 0 25px 45px rgba(28,26,23,0.07);
}

/* Signature: the hero opens under the same swatch strip as h1 — one motif, used sparingly */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(to right,
        var(--secondary-color) 0 20%,
        var(--accent-2) 20% 40%,
        var(--accent-3) 40% 60%,
        var(--primary-color) 60% 80%,
        var(--accent-deep) 80% 100%);
}

.hero-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hero-subtext {
    font-size: 1.05rem;
    color: var(--muted-text);
}

.hero-leadership .callout {
    background: #fff;
    border-color: rgba(181,80,46,0.25);
}

/* Insights cards */
.insight-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
    margin: var(--space-4) 0;
}

.insight-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 18px;
    padding: var(--space-4);
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-height: 220px;
    transition: transform 160ms ease, box-shadow 200ms ease;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(15,23,42,0.12);
}

.insight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.insight-icon .icon svg {
    width: 22px;
    height: 22px;
}
/* Cycle each card through the swatch palette — a different paint-chip tint per card */
.insight-card:nth-of-type(3n+1) .insight-icon { background: rgba(181,80,46,0.1); }
.insight-card:nth-of-type(3n+1) .insight-icon svg { color: var(--secondary-color); }
.insight-card:nth-of-type(3n+2) .insight-icon { background: rgba(31,111,92,0.12); }
.insight-card:nth-of-type(3n+2) .insight-icon svg { color: var(--accent-2); }
.insight-card:nth-of-type(3n) .insight-icon { background: rgba(201,162,39,0.16); }
.insight-card:nth-of-type(3n) .insight-icon svg { color: var(--accent-3); }

.insight-card h3 {
    margin: 0;
    font-size: 1.15rem;
}

.insight-card p {
    color: var(--muted-text);
    flex: 1;
    margin: 0;
}

.card-link {
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.content li,
.home li {
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    margin: var(--space-5) 0;
}

.contact-card {
    background-color: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: var(--space-5);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(181, 80, 46, 0.12);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-3);
    font-size: 1.25rem;
}

.contact-card p {
    color: var(--muted-text);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.contact-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-button:hover {
    background-color: var(--accent-deep);
    transform: scale(1.05);
}

/* Endorsements Page Styles */
.endorsement-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: var(--space-4) var(--space-5);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(181, 80, 46, 0.2);
}

.endorsement-button:hover {
    background-color: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(181, 80, 46, 0.3);
}

.endorsements-container {
    margin: var(--space-5) 0;
}

.endorsement-card {
    background-color: var(--surface-color);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.endorsement-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.endorsement-content {
    margin-bottom: var(--space-4);
}

.endorsement-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.endorsement-footer {
    border-top: 1px solid var(--light-gray);
    padding-top: var(--space-3);
}

.endorsement-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--space-1);
}

.endorsement-role {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: var(--space-5) 0;
    margin-top: var(--space-6);
    text-align: center;
    color: var(--muted-text);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.footer-links a {
    margin-left: var(--space-2);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Slideshow Styles — styled as a fanned paint-chip deck: two rotated cards peek out behind the active one */
.slideshow {
    position: relative;
    margin: var(--space-5) 0;
}

.slideshow::before,
.slideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
}
.slideshow::before { transform: rotate(-2.5deg); z-index: 0; }
.slideshow::after { transform: rotate(2.5deg); z-index: -1; }

.slideshow-container {
    position: relative;
    z-index: 1;
    width: 100%;
    background: var(--light-gray);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.slide {
    display: none;
    width: 100%;
    text-align: center;
}

.slide img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

.slide.active {
    display: block;
}

.slideshow-controls {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
}

.prev-btn, .next-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: var(--space-2) var(--space-3);
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--accent-deep);
}

.slideshow-dots {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
}

/* Dots as small swatch chips, cycling the same palette as the rest of the site */
.dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 0;
}
.dot:nth-of-type(3n+1) { background-color: var(--secondary-color); }
.dot:nth-of-type(3n+2) { background-color: var(--accent-2); }
.dot:nth-of-type(3n) { background-color: var(--accent-3); }

.dot.active {
    opacity: 1;
    transform: scale(1.1);
}

.dot:hover {
    opacity: 0.7;
}

/* ===== Experience Timeline ===== */
.timeline {
    position: relative;
    margin: var(--space-5) 0;
    padding-left: 28px;
    border-left: 2px solid var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-5);
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--surface-color);
    box-shadow: 0 0 0 2px var(--border-color);
}
.timeline-item:nth-of-type(3n+1)::before { background: var(--secondary-color); }
.timeline-item:nth-of-type(3n+2)::before { background: var(--accent-2); }
.timeline-item:nth-of-type(3n)::before { background: var(--accent-3); }

.timeline-item h3 { margin-top: 0; }

.timeline-date {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted-text);
    margin-bottom: 0.25rem;
}

/* ===== Attainment Bar — the one real metric on the site gets a real visual ===== */
.attainment {
    margin: var(--space-5) 0 var(--space-6);
}

.attainment-track {
    position: relative;
    height: 14px;
    border-radius: 7px;
    background: var(--light-gray);
    overflow: hidden;
}

.attainment-base {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--muted-text);
    opacity: 0.35;
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.attainment-gain {
    position: absolute;
    left: 82%;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-3));
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.attainment-scale {
    position: relative;
    height: 2.75rem;
}

.attainment-point {
    position: absolute;
    top: var(--space-2);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}
.attainment-point strong {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
}
.attainment-point span {
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.7rem;
}
.attainment-point--end strong { color: var(--secondary-color); }

/* ===== Scroll reveal — one quiet entrance treatment, applied via reveal.js ===== */
.section, .callout, .attainment, .timeline-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.section.is-visible, .callout.is-visible, .attainment.is-visible, .timeline-item.is-visible {
    opacity: 1;
    transform: none;
}

/* Cards keep their own hover-lift transform, so reveal fades opacity only — avoids the two fighting */
.insight-card, .contact-card, .endorsement-card {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.insight-card.is-visible, .contact-card.is-visible, .endorsement-card.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .section, .callout, .attainment, .timeline-item,
    .insight-card, .contact-card, .endorsement-card,
    .attainment-base, .attainment-gain {
        transition: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar { padding: var(--space-3); }
    .nav-toggle { display: block; color: #fff; background: transparent; border: 0; font-size: 1.25rem; }
    .nav-menu { display: none; }
    .nav-toggle[aria-expanded="true"] + .nav-menu { display: flex; flex-direction: column; gap: var(--space-2); }

    .container {
        padding: var(--space-3);
    }

    .slideshow-container {
        min-height: 250px;
    }

    .slide img {
        max-height: 300px;
    }

    .timeline { padding-left: 20px; }
    .timeline-item::before { left: -26px; width: 10px; height: 10px; }
}

/* ===== Print — resume should print clean, not like a webpage ===== */
@media print {
    .site-header, footer, .menu-button, .menu-panel, .btn, .download-btn, a[href="/resume.pdf"] {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
        font-size: 11pt;
    }
    .container {
        max-width: 100%;
        padding: 0;
    }
    .section, .callout, .attainment, .timeline-item, .insight-card, .contact-card, .endorsement-card {
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
    h1, h2, h3 {
        break-after: avoid;
    }
    a { color: #000; text-decoration: underline; }
    h1::after, .hero::before { background: #000 !important; }
}
