/* ========== Design Tokens ========== */
:root {
    --bg: #0A0A0A;
    --bg-elevated: #111111;
    --bg-card: #141414;
    --accent: #FFB800;
    --accent-dim: rgba(255, 184, 0, 0.12);
    --green: #3FB950;
    --green-dim: rgba(63, 185, 80, 0.12);
    --blue: #60A5FA;
    --blue-dim: rgba(96, 165, 250, 0.12);
    --purple: #A78BFA;
    --purple-dim: rgba(167, 139, 250, 0.12);
    --text: #F0F0F0;
    --text-muted: #999999;
    --text-dim: #555555;
    --border: #1E1E1E;
    --border-light: #2A2A2A;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 8px;
    --max-width: 960px;
}

/* ========== Reset ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }

/* ========== Header ========== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid var(--border);
}
.logo {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.logo span { color: var(--accent); }
.header-links { display: flex; gap: 20px; }
.header-links a {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.header-links a:hover { color: var(--text); }

/* ========== Main ========== */
.main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 120px;
}

/* ========== Access Section ========== */
.access-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 48px;
}
.access-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.access-row {
    display: flex;
    gap: 12px;
}
.access-row input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}
.access-row input:focus { border-color: var(--accent); }
.btn-unlock {
    padding: 12px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-unlock:hover { opacity: 0.9; }
.access-error {
    color: #F85149;
    font-size: 13px;
    margin-top: 8px;
    min-height: 0;
}
.access-success {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 13px;
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--green-dim);
    border-radius: 6px;
}

/* ========== Journey Pipeline — Vertical Timeline ========== */
.journey-pipeline {
    margin-bottom: 56px;
    padding: 40px 0 0;
}
.pipeline-track {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 28px;
}
/* The continuous vertical line */
.pipeline-track::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 13px;
    width: 2px;
    background: linear-gradient(
        180deg,
        #FFB800 0%,
        #3FB950 25%,
        #60A5FA 50%,
        #818CF8 75%,
        #22D3EE 100%
    );
    opacity: 0.25;
    border-radius: 2px;
}

/* Individual stage card */
.pipeline-stage {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--stage-color, var(--accent));
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 22px 24px 20px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.pipeline-stage:hover {
    border-color: color-mix(in srgb, var(--stage-color) 40%, var(--border));
    border-left-color: var(--stage-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3),
                inset 0 0 0 1px color-mix(in srgb, var(--stage-color) 8%, transparent);
    transform: translateX(4px);
}

/* Stage header: dot + number + title */
.pipeline-stage-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* Colored timeline dot */
.pipeline-dot {
    position: absolute;
    left: -42px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--stage-color, var(--accent));
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--stage-color) 30%, transparent),
                0 0 12px color-mix(in srgb, var(--stage-color) 20%, transparent);
    z-index: 2;
    transition: box-shadow 0.3s;
}
.pipeline-stage:hover .pipeline-dot {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--stage-color) 40%, transparent),
                0 0 20px color-mix(in srgb, var(--stage-color) 35%, transparent);
}

/* Stage number */
.pipeline-stage-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--stage-color, var(--accent));
    opacity: 0.7;
    letter-spacing: 1px;
    min-width: 22px;
}

/* Stage title */
.pipeline-stage-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}

/* Stage description */
.pipeline-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
    max-width: 580px;
}

/* Deliverable tags */
.pipeline-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pipeline-deliverables span {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--stage-color, var(--accent));
    background: color-mix(in srgb, var(--stage-color) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--stage-color) 15%, transparent);
    border-radius: 4px;
    letter-spacing: 0.02em;
    transition: background 0.2s, border-color 0.2s;
}
.pipeline-stage:hover .pipeline-deliverables span {
    background: color-mix(in srgb, var(--stage-color) 12%, transparent);
    border-color: color-mix(in srgb, var(--stage-color) 25%, transparent);
}

/* Connector between stages */
.pipeline-connector {
    height: 20px;
    position: relative;
}

