:root {
    --navy: #1f2937;
    --deep-blue: #1d4ed8;
    --blue: #2563eb;
    --light-blue: #dbeafe;
    --sky: #93c5fd;
    --soft-gray: #f4f6f9;
    --text: #222;
    --muted: #6b7280;
    --white: #ffffff;
    --accent: #10b981;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, #dbeafe 0, transparent 28%),
        radial-gradient(circle at bottom right, #fef3c7 0, transparent 25%),
        var(--soft-gray);
    color: var(--text);
    line-height: 1.7;
}

/* SKIP NAVIGATION */

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: #111827;
    padding: 8px 16px;
    border-radius: 0 0 8px 0;
    font-weight: bold;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* HEADER & NAV */

header {
    background: linear-gradient(135deg, var(--navy), #111827);
    color: var(--white);
    padding: 35px 10%;
    border-bottom: 6px solid var(--accent);
}

header h1 {
    margin: 0;
    font-size: 2.7rem;
    letter-spacing: -1px;
}

header p {
    color: #d1d5db;
    max-width: 850px;
}

.header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-text {
    flex: 1;
}

.header-image {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-image: url('files/headshot-web.jpg');
    background-size: cover;
    background-position: center 30%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

nav {
    margin-top: 22px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

nav a:hover {
    color: var(--sky);
    border-bottom: 2px solid var(--accent);
}

/* SHARED SURFACE STYLES */

.hero,
.section,
.card,
.article-card,
.post-placeholder,
.resume-header,
.dashboard-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.10);
}

.hero,
.section,
.article-card,
.post-placeholder {
    animation: fadeIn 0.6s ease-in;
}

.card,
.article-card,
.post-placeholder {
    border-top: 5px solid var(--blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.article-card:hover,
.post-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.16);
}

.dashboard-card {
    overflow: hidden;
    transition: transform 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
}

/* TYPOGRAPHY */

h1, h2, h3, h4 {
    color: inherit;
}

h2 {
    color: #111827;
}

h3 {
    color: #1f2937;
}

ul {
    padding-left: 22px;
}

li {
    margin-bottom: 10px;
}

/* BUTTONS & LINKS */

.button,
.draft-button,
.article-link,
.read-more {
    transition: all 0.2s ease;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    margin-right: 15px;
    margin-bottom: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    background: linear-gradient(135deg, var(--blue), var(--deep-blue));
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.button:hover {
    color: white;
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--deep-blue), #1e40af);
}

.tag {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--deep-blue);
    border: 1px solid #bfdbfe;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    margin-right: 8px;
    margin-top: 10px;
}

a {
    color: var(--blue);
}

a:hover {
    color: var(--deep-blue);
}

/* FOOTER */

footer {
    background: #111827;
    color: #d1d5db;
    border-top: 6px solid var(--accent);
    padding: 40px 10%;
    text-align: center;
    margin-top: 50px;
}

footer a {
    color: var(--white);
}

::selection {
    background: var(--accent);
    color: #111827;
}

/* PAGE LAYOUT — full-width sections (index) */

.hero {
    padding: 70px 10%;
}

.section {
    padding: 60px 10%;
}

.hero p,
.section p {
    max-width: 900px;
}

.button-group {
    margin-top: 30px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    padding: 25px;
}

/* CONTAINER LAYOUT — contained pages (resume, leadership, blog, articles, consulting) */

.container {
    max-width: 1100px;
    margin: auto;
    padding: 50px 10%;
}

.container .hero {
    padding: 45px;
    margin-bottom: 30px;
}

.container .section {
    padding: 35px;
    margin-bottom: 30px;
}

.container .section h3 {
    margin-top: 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

/* HERO LAYOUT — two-column hero with photo */

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.hero-image img {
    width: 105%;
    height: 105%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
}

/* RESUME */

.resume-header {
    padding: 40px;
    margin-bottom: 35px;
}

.resume-header h2 {
    margin-top: 0;
    font-size: 2rem;
    color: #111827;
}

.contact-info {
    margin-top: 20px;
    color: #4b5563;
}

.contact-info a {
    color: var(--blue);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.resume-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.resume-location {
    color: #4b5563;
    font-weight: 500;
    margin-right: 8px;
}

.resume-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: #eef2f7;
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #dbe3ef;
    transition: all 0.2s ease;
}

.resume-link-button:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.resume-link-button.primary {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
}

.job {
    margin-bottom: 35px;
}

.job:last-child {
    margin-bottom: 0;
}

.job-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1f2937;
}

.job-company {
    color: var(--blue);
    font-weight: bold;
}

.job-date {
    color: var(--muted);
    margin-bottom: 12px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.skill-box {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* LEADERSHIP */

.quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #374151;
    border-left: 5px solid var(--blue);
    padding-left: 20px;
    margin: 30px 0;
}

.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.principle-card {
    background-color: #f9fafb;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.principle-card h4 {
    margin-top: 0;
    color: #1f2937;
}

/* BLOG POST */

.post-meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    margin-top: -8px;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--blue);
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
}

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

