/* ===== VARIABLES ===== */
:root {
    --bg-primary: #0F1B2D;
    --bg-secondary: #162236;
    --bg-card: #1C2A3F;
    --bg-accent: #1F2F47;
    --text-primary: #F0EDE8;
    --text-secondary: #A3B1C4;
    --text-muted: #6B7D94;
    --accent: #5B9BD5;
    --accent-light: #7BB3E0;
    --accent-dim: rgba(91, 155, 213, 0.12);
    --accent-amber: #D4A574;
    --accent-teal: #4BACC6;
    --service-blue: #2E6399;
    --service-amber: #8C6840;
    --service-teal: #2D7F94;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 16px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 27, 45, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    color: var(--accent) !important;
    border: 1px solid rgba(91, 155, 213, 0.3);
    padding: 0.6rem 1.4rem;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

section {
    padding: 7rem 0;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 30%, rgba(91, 155, 213, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 3rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 1rem 2.25rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-cta:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.hero-cta .arrow {
    transition: transform 0.3s;
}

.hero-cta:hover .arrow {
    transform: translateX(4px);
}

.hero-journey {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-step {
    flex: 1;
    max-width: 220px;
}

.hero-step-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.hero-step-num {
    font-family: var(--sans);
    font-size: 1.4rem;
    font-weight: 500;
}

.hero-step-explorer .hero-step-num { color: var(--accent); }
.hero-step-assessment .hero-step-num { color: var(--accent-amber); }
.hero-step-implementation .hero-step-num { color: var(--accent-teal); }

.hero-step-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
}

.hero-step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hero-step-arrow {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.8;
    padding-top: 0.5rem;
    font-weight: bold;
}

/* ===== PROBLEM ===== */
.problem {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.problem h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 700px;
    line-height: 1.3;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 3rem;
}

.problem-card {
    background: var(--bg-secondary);
    padding: 2.25rem;
}

.problem-card-icon {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.problem-card h3 {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== APPROACH ===== */
.approach {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.approach .container {
    max-width: 1300px;
}

.approach h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    max-width: 800px;
    line-height: 1.3;
}

.approach-intro {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.75;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.approach-item {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.approach-number {
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--accent-amber);
    opacity: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.approach-item h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--accent-light);
}

.approach-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FRAMEWORK ===== */
.framework {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.framework h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 1rem;
    max-width: 600px;
    line-height: 1.3;
}

.framework-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 3.5rem;
    line-height: 1.75;
}

.maturity-track {
    display: flex;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

/* Self-assessment lead capture */
.framework-capture {
    background: #2A2520;
    border: 1px solid rgba(212, 165, 116, 0.25);
    border-left: 3px solid var(--accent-amber);
    padding: 1.75rem 2.5rem;
    margin-bottom: 2rem;
}

.framework-capture-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 0.6rem;
}

.framework-capture-text {
    color: #FFFFFF;
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.capture-form {
    display: flex;
    gap: 0.5rem;
}

.capture-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.3);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
}

.capture-input::placeholder {
    color: var(--text-muted);
}

.capture-input:focus {
    border-color: var(--accent-amber);
}

.capture-btn {
    background: var(--accent-amber);
    color: #1A1410;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.capture-btn:hover {
    background: #E0B88A;
}

.capture-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.capture-success {
    display: none;
    color: var(--accent-amber);
    font-size: 0.95rem;
    padding-top: 0.25rem;
}

.maturity-item {
    flex: 1;
    background: var(--bg-secondary);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: background 0.3s;
}

.maturity-item:hover {
    background: var(--bg-card);
}

.maturity-item-highlight {
    background: var(--bg-card);
    border-bottom: 2px solid var(--accent);
}

.maturity-level {
    font-family: var(--serif);
    font-size: 1.8rem;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.maturity-item-highlight .maturity-level {
    opacity: 1;
}

.maturity-name {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.maturity-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.framework-subhead {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.framework-sub-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.phase-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    transition: border-color 0.3s;
}

.phase-card:hover {
    border-color: var(--border-hover);
}

.phase-num {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--accent);
    opacity: 0.5;
    min-width: 1.5rem;
    line-height: 1;
    padding-top: 0.15rem;
}

.phase-title {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.phase-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.principle h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.principle p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== SERVICES ===== */
.services {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.services-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 4rem;
    line-height: 1.75;
}

.service-cards {
    display: grid;
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    transition: border-color 0.3s;
}

.service-card:hover {
    border-color: var(--border-hover);
}

.service-card-explorer .service-card-left {
    background: var(--service-blue);
}

.service-card-assessment .service-card-left {
    background: var(--service-amber);
}

.service-card-implementation .service-card-left {
    background: var(--service-teal);
}

.service-card-explorer,
.service-card-assessment,
.service-card-implementation {
    border: none;
    padding: 0;
    overflow: hidden;
}

.service-card-explorer .service-card-left,
.service-card-assessment .service-card-left,
.service-card-implementation .service-card-left {
    padding: 2.5rem;
}

.service-card-explorer .service-card-right,
.service-card-assessment .service-card-right,
.service-card-implementation .service-card-right {
    background: var(--bg-card);
    padding: 2.5rem;
}

.service-card-explorer .service-tier,
.service-card-assessment .service-tier,
.service-card-implementation .service-tier {
    color: rgba(255, 255, 255, 0.7);
}

.service-card-explorer .service-duration,
.service-card-assessment .service-duration,
.service-card-implementation .service-duration {
    color: rgba(255, 255, 255, 0.6);
}

.service-card-explorer .service-price {
    color: #FFFFFF;
}

.service-card-explorer .service-scope,
.service-card-assessment .service-scope,
.service-card-implementation .service-scope {
    color: rgba(255, 255, 255, 0.6);
}

.service-card-explorer h3,
.service-card-assessment h3,
.service-card-implementation h3 {
    color: #FFFFFF;
}

.service-card-explorer h3 em,
.service-card-assessment h3 em,
.service-card-implementation h3 em {
    color: #FFFFFF;
}

.service-card-assessment .service-outcomes li::before {
    color: var(--accent-amber);
}

.service-card-implementation .service-outcomes li::before {
    color: var(--accent-teal);
}

.service-tier {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card h3 em {
    font-style: italic;
    color: var(--accent-light);
}

.service-duration {
    font-size: 1rem;
    color: var(--text-muted);
}

.service-price {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--accent);
    margin-top: 0.75rem;
}

.service-scope {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.75rem;
}

.service-card-right p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-outcomes {
    list-style: none;
    padding: 0;
}

.service-outcomes li {
    font-size: 1.02rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.service-outcomes li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0.6;
}

/* ===== RESULTS ===== */
.result-compact {
    max-width: 700px;
}

.result-quote {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
}

.result-outcome {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 1.5rem;
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.about-left h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-photo {
    width: 100%;
    max-width: 280px;
    margin-top: 2rem;
    border: 1px solid var(--border);
}

.about-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.about-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-right p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-right p:first-child {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    padding: 8rem 0;
}

.cta-section h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.cta-section h2 em {
    font-style: italic;
    color: var(--accent);
}

.cta-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 1.1rem 2.75rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.cta-button:hover {
    background: #FFFFFF;
    transform: translateY(-1px);
}

/* ===== FOOTER ===== */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-linkedin,
.footer-github {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-linkedin svg {
    background: #FFFFFF;
    border-radius: 3px;
}

.footer-email {
    color: var(--text-primary) !important;
    font-weight: 500;
}

.footer-right a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-right a:hover {
    color: var(--text-secondary);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: block;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4.5rem 0;
    }

    .hero {
        min-height: auto;
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .hero-journey {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .maturity-track {
        flex-direction: column;
    }

    .phase-grid {
        grid-template-columns: 1fr;
    }

    .principles {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .cta-section {
        padding: 5rem 0;
    }
}