/* Cross-cutting layers (Expert Network + Build Challenge) */
.pipeline-layers {
    max-width: 720px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 28px;
}
.pipeline-layer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border: 1px solid;
    border-radius: var(--radius);
    transition: border-color 0.2s, background 0.2s;
    flex-wrap: nowrap;
}
.pipeline-layer:hover {
    border-color: currentColor;
}
.pipeline-layer a {
    margin-left: auto;
    flex-shrink: 0;
}

/* Pipeline section heading */
.journey-pipeline h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}
.journey-pipeline > p {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* Entrance animation for stages */
@keyframes pipelineSlideIn {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.pipeline-stage {
    animation: pipelineSlideIn 0.5s ease both;
}
.pipeline-stage:nth-child(1)  { animation-delay: 0.05s; }
.pipeline-stage:nth-child(3)  { animation-delay: 0.15s; }
.pipeline-stage:nth-child(5)  { animation-delay: 0.25s; }
.pipeline-stage:nth-child(7)  { animation-delay: 0.35s; }
.pipeline-stage:nth-child(9)  { animation-delay: 0.45s; }

/* ========== Journey Start Section ========== */
.journey-start-section {
    margin-bottom: 48px;
}
.journey-start-paths {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
    align-items: stretch;
}
.journey-start-primary {
    background: linear-gradient(180deg, rgba(255,184,0,0.04) 0%, var(--bg-card) 60%);
    border: 1px solid rgba(255,184,0,0.25);
    border-radius: var(--radius);
    padding: 32px;
}
.journey-start-primary h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}
.journey-start-primary > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}
.journey-start-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.journey-start-secondary {
    background: var(--bg-card);
    border: 1px solid rgba(167,139,250,0.15);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
}
.journey-start-secondary h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.journey-start-secondary > p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.journey-expert-note {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(167,139,250,0.04);
    border-left: 2px solid rgba(167,139,250,0.2);
    border-radius: 0 6px 6px 0;
}
.journey-expert-trust {
    margin-top: auto;
    padding-top: 16px;
    font-size: 12px;
    color: #A78BFA;
    opacity: 0.7;
}
.expert-path-cta {
    display: inline-block;
    padding: 10px 24px;
    background: #FFB800;
    color: #0A0A0A;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}
.expert-path-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    background: rgba(255,184,0,0.85);
    color: #0A0A0A;
}

/* ========== Continue Section (compact) ========== */
.continue-section {
    display: block !important;
    grid-template-columns: 1fr !important;
}
.continue-compact {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
}
.continue-compact-left h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}
.continue-compact-left p {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}
.continue-compact-form {
    display: flex;
    gap: 10px;
    flex: 1;
}
.continue-compact-form input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}
.continue-compact-form input:focus { border-color: var(--accent); }
.continue-section .continue-buttons {
    margin-top: 12px;
    padding: 0 24px 20px;
}

/* ========== Paths ========== */
.paths-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.path-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.path-card-primary {
    border-color: rgba(255, 184, 0, 0.25);
    background: linear-gradient(180deg, rgba(255, 184, 0, 0.04) 0%, var(--bg-card) 60%);
}
.path-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.path-card > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.path-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.path-form input {
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}
.path-form input:focus { border-color: var(--accent); }
.path-form input:disabled { opacity: 0.4; cursor: not-allowed; }

/* Buttons */
.btn-primary {
    padding: 12px 24px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-primary-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}
.btn-primary-lg:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.25);
}
.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-align: center;
}
.btn-secondary:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-secondary:disabled { opacity: 0.35; cursor: not-allowed; }

/* One-Shot Button & Modal */
.oneshot-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 4px 0;
}
.oneshot-divider::before,
.oneshot-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.btn-oneshot {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.btn-oneshot:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}
.btn-oneshot:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-oneshot .oneshot-bolt {
    font-size: 20px;
    flex-shrink: 0;
}
.btn-oneshot strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}
.btn-oneshot small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