.post-body {
    line-height: 1.85;
    font-size: 1.05rem;
    max-width: 720px;
}

.post-body h3 {
    margin-top: 2.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 6px;
}

.post-body p {
    margin-bottom: 1.2rem;
}

.post-body ul {
    margin: 0.5rem 0 1.2rem 0;
}

.post-body li {
    margin-bottom: 6px;
}

/* BLOG */

.placeholder-note {
    color: var(--muted);
    font-style: italic;
    margin-bottom: 15px;
}

.post-placeholder {
    padding: 35px;
    margin-bottom: 30px;
}

.post-placeholder h3 {
    margin-top: 0;
    color: #111827;
}

.draft-button {
    display: inline-block;
    margin-top: 18px;
    color: var(--blue);
    font-weight: bold;
    text-decoration: none;
}

.draft-button:hover {
    text-decoration: underline;
}

/* ARTICLES */

.article-card {
    padding: 35px;
    margin-bottom: 30px;
}

.article-card h3 {
    margin-top: 0;
    color: #111827;
}

.article-meta {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.reflection {
    background-color: #f9fafb;
    border-left: 4px solid var(--blue);
    padding: 18px;
    margin-top: 20px;
    border-radius: 6px;
}

.reflection h4 {
    margin-top: 0;
    color: #1f2937;
}

.article-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
}

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

/* REPORTS */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.dashboard-card.featured-chart {
    grid-column: 1 / -1;
}

.chart-container {
    height: 500px;
    width: 100%;
    padding: 10px 20px 0 10px;
}

.dashboard-image {
    height: 210px;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.12),
        rgba(16, 185, 129, 0.12)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1rem;
    font-weight: bold;
}

.dashboard-content {
    padding: 28px;
}

.dashboard-content h3 {
    margin-top: 0;
    color: #111827;
}

.dashboard-content p {
    color: #4b5563;
}

.dashboard-button {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;
    background-color: var(--blue);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.dashboard-button:hover {
    background-color: var(--deep-blue);
}

/* CONSULTING */

.work-list {
    margin-top: 30px;
    max-width: 950px;
}

.work-item {
    padding: 28px 0;
    border-bottom: 1px solid #e5e7eb;
}

.work-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.package-card {
    background: var(--white);
    border-radius: 16px;
    border-top: 5px solid var(--blue);
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.10);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.package-card h3 {
    margin-top: 0;
}

.package-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--deep-blue);
    margin: 8px 0 16px;
    line-height: 1.2;
}

.package-price-sub {
    font-size: 1rem;
    font-weight: normal;
    color: var(--muted);
}

.package-card .button-group {
    margin-top: auto;
    padding-top: 20px;
}

.button-disabled {
    display: inline-block;
    padding: 12px 24px;
    color: #9ca3af;
    background: #f3f4f6;
    border-radius: 999px;
    font-weight: bold;
    cursor: not-allowed;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--deep-blue));
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.step h4 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 1.1rem;
}

.step p {
    margin: 0;
    color: #4b5563;
}

.consulting-note {
    background: var(--white);
    border-left: 6px solid var(--accent);
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.10);
    max-width: 900px;
    margin-top: 20px;
}

/* ANIMATION */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width: 768px) {

    header {
        padding: 30px 5%;
    }

    .header-image {
        display: none;
    }

    header h1 {
        font-size: 2rem;
    }

    nav a {
        display: inline-block;
        margin-bottom: 10px;
    }

    .container {
        padding: 30px 5%;
    }

    .hero {
        padding: 40px 5%;
    }

    .section {
        padding: 40px 5%;
    }

    .container .hero,
    .container .section {
        padding: 25px;
    }

    .chart-container {
        height: 400px;
        padding: 0;
    }

    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        width: 180px;
        height: 180px;
    }

    footer {
        padding: 30px 5%;
    }
}
