:root {
    /* Lapis Velvet Evening palette */
    --deep-plum: #2D1B3D;
    --royal-purple: #4A2C5E;
    --twilight-blue: #1E3A5F;
    --midnight: #0F1419;
    --slate-blue: #5B7C99;
    --soft-lavender: #8B7BA8;
    --pale-blue: #A8C5DA;
    --ivory: #F5F3EE;
    --warm-white: #FDFBF7;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--twilight-blue);
    background: var(--warm-white);
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--ivory) 100%);
    border-bottom: 1px solid rgba(45, 27, 61, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 44, 94, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--soft-lavender);
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(45, 27, 61, 0.15);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

.header-content {
    position: relative;
    z-index: 1;
}

h1 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--deep-plum);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--royal-purple);
    font-weight: 500;
    margin-bottom: 32px;
}

.hook {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.75rem;
    color: var(--twilight-blue);
    max-width: 700px;
    line-height: 1.4;
    font-style: italic;
    border-left: 3px solid var(--soft-lavender);
    padding-left: 24px;
    margin: 40px 0;
}

/* Main Content */
main {
    padding: 80px 0;
}

section {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }

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

h2 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2rem;
    color: var(--deep-plum);
    margin-bottom: 24px;
    font-weight: 600;
}

p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--twilight-blue);
    margin-bottom: 20px;
}

.problem {
    background: linear-gradient(135deg, var(--ivory) 0%, rgba(245, 243, 238, 0.5) 100%);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(74, 44, 94, 0.15);
    position: relative;
    overflow: hidden;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--soft-lavender), var(--royal-purple));
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 36px;
    border-radius: 8px;
    border: 1px solid rgba(74, 44, 94, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(45, 27, 61, 0.08);
    border-color: var(--soft-lavender);
}

.service-card h3 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.5rem;
    color: var(--royal-purple);
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 12px;
}

.service-card .detail {
    font-size: 0.9375rem;
    color: var(--slate-blue);
    font-style: italic;
}

/* Proof Points */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.proof-item {
    text-align: center;
    padding: 24px;
}

.proof-number {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 3rem;
    color: var(--royal-purple);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.proof-label {
    font-size: 0.9375rem;
    color: var(--twilight-blue);
    line-height: 1.4;
}

/* Contact */
.contact-info {
    background: linear-gradient(135deg, var(--deep-plum) 0%, var(--royal-purple) 100%);
    color: white;
    padding: 60px 48px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-info > * {
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    color: white;
    margin-bottom: 16px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.email-link {
    display: inline-block;
    background: white;
    color: var(--royal-purple);
    padding: 16px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--ivory);
}

.linkedin-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-top: 24px;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    color: white;
    border-bottom-color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 24px;
    color: var(--slate-blue);
    font-size: 0.875rem;
    border-top: 1px solid rgba(74, 44, 94, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hook {
        font-size: 1.375rem;
        padding-left: 16px;
    }

    h2 {
        font-size: 1.625rem;
    }

    .contact-info {
        padding: 40px 32px;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    section {
        margin-bottom: 60px;
    }
}

/* Section cards on the home page */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.nav-card {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 32px 28px;
    border-radius: 8px;
    border: 1px solid rgba(74, 44, 94, 0.12);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--soft-lavender), var(--royal-purple));
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(45, 27, 61, 0.08);
    border-color: var(--soft-lavender);
}

.nav-card h3 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.5rem;
    color: var(--deep-plum);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.nav-card p {
    font-size: 0.9875rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.nav-card .card-link {
    color: var(--royal-purple);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Sub-page top bar */
.topbar {
    padding: 20px 0;
    border-bottom: 1px solid rgba(45, 27, 61, 0.1);
    background: var(--ivory);
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.topbar .brand {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-plum);
    text-decoration: none;
}

.topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.topbar nav a {
    color: var(--twilight-blue);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.topbar nav a:hover,
.topbar nav a[aria-current="page"] {
    color: var(--royal-purple);
    border-bottom-color: var(--soft-lavender);
}

.page-title {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-lead {
    font-size: 1.125rem;
    color: var(--royal-purple);
    margin-bottom: 8px;
}

.back-home {
    display: inline-block;
    margin-top: 8px;
    color: var(--royal-purple);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--soft-lavender);
}

@media (max-width: 768px) {
    .nav-cards {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2.125rem;
    }

    table td {
        display: block;
        width: 100% !important;
        padding-right: 0 !important;
    }

    table td:first-child {
        padding-bottom: 0 !important;
    }
}