/* One-Shot Warning Modal */
.oneshot-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 24px;
}
.oneshot-modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 32px;
    max-width: 520px;
    width: 100%;
}
.oneshot-modal-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}
.oneshot-warning {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.oneshot-warning p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}
.oneshot-warning strong { color: var(--text); }
.oneshot-warning em { color: var(--accent); font-style: italic; }
.oneshot-modal-buttons {
    display: flex;
    gap: 12px;
}
.oneshot-modal-buttons .btn-secondary {
    flex: 1;
}
.oneshot-modal-buttons .btn-primary {
    flex: 1;
}

/* Continue buttons */
.continue-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-agent {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-agent:hover { border-color: var(--text-muted); }
.btn-strategy { color: var(--accent); border-color: rgba(255,184,0,0.3); }
.btn-strategy:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-execution { color: var(--green); border-color: rgba(63,185,80,0.3); }
.btn-execution:hover { background: var(--green-dim); border-color: var(--green); }
.btn-build { color: var(--blue); border-color: rgba(96,165,250,0.3); }
.btn-build:hover { background: var(--blue-dim); border-color: var(--blue); }
.btn-deploy { color: var(--blue); border-color: rgba(96,165,250,0.3); }
.btn-deploy:hover { background: var(--blue-dim); border-color: var(--blue); }
.btn-experts { color: var(--purple); border-color: rgba(167,139,250,0.3); }
.btn-experts:hover { background: var(--purple-dim); border-color: var(--purple); }
.btn-monitor { color: #22D3EE; border-color: rgba(34, 211, 238, 0.3); }
.btn-monitor:hover { background: rgba(34, 211, 238, 0.12); border-color: #22D3EE; }

/* ========== Break Button ========== */
.break-btn {
    position: fixed;
    bottom: 72px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1a3a4a 0%, #0d2636 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 24px;
    color: #7dd3fc;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
}
.break-btn:hover {
    background: linear-gradient(135deg, #1e4d5e 0%, #123a4e 100%);
    border-color: rgba(125, 211, 252, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.15);
}
.break-btn svg { flex-shrink: 0; }

/* ========== Footer ========== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    font-size: 12px;
    color: var(--text-dim);
}
.footer-links { display: flex; gap: 16px; }
.footer a { color: var(--text-dim); font-size: 12px; }
.footer a:hover { color: var(--text-muted); }

/* ========== Project Dashboard ========== */
.project-dashboard { text-align: center; padding: 40px 0; }
.project-dashboard h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; color: #F0F0F0; }
.dash-meta { color: #999; margin-bottom: 32px; font-size: 15px; }
.dash-progress { display: flex; justify-content: center; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.dash-step { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: #999; }
.dash-step-dot {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid #2A2A2A; transition: all 0.3s;
}
.step-done .dash-step-dot { background: #3FB950; border-color: #3FB950; }
.step-done span { color: #3FB950; font-weight: 500; }
.step-next .dash-step-dot {
    border-color: #FFB800;
    animation: journeyPulse 2s infinite;
}
.step-next span { color: #FFB800; font-weight: 600; }
.step-pending .dash-step-dot { border-color: #2A2A2A; }
.btn-next-step {
    display: inline-block; padding: 14px 32px; font-size: 16px; font-weight: 600;
    margin-top: 16px; text-decoration: none; border-radius: 8px;
    background: #FFB800; color: #0A0A0A; transition: all 0.2s;
}
.btn-next-step:hover {
    transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,184,0,0.25);
}
.dash-links { margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.dash-links a {
    color: #60A5FA; text-decoration: none; font-size: 13px; padding: 6px 12px;
    border: 1px solid #1E1E1E; border-radius: 6px; transition: all 0.2s;
}
.dash-links a:hover { border-color: #60A5FA; background: rgba(96,165,250,0.08); }

@keyframes journeyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,184,0,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255,184,0,0); }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .paths-section { grid-template-columns: 1fr; }
    .header { padding: 16px 20px; }
    .main { padding: 32px 16px 120px; }
    .oneshot-modal-buttons { flex-direction: column; }
    .header-links { gap: 10px; }
    .header-links a { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; }
    .journey-start-paths { grid-template-columns: 1fr; }
    .continue-compact { flex-direction: column; align-items: stretch; }
    .continue-compact-left { text-align: center; }
    .continue-compact-left p { white-space: normal; }
    .continue-compact-form { flex-direction: column; }

    /* Pipeline responsive */
    .pipeline-track {
        padding-left: 24px;
    }
    .pipeline-track::before {
        left: 10px;
    }
    .pipeline-dot {
        left: -37px;
        width: 12px;
        height: 12px;
    }
    .pipeline-stage {
        padding: 16px 14px 14px;
    }
    .pipeline-stage-header {
        gap: 8px;
        margin-bottom: 8px;
    }
    .pipeline-stage-header h3 {
        font-size: 15px;
    }
    .pipeline-stage-num {
        font-size: 11px;
        min-width: 18px;
    }
    .pipeline-desc {
        font-size: 12px;
        line-height: 1.55;
        margin-bottom: 10px;
    }
    .pipeline-deliverables span {
        font-size: 10px;
        padding: 3px 8px;
    }
    .pipeline-layers {
        padding-left: 24px;
    }
    .pipeline-layer {
        padding: 12px 14px;
        flex-wrap: wrap;
        font-size: 12px;
    }
    .pipeline-layer a {
        margin-left: 0 !important;
        margin-top: 6px;
    }
    .pipeline-connector {
        height: 12px;
    }
    /* Touch-friendly targets */
    .btn-primary, .btn-secondary, .btn-agent, .btn-oneshot, .btn-unlock, .btn-next-step, .expert-path-cta {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .path-form input {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    .continue-compact-form input {
        min-height: 44px;
        font-size: 16px;
    }
    /* Footer responsive */
    .footer {
        padding: 12px 20px;
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .main { padding: 24px 12px 100px; }
    .pipeline-track { padding-left: 20px; }
    .pipeline-track::before { left: 8px; }
    .pipeline-dot { left: -33px; width: 10px; height: 10px; }
    .pipeline-stage { padding: 14px 12px 12px; }
    .pipeline-stage-header h3 { font-size: 14px; }
    .pipeline-desc { font-size: 11px; }
    .journey-pipeline h2 { font-size: 20px; }
    .journey-start-primary { padding: 24px 18px; }
    .journey-start-primary h2 { font-size: 20px; }
    .journey-start-secondary { padding: 22px 18px; }
    .header-links { display: none; }
    .dash-progress { gap: 16px; }
    .dash-step { font-size: 11px; }
}

/* ========== Multi-Project Dashboard ========== */
.all-projects-dash {
    margin-bottom: 48px;
    grid-column: 1 / -1;
}
.all-projects-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}
.all-projects-header h2 {
    font-size: 22px;
    font-weight: 700;
}
.all-projects-count {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
}
.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color 0.2s, transform 0.2s;
}
.project-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}
.project-card-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project-card-company {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project-card-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.progress-dots {
    display: flex;
    gap: 6px;
}
.pdot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-dim);
    background: var(--bg);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}
.pdot.done {
    background: var(--green-dim);
    color: var(--green);
    border-color: rgba(63, 185, 80, 0.3);
}
.progress-pct {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.project-card-resume {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}
.project-card-resume:hover {
    background: rgba(255, 184, 0, 0.18);
    color: var(--accent);
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .btn-primary-lg:hover { transform: none; }
    .project-card:hover { transform: none; }
    .expert-path-cta:hover { transform: none; }
    .break-btn:hover { transform: none; }
}

@media (max-width: 768px) {
    .all-projects-grid { grid-template-columns: 1fr; }
    .all-projects-header { flex-direction: column; gap: 8px; }
}

@media print {
    .break-btn { display: none !important; }
}
